aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add support to count the number of dynamic instructions executed by LLIChris Lattner2002-12-082-4/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4955 91177308-0d34-0410-b5e6-96231b3b80d8
* Add total instruction, bb, & function countsChris Lattner2002-12-071-2/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4954 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug that was bugging bugpointChris Lattner2002-12-071-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4953 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead codeChris Lattner2002-12-071-32/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4952 91177308-0d34-0410-b5e6-96231b3b80d8
* Check in an old testcaseChris Lattner2002-12-071-0/+58
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4951 91177308-0d34-0410-b5e6-96231b3b80d8
* Give better error message if two passes of the same argument are registeredChris Lattner2002-12-071-2/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4950 91177308-0d34-0410-b5e6-96231b3b80d8
* Stronger assertion in getNodeId(): node id must exist in the map.Vikram S. Adve2002-12-061-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4949 91177308-0d34-0410-b5e6-96231b3b80d8
* Two bug fixes:Vikram S. Adve2002-12-061-13/+22
| | | | | | | | | (1) Make entries for Constant values in the ScalarMap. (2) Set MOD bit for the node pointed to by the argument of a free instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4948 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix several related bugs in DSNode::mergeWith() caused by theVikram S. Adve2002-12-061-90/+102
| | | | | | | | | | fact that the incoming nodes may be merged away at intermediate steps. Use an extra level of indirection via DSNodeHandles to track the nodes being merged. All this now happens in a static helper function MergeNodes(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4947 91177308-0d34-0410-b5e6-96231b3b80d8
* Added static helper method MergeNodes(). See DataStructure.cpp for more.Vikram S. Adve2002-12-062-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4946 91177308-0d34-0410-b5e6-96231b3b80d8
* Bug fix in operator==() and in method fini().Vikram S. Adve2002-12-062-8/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4945 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement a lot of cast functionality (no FP or 64)Brian Gaeke2002-12-062-68/+124
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4944 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to print indirect node againChris Lattner2002-12-061-3/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4943 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bugChris Lattner2002-12-062-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4942 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow printing partially constructed bitsetsChris Lattner2002-12-062-2/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4941 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't delete values that may still be referenced!Chris Lattner2002-12-062-4/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4940 91177308-0d34-0410-b5e6-96231b3b80d8
* Tighten up assertion checkingChris Lattner2002-12-066-18/+38
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4939 91177308-0d34-0410-b5e6-96231b3b80d8
* Only build jello when compiling on X86Chris Lattner2002-12-061-2/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4938 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix to make jello compile on Sparc even though it won't run.Chris Lattner2002-12-061-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4937 91177308-0d34-0410-b5e6-96231b3b80d8
* Export a new ARCH variable indicating what platform is being compiledChris Lattner2002-12-062-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4936 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug: 2002-12-05-MissedConstProp.ll pointed out by Casey CarterChris Lattner2002-12-051-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4935 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase pointed out by Casey CarterChris Lattner2002-12-051-0/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4934 91177308-0d34-0410-b5e6-96231b3b80d8
* Cute bug fix: when moving links from N to this, some links could haveVikram S. Adve2002-12-051-14/+23
| | | | | | | | been missed if node *this got merged away due to recursive merging! Also, links were not moved correctly if a node is collapsed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4933 91177308-0d34-0410-b5e6-96231b3b80d8
* Target/X86/Printer.cpp: Add sizePtr function, and use it instead ofBrian Gaeke2002-12-054-113/+157
| | | | | | | | | | | | | | | | | | | " <SIZE> PTR " string when emitting assembly. Target/X86/X86InstrInfo.def: Tidy up a bit: Squashed everything down to 118 chars wide, wrapping lines so that comment is at the same point on each line. Rename "NoImpRegs" as "NoIR". (most instructions have NoImpRegs twice on a line, so this saves 10 columns). Also, annotate various instructions with flags for size of memory operand. (MemArg16, MemArg32, MemArg64, etc.) Target/X86/X86InstrInfo.h: Define flags for size of memory operand. (MemArg16, MemArg32, MemArg64, etc.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4932 91177308-0d34-0410-b5e6-96231b3b80d8
* Return 0 to make it into a fully-functioning "Hello, World!" test case.Misha Brukman2002-12-041-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4931 91177308-0d34-0410-b5e6-96231b3b80d8
* Added code generation for function prologues and epilogues.Misha Brukman2002-12-041-17/+32
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4930 91177308-0d34-0410-b5e6-96231b3b80d8
* Implemented functions for emitting prologues and epilogues;Misha Brukman2002-12-042-1/+62
| | | | | | | removed EBP from the list of callee-saved registers (it isn't one). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4929 91177308-0d34-0410-b5e6-96231b3b80d8
* Added push and pop instructions.Misha Brukman2002-12-041-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4928 91177308-0d34-0410-b5e6-96231b3b80d8
* Added prototypes for emitting prologue and epilogue for function codeMisha Brukman2002-12-041-0/+10
| | | | | | | generation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4927 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix testcaseChris Lattner2002-12-041-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4926 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix handling of function calls that return voidChris Lattner2002-12-042-18/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4925 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement initial support for return values from call instructionsChris Lattner2002-12-042-0/+28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4924 91177308-0d34-0410-b5e6-96231b3b80d8
* Fun arithmetic with iterators aimed at fixing a bug: inserting instructionsMisha Brukman2002-12-041-2/+4
| | | | | | | | after the *current* instruction while keeping the iterator in the same 'logical' place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4923 91177308-0d34-0410-b5e6-96231b3b80d8
* Adjust the stack pointer after a function call, proportional to the number ofMisha Brukman2002-12-042-0/+18
| | | | | | | arguments pushed onto the stack. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4922 91177308-0d34-0410-b5e6-96231b3b80d8
* Added instructions to add/subtract imm32 to/from a reg32.Misha Brukman2002-12-041-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4921 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2002-12-041-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4920 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bogus assertion failuresChris Lattner2002-12-044-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4919 91177308-0d34-0410-b5e6-96231b3b80d8
* Avoid bad assertionChris Lattner2002-12-042-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4918 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove think-o assertionChris Lattner2002-12-042-4/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4917 91177308-0d34-0410-b5e6-96231b3b80d8
* Avoid crashing on Arguments, just silently miscompileChris Lattner2002-12-042-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4916 91177308-0d34-0410-b5e6-96231b3b80d8
* Add main functions to benchmarksChris Lattner2002-12-046-7/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4915 91177308-0d34-0410-b5e6-96231b3b80d8
* storeReg2RegOffset() and loadRegOffset2Reg() now take the iterator by valueMisha Brukman2002-12-043-6/+6
| | | | | | | instead of by reference, since they return the modified iterator. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4914 91177308-0d34-0410-b5e6-96231b3b80d8
* On `make clean', kill the core files produced, which are of the form:Misha Brukman2002-12-042-2/+2
| | | | | | | | core.### where ### is the process ID. We use core.[0-9][0-9]* to avoid killing core.c, core.cpp, and core.h files which may be part of benchmarks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4913 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2002-12-041-0/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4912 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved buildReg2RegClassMap() into from X86RegisterInfo to MRegisterInfo, sinceMisha Brukman2002-12-043-17/+8
| | | | | | | it is target-independent. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4911 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a "Lazy Function Resolution in Jello" sectionChris Lattner2002-12-041-14/+40
| | | | | | | Remove some todo's git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4910 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug I introduced in a previous changeChris Lattner2002-12-042-4/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4909 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for global value referencesChris Lattner2002-12-043-1/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4908 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for referencing global variables/functionsChris Lattner2002-12-046-8/+48
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4907 91177308-0d34-0410-b5e6-96231b3b80d8
* Print out direct global referencesChris Lattner2002-12-041-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4906 91177308-0d34-0410-b5e6-96231b3b80d8