summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Fix rdar://7879828 - crash in CallGraph, a self host issue.Chris Lattner2010-04-202-3/+47
| | | | | | | | Arg promotion was deleting call graph nodes that still had references from the 'indirect' CGN. Like the inliner, it should only delete the function if all references are gone. llvm-svn: 101845
* Remove MachineFunction's DefaultDebugLoc member, and make DwarfDebug.cppDan Gohman2010-04-203-23/+16
| | | | | | responsible for figuring out what that's supposed to be on its own. llvm-svn: 101844
* Reapply the removal of SelectionDAGISel's BB, with a fix for the caseDan Gohman2010-04-202-24/+28
| | | | | | | where multiple blocks are emitted; functions which do this need to return the new BB so that their callers can stay current. llvm-svn: 101843
* Fix tests for Neon load/store intrinsics to match the i8* types expected byBob Wilson2010-04-2010-94/+188
| | | | | | | | | | the intrinsics. The reason for those i8* types is that the intrinsics are overloaded on the vector type and we don't have a way to declare an intrinsic where one argument is an overloaded vector type and another argument is a pointer to the vector element type. The bitcasts added here will match what the frontend will typically generate when these intrinsics are used. llvm-svn: 101840
* More IT instruction error-handling improvements from fuzzing.Johnny Chen2010-04-201-3/+17
| | | | llvm-svn: 101839
* Revert 101825, which is causing trouble.Dan Gohman2010-04-192-19/+18
| | | | llvm-svn: 101832
* Make BreakAntiDependencies' SUnits argument const, and make the BeginDan Gohman2010-04-195-41/+42
| | | | | | and End arguments by-value rather than by-reference. llvm-svn: 101830
* Better error handling of invalid IT mask '0000', instead of just asserting.Johnny Chen2010-04-193-5/+11
| | | | llvm-svn: 101827
* Eliminate SelectionDAGISel's "current block" member. Just pass it asDan Gohman2010-04-192-18/+19
| | | | | | an argument to things that need it. llvm-svn: 101825
* Delete an unnecessary reference to SelectionDAGISel::BB.Dan Gohman2010-04-191-1/+0
| | | | llvm-svn: 101824
* Eliminate the CurMBB member from SelectionDAGBuilder. For places thatDan Gohman2010-04-193-84/+106
| | | | | | | need it, just pass around the parent block of the current instruction explicitly. llvm-svn: 101822
* Remove the Expr member from IVUsers. Instead of remembering the expression,Dan Gohman2010-04-194-58/+65
| | | | | | | just ask ScalarEvolution for it on demand. This helps IVUsers be more robust in the case of expressions changing underneath it. This fixes PR6862. llvm-svn: 101819
* According to A8.6.16 B (Encoding T3) and A8.3 Conditional execution -- A8.3.1Johnny Chen2010-04-192-8/+16
| | | | | | | | | | Pseudocode details of conditional, Condition bits '111x' indicate the instruction is always executed. That is, '1111' is a leagl condition field value, which is now mapped to ARMCC::AL. Also add a test case for condition field '1111'. llvm-svn: 101817
* Fix typo. add a test case.Devang Patel2010-04-192-1/+31
| | | | llvm-svn: 101812
* More progress on promoting i16 operations to i32 for x86. Work in progress.Evan Cheng2010-04-192-17/+153
| | | | llvm-svn: 101808
* Give SelectionDAG a TargetMachine too, rather than having itDan Gohman2010-04-193-9/+6
| | | | | | fetch one from the MachineFunction. llvm-svn: 101807
* More 80 col violation.Evan Cheng2010-04-191-2/+4
| | | | llvm-svn: 101806
* Add DW_AT_APPLE_omit_frame_ptr to encode -fomit-frame-pointer flag.Devang Patel2010-04-193-1/+8
| | | | llvm-svn: 101805
* Code that needs a TargetMachine should have access to one directly, ratherDan Gohman2010-04-197-21/+23
| | | | | | than just getting one through a TargetLowering. llvm-svn: 101802
* Move isInTailCallPosition out of SelectionDAGBuilder, as it isn'tDan Gohman2010-04-193-86/+95
| | | | | | SelectionDAG-specific. llvm-svn: 101801
* Enable -Wcast-qual for C++ files, where intentional qualifier-stripping canDan Gohman2010-04-191-0/+2
| | | | | | be done with const_cast. llvm-svn: 101798
* Remove -module, which appears to be a leftover from prior libtool usage.Dan Gohman2010-04-191-7/+0
| | | | llvm-svn: 101793
* This doesn't need SmallVector.h anymore.Dan Gohman2010-04-191-1/+0
| | | | llvm-svn: 101790
* Support .a files directly (without -l).Mikhail Glushenkov2010-04-191-1/+2
| | | | llvm-svn: 101789
* Better error-handling for DisassembleThumb2DPSoReg() where the 3-reg operandJohnny Chen2010-04-191-3/+6
| | | | | | | | instructions should have Rd (Inst{11-8}) != 0b1111. Ref: A6.3 32-bit Thumb instruction encoding A6.3.11 Data-processing (shifted register) llvm-svn: 101788
* Fix this for std::vectors which don't have .data().Dan Gohman2010-04-191-1/+1
| | | | llvm-svn: 101785
* ARM disassembler did not react to recent changes to the NEON instruction table.Johnny Chen2010-04-192-10/+26
| | | | | | VLD1q*_UPD and VST1q*_UPD have the ${dst:dregpair} operand now. llvm-svn: 101784
* Don't write into MemoryBuffers.Benjamin Kramer2010-04-195-20/+15
| | | | llvm-svn: 101783
* Fix -Wcast-qual warnings.Dan Gohman2010-04-191-6/+10
| | | | llvm-svn: 101782
* Revert 91528 and use a std::vector instead, fixing an abuse of std::string.Dan Gohman2010-04-191-10/+16
| | | | llvm-svn: 101781
* Fix -Wcast-qual warnings.Dan Gohman2010-04-193-6/+11
| | | | llvm-svn: 101779
* Add a few more ELF bits.Dan Gohman2010-04-191-0/+11
| | | | llvm-svn: 101778
* Add a const.Dan Gohman2010-04-191-1/+1
| | | | llvm-svn: 101777
* These functions don't need to access this.Dan Gohman2010-04-191-2/+2
| | | | llvm-svn: 101776
* Add missed part of prev. commitAnton Korobeynikov2010-04-181-1/+2
| | | | llvm-svn: 101755
* Make processor FUs unique for given itinerary. This extends the limit of 32Anton Korobeynikov2010-04-1815-858/+894
| | | | | | | FU per CPU arch to 32 per intinerary allowing precise modelling of quite complex pipelines in the future. llvm-svn: 101754
* avoid temporary std::string in non posix_spawn path.Chris Lattner2010-04-181-4/+4
| | | | llvm-svn: 101723
* Eliminate temporary string.Benjamin Kramer2010-04-181-4/+4
| | | | llvm-svn: 101711
* Properly inherit the environment on darwin where environ is not available ↵Benjamin Kramer2010-04-181-1/+6
| | | | | | for shared libraries. llvm-svn: 101710
* This is horrible. Split the difference, and declare 'environ' on all non-DarwinNick Lewycky2010-04-181-0/+7
| | | | | | | platforms to unbreak the darwin and linux builds. The BSD folks should feel free to change the #if, if this breaks them. llvm-svn: 101703
* Revert r101701, Darwin doesn't have 'environ'. Go figure.Nick Lewycky2010-04-181-3/+0
| | | | llvm-svn: 101702
* Fix linux build. posix_spawn doesn't inherit the environment by default.Nick Lewycky2010-04-181-1/+4
| | | | llvm-svn: 101701
* make Program::Execute use posix_spawn on systems that support it,Chris Lattner2010-04-181-9/+64
| | | | | | | | | as it is more efficient than fork/exec. Thanks to Eric for adding the autoconf check. It would be nice if a cmake guru could add a cmake check for posix_spawn as well. llvm-svn: 101693
* reduce indentationChris Lattner2010-04-181-21/+21
| | | | llvm-svn: 101692
* unnest from namespace.Chris Lattner2010-04-181-5/+1
| | | | llvm-svn: 101691
* silence some -Wmissing-field-initializers warnings.Chris Lattner2010-04-181-2/+2
| | | | llvm-svn: 101690
* silence some unused-value warnings.Chris Lattner2010-04-181-4/+4
| | | | llvm-svn: 101689
* Don't rely upon the MCSymbol "isDefined" method to indicate if a label has beenBill Wendling2010-04-181-2/+2
| | | | | | | emitted or not. The JIT doesn't set that. Look it up in the label location table instead. llvm-svn: 101686
* Formatting changes. No functionality change.Bill Wendling2010-04-181-29/+28
| | | | llvm-svn: 101685
* Add a "PadTo" field to the emitULEB128Bytes method. This will pad out to theBill Wendling2010-04-181-2/+9
| | | | | | indicated number of bytes. llvm-svn: 101684
OpenPOWER on IntegriCloud