aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* be GCC 3.4 cleanChris Lattner2003-11-291-19/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10264 91177308-0d34-0410-b5e6-96231b3b80d8
* Hrm, how could this compile?Chris Lattner2003-11-291-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10263 91177308-0d34-0410-b5e6-96231b3b80d8
* fix gcc 3.4 compatibility problemChris Lattner2003-11-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10248 91177308-0d34-0410-b5e6-96231b3b80d8
* It is legal to index into sequential types with any integerChris Lattner2003-11-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10227 91177308-0d34-0410-b5e6-96231b3b80d8
* Work with gepi's and constant exprs. Also, add versions of iterator ctors ↵Chris Lattner2003-11-251-5/+12
| | | | | | that take references git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10220 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename class to be consistent with other iterator classesChris Lattner2003-11-251-15/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10213 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of gep_type_begin/end which will be used to address PR82Chris Lattner2003-11-251-0/+92
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10212 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose functionality to query if a file is an ELF shared object.Misha Brukman2003-11-241-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10194 91177308-0d34-0410-b5e6-96231b3b80d8
* A better way to get std::pair into the compiler's little, walnut-sized brain.Brian Gaeke2003-11-231-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10174 91177308-0d34-0410-b5e6-96231b3b80d8
* This is a hack to make this file compile under g++-3.0.x;Brian Gaeke2003-11-231-0/+1
| | | | | | | | otherwise it can't decide what std::pair is. It seemed relatively harmless. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10173 91177308-0d34-0410-b5e6-96231b3b80d8
* Somehow I forgot poor little UnwindInstChris Lattner2003-11-201-3/+4
| | | | | | | *sniff* git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10108 91177308-0d34-0410-b5e6-96231b3b80d8
* * Add new constructors to allow insertion of terminator instructions at theChris Lattner2003-11-202-6/+32
| | | | | | | | | | end of basic blocks. * Document some confusing constructor combinations * Move a ReturnInst method out-of-line, so that the vtable and type info don't need to be emitted to every translation unit that uses the class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10106 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging the linear scan register allocator in trunk. It currently passes ↵Alkis Evlogimenos2003-11-203-1/+428
| | | | | | most tests under test/Programs/SingleSource/Benchmarks/Shootout so development will continue on trunk. The allocator is not enabled by default. You will need to pass -regallo=linearscan to lli or llc to use it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10103 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerated using autoheader-2.57Brian Gaeke2003-11-181-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10064 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement == and != correctly. Before they would incorrectly return !=Chris Lattner2003-11-171-13/+12
| | | | | | | for some constant exprs when they could really be the same value git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10058 91177308-0d34-0410-b5e6-96231b3b80d8
* The ConstantPointer class is now gone.Chris Lattner2003-11-171-46/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10057 91177308-0d34-0410-b5e6-96231b3b80d8
* Constant folding shalt not be built on annotationsChris Lattner2003-11-171-29/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10052 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix copy-and-pasteoChris Lattner2003-11-171-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10049 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixes for PR114: Thanks to Reid Spencer!Chris Lattner2003-11-1619-55/+71
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10029 91177308-0d34-0410-b5e6-96231b3b80d8
* This is obviously illegal C++ code, but was apparently accepted by 3.3Chris Lattner2003-11-141-2/+2
| | | | | | | bork git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9993 91177308-0d34-0410-b5e6-96231b3b80d8
* Add methods for implementationChris Lattner2003-11-132-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9963 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove needless dependence on boostChris Lattner2003-11-131-3/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9961 91177308-0d34-0410-b5e6-96231b3b80d8
* Add namespace qualifierChris Lattner2003-11-131-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9959 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor cleanupsChris Lattner2003-11-131-43/+38
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9958 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an initial version of the CompleteBUDataStructures passChris Lattner2003-11-132-0/+68
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9955 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix faulty namespacificationChris Lattner2003-11-121-4/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9943 91177308-0d34-0410-b5e6-96231b3b80d8
* Regress to not using the llvm namespace.John Criswell2003-11-121-4/+0
| | | | | | | | This keeps Pool Allocation stuff from compiling. We can re-visit it later when we have time to do it right. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9932 91177308-0d34-0410-b5e6-96231b3b80d8
* Add argumentChris Lattner2003-11-122-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9921 91177308-0d34-0410-b5e6-96231b3b80d8
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-11162-22/+722
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
* Add prototypes for CheckMagic, IsArchive, and IsBytecode.Brian Gaeke2003-11-111-2/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9900 91177308-0d34-0410-b5e6-96231b3b80d8
* VS: ----------------------------------------------------------------------Brian Gaeke2003-11-111-0/+5
| | | | | | | Add prototype for FileOpenable(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9891 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new methodChris Lattner2003-11-112-0/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9879 91177308-0d34-0410-b5e6-96231b3b80d8
* Include forms of SplitCriticalEdge which work correctly with pred/succ iteratorsChris Lattner2003-11-101-0/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9856 91177308-0d34-0410-b5e6-96231b3b80d8
* No really, I'm not on crackChris Lattner2003-11-101-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9855 91177308-0d34-0410-b5e6-96231b3b80d8
* Helper methodChris Lattner2003-11-101-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9854 91177308-0d34-0410-b5e6-96231b3b80d8
* Move isCriticalEdge & SplitCritical into this file. While we're at it, changeChris Lattner2003-11-101-0/+16
| | | | | | | | the interface to SplitCriticalEdge so that it splits an edge if it is critical, otherwise just returns false and noops if not. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9852 91177308-0d34-0410-b5e6-96231b3b80d8
* Move isCriticalEdge & SplitCritical edge out of this file, which is onlyChris Lattner2003-11-101-17/+1
| | | | | | | for passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9851 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerated.Brian Gaeke2003-11-101-7/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9850 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR95. I'm checking this patch in for Reid Spencer, who figured it outChris Lattner2003-11-091-1/+5
| | | | | | | and wrote it up. Thanks!! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9832 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide a specialization of _Alloc_traits, which allows the G++ runtime to avoidChris Lattner2003-11-071-2/+13
| | | | | | | storing an instance of the allocator in each data structure it uses. Yaay. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9795 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a warning about not "new"ing or "delete"ing CallSitesBrian Gaeke2003-11-071-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9782 91177308-0d34-0410-b5e6-96231b3b80d8
* Added ability to register FunctionPasses as optimizations, withMisha Brukman2003-11-071-0/+20
| | | | | | | TargetMachine-accepting constructors (thanks to Chris). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9781 91177308-0d34-0410-b5e6-96231b3b80d8
* Declare FunctionPasses as such.Misha Brukman2003-11-071-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9767 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some ctors for this allocatorChris Lattner2003-11-071-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9766 91177308-0d34-0410-b5e6-96231b3b80d8
* Split the DAE pass into DAE and DAH passesChris Lattner2003-11-051-5/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9742 91177308-0d34-0410-b5e6-96231b3b80d8
* A few handy methods that seem to mesh well with what CallSite already provides.Brian Gaeke2003-11-051-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9737 91177308-0d34-0410-b5e6-96231b3b80d8
* Since this function returns an int, let's actually return something.Misha Brukman2003-11-051-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9734 91177308-0d34-0410-b5e6-96231b3b80d8
* Add std::pair tier. This is a much simplified version of boost::tieAlkis Evlogimenos2003-11-051-0/+48
| | | | | | | that works only for std::pair. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9723 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix spelloChris Lattner2003-11-041-1/+5
| | | | | | | Add negate overload git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9709 91177308-0d34-0410-b5e6-96231b3b80d8
* Update documentation since it was misleading: make it clear that aAlkis Evlogimenos2003-11-041-10/+12
| | | | | | | | negative instruction count is returned if instructions are removed from a basic block. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9705 91177308-0d34-0410-b5e6-96231b3b80d8