summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix problems linking against the reoptimizer; _llvm_regAllocState must haveBrian Gaeke2003-11-101-2/+2
| | | | | | | externally-visible linkage, and SaveStateToModule must default to true for llc. I don't remember why I made it const; perhaps it should be deconstified. llvm-svn: 9858
* Reorganize code for locality, improve commentsChris Lattner2003-11-101-19/+23
| | | | llvm-svn: 9857
* Adjust to new critical edge interfaceChris Lattner2003-11-102-15/+15
| | | | llvm-svn: 9853
* Operand numbers are now ints. Save the register allocation of the valueBrian Gaeke2003-11-103-30/+40
| | | | | | | | each instruction produces as "operand" -1, and the other operands as 0 .. n, as before. PhyRegAlloc::saveState() is refactored into PhyRegAlloc::saveStateForValue(). llvm-svn: 9842
* More additionsChris Lattner2003-11-091-3/+4
| | | | llvm-svn: 9834
* Fix PR95. I'm checking this patch in for Reid Spencer, who figured it outChris Lattner2003-11-091-3/+2
| | | | | | and wrote it up. Thanks!! llvm-svn: 9832
* Add an assertionChris Lattner2003-11-091-0/+1
| | | | llvm-svn: 9831
* Fix PR103Brian Gaeke2003-11-091-6/+3
| | | | llvm-svn: 9830
* Do NOT inline self recursive calls into other functions. This is causing theChris Lattner2003-11-092-1/+10
| | | | | | | pool allocator no end of trouble, and doesn't make a lot of sense anyway. This does not solve the problem with mutually recursive functions, but they are much less common. llvm-svn: 9828
* UntypoChris Lattner2003-11-091-1/+1
| | | | llvm-svn: 9827
* Add more functionsChris Lattner2003-11-091-0/+8
| | | | llvm-svn: 9826
* None of the __llvm_* functions call into the program. This makes theChris Lattner2003-11-091-0/+3
| | | | | | callgraph MUCH simpler for eh using program. llvm-svn: 9825
* Add support for memmoveChris Lattner2003-11-091-0/+9
| | | | llvm-svn: 9824
* Remove #include of PassManager.h which was marked FIXME, and apparently is noBrian Gaeke2003-11-091-3/+0
| | | | | | longer used. llvm-svn: 9823
* Handle bzero and memset in the local analysis, because we were missing the factChris Lattner2003-11-082-4/+17
| | | | | | that memset returns its argument!! llvm-svn: 9811
* This doesn't use DSCallSiteIteratorChris Lattner2003-11-081-1/+1
| | | | llvm-svn: 9809
* Fix two typos I found in comments.Brian Gaeke2003-11-082-3/+3
| | | | llvm-svn: 9806
* For some reason, LICM and GCSE like to crash the FunctionPassManager when theyMisha Brukman2003-11-081-2/+4
| | | | | | are being added as FunctionPasses... Sigh. llvm-svn: 9798
* Implement vaarg instruction. This is not quite perfect: 2003-08-11-VaListArgBrian Gaeke2003-11-072-0/+36
| | | | | | still causes a crash. But it's better than before. llvm-svn: 9794
* Implement branching to a PC-relative constant (not a BasicBlock).Misha Brukman2003-11-071-7/+7
| | | | llvm-svn: 9793
* popStackAndReturnValueToCaller() must advance instruction pointer to normalBrian Gaeke2003-11-071-5/+24
| | | | | | | | destination, if returning from an invoke. Implement 'unwind' instruction. llvm-svn: 9792
* PreSelection is not optional, it performs a necessary and vital transformationMisha Brukman2003-11-071-12/+15
| | | | | | | | | for the Sparc backend: breaking up constant expressions. Thus, we cannot have it guarded by a conditional, it should never be disabled. Also, it's now available for the JIT since it is a FunctionPass. llvm-svn: 9791
* Remove the *BIG UGLY HACK* from the JIT: PreSelection is now a FunctionPass.Misha Brukman2003-11-071-15/+0
| | | | llvm-svn: 9790
* Add stub version of unwind supportBrian Gaeke2003-11-072-0/+5
| | | | llvm-svn: 9789
* visitCallInst --> visitCallSite.Brian Gaeke2003-11-072-4/+7
| | | | | | Use visitCallSite to implement both CallInsts and InvokeInsts. llvm-svn: 9788
* Make the operation of visitCallInst() only depend on the CallSite.Brian Gaeke2003-11-071-7/+9
| | | | llvm-svn: 9787
* Use CallSites for call sites, instead of CallInsts. A revolutionary concept.Brian Gaeke2003-11-072-9/+10
| | | | llvm-svn: 9784
* Switch to emitting MachineConstantPool the way it was meant to be done.Misha Brukman2003-11-072-49/+8
| | | | llvm-svn: 9777
* Switch to using the standard representation of the constant pool -- namely, theMisha Brukman2003-11-071-338/+322
| | | | | | | MachineConstantPool. This involved refactoring the two classes involved in printing out Sparc assembly. In fact, they should share all this code anyway. llvm-svn: 9776
* We accept TargetMachine as a const reference.Misha Brukman2003-11-071-3/+3
| | | | llvm-svn: 9775
* PreSelection and PeepholeOpts are now FunctionPasses.Misha Brukman2003-11-071-2/+2
| | | | llvm-svn: 9774
* * Stop making a global for each constant that cannot live in an instruction;Misha Brukman2003-11-071-36/+14
| | | | | | | | | it will be converted to a MachineConstantPool index during instruction selection * This is now eligible to become a FunctionPass since it does not have any side effects outside of the function it is processing. llvm-svn: 9773
* * Use the MachineConstantPool for storing constants instead of a hash_set;Misha Brukman2003-11-071-17/+41
| | | | | | | | * Do not create new globals for constants! Also, order #includes as per coding style guide llvm-svn: 9772
* Use `basename $<` to get just the filename, not full path, for ease of reading.Misha Brukman2003-11-071-2/+2
| | | | llvm-svn: 9770
* Declare FunctionPasses as such so that they can be used in FunctionPassManager.Misha Brukman2003-11-073-3/+3
| | | | llvm-svn: 9768
* Refactor the return-from-function code into popStackAndReturnValueToCaller().Brian Gaeke2003-11-072-37/+42
| | | | | | Make external function calls slightly less special; now they get a stack frame. llvm-svn: 9765
* Hopefully this will fix PR98Chris Lattner2003-11-071-2/+2
| | | | llvm-svn: 9762
* Hopefully fix the objdir != srcdir issueChris Lattner2003-11-071-6/+12
| | | | llvm-svn: 9761
* Fix warnings building on sparcChris Lattner2003-11-061-2/+2
| | | | llvm-svn: 9758
* Various cleanups and efficiency improvementsChris Lattner2003-11-061-38/+24
| | | | llvm-svn: 9753
* Fix bug: PR93Chris Lattner2003-11-061-0/+29
| | | | llvm-svn: 9752
* * Make the comment header 80 columns longMisha Brukman2003-11-061-3/+3
| | | | | | * Alphabetize #includes llvm-svn: 9751
* Let's not forget about our friends -- Constant Pool indices.Misha Brukman2003-11-061-0/+1
| | | | llvm-svn: 9750
* Fix the problem with running cleanups in bugpoint: We were deleting argumentsChris Lattner2003-11-051-1/+4
| | | | | | of intrinsic functions, causing the verifier to fail. llvm-svn: 9745
* Split behavior into two piecesChris Lattner2003-11-051-13/+13
| | | | llvm-svn: 9741
* Yet more fixes for constant expr shiftsChris Lattner2003-11-051-0/+6
| | | | llvm-svn: 9739
* Further fixes for PR93Chris Lattner2003-11-051-1/+7
| | | | llvm-svn: 9738
* no need for endlChris Lattner2003-11-051-1/+1
| | | | llvm-svn: 9736
* Add support for constant expr shiftsChris Lattner2003-11-052-0/+9
| | | | llvm-svn: 9735
* If we're not checking, don't check!Chris Lattner2003-11-051-1/+1
| | | | llvm-svn: 9732
OpenPOWER on IntegriCloud