aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Spell `incompatible' correctly.Misha Brukman2003-08-271-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8163 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Tanya Lattner2003-08-271-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8161 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleaned up the code (spacing, not needed headers) and changed ostream ↵Tanya Lattner2003-08-271-91/+86
| | | | | | function. Also made some functions inline. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8154 91177308-0d34-0410-b5e6-96231b3b80d8
* SchedGraphCommon header file. Contains class definition for SchedGraphCommon ↵Tanya Lattner2003-08-251-0/+215
| | | | | | which is used by SchedGraph and ModuloSchedGraph (coming soon). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8149 91177308-0d34-0410-b5e6-96231b3b80d8
* As it turns out, things will be simpler than I first expected. We no longerChris Lattner2003-08-251-4/+0
| | | | | | | need any exception handling intrinsics beyond llvm.unwind. (yaay) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8145 91177308-0d34-0410-b5e6-96231b3b80d8
* Targets now configure themselves based on the source module, not on theChris Lattner2003-08-241-3/+3
| | | | | | | ad-hoc "Config" flags git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8134 91177308-0d34-0410-b5e6-96231b3b80d8
* Targets should configure themselves based on the module, not some wierd flagsChris Lattner2003-08-241-16/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8131 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow modules to have 'any' pointer size and endianness.Chris Lattner2003-08-241-8/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8117 91177308-0d34-0410-b5e6-96231b3b80d8
* rethrow is really the language independent primitive here. "throw" can be ↵Chris Lattner2003-08-241-2/+3
| | | | | | | | | | | written in terms of it and llvm.exc.setcurrent. Rework these intrinsics. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8109 91177308-0d34-0410-b5e6-96231b3b80d8
* Add versions of InlineFunction which work on Invoke instructions and general ↵Chris Lattner2003-08-241-1/+4
| | | | | | call sites git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8105 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial support for recognizing LLVM exception handling intrinsicsChris Lattner2003-08-241-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8102 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow specifying the name for the newly split basic blockChris Lattner2003-08-241-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8097 91177308-0d34-0410-b5e6-96231b3b80d8
* Add periodChris Lattner2003-08-231-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8090 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename SwitchInst::dest_push_back -> addCaseChris Lattner2003-08-231-1/+9
| | | | | | | Add new removeCase method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8088 91177308-0d34-0410-b5e6-96231b3b80d8
* Of course, the copy ctor really should copy the operand as wellChris Lattner2003-08-231-5/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8077 91177308-0d34-0410-b5e6-96231b3b80d8
* Add more methods to be more value-likeChris Lattner2003-08-231-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8074 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of ValueHolder helper classChris Lattner2003-08-231-0/+36
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8073 91177308-0d34-0410-b5e6-96231b3b80d8
* Add missing #includeChris Lattner2003-08-221-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8063 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes to work better with GCC3.4/LLVM G++Chris Lattner2003-08-221-3/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8054 91177308-0d34-0410-b5e6-96231b3b80d8
* The word `dependent' has no `a'.Misha Brukman2003-08-217-8/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8030 91177308-0d34-0410-b5e6-96231b3b80d8
* The JIT now passes the environment pointer to the main() function when itJohn Criswell2003-08-211-2/+4
| | | | | | | | starts a program. This allows the GNU env program to compile and JIT under LLVM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8022 91177308-0d34-0410-b5e6-96231b3b80d8
* Make assertion message more helpful in a case that might happen...Chris Lattner2003-08-191-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7975 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new methods, update commentsChris Lattner2003-08-181-2/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7962 91177308-0d34-0410-b5e6-96231b3b80d8
* Add intrinsics for the llvm.sig(set|long)jmp functionsChris Lattner2003-08-181-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7949 91177308-0d34-0410-b5e6-96231b3b80d8
* Spell `necessary' correctly.Misha Brukman2003-08-189-12/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7944 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug: LoopPreheaders/2003-08-15-PreheadersFail.llChris Lattner2003-08-161-6/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7915 91177308-0d34-0410-b5e6-96231b3b80d8
* lib/Support/CommandLine.cpp:Brian Gaeke2003-08-151-1/+1
| | | | | | | | | | | | | | | | | | Many changes suggested by Chris. It's okay, I'll recover from the emotional damage...maybe someday. :-) Collapse ParseCStringVector into ParseStringVector. Comment it. Make it take a const input. Use std::string::npos instead of -1 (what a mouthful!) Make ParseEnvironmentOptions take const inputs. Check its args at the very beginning. Strdup all the contents of newArgv and free them all at the end. include/Support/CommandLine.h: Constify progName and envVar arguments to ParseEnvironmentOptions(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7905 91177308-0d34-0410-b5e6-96231b3b80d8
* Reordered includes to be consistent with the LLVM style.Misha Brukman2003-08-151-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7887 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove extraneous #includeChris Lattner2003-08-151-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7881 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for basic blocks, unary/binary unspecs, conditional branches, ...Chris Lattner2003-08-151-4/+27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7874 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove extraneous cl:: namespace qualifiersChris Lattner2003-08-141-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7852 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for reading command line arguments from an environment variable.Brian Gaeke2003-08-141-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7851 91177308-0d34-0410-b5e6-96231b3b80d8
* Factory methods for function passes now return type FunctionPass *.Brian Gaeke2003-08-145-10/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7839 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new method to FunctionPassManager to add ImmutablePasses.Brian Gaeke2003-08-141-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7838 91177308-0d34-0410-b5e6-96231b3b80d8
* Factory methods for FunctionPasses now return type FunctionPass *.Brian Gaeke2003-08-133-9/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7823 91177308-0d34-0410-b5e6-96231b3b80d8
* Deconstify parameter to getPointerToFunction().Brian Gaeke2003-08-131-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7822 91177308-0d34-0410-b5e6-96231b3b80d8
* addPassesToJITCompile and addPassesToEmitMachineCode now take aBrian Gaeke2003-08-131-3/+4
| | | | | | | | FunctionPassManager, to support function-at-a-time compilation and emission of code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7821 91177308-0d34-0410-b5e6-96231b3b80d8
* Removing the pool allocator from the main CVS tree.John Criswell2003-08-131-156/+0
| | | | | | | Use the poolalloc module in CVS from now on. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7810 91177308-0d34-0410-b5e6-96231b3b80d8
* Make MInst2LVSetBI and MInst2LVSetAI be hash_maps instead of maps.Vikram S. Adve2003-08-121-5/+10
| | | | | | | Add some comments and non-const methods to fix constness problems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7797 91177308-0d34-0410-b5e6-96231b3b80d8
* Add FunctionPassManager - it's like a PassManager, but it only deals inBrian Gaeke2003-08-121-1/+25
| | | | | | | FunctionPasses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7778 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support to the mangler for targets which require _'s on global symbolsChris Lattner2003-08-111-15/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7741 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of SelectionDAG header fileChris Lattner2003-08-111-0/+334
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7716 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove references to `bugpoint' from the now-generic system utilities.Misha Brukman2003-08-071-5/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7693 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved removeFile() and getUniqueFilename() into FileUtilities.Misha Brukman2003-08-072-10/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7691 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a flag which is set when all data structures are not pool allocatedSumant Kowshik2003-08-071-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7660 91177308-0d34-0410-b5e6-96231b3b80d8
* There was no reason for these to be bit-fields, they just need to be unique.Chris Lattner2003-08-071-11/+15
| | | | | | | Also, add an isVoid item git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7659 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a bunch of new Alpha Intrinsics for Rahul JoshiChris Lattner2003-08-061-0/+76
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7646 91177308-0d34-0410-b5e6-96231b3b80d8
* Completely eliminate the per-machine-instruction regsUsed set.Chris Lattner2003-08-051-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This substantially shrinks the size of each machine instruction, which should make allocation faster and the cache footprint of the machine code lighter. Here are some timings for code generation of the larger benchmarks we have. This are timings of code generation phases of the X86 JIT, when compiled in debug mode: Before After Diff 164.gzip: InstSel 0.0878 0.0722 -21.6% RegAlloc 0.2031 0.1757 -15.6% TOTAL 0.5585 0.4999 -11.7% Ptrdist-bc: InstSel 0.0878 0.0722 -21.6% RegAlloc 0.2070 0.1933 - 7.1% TOTAL 0.6972 0.6464 - 7.9% 197.parser: InstSel 0.2148 0.2148 - 0.0% RegAlloc 0.4941 0.4277 -15.5% TOTAL 1.3749 1.2851 - 7.0% 175.vpr: InstSel 0.2519 0.2109 -19.4% RegAlloc 0.5976 0.5663 - 5.5% TOTAL 1.6933 1.6347 - 3.5% 254.gap: InstSel 1.1328 0.9921 -14.2% RegAlloc 2.6933 2.4804 - 8.6% TOTAL 7.7871 7.2499 - 7.4% git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7622 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not insert physical regsiters into the regsUsed setChris Lattner2003-08-051-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7617 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a comment to the method declChris Lattner2003-08-052-14/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7609 91177308-0d34-0410-b5e6-96231b3b80d8