summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Need to increment the iterator.Bill Wendling2007-11-151-1/+1
| | | | llvm-svn: 44153
* I discover array_lengthof, thanks to gabor on #llvm.Duncan Sands2007-11-141-2/+1
| | | | llvm-svn: 44139
* Oops. Debugging code shouldn't have been checked in.Evan Cheng2007-11-141-9/+0
| | | | llvm-svn: 44128
* Removed debug #define that was accidentally checked in while debuggingTed Kremenek2007-11-141-3/+1
| | | | | | | | | the deserializer. Fixed assertion when "stream jumping" in the deserializer to properly function when we have reached the end of the stream. llvm-svn: 44124
* Simplify the attribute verification code.Duncan Sands2007-11-141-34/+24
| | | | llvm-svn: 44116
* RegenerateAnton Korobeynikov2007-11-145-4977/+6488
| | | | llvm-svn: 44110
* Add pure/const attributes. Documentation will follow.Anton Korobeynikov2007-11-144-4/+22
| | | | llvm-svn: 44109
* Fix PIC jump table codegen on x86-32/linux. In fact, such thing should be ↵Anton Korobeynikov2007-11-143-29/+75
| | | | | | | | applied to all targets uses GOT-relative offsets for PIC (Alpha?) llvm-svn: 44108
* Eliminate the recently introduced CCAssignToStackABISizeAlignDuncan Sands2007-11-142-10/+5
| | | | | | | | in favour of teaching CCAssignToStack that size 0 and/or align 0 means to use the ABI values. This seems a neater solution. It is safe since no legal value type has size 0. llvm-svn: 44107
* Added two new overloaded versions of BatchEmitOwnedPtrs andTed Kremenek2007-11-141-5/+13
| | | | | | BatchReadOwnedPtrs. llvm-svn: 44105
* Clean up sub-register implementation by moving subReg information back toEvan Cheng2007-11-146-41/+36
| | | | | | | | | | | MachineOperand auxInfo. Previous clunky implementation uses an external map to track sub-register uses. That works because register allocator uses a new virtual register for each spilled use. With interval splitting (coming soon), we may have multiple uses of the same register some of which are of using different sub-registers from others. It's too fragile to constantly update the information. llvm-svn: 44104
* Allow the block extractor take to take a list of basic blocks to not extractNick Lewycky2007-11-141-1/+58
| | | | | | | | | from a file containing Function/BasicBlock pairings. This is not safe against anonymous or abnormally-named Funcs or BBs. Make bugpoint use this interface to pass the BBs list to the child bugpoint. llvm-svn: 44101
* Implement PR1796 and Transforms/SimplifyCFG/noreturn-call.llChris Lattner2007-11-141-15/+59
| | | | | | by inserting unreachable after no-return calls. llvm-svn: 44099
* Start the process of making MachineLoopInfo possible by templating Loop.Owen Anderson2007-11-141-396/+0
| | | | llvm-svn: 44097
* Fix the regression on Transforms/GlobalOpt/deadglobal-2.ll from myChris Lattner2007-11-131-3/+3
| | | | | | patch on friday. llvm-svn: 44068
* Run computeDomForest() on the set of registers that need to be tested forOwen Anderson2007-11-131-5/+6
| | | | | | interference. llvm-svn: 44064
* Preserve LiveVariables when doing critical edge splitting.Owen Anderson2007-11-131-2/+13
| | | | llvm-svn: 44063
* Revert previous; these files aren't ready to go in yet.Dale Johannesen2007-11-132-2/+3
| | | | llvm-svn: 44057
* Add parameter to getDwarfRegNum to permit targetsDale Johannesen2007-11-1318-29/+27
| | | | | | | | to use different mappings for EH and debug info; no functional change yet. Fix warning in X86CodeEmitter. llvm-svn: 44056
* Fix x86-64 jit: remove reliance on Dwarf numbers.Evan Cheng2007-11-132-12/+29
| | | | llvm-svn: 44048
* Unifacalize the CALLSEQ{START,END} stuff.Bill Wendling2007-11-137-28/+32
| | | | llvm-svn: 44045
* Implement PR1786 by iterating between dead cycle eliminationChris Lattner2007-11-131-33/+63
| | | | | | and simplifycfg in the rare cases when it is needed. llvm-svn: 44044
* Unify CALLSEQ_{START,END}. They take 4 parameters: the chain, two stackBill Wendling2007-11-1316-70/+115
| | | | | | | | | | | adjustment fields, and an optional flag. If there is a "dynamic_stackalloc" in the code, make sure that it's bracketed by CALLSEQ_START and CALLSEQ_END. If not, then there is the potential for the stack to be changed while the stack's being used by another instruction (like a call). This can only result in tears... llvm-svn: 44037
* Completely forgot, that we have some debug information emission on PPC. This ↵Anton Korobeynikov2007-11-121-2/+2
| | | | | | | | should fix some regressions on ppc nightly tests. llvm-svn: 44029
* Added JumpTable supportBruno Cardoso Lopes2007-11-126-34/+142
| | | | | | | Fixed some AsmPrinter issues Added GLOBAL_OFFSET_TABLE Node handle. llvm-svn: 44024
* Added versions of ReadPtr that takes an explicit SerializedPtrID. This allowsTed Kremenek2007-11-121-4/+6
| | | | | | | | | | | | clients of the Deserializer to read the pointer ID before they are ready to deserialize the object (which can mean registering a pointer reference with the backpatcher). Changed some methods that took an argument "SerializedPtrID" to "const SerializedPtrID&" (pass-by-reference). This is to accommodate a future revision of SerializedPtrID where it may be much fatter than an unsigned integer. llvm-svn: 44021
* Break critical edges coming into blocks with PHI nodes.Owen Anderson2007-11-121-0/+26
| | | | llvm-svn: 44019
* Add a flag for indirect branch instructions.Owen Anderson2007-11-126-7/+8
| | | | | | Target maintainers: please check that the instructions for your target are correctly marked. llvm-svn: 44012
* Refactor some code.Evan Cheng2007-11-123-297/+331
| | | | llvm-svn: 44010
* As Chris and Evan pointed out, BreakCriticalMachineEdges doesn't really needOwen Anderson2007-11-123-132/+1
| | | | | | to be a pass of its own. Instead, move it out into a helper method. llvm-svn: 44002
* Clarify the meaning of '-2' register numberAnton Korobeynikov2007-11-111-2/+4
| | | | llvm-svn: 43998
* Use TableGen to emit information for dwarf register numbers. Anton Korobeynikov2007-11-1122-863/+880
| | | | | | | | This makes DwarfRegNum to accept list of numbers instead. Added three different "flavours", but only slightly tested on x86-32/linux. Please check another subtargets if possible, llvm-svn: 43997
* Add CCAssignToStackABISizeAlign for convenience inDale Johannesen2007-11-102-5/+15
| | | | | | | dealing with types whose size & alignment are different on different subtargets. Use it for x86 f80. llvm-svn: 43988
* Updated method signature to conform with the typedef in the method prototype.Ted Kremenek2007-11-101-1/+1
| | | | llvm-svn: 43982
* Update tailcall code to include inline attribute operand for memcpy. Arnold Schwaighofer2007-11-101-3/+4
| | | | llvm-svn: 43978
* Added "random access" to the Deserializer to allow a client to jump to anyTed Kremenek2007-11-101-8/+116
| | | | | | | | serialized block in the bitstream, including a block in an entirely different nesting than the current block. This is useful for deserializing objects from a bitstream in an order different from the order that they were serialized. llvm-svn: 43973
* Fixed a strange construct. Please review.Hartmut Kaiser2007-11-091-1/+1
| | | | llvm-svn: 43960
* Unbreak x86-64 jumptable.Evan Cheng2007-11-091-1/+5
| | | | llvm-svn: 43955
* Silence a warningAnton Korobeynikov2007-11-091-1/+1
| | | | llvm-svn: 43954
* Revert previous rewrite per chris's comments.Dale Johannesen2007-11-092-206/+155
| | | | llvm-svn: 43950
* Tighten up a check for folding away loads from (newly constant) globals. ThisChris Lattner2007-11-091-6/+11
| | | | | | | fixes a crash on Transforms/GlobalOpt/2007-11-09-GEP-GEP-Crash.ll and rdar://5585488. llvm-svn: 43949
* Move MinAlign to MathExtras.h.Duncan Sands2007-11-093-3/+1
| | | | llvm-svn: 43944
* Fix indentAnton Korobeynikov2007-11-091-12/+11
| | | | llvm-svn: 43941
* Forget to commit users part of value mapper interfaceAnton Korobeynikov2007-11-094-4/+4
| | | | llvm-svn: 43940
* And delete this oneAnton Korobeynikov2007-11-091-29/+0
| | | | llvm-svn: 43939
* Fix some load/store logic that would be wrong forDuncan Sands2007-11-092-6/+10
| | | | | | | | apints on big-endian machines if the bitwidth is not a multiple of 8. Introduce a new helper, MVT::getStoreSizeInBits, and use it. llvm-svn: 43934
* Add terminating newline.Duncan Sands2007-11-091-1/+1
| | | | llvm-svn: 43933
* Much improved pic jumptable codegen:Evan Cheng2007-11-0910-21/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Then: call "L1$pb" "L1$pb": popl %eax ... LBB1_1: # entry imull $4, %ecx, %ecx leal LJTI1_0-"L1$pb"(%eax), %edx addl LJTI1_0-"L1$pb"(%ecx,%eax), %edx jmpl *%edx .align 2 .set L1_0_set_3,LBB1_3-LJTI1_0 .set L1_0_set_2,LBB1_2-LJTI1_0 .set L1_0_set_5,LBB1_5-LJTI1_0 .set L1_0_set_4,LBB1_4-LJTI1_0 LJTI1_0: .long L1_0_set_3 .long L1_0_set_2 Now: call "L1$pb" "L1$pb": popl %eax ... LBB1_1: # entry addl LJTI1_0-"L1$pb"(%eax,%ecx,4), %eax jmpl *%eax .align 2 .set L1_0_set_3,LBB1_3-"L1$pb" .set L1_0_set_2,LBB1_2-"L1$pb" .set L1_0_set_5,LBB1_5-"L1$pb" .set L1_0_set_4,LBB1_4-"L1$pb" LJTI1_0: .long L1_0_set_3 .long L1_0_set_2 llvm-svn: 43924
* Didn't mean to check these in.Evan Cheng2007-11-092-14/+11
| | | | llvm-svn: 43923
* Bug fix. Passive nodes are not in SUnitMap.Evan Cheng2007-11-093-14/+20
| | | | llvm-svn: 43922
OpenPOWER on IntegriCloud