aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Cache parameters for target machine.Vikram S. Adve2001-11-091-0/+67
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1222 91177308-0d34-0410-b5e6-96231b3b80d8
* Added class MachineCacheInfo.Vikram S. Adve2001-11-093-6/+30
| | | | | | | Also added function to convert float to int by copying via memory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1221 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove false optimization that basically broke everythingChris Lattner2001-11-091-19/+28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1219 91177308-0d34-0410-b5e6-96231b3b80d8
* * Add better caching of data to avoid silly recusionsChris Lattner2001-11-081-3/+12
| | | | | | | * Only check to see if uses of instructions can be converted for expressions... so we don't look at all of the uses of a constant. This was making the code unnecessarily conservative git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1218 91177308-0d34-0410-b5e6-96231b3b80d8
* Add method declChris Lattner2001-11-082-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1217 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unneeded forward declChris Lattner2001-11-081-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1216 91177308-0d34-0410-b5e6-96231b3b80d8
* Improve raising significantlyChris Lattner2001-11-084-75/+267
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1214 91177308-0d34-0410-b5e6-96231b3b80d8
* Print the method that makes an instruction invalidChris Lattner2001-11-081-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1213 91177308-0d34-0410-b5e6-96231b3b80d8
* corrected insertCode4Spilled ... bug.Ruchira Sasanka2001-11-082-16/+34
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1212 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate cleaning step for individual %.bc files created by our gcc.Vikram S. Adve2001-11-082-6/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1211 91177308-0d34-0410-b5e6-96231b3b80d8
* Took out .clean.bc target.Vikram S. Adve2001-11-082-6/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1210 91177308-0d34-0410-b5e6-96231b3b80d8
* Run cleaning pass only when linking multiple files.Vikram S. Adve2001-11-082-4/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1209 91177308-0d34-0410-b5e6-96231b3b80d8
* Add cleaning pass after linking.Vikram S. Adve2001-11-082-4/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1208 91177308-0d34-0410-b5e6-96231b3b80d8
* Uncommented LR spill code insertionRuchira Sasanka2001-11-082-4/+170
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1207 91177308-0d34-0410-b5e6-96231b3b80d8
* Keep *.s files while we're debugging the native code.Vikram S. Adve2001-11-082-6/+6
| | | | | | | Also, fix rule for $(LLCLIBS). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1206 91177308-0d34-0410-b5e6-96231b3b80d8
* Bug fix: need to use .reserve for uninitialized data.Vikram S. Adve2001-11-081-6/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1205 91177308-0d34-0410-b5e6-96231b3b80d8
* Add rule for %.clean.bc.Vikram S. Adve2001-11-082-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1204 91177308-0d34-0410-b5e6-96231b3b80d8
* Bug fix: cannot modify Phi operands while iterating over them!Vikram S. Adve2001-11-081-16/+23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1203 91177308-0d34-0410-b5e6-96231b3b80d8
* Add handle to object MachineFrameInfo.Vikram S. Adve2001-11-081-3/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1202 91177308-0d34-0410-b5e6-96231b3b80d8
* Include handle to TargetMachine in each Machine...Info class.Vikram S. Adve2001-11-082-5/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1201 91177308-0d34-0410-b5e6-96231b3b80d8
* Add method CreateCodeToCopyIntToFloat.Vikram S. Adve2001-11-082-2/+36
| | | | | | | Include handle to TargetMachine in each Machine...Info object. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1200 91177308-0d34-0410-b5e6-96231b3b80d8
* Major change to how defs are found when adding dependences (theyVikram S. Adve2001-11-084-342/+138
| | | | | | | | | are now found as part of the initial walk of the machine code). Also memory load/store instructions can be generated for non-memory LLVM instructions, which wasn't handled before. It is now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1199 91177308-0d34-0410-b5e6-96231b3b80d8
* MachineCodeForMethod is now an annotation on class Method.Vikram S. Adve2001-11-082-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1198 91177308-0d34-0410-b5e6-96231b3b80d8
* Add handle to TargetMachine object in all Machine...Info classes.Vikram S. Adve2001-11-082-5/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1197 91177308-0d34-0410-b5e6-96231b3b80d8
* Added support for bitwise logical operators. Use different labels forVikram S. Adve2001-11-081-4/+29
| | | | | | | | for these than for boolean logicals to avoid making Burg diverge. See Burg manual for more information. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1196 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed function getEscapedString to follow the Sparc assembly rulesVikram S. Adve2001-11-081-107/+150
| | | | | | | | for symbol names! (And renamed it to getValidSymbolName). Fixed format for float and other constants. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1195 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bugs in FITOS/D instruction generation.Vikram S. Adve2001-11-081-68/+116
| | | | | | | | | The space for optional args in the stack frame is now being computed, so finish the code generation for the variable `alloca'. Finally, made a major overhaul of how stack frame is managed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1194 91177308-0d34-0410-b5e6-96231b3b80d8
* Added new function UltraSparcInstrInfo::CreateCodeToCopyIntToFloat.Vikram S. Adve2001-11-081-6/+64
| | | | | | | Also major overhaul of how stack frame is managed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1193 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed class RegStackOffsets and used class MachineCodeForMethodVikram S. Adve2001-11-081-31/+53
| | | | | | | directly to manage stack frame. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1192 91177308-0d34-0410-b5e6-96231b3b80d8
* Use MachineFrameInfo as base class of UltraSparcFrameInfo, and madeVikram S. Adve2001-11-082-59/+144
| | | | | | | a major overhaul of this class and how stack frames are managed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1191 91177308-0d34-0410-b5e6-96231b3b80d8
* Machine-independent interface to target's stack frame layout parameters.Vikram S. Adve2001-11-081-0/+76
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1190 91177308-0d34-0410-b5e6-96231b3b80d8
* Use different op labels for bitwise logical operations and boolean logicalVikram S. Adve2001-11-081-0/+5
| | | | | | | operations in BURG input trees. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1189 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a second constructor for and improved class TmpInstruction.Vikram S. Adve2001-11-081-9/+28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1188 91177308-0d34-0410-b5e6-96231b3b80d8
* Added two minor methods.Vikram S. Adve2001-11-084-6/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1187 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed class RegStackOffsets and used class MachineCodeForMethodVikram S. Adve2001-11-084-586/+76
| | | | | | | directly to manage stack frame. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1186 91177308-0d34-0410-b5e6-96231b3b80d8
* Major overhaul of stack frame management.Vikram S. Adve2001-11-088-59/+263
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1185 91177308-0d34-0410-b5e6-96231b3b80d8
* Old file which was moved to include/llvm/Target some time back.Vikram S. Adve2001-11-081-121/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1184 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed MachineCodeForMethod object and made it an annotation.Vikram S. Adve2001-11-082-11/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1183 91177308-0d34-0410-b5e6-96231b3b80d8
* Add analysis pass.Chris Lattner2001-11-071-1/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1182 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of pointer safety checkerChris Lattner2001-11-072-0/+139
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1181 91177308-0d34-0410-b5e6-96231b3b80d8
* Correct problem that allows indirect function callsChris Lattner2001-11-071-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1179 91177308-0d34-0410-b5e6-96231b3b80d8
* * Switch to operation on pointers with PointerTy more consistentlyChris Lattner2001-11-073-76/+149
| | | | | | | | | | | | | | | | | | | | | * Fix misspeling * Catch SIGFPE for traps * info XXX now prints the raw contents of the GenericValue * Switch to calloc instead of malloc (temporarily I hope) to bandaid Olden benchmarks * Implement binary And & Or * Convert expressions like this: PointerTy SrcPtr = getOperandValue(I->getPtrOperand(), SF).PointerVal; to: GenericValue SRC = getOperandValue(I->getPtrOperand(), SF); PointerTy SrcPtr = SRC.PointerVal; because the prior way confuses purify. * Taint the initial values of the value planes * Handling 'print bb4' in the interpreter without crashing * Print nicer stack frames with concise return type * printf doesn't suck nearly as badly as it used to git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1177 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. -Winline emits spurious warnings that aren't useful right nowChris Lattner2001-11-072-2/+4
| | | | | | | 2. Fix the "rebuild everything if I change one file" problem git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1176 91177308-0d34-0410-b5e6-96231b3b80d8
* Killing warningsChris Lattner2001-11-073-8/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1175 91177308-0d34-0410-b5e6-96231b3b80d8
* Add #includes to enable buiding in Release modeChris Lattner2001-11-075-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1174 91177308-0d34-0410-b5e6-96231b3b80d8
* Squelch warnings about not returning a valueChris Lattner2001-11-071-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1173 91177308-0d34-0410-b5e6-96231b3b80d8
* Roll back all these changes that have broken Makefile.target again.Vikram S. Adve2001-11-072-26/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1172 91177308-0d34-0410-b5e6-96231b3b80d8
* 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