summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* When determining a canonical insert position, don't climb deeperDan Gohman2010-04-091-33/+73
| | | | | | | | into adjacent loops. Also, ensure that the insert position is dominated by the loop latch of any loop in the post-inc set which has a latch. llvm-svn: 100906
* Tidy whitespace.Bob Wilson2010-04-091-9/+8
| | | | llvm-svn: 100904
* suck the propagating "has dynamic libs" check into a single makefile Chris Lattner2010-04-091-2/+2
| | | | | | variable TARGET_HAS_DYNAMIC_LIBS llvm-svn: 100896
* add minix support, patch by Kees van Reeuwijk! PR6797Chris Lattner2010-04-093-2/+17
| | | | llvm-svn: 100895
* clean this up, fix std::min ambiguity on some platforms.Chris Lattner2010-04-091-7/+5
| | | | llvm-svn: 100894
* Adding IPSCCP and Internalize passes to the C-bindingsWesley Peck2010-04-091-0/+9
| | | | llvm-svn: 100893
* Provide versions of the ARM eh_sjlj_setjmp instructions for non-VFP subtargetsBob Wilson2010-04-092-2/+35
| | | | | | | | | such that the non-VFP versions have no implicit defs of VFP registers. If any callee-saved VFP registers are marked as having been defined, the prologue/epilogue code will try to save and restore them. Radar 7770432. llvm-svn: 100892
* When emitting code for an add, don't force a SCEVUnknown wrapper aroundDan Gohman2010-04-091-3/+4
| | | | | | | a hoisted intermediate result if the intermediate result isn't an Instruction. llvm-svn: 100884
* When looking for loop-invariant users, look through no-op instructions,Dan Gohman2010-04-091-3/+11
| | | | | | | so that an unfortunately placed bitcast doesn't pin a value in a register. llvm-svn: 100883
* "On SPU, variables in the .bss section that are allocated with the .lcomm ↵Chris Lattner2010-04-091-1/+0
| | | | | | | | | | directive are not aligned on 16 byte boundaries. This causes misaligned loads, as the generated assembly assumes this "default" alignment. this patch disables .lcomm in favour of '.local .comm' Patch by Kalle Raisklia! llvm-svn: 100875
* Add a comment.Dan Gohman2010-04-091-1/+2
| | | | llvm-svn: 100874
* Clear InsnsBeginScopeSet and InsnsEndScopeSet at the end of function.Devang Patel2010-04-091-0/+2
| | | | llvm-svn: 100867
* performance: cache result of looking up userGabor Greif2010-04-091-4/+6
| | | | llvm-svn: 100862
* Minor code simplification.Dan Gohman2010-04-091-9/+5
| | | | llvm-svn: 100859
* Delete this obsolete comment.Dan Gohman2010-04-091-4/+0
| | | | llvm-svn: 100858
* const-ize a predicateGabor Greif2010-04-091-2/+2
| | | | llvm-svn: 100856
* Add a missing dependency to this library when building with CMake.Chandler Carruth2010-04-091-0/+2
| | | | llvm-svn: 100852
* Use getNumImplicitDefs() and getNumImplicitUses().Bob Wilson2010-04-091-24/+6
| | | | llvm-svn: 100850
* Fix up some comments.Bob Wilson2010-04-091-5/+3
| | | | llvm-svn: 100849
* Refactor the code for computing the insertion point for an expression intoDan Gohman2010-04-091-8/+29
| | | | | | a separate function. llvm-svn: 100845
* Add several more lint checks.Dan Gohman2010-04-091-21/+68
| | | | llvm-svn: 100841
* Fix a bug in IVUsers which was permitting non-affine addrecs toDan Gohman2010-04-091-2/+2
| | | | | | be sent to LSR, which it isn't prepared to handle. llvm-svn: 100839
* fix a SCCP miscompilation that could happen when aChris Lattner2010-04-091-3/+10
| | | | | | | | | forced constant is changed to a constant, we would end up adding the instruction to the wrong worklist, preventing it from being properly revisited. This fixes rdar://7832370 llvm-svn: 100837
* Avoid allocating a value of zero in a register if the initial formulaDan Gohman2010-04-081-2/+6
| | | | | | inputs happen to negate each other. llvm-svn: 100828
* Add a few more lint checks.Dan Gohman2010-04-081-0/+40
| | | | llvm-svn: 100825
* Add variants of ult, ule, etc. which take a uint64_t RHS, for convenience.Dan Gohman2010-04-084-8/+7
| | | | llvm-svn: 100824
* delete a forwarding function.Chris Lattner2010-04-084-107/+110
| | | | llvm-svn: 100815
* move elf section uniquing to MCContext. Along the wayChris Lattner2010-04-0813-214/+139
| | | | | | merge XCore's section into MCSectionELF llvm-svn: 100812
* remove the TargetLoweringObjectFileMachO::getMachoSectionChris Lattner2010-04-084-116/+126
| | | | | | api and update clients to use MCContext instead. llvm-svn: 100808
* move macho section uniquing from MCParser and TLOF to MCContext whereChris Lattner2010-04-083-90/+67
| | | | | | | the compiler and asmparser now unique to the same sections. This fixes rdar://7835021. llvm-svn: 100807
* Coalescer should not delete copy instructions whose defs are partially dead. ↵Evan Cheng2010-04-082-1/+14
| | | | | | | | e.g. %RDI<def,dead> = MOV64rr %RAX<kill>, %EDI<imp-def> llvm-svn: 100804
* Update CMake build.Ted Kremenek2010-04-081-0/+1
| | | | llvm-svn: 100802
* Fix -Wsign-compare warning (issued by clang++).Ted Kremenek2010-04-081-1/+1
| | | | llvm-svn: 100799
* Add a -lint pass which checks for common sources of undefined or likelyDan Gohman2010-04-081-0/+368
| | | | | | unintended behavior. llvm-svn: 100798
* Rename a function.Devang Patel2010-04-082-9/+7
| | | | llvm-svn: 100797
* implicit defs get added to the end of machine instrs sometimes. Scan the ↵Chris Lattner2010-04-081-4/+9
| | | | | | whole instruction for the metadata operand instead of assuming it will be at the end of the instruction. llvm-svn: 100792
* Pointers to zero-sized objects don't point to overlapping objects.Dan Gohman2010-04-081-0/+5
| | | | llvm-svn: 100789
* Print empty structs as {} rather than { }.Dan Gohman2010-04-081-6/+10
| | | | llvm-svn: 100787
* One instruction may start (or end) multiple lexical scopes. Devang Patel2010-04-082-58/+28
| | | | | | There is no need to remember labels identifying regions marked by such instructions in each scope. llvm-svn: 100781
* clean up algorithm and remove operand order assumptionsGabor Greif2010-04-081-9/+24
| | | | llvm-svn: 100780
* Fix a comment.Dan Gohman2010-04-081-1/+3
| | | | llvm-svn: 100774
* Remove dead code.Devang Patel2010-04-082-9/+0
| | | | llvm-svn: 100771
* Delete out of date comment.Devang Patel2010-04-081-2/+0
| | | | llvm-svn: 100769
* Refactor.Devang Patel2010-04-082-2/+15
| | | | llvm-svn: 100768
* Various MSVC warning fixes about truncated 64 bit shifts and const pointers ↵Benjamin Kramer2010-04-082-3/+3
| | | | | | passed to free. llvm-svn: 100767
* use abstract interface in two more placesGabor Greif2010-04-081-2/+2
| | | | llvm-svn: 100762
* fix compileGabor Greif2010-04-081-2/+2
| | | | llvm-svn: 100760
* use abstract interfaceGabor Greif2010-04-081-1/+1
| | | | llvm-svn: 100758
* Use twines to simplify calls to report_fatal_error. For code size and ↵Benjamin Kramer2010-04-0811-135/+69
| | | | | | readability. llvm-svn: 100756
* Avoid using f64 to lower memcpy from constant string. It's cheaper to use ↵Evan Cheng2010-04-085-31/+49
| | | | | | i32 store of immediates. llvm-svn: 100751
OpenPOWER on IntegriCloud