aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Okay, so this is a huge hack. Fixme laterChris Lattner2001-11-071-4/+36
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1171 91177308-0d34-0410-b5e6-96231b3b80d8
* *Print Stack traces better.Chris Lattner2001-11-073-27/+64
| | | | | | | | | * Use the cache writer for all it's problems. * print arguments to methods in stack traces. *Print the current stack from for up/down commands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1170 91177308-0d34-0410-b5e6-96231b3b80d8
* * Use cached writer to speed up printing and get symbolic types more ↵Chris Lattner2001-11-073-15/+54
| | | | | | | | | consistently * When a segfault or bus error occurs, stop the program, print a stack trace, and dump the user in the debugger mode git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1169 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement CachedWriter class to allow module level printing of various ↵Chris Lattner2001-11-071-1/+36
| | | | | | components very quickly git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1168 91177308-0d34-0410-b5e6-96231b3b80d8
* New class to provide high performance writing.Chris Lattner2001-11-071-0/+41
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1167 91177308-0d34-0410-b5e6-96231b3b80d8
* Add %p format to printf, which MUST be used when printing pointer values.Chris Lattner2001-11-071-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1166 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement log and drand48 for TSP bmChris Lattner2001-11-061-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1165 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor fixesChris Lattner2001-11-062-6/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1164 91177308-0d34-0410-b5e6-96231b3b80d8
* Add notesChris Lattner2001-11-061-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1163 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement sqrt, implement printf better, simpler.Chris Lattner2001-11-061-16/+31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1161 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix minor bug for shiftsChris Lattner2001-11-061-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1160 91177308-0d34-0410-b5e6-96231b3b80d8
* Print out the abridged form of the call instruction.Chris Lattner2001-11-061-2/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1159 91177308-0d34-0410-b5e6-96231b3b80d8
* Build .bc from .c better.Chris Lattner2001-11-062-10/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1158 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't forget to make the clean version.Chris Lattner2001-11-062-2/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1157 91177308-0d34-0410-b5e6-96231b3b80d8
* Really fix Makefile to compile individual tests and Olden codes.Vikram S. Adve2001-11-062-46/+68
| | | | | | | by using a better naming scheme. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1156 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved *.c files into subdirectory TestSources to avoid overwritingVikram S. Adve2001-11-067-436/+0
| | | | | | | corresponding *.ll files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1155 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed bug - added code in pushUnconstrainedIGNodes() to check whether a nodeRuchira Sasanka2001-11-062-16/+34
| | | | | | | is already pushed to stack by a previous call to the same method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1154 91177308-0d34-0410-b5e6-96231b3b80d8
* Reorder paramters to make the command line more easily modifiableChris Lattner2001-11-062-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1153 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bugsChris Lattner2001-11-062-6/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1152 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix many bugs. Implement PHI transforms & other cyclesChris Lattner2001-11-061-54/+152
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1151 91177308-0d34-0410-b5e6-96231b3b80d8
* Give me PHI's space backChris Lattner2001-11-061-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1150 91177308-0d34-0410-b5e6-96231b3b80d8
* Bug fix: uninitialized variable.Vikram S. Adve2001-11-062-10/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1147 91177308-0d34-0410-b5e6-96231b3b80d8
* Bug fix: Printing AdIBef and AdIAft outside the scope where theyVikram S. Adve2001-11-061-7/+7
| | | | | | | were declared, and in some cases when they were unintialized. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1146 91177308-0d34-0410-b5e6-96231b3b80d8
* Print PHI nodes with zero operands even if they are illegalChris Lattner2001-11-061-5/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1145 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug with ADD nodes and malloc promotionChris Lattner2001-11-051-9/+29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1144 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix makefile to compile olden and main benchmarksChris Lattner2001-11-052-26/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1142 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't print spurious linking warnings about methods that are never used.Chris Lattner2001-11-052-30/+35
| | | | | | | Cleanup ExprTypeConvert a bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1141 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the expression map correctly.Chris Lattner2001-11-053-49/+188
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1140 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the olden benchmarks compile againChris Lattner2001-11-052-12/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1139 91177308-0d34-0410-b5e6-96231b3b80d8
* Modified graph construction to use one pass to find all defs.Vikram S. Adve2001-11-054-112/+288
| | | | | | | | Avoids having to handle some special cases that cause complex interactions with instr. selection. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1138 91177308-0d34-0410-b5e6-96231b3b80d8
* Make reg. numbers signed ints.Vikram S. Adve2001-11-052-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1137 91177308-0d34-0410-b5e6-96231b3b80d8
* Put it back!Vikram S. Adve2001-11-051-0/+99
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1136 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed by mistake; will add it back immediately.Vikram S. Adve2001-11-051-99/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1135 91177308-0d34-0410-b5e6-96231b3b80d8
* Make gcc generate assembly files (%.ll) until Chris has a stableVikram S. Adve2001-11-052-4/+16
| | | | | | | version of his gccas. Plus another dumb bug fix (the bug, not the fix). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1134 91177308-0d34-0410-b5e6-96231b3b80d8
* Delete rule to disassemble %.bc -- need to make it effective only whenVikram S. Adve2001-11-052-6/+0
| | | | | | | %.ll is not a pre-existing file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1133 91177308-0d34-0410-b5e6-96231b3b80d8
* Replaced another HERE.Vikram S. Adve2001-11-051-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1132 91177308-0d34-0410-b5e6-96231b3b80d8
* Put common rules for compiling programs into Makefile.target.Vikram S. Adve2001-11-053-48/+199
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1130 91177308-0d34-0410-b5e6-96231b3b80d8
* New file for expression tree conversionChris Lattner2001-11-041-0/+494
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1128 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactor code to share stuffChris Lattner2001-11-044-603/+148
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1127 91177308-0d34-0410-b5e6-96231b3b80d8
* * Relax restriction that prevented malloc promotion in certain casesChris Lattner2001-11-041-21/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1125 91177308-0d34-0410-b5e6-96231b3b80d8
* Generate code for Rem instruction.Vikram S. Adve2001-11-041-19/+53
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1124 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix obscure nasty bug with bytecode writing that could cause the last byte ↵Chris Lattner2001-11-041-2/+5
| | | | | | to be dropped. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1123 91177308-0d34-0410-b5e6-96231b3b80d8
* * Disable debug outputChris Lattner2001-11-041-22/+48
| | | | | | | | * fix minor bug with taking datasize of unsized array type * Insert code to support speculative changes later git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1122 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert backward conversion of expression trees into a new more powerful ↵Chris Lattner2001-11-041-11/+297
| | | | | | bidirectional approach. Add transforms for more instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1121 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed instruction information for RDCCR and WRCCR.Vikram S. Adve2001-11-043-59/+128
| | | | | | | | | Fixed selection to create a TmpInstruction for each integer CC register (since it is an implicit side-effect, unlike FP CC registers which are explicit operands). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1120 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor method renameChris Lattner2001-11-046-22/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1119 91177308-0d34-0410-b5e6-96231b3b80d8
* Add transformations for Load and GetElementPtr. Fix broken transform with shr.Chris Lattner2001-11-041-0/+99
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1118 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix cast instructions that end up in bad places in GCC outputChris Lattner2001-11-041-0/+84
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1117 91177308-0d34-0410-b5e6-96231b3b80d8
* Added an assertion since it seems like AdjList returns an errornous size in ↵Ruchira Sasanka2001-11-032-4/+14
| | | | | | | | | method IGNode::pushOnStack(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1116 91177308-0d34-0410-b5e6-96231b3b80d8
* Avoid making a broken transformation!Chris Lattner2001-11-031-20/+33
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1115 91177308-0d34-0410-b5e6-96231b3b80d8