| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 | ||||
| * | Fix reference to architecture. | Misha Brukman | 2003-07-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 7361 | ||||
| * | Add in support to load shared objects (-load is provided by Support library). | Misha Brukman | 2003-07-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 7360 | ||||
| * | Specify the value type for the register, not just the size. | Chris Lattner | 2003-07-28 | 1 | -1/+4 |
| | | | | | llvm-svn: 7357 | ||||
| * | Instead of specifying the SIZE of the register, go so far as to specify | Chris Lattner | 2003-07-28 | 1 | -1/+16 |
| | | | | | | | what value type it is. llvm-svn: 7356 | ||||
| * | Rename function to be more consistent with filename | Chris Lattner | 2003-07-26 | 3 | -6/+6 |
| | | | | | llvm-svn: 7352 | ||||
| * | Making this code const-correct would be a pain, so I'll hack it. | Chris Lattner | 2003-07-26 | 2 | -5/+6 |
| | | | | | llvm-svn: 7350 | ||||
| * | Const correctness fixes | Chris Lattner | 2003-07-26 | 2 | -3/+3 |
| | | | | | llvm-svn: 7349 | ||||
| * | Be const correct | Chris Lattner | 2003-07-26 | 1 | -2/+2 |
| | | | | | llvm-svn: 7348 | ||||
| * | Hrm, another necesary one :( | Chris Lattner | 2003-07-26 | 1 | -0/+1 |
| | | | | | llvm-svn: 7347 | ||||
| * | We don't modify the LLVM rep, remain const correct | Chris Lattner | 2003-07-26 | 1 | -2/+2 |
| | | | | | llvm-svn: 7345 | ||||
| * | If the pass changes _anything_ it must return true | Chris Lattner | 2003-07-26 | 1 | -1/+2 |
| | | | | | llvm-svn: 7344 | ||||
| * | This code doesn't modify the LLVM structure, keep stuff const | Chris Lattner | 2003-07-26 | 3 | -6/+6 |
| | | | | | llvm-svn: 7343 | ||||
| * | Remove #include | Chris Lattner | 2003-07-26 | 1 | -1/+0 |
| | | | | | llvm-svn: 7342 | ||||
| * | Remove extraneous #includes | Chris Lattner | 2003-07-26 | 2 | -2/+1 |
| | | | | | llvm-svn: 7341 | ||||
| * | Fix another minor bug | Chris Lattner | 2003-07-26 | 1 | -2/+2 |
| | | | | | llvm-svn: 7340 | ||||
| * | (1) Major fix to the way unused regs. are marked and found for the FP | Vikram S. Adve | 2003-07-25 | 4 | -566/+140 |
| | | | | | | | | | | | | | | Single and FP double reg types (which share the same reg class). Now all methods marking/finding unused regs consider the regType within the reg class, and SparcFloatRegClass specializes this code. (2) Remove machine-specific regalloc. methods that are no longer needed. In particular, arguments and return value from a call do not need machine-specific code for allocation. (3) Rename TargetRegInfo::getRegType variants to avoid unintentional overloading when an include file is omitted. llvm-svn: 7334 | ||||
| * | 1. Fix a case that was marking the invalid reg. num. (-1) as used, | Vikram S. Adve | 2003-07-25 | 1 | -14/+35 |
| | | | | | | | | | causing a nasty array bound error later. 2. Fix silly typo causing logical shift of unsigned long to use SRL instead of SRLX. llvm-svn: 7330 | ||||
| * | (1) Change the way unused regs. are marked and found to consider regType | Vikram S. Adve | 2003-07-25 | 4 | -116/+134 |
| | | | | | | | | | | | | info (since multiple reg types may share the same reg class). (2) Remove machine-specific regalloc. methods that are no longer needed. In particular, arguments and return value from a call do not need machine-specific code for allocation. (3) Rename TargetRegInfo::getRegType variants to avoid unintentional overloading when an include file is omitted. llvm-svn: 7329 | ||||
| * | Remove unused field. Change the way unused regs. are marked and | Vikram S. Adve | 2003-07-25 | 1 | -10/+11 |
| | | | | | | | | found to consider regType info (since multiple reg types may share the same reg class, e.g., single and double on Sparc). llvm-svn: 7327 | ||||
| * | Dont' try to parse the colon | Chris Lattner | 2003-07-25 | 1 | -2/+2 |
| | | | | | llvm-svn: 7323 | ||||
| * | Add a more general check-flags which can be used to ensure arbitrary flags ↵ | Chris Lattner | 2003-07-25 | 1 | -11/+35 |
| | | | | | | | are set llvm-svn: 7322 | ||||
| * | Include llvm/Support/Mangler.h first. Don't include <iostream>, <set>, | Brian Gaeke | 2003-07-25 | 1 | -5/+1 |
| | | | | | | | <string>, or llvm/Value.h. Move up the inclusion of llvm/Support/Mangler.h. llvm-svn: 7321 | ||||
| * | Don't include llvm/SlotCalculator.h, or <set>. | Brian Gaeke | 2003-07-25 | 1 | -3/+1 |
| | | | | | | | Move up the inclusion of llvm/Support/Mangler.h. llvm-svn: 7320 | ||||
| * | Cleanups: | Brian Gaeke | 2003-07-24 | 1 | -4/+5 |
| | | | | | | | | | | Mangler.cpp: Constify parameter to makeNameProper, and use const_iterator. Make Count an unsigned int, and use utostr(). Don't name parameters things that start with underscore. Mangler.h: All of the above, and also: Add Emacs mode-line. Include <set>. llvm-svn: 7301 | ||||
| * | Factor out name-mangling from X86/Printer, which is derived from CWriter, | Brian Gaeke | 2003-07-24 | 1 | -0/+83 |
| | | | | | | | into this new support class. llvm-svn: 7300 | ||||

