summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move InstrSelection into lib/Target/Sparc, as it's sparc specificChris Lattner2004-01-091-417/+0
| | | | llvm-svn: 10730
* Clean up a lot of the code I added yesterday by exposing the IntrinsicLoweringChris Lattner2003-12-281-8/+4
| | | | | | implementation from the TargetMachine directly. llvm-svn: 10636
* Whoops, don't try to lower non intrinsic callsChris Lattner2003-12-281-0/+1
| | | | llvm-svn: 10632
* Use the intrinsic lowering functionalityChris Lattner2003-12-281-15/+44
| | | | llvm-svn: 10626
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-1/+7
| | | | llvm-svn: 9903
* Make code layout more consistent.Misha Brukman2003-10-231-87/+79
| | | | llvm-svn: 9426
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* Fixed spelling.Misha Brukman2003-09-171-3/+3
| | | | llvm-svn: 8588
* The word `dependent' has no `a'.Misha Brukman2003-08-211-1/+1
| | | | llvm-svn: 8030
* Factory methods for function passes now return type FunctionPass *.Brian Gaeke2003-08-141-5/+2
| | | | | | Get rid of RegisterLLC, which can't handle FunctionPasses anyway. llvm-svn: 7836
* Making this code const-correct would be a pain, so I'll hack it.Chris Lattner2003-07-261-4/+5
| | | | llvm-svn: 7350
* Added MachineCodeForInstruction object as an argument toVikram S. Adve2003-05-311-4/+12
| | | | | | | | TmpInstruction constructors because every TmpInstruction object has to be registered with a MachineCodeForInstruction to prevent leaks. This simplifies the user's code. llvm-svn: 6469
* Remove unneccesary &*Chris Lattner2003-04-231-1/+1
| | | | llvm-svn: 5871
* Minor changesChris Lattner2003-01-151-9/+11
| | | | llvm-svn: 5302
* More renamings of Target/Machine*Info to Target/Target*InfoChris Lattner2002-12-291-1/+1
| | | | llvm-svn: 5204
* Fix warningChris Lattner2002-11-091-2/+2
| | | | llvm-svn: 4649
* Remove usage of MachineBasicBlock::getChris Lattner2002-10-281-14/+18
| | | | llvm-svn: 4342
* Change MachineBasicBlock's to not be Annotations, instead they are kept asChris Lattner2002-10-281-4/+10
| | | | | | | part of a linked list tracked by MachineFunction. MachineBasicBlock::get is now linear time instead of constant time, and thus is deprecated! llvm-svn: 4337
* *** empty log message ***Chris Lattner2002-10-281-1/+0
| | | | llvm-svn: 4323
* Rename MachineCodeForBasicBlock to MachineBasicBlockChris Lattner2002-10-281-5/+5
| | | | llvm-svn: 4318
* Changed `MachineCodeForMethod' to `MachineFunction'.Misha Brukman2002-10-281-2/+2
| | | | llvm-svn: 4301
* Tell PassManager that this pass does not invalidate the CFG so that dominatorChris Lattner2002-10-231-0/+4
| | | | | | information and Loop info will not have to be recomputed after this runs. llvm-svn: 4269
* Make sure the leakdetector is told about temporary Phi nodes also, so it doesn'tChris Lattner2002-09-081-1/+6
| | | | | | erroneously report them as leaks llvm-svn: 3624
* Inform the memory leak detector that TmpInstruction objects should not beChris Lattner2002-09-081-0/+24
| | | | | | subject to memory leak checking. llvm-svn: 3623
* We are using std::vector, so remove extraneous namespace prefixesChris Lattner2002-08-091-8/+7
| | | | llvm-svn: 3275
* * Move InstructionSelection Pass here instead of living in Sparc.cpp. ItChris Lattner2002-07-301-169/+146
| | | | | | | | | is platform independant afterall. * Object orientize the functions, cleanup code a bit. Instead of static global functions, the helpers for instruction selection are now part of the InstructionSelection Pass class. llvm-svn: 3147
* *** empty log message ***Chris Lattner2002-07-221-5/+9
| | | | llvm-svn: 2985
* Moved class MachineCodeForBasicBlock to MachineCodeForBasicBlock.h.Vikram S. Adve2002-07-081-3/+4
| | | | | | This class is now an annotation on BasicBlock. llvm-svn: 2829
* changes to make it compatible with 64bit gccAnand Shukla2002-06-251-2/+3
| | | | llvm-svn: 2791
* MEGAPATCH checkin.Chris Lattner2002-06-251-47/+32
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2778
* Hide debugging optionsChris Lattner2002-05-201-1/+1
| | | | llvm-svn: 2676
* cpValue2Value now needs a vector of MachineInstr to store return values.Vikram S. Adve2002-05-191-16/+20
| | | | llvm-svn: 2644
* Eliminate duplicate or unneccesary #include'sChris Lattner2002-04-291-1/+0
| | | | llvm-svn: 2397
* Value cannot be directly instantiated. I think that this code was TRYING toChris Lattner2002-04-081-5/+3
| | | | | | | make a PHI node, although it was badly broken. This keeps tests passing, so we'll go with it. llvm-svn: 2184
* Change references to the Method class to be references to the FunctionChris Lattner2002-04-071-20/+16
| | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144
* Use deterministic iterator for treeRoots.Vikram S. Adve2002-03-241-10/+10
| | | | llvm-svn: 1967
* Use vector for machine instructions returned by GetInstructionsByRule.Vikram S. Adve2002-03-181-70/+31
| | | | | | Fix constants in instructions generated for Phi elimination. llvm-svn: 1902
* * Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and intoChris Lattner2002-02-121-1/+1
| | | | | | | | | llvm/Support/CFG.h * Make pred & succ iterators for intervals global functions * Add #includes that are now neccesary because BasicBlock.h doesn't include InstrTypes.h anymore llvm-svn: 1750
* * Straighten out #includesChris Lattner2002-02-031-38/+12
| | | | | | * Switch to MAchineCodeForInstruction model instead of MachineCodeForVMInstr llvm-svn: 1647
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-201-21/+11
| | | | llvm-svn: 1503
* Renamed inst_const_iterator -> const_inst_iteratorChris Lattner2001-12-041-2/+1
| | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408
* Split the PHINode class out from the iOther.h file into the iPHINode.h fileChris Lattner2001-12-031-1/+1
| | | | llvm-svn: 1405
* Create a new #include "Support/..." directory structure to move thingsChris Lattner2001-11-271-1/+1
| | | | | | | | from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes llvm-svn: 1400
* Added naming to inserted phi copy values - for easy debuggingRuchira Sasanka2001-11-151-0/+6
| | | | llvm-svn: 1325
* Changed phi elimination codeRuchira Sasanka2001-11-151-1/+64
| | | | llvm-svn: 1311
* For phi elimination, now we are generating only one instructionRuchira Sasanka2001-11-121-15/+5
| | | | | | | using cpValue2Value instead of passing vector to createCopyInstructionByType. llvm-svn: 1272
* Added phi elimination code - not finalRuchira Sasanka2001-11-121-0/+100
| | | | llvm-svn: 1264
* Major overhaul of stack frame management.Vikram S. Adve2001-11-081-1/+1
| | | | llvm-svn: 1185
* Cosmetic changes only.Vikram S. Adve2001-10-221-15/+49
| | | | llvm-svn: 946
* 1. Add a bottom-up pass on BURG trees that is used to fix constant operands.Vikram S. Adve2001-10-171-7/+45
| | | | | | | | | Needs to be bottom up because constant values may be forward-substituted to their uses (i.e., into the parent in the BURG tree). 2. Move most of the constant-fixup code into machine-indepedent file InstrSelectionSupport.cpp. llvm-svn: 859
OpenPOWER on IntegriCloud