summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Rename -emitmaps to -enable-mapsBrian Gaeke2003-08-161-1/+1
| | | | llvm-svn: 7913
* Now that the JIT memory manager allocates as many bytes as necessary rather thanMisha Brukman2003-08-151-1/+2
| | | | | | | rounding up to a page, we need to request (num instrs * 4) bytes. However, I think that 64 bytes is overkill for the stub function. llvm-svn: 7888
* Fix register and parameter numbers in saving double FP registers.Misha Brukman2003-08-151-1/+1
| | | | llvm-svn: 7884
* Adjust to new API, add expandCall stubChris Lattner2003-08-151-10/+10
| | | | llvm-svn: 7873
* Add support for unconditional branches and for emitting JE instructionsChris Lattner2003-08-151-3/+15
| | | | llvm-svn: 7872
* Add a bunch of new node types, including a new Void dummy register classChris Lattner2003-08-151-1/+16
| | | | llvm-svn: 7870
* * Must save FP registers when calling CompilationCallback(), because FPMisha Brukman2003-08-151-24/+168
| | | | | | | | registers are global, are NOT windowed, and hence can be clobbered! * Removed unused register shorthand notations * Fixed and cleaned up comments in inline assembly llvm-svn: 7853
* Since we now have TableGen editing modes for VIM and (X)Emacs, we no longer needMisha Brukman2003-08-145-10/+10
| | | | | | to mark TableGen description files with "C++ mode". llvm-svn: 7841
* Restore 'nice name' to passChris Lattner2003-08-141-0/+1
| | | | llvm-svn: 7840
* Factory methods for function passes now return type FunctionPass *.Brian Gaeke2003-08-141-1/+1
| | | | llvm-svn: 7839
* Unbreak SPARC backend: addPassesToJITCompile andBrian Gaeke2003-08-142-2/+2
| | | | | | addPassesToEmitMachineCode now both take a FunctionPassManager. llvm-svn: 7837
* Factory methods for function passes now return type FunctionPass *.Brian Gaeke2003-08-141-7/+1
| | | | | | Get rid of RegisterLLC, which can't handle FunctionPasses anyway. llvm-svn: 7836
* Unbreak SPARC backend: addPassesToJITCompile andBrian Gaeke2003-08-141-3/+3
| | | | | | | addPassesToEmitMachineCode now both take a FunctionPassManager. Factory methods for function passes now return type FunctionPass *. llvm-svn: 7835
* X86 static backend: smackedBrian Gaeke2003-08-131-6/+2
| | | | | | | | Function at a time: smacked Who you gonna call!!! :-) llvm-svn: 7826
* Factory methods for FunctionPasses now return type FunctionPass *.Brian Gaeke2003-08-134-4/+4
| | | | llvm-svn: 7823
* addPassesToJITCompile and addPassesToEmitMachineCode now take aBrian Gaeke2003-08-132-4/+5
| | | | | | | FunctionPassManager, to support function-at-a-time compilation and emission of code. llvm-svn: 7821
* addPassesToJITCompile now takes a FunctionPassManager, to supportBrian Gaeke2003-08-131-2/+39
| | | | | | | | | function-at-a-time compilation and emission of code. Separate addPassesToEmitAssembly from addPassesToJITCompile, because the latter requires you to use FunctionPasses, and the former might diverge anyway. llvm-svn: 7817
* Factory methods for FunctionPasses now return type FunctionPass *.Brian Gaeke2003-08-131-10/+10
| | | | | | Correct one of the functions' comments. llvm-svn: 7816
* Factory methods for FunctionPasses now return type FunctionPass *.Brian Gaeke2003-08-131-7/+4
| | | | | | | Revert (to v1.55) one of the hunks of Chris's change that messed up the %-register workaround. llvm-svn: 7815
* Adjust files for move of mapping info stuff into the Sparc directoryChris Lattner2003-08-135-19/+20
| | | | llvm-svn: 7802
* Just incorporating some notes I wrote for myself into a place where they won'tBrian Gaeke2003-08-131-0/+14
| | | | | | get lost... llvm-svn: 7798
OpenPOWER on IntegriCloud