Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Check in the implementation of the FileUtilities! | Chris Lattner | 2003-08-01 | 1 | -0/+56 |
| | | | | llvm-svn: 7487 | ||||
* | Remove makefile complexity by always running tablegen with its final output | Chris Lattner | 2003-08-01 | 1 | -7/+2 |
| | | | | | | directory. llvm-svn: 7485 | ||||
* | Use the C++, more portable, deleter | Chris Lattner | 2003-08-01 | 1 | -1/+1 |
| | | | | llvm-svn: 7483 | ||||
* | Move #include from a header to here | Chris Lattner | 2003-08-01 | 1 | -0/+1 |
| | | | | llvm-svn: 7480 | ||||
* | Add all arithmetic operators to ConstantExprToString(). | Vikram S. Adve | 2003-08-01 | 1 | -0/+40 |
| | | | | | | | | Note that some generated operators (like &, | or ^) may not be supported by the assembler -- but if they've got this far, it's better to generate them and let the assembler decide. llvm-svn: 7476 | ||||
* | *Both* operands of divide need sign-extension before divide (if smaller | Vikram S. Adve | 2003-08-01 | 1 | -8/+16 |
| | | | | | | than machine register size), not just the second operand. llvm-svn: 7475 | ||||
* | Put back the separate pass to decompose multi-dimensional references | Vikram S. Adve | 2003-08-01 | 1 | -0/+3 |
| | | | | | | | | since it is *necessary* for correct code generation. Only optional transformations belong in the PreOpts pass (which needs to be renamed from PreSelection to PreOpts). llvm-svn: 7474 | ||||
* | encode size information into each ValueType | Chris Lattner | 2003-08-01 | 1 | -11/+33 |
| | | | | | | Add new RegisterInfo class llvm-svn: 7469 | ||||
* | This method is long dead | Chris Lattner | 2003-08-01 | 1 | -3/+0 |
| | | | | llvm-svn: 7460 | ||||
* | Fix the JIT in the Nightly tester. This was not a fun bug to track down. | Chris Lattner | 2003-07-31 | 1 | -2/+14 |
| | | | | | | See the comments in the patch for details. llvm-svn: 7457 | ||||
* | Trivial cleanups: no need to include header twice. Global variable is local ↵ | Chris Lattner | 2003-07-31 | 1 | -3/+1 |
| | | | | | | to file llvm-svn: 7456 | ||||
* | Remove more obsolete comments | Chris Lattner | 2003-07-31 | 1 | -50/+2 |
| | | | | llvm-svn: 7455 | ||||
* | Changed pointer to the JIT code to its current location, under LLI. | Misha Brukman | 2003-07-31 | 1 | -1/+1 |
| | | | | llvm-svn: 7454 | ||||
* | Unbreak the CBE output | Chris Lattner | 2003-07-31 | 1 | -2/+0 |
| | | | | llvm-svn: 7453 | ||||
* | I think local symbols in X86 GAS have to start with .L, not just | Brian Gaeke | 2003-07-31 | 1 | -3/+5 |
| | | | | | | | .; so I have changed the basic block markers to start with .L. I also broke up a >80char line. llvm-svn: 7452 | ||||
* | Modified the code so that it generates (0) for setjmp() and abort() for | John Criswell | 2003-07-31 | 1 | -0/+18 |
| | | | | | | | | longjmp() (and does not include setjmp.h). This is to fix some problems on Sparc while non-local jumps are still unimplemented. llvm-svn: 7449 | ||||
* | *** empty log message *** | Tanya Lattner | 2003-07-31 | 1 | -1/+1 |
| | | | | llvm-svn: 7447 | ||||
* | Added function to determine if an Instruction may trap. | Tanya Lattner | 2003-07-31 | 1 | -0/+17 |
| | | | | llvm-svn: 7442 | ||||
* | Add comments | Chris Lattner | 2003-07-30 | 1 | -1/+19 |
| | | | | | | Make the register classes optionally take code fragments for allocation_order_* llvm-svn: 7441 | ||||
* | We no longer need to preprocess SparcV9.td before sending it through tablegen | Chris Lattner | 2003-07-30 | 2 | -30/+30 |
| | | | | llvm-svn: 7437 | ||||
* | Fix a bug that brian reported | Chris Lattner | 2003-07-30 | 1 | -4/+24 |
| | | | | llvm-svn: 7428 | ||||
* | Add support for "named positional arguments" | Chris Lattner | 2003-07-30 | 1 | -15/+34 |
| | | | | llvm-svn: 7421 | ||||
* | When emitting a constant, check for ConstantExpr before | Vikram S. Adve | 2003-07-30 | 1 | -14/+15 |
| | | | | | | ordinary (primitive) types since ConstantExprs may be of primitive type! llvm-svn: 7418 | ||||
* | Conform to the new interface for describing target registers... even though | Chris Lattner | 2003-07-30 | 1 | -14/+24 |
| | | | | | | it's currently not used. llvm-svn: 7416 | ||||
* | Add all of the necessary classes to describe the contents of the MRegister.h ↵ | Chris Lattner | 2003-07-30 | 1 | -1/+40 |
| | | | | | | | | implementation for a target. llvm-svn: 7415 | ||||
* | Only regenerate the .inc file if IT has changed, not just if the .td files | Chris Lattner | 2003-07-30 | 1 | -4/+13 |
| | | | | | | have changed. llvm-svn: 7414 | ||||
* | Use target specific interface instead of forcing it to be target-generic | Chris Lattner | 2003-07-30 | 1 | -4/+6 |
| | | | | llvm-svn: 7413 | ||||
* | No this file is not actually Sparc.td :) | Chris Lattner | 2003-07-29 | 1 | -7/+5 |
| | | | | llvm-svn: 7405 | ||||
* | Do not use 'cpp' directly | Chris Lattner | 2003-07-29 | 1 | -1/+1 |
| | | | | llvm-svn: 7404 | ||||
* | Add namespace specifier, add flags used by the X86 BE | Chris Lattner | 2003-07-29 | 1 | -5/+7 |
| | | | | llvm-svn: 7403 | ||||
* | * Cleaned up and corrected comments wrt instruction formats | Misha Brukman | 2003-07-29 | 1 | -18/+18 |
| | | | | | | * Enabled STXFSR instructions llvm-svn: 7400 | ||||
* | Make emitFarCall() public, and add a few comments to functions. | Misha Brukman | 2003-07-29 | 1 | -3/+27 |
| | | | | llvm-svn: 7399 | ||||
* | Unify all constant evaluations that depend on register size | Vikram S. Adve | 2003-07-29 | 2 | -72/+104 |
| | | | | | | in ConvertConstantToIntType. llvm-svn: 7395 | ||||
* | Rename 'dump-asm' to 'dump-input' and really print it just before code-gen. | Vikram S. Adve | 2003-07-29 | 1 | -6/+6 |
| | | | | llvm-svn: 7394 | ||||
* | Bug fix: don't unnecessarily pretty-print control-characters, some of | Vikram S. Adve | 2003-07-29 | 1 | -15/+4 |
| | | | | | | which were wrong (particularly, '\a' for '\007'). llvm-svn: 7393 | ||||
* | Add ConvertConstantToIntType() to unify all constant handling | Vikram S. Adve | 2003-07-29 | 1 | -50/+16 |
| | | | | | | | | | that depends on machine register size. Moved insertCallerSavingCode() to PhyRegAlloc and moved isRegVolatile and modifiedByCall to TargetRegInfo: they are all machine independent. Remove several dead functions. llvm-svn: 7392 | ||||
* | Add code to support stack spill/temp offsets that don't fit in the | Vikram S. Adve | 2003-07-29 | 1 | -238/+99 |
| | | | | | | | immed. field. Moved insertCallerSavingCode() to PhyRegAlloc: it is now machine independent. Remove all uses of PhyRegAlloc. llvm-svn: 7391 | ||||
* | All constant-evaluation code now unified into | Vikram S. Adve | 2003-07-29 | 1 | -31/+8 |
| | | | | | | TargetInstrInfo::ConvertConstantToIntType(). llvm-svn: 7390 | ||||
* | 1. Bug fix: Don't use branch operand reg. as temp. reg. when | Vikram S. Adve | 2003-07-29 | 1 | -81/+326 |
| | | | | | | | | | | | spilling values used by an instruction in the delay slot of the branch (which will eventually be moved before the branch). 2. Bug fix: Delete the delay slot instr, not the branch instr, when moving delay slot instr. out!!!! 3. Move code to insert caller-saves moved here from SparcRegInfo: it is now machine-independent. llvm-svn: 7389 | ||||
* | Don't require a BB to look-up live variables, unless they may need to | Vikram S. Adve | 2003-07-29 | 1 | -9/+10 |
| | | | | | | be recomputed. llvm-svn: 7388 | ||||
* | Add const version of getLiveRangeForValue(). | Vikram S. Adve | 2003-07-29 | 1 | -4/+9 |
| | | | | llvm-svn: 7386 | ||||
* | Code to insert caller-saves moved here from SparcRegInfo: it is now | Vikram S. Adve | 2003-07-29 | 1 | -9/+22 |
| | | | | | | | | | machine-independent. Fix problem with using branch operand reg. as temp. reg. when spilling values used by an instruction in the delay slot of the branch (which will eventually be moved before the branch). llvm-svn: 7385 | ||||
* | * Correctly emit a far call if the target address does not fit into 30 bits | Misha Brukman | 2003-07-29 | 1 | -17/+15 |
| | | | | | | | instead of assert()ing * Fixed a nasty bug where '07' was used instead of register 'o7' llvm-svn: 7382 | ||||
* | * Stop hard-coding a value for beginning of emitted code on Sparc since we can | Misha Brukman | 2003-07-29 | 1 | -10/+6 |
| | | | | | | | | now handle far calls (i.e., beyond the 30-bit limit in call instructions). * As a side-effect, this allows us to unify and clean up the mmap() call and code around it. llvm-svn: 7381 | ||||
* | Move "register flags" definition the type of registers to be fully fledged | Chris Lattner | 2003-07-29 | 2 | -40/+41 |
| | | | | | | value types llvm-svn: 7377 | ||||
* | Add support for Alpha intrinsics, contributed by Rahul Joshi | Chris Lattner | 2003-07-28 | 2 | -0/+12 |
| | | | | llvm-svn: 7373 | ||||
* | Add rationale for the MAP_ANONYMOUS vs. MAP_ANON flags. | Misha Brukman | 2003-07-28 | 1 | -0/+1 |
| | | | | llvm-svn: 7368 | ||||
* | The RTLD_GLOBAL flag allows symbols to be globally accessible, which makes | Misha Brukman | 2003-07-28 | 1 | -1/+1 |
| | | | | | | | resolution of symbols in the .so possible (currently assists debugging with bugpoint). llvm-svn: 7366 | ||||
* | Add ability for external C code to get pointers to functions given their name. | Misha Brukman | 2003-07-28 | 1 | -3/+15 |
| | | | | | | | | | This us used by bugpoint -- when code is compiled to a shared object to be JITted, it must use the JIT's lazy resolution method to find function addresses, because some functions will not be available at .so load time, as they are in the bytecode file. llvm-svn: 7363 | ||||
* | Clean up code dealing with RTLD_SELF differences on Sparc and X86. | Misha Brukman | 2003-07-28 | 1 | -5/+5 |
| | | | | llvm-svn: 7362 |