summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
Commit message (Collapse)AuthorAgeFilesLines
* Don't include "Config/stdlib.h".Brian Gaeke2003-10-101-1/+0
| | | | llvm-svn: 9037
* Include <cstdio> instead of <stdio.h>.Brian Gaeke2003-10-101-1/+1
| | | | llvm-svn: 9032
* Fix spelling.Misha Brukman2003-10-106-13/+14
| | | | llvm-svn: 9027
* Add # of printed instructions statistic to both the SPARC and X86 LLC backends.Brian Gaeke2003-10-062-1/+8
| | | | llvm-svn: 8892
* Add support for the Invoke instruction by using the LowerInvoke passChris Lattner2003-10-051-0/+6
| | | | llvm-svn: 8872
* Instead of hacking in custom support for Invoke/Unwind, use the LowerInvoke passChris Lattner2003-10-052-31/+14
| | | | llvm-svn: 8871
* Moved enum and command-line option in separate file. Also added function ↵Alkis Evlogimenos2003-10-021-29/+2
| | | | | | that returns the user selected register allocator to the caller. llvm-svn: 8819
* Change llc command line for register allocatorsAlkis Evlogimenos2003-10-021-6/+25
| | | | llvm-svn: 8815
* Revert previous change. For some reason this went into the main branchAlkis Evlogimenos2003-10-011-19/+2
| | | | llvm-svn: 8805
* Added command line option for linear scan allocatorAlkis Evlogimenos2003-10-011-2/+19
| | | | llvm-svn: 8804
* The comment seems irrelevant as the pass has become a BasicBlock pass.Misha Brukman2003-10-011-2/+0
| | | | llvm-svn: 8803
* Make sure to get the definition of getRegisterAllocatorChris Lattner2003-09-301-0/+1
| | | | llvm-svn: 8801
* RegisterAllocation.h is going awayChris Lattner2003-09-301-1/+0
| | | | llvm-svn: 8795
* Add statistic for # of emitWord() calls.Brian Gaeke2003-09-301-0/+2
| | | | llvm-svn: 8772
* Fixed spelling.Misha Brukman2003-09-232-3/+3
| | | | llvm-svn: 8687
* Fix spelling.Misha Brukman2003-09-231-1/+1
| | | | llvm-svn: 8686
* Fix assertion so it doesn't not trip incorrectly.Vikram S. Adve2003-09-211-4/+4
| | | | llvm-svn: 8650
* Fix a typo in Sparc.cpp.Brian Gaeke2003-09-182-10/+6
| | | | | | | Update names of some pass creator fns in addPassesToEmitAssembly(). FunctionInfo is gone. llvm-svn: 8599
* Rename the pass creator fn to mimic the other creator fn names.Brian Gaeke2003-09-181-1/+1
| | | | llvm-svn: 8598
* Fix (and properly doxygenify) some comments. IncorporateBrian Gaeke2003-09-181-39/+86
| | | | | | | | | | | functionality of FunctionInfo pass as doFinalization method. Rename pass to match names of other passes like it. Rename the pass creator fn to mimic the other creator fn names. Include StringExtras for utostr(). Make symbol prologue/epilogue stuff redundant with EmitBytecodeToAssembly, in preparation for refactoring. llvm-svn: 8597
* Make the symbol prologue/epilogue stuff redundant with MappingInfo, inBrian Gaeke2003-09-181-20/+31
| | | | | | | preparation for refactoring. Rename the pass creator fn to mimic the other creator fn names. llvm-svn: 8596
* Fix longjmp case so that, along with the call to abort(), we alsoVikram S. Adve2003-09-161-2/+22
| | | | | | generate the appropriate CallArgsDescriptor and tmp. virtual regs. llvm-svn: 8554
* Be a little more specific about what is begin generated. Only printChris Lattner2003-09-101-12/+12
| | | | | | command line if VERBOSE=1 llvm-svn: 8453
* Only emit inter-field-padding if the amount of padding is != 0Chris Lattner2003-09-101-1/+2
| | | | llvm-svn: 8452
* Don't explicitly use $SourceDir to find the tblgen files. This causes makeJohn Criswell2003-09-101-4/+4
| | | | | | | | | | | | some confusion when trying to generate files (it probably couldn't tell that ./file and $(SourceDir)/file may be the same file). Now, just let VPATH find everything, and list the primary tblgen file first in the list of dependencies so that we can just use $< to reference it in the make rule. This should hopefully fix the nightly tester. llvm-svn: 8433
* Updated to find source files using VPATH. This makes writing build rulesJohn Criswell2003-09-092-9/+18
| | | | | | | | | | | much cleaner and easier. Labeled .td as a suffix for tblgen files in Makefile.rules. Modified build rules so that source files generated during the build are placed in the build directory and not the source directory (and not in a Debug directory). This makes the system cleaner and allows us to have a read-only source tree. llvm-svn: 8424
* * Simplify printConstantValueOnly by moving the tail padding stuff directlyChris Lattner2003-09-091-65/+90
| | | | | | | | | into the struct case. * Extend printConstantValueOnly to print .zero's if the initializer is zero * Delete dead isConstantFunctionPointerRef function * Emit the appropriate assembly for the various linkage types! llvm-svn: 8417
* Eliminate support for the llvm.unwind intrinisic, using the Unwind ↵Chris Lattner2003-09-081-1/+0
| | | | | | instruction instead llvm-svn: 8411
* Add support for the unwind instructionChris Lattner2003-09-081-0/+5
| | | | llvm-svn: 8408
* Checkin of autoconf-style object root.John Criswell2003-09-062-26/+16
| | | | | | | Adjusted Makefile to work with new autoconf-style object root. Specifically, use the new -I option of tblgen to find include files. llvm-svn: 8379
* Added some optimizations:Misha Brukman2003-09-051-34/+66
| | | | | | | | | | | | * Generate a single BA instead of 6-instruction JUMP if possible (this occurs both in the creation and overwriting of the stub code) * If possible, rewrite the ORIGINAL call to call the generated function directly, thus bypassing the stub entirely Also added some statistics on how often calls are overwritten and how often the CompilationCallback is invoked. llvm-svn: 8376
* OptInfo is no longer requiredChris Lattner2003-09-011-1/+0
| | | | llvm-svn: 8312
* No longer provide an optinfo, noone uses itChris Lattner2003-09-012-18/+1
| | | | llvm-svn: 8311
* Inline simple comparison which is sparc specific anywayChris Lattner2003-09-011-2/+45
| | | | llvm-svn: 8309
* Move private interfaces into private .h fileChris Lattner2003-09-014-4/+9
| | | | llvm-svn: 8306
* Simplify code a bitChris Lattner2003-09-011-31/+15
| | | | llvm-svn: 8301
* LiveRange.h is now in lib/CodeGen/RegAllocChris Lattner2003-09-011-1/+1
| | | | llvm-svn: 8299
* LiveRangeInfo got moved into the lib/CodeGen/RegAlloc directoryChris Lattner2003-09-011-1/+1
| | | | llvm-svn: 8297
* IGNode got moved to lib/CodeGen/RegAllocChris Lattner2003-09-011-1/+1
| | | | llvm-svn: 8294
* This file just needs LiveRange.h not IGNode.hChris Lattner2003-09-011-2/+2
| | | | llvm-svn: 8293
* No longer include IGNode.h in the Sparc global headerChris Lattner2003-09-013-10/+16
| | | | llvm-svn: 8292
* * Use alloca() to force GCC not to eliminate frame pointerMisha Brukman2003-08-291-115/+90
| | | | | | | | | * Break apart saving and restoring registers into separate functions * Instead of saving single and double FP registers, just save the double registers -- aliasing helps preserve the single FP registers as well. * Request just as much memory for a stub as we actually use llvm-svn: 8200
* Add support for the llvm.unwind intrinsic, which we codegen to just do an abortChris Lattner2003-08-281-1/+29
| | | | | | | | | | | | until we implement unwinding. Add support for the invoke instruction, which codegens just like a call with a branch after it. The end effect of this change is that programs using the invoke instruction, but never unwinding, will work fine. Programs that unwind will abort until we get unwind support. llvm-svn: 8187
* Targets should configure themselves based on a Module, not some wierd flagsChris Lattner2003-08-243-12/+12
| | | | llvm-svn: 8132
* Implement: Jello/test-constantexpr.llChris Lattner2003-08-241-31/+66
| | | | llvm-svn: 8127
* Add support for 'any' pointer size and endiannessChris Lattner2003-08-241-2/+2
| | | | llvm-svn: 8120
* Change all #include'd files to be :: rules instead of : rulesChris Lattner2003-08-212-7/+7
| | | | llvm-svn: 8019
* Add support for the sig(set|long)jmp intrinsicsChris Lattner2003-08-182-0/+4
| | | | llvm-svn: 7951
* Spell `necessary' correctly.Misha Brukman2003-08-185-8/+8
| | | | llvm-svn: 7944
* Fix ABI issue: Longs really do need to be only 4 byte aligned on X86.Chris Lattner2003-08-171-1/+2
| | | | | | | | This bug caused miscompilation of programs using 'struct stat', but only if compiled with support for 64-bit filesystems. This could in theory effect other things, but only if the LLVM code shared data structures with native code. llvm-svn: 7928
OpenPOWER on IntegriCloud