summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Check in the implementation of the FileUtilities!Chris Lattner2003-08-011-0/+56
| | | | llvm-svn: 7487
* Remove makefile complexity by always running tablegen with its final outputChris Lattner2003-08-011-7/+2
| | | | | | directory. llvm-svn: 7485
* Use the C++, more portable, deleterChris Lattner2003-08-011-1/+1
| | | | llvm-svn: 7483
* Move #include from a header to hereChris Lattner2003-08-011-0/+1
| | | | llvm-svn: 7480
* Add all arithmetic operators to ConstantExprToString().Vikram S. Adve2003-08-011-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 smallerVikram S. Adve2003-08-011-8/+16
| | | | | | than machine register size), not just the second operand. llvm-svn: 7475
* Put back the separate pass to decompose multi-dimensional referencesVikram S. Adve2003-08-011-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 ValueTypeChris Lattner2003-08-011-11/+33
| | | | | | Add new RegisterInfo class llvm-svn: 7469
* This method is long deadChris Lattner2003-08-011-3/+0
| | | | llvm-svn: 7460
* Fix the JIT in the Nightly tester. This was not a fun bug to track down.Chris Lattner2003-07-311-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 Lattner2003-07-311-3/+1
| | | | | | to file llvm-svn: 7456
* Remove more obsolete commentsChris Lattner2003-07-311-50/+2
| | | | llvm-svn: 7455
* Changed pointer to the JIT code to its current location, under LLI.Misha Brukman2003-07-311-1/+1
| | | | llvm-svn: 7454
* Unbreak the CBE outputChris Lattner2003-07-311-2/+0
| | | | llvm-svn: 7453
* I think local symbols in X86 GAS have to start with .L, not justBrian Gaeke2003-07-311-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() forJohn Criswell2003-07-311-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 Lattner2003-07-311-1/+1
| | | | llvm-svn: 7447
* Added function to determine if an Instruction may trap.Tanya Lattner2003-07-311-0/+17
| | | | llvm-svn: 7442
* Add commentsChris Lattner2003-07-301-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 tablegenChris Lattner2003-07-302-30/+30
| | | | llvm-svn: 7437
* Fix a bug that brian reportedChris Lattner2003-07-301-4/+24
| | | | llvm-svn: 7428
* Add support for "named positional arguments"Chris Lattner2003-07-301-15/+34
| | | | llvm-svn: 7421
* When emitting a constant, check for ConstantExpr beforeVikram S. Adve2003-07-301-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 thoughChris Lattner2003-07-301-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 Lattner2003-07-301-1/+40
| | | | | | | | implementation for a target. llvm-svn: 7415
* Only regenerate the .inc file if IT has changed, not just if the .td filesChris Lattner2003-07-301-4/+13
| | | | | | have changed. llvm-svn: 7414
* Use target specific interface instead of forcing it to be target-genericChris Lattner2003-07-301-4/+6
| | | | llvm-svn: 7413
* No this file is not actually Sparc.td :)Chris Lattner2003-07-291-7/+5
| | | | llvm-svn: 7405
* Do not use 'cpp' directlyChris Lattner2003-07-291-1/+1
| | | | llvm-svn: 7404
* Add namespace specifier, add flags used by the X86 BEChris Lattner2003-07-291-5/+7
| | | | llvm-svn: 7403
* * Cleaned up and corrected comments wrt instruction formatsMisha Brukman2003-07-291-18/+18
| | | | | | * Enabled STXFSR instructions llvm-svn: 7400
* Make emitFarCall() public, and add a few comments to functions.Misha Brukman2003-07-291-3/+27
| | | | llvm-svn: 7399
* Unify all constant evaluations that depend on register sizeVikram S. Adve2003-07-292-72/+104
| | | | | | in ConvertConstantToIntType. llvm-svn: 7395
* Rename 'dump-asm' to 'dump-input' and really print it just before code-gen.Vikram S. Adve2003-07-291-6/+6
| | | | llvm-svn: 7394
* Bug fix: don't unnecessarily pretty-print control-characters, some ofVikram S. Adve2003-07-291-15/+4
| | | | | | which were wrong (particularly, '\a' for '\007'). llvm-svn: 7393
* Add ConvertConstantToIntType() to unify all constant handlingVikram S. Adve2003-07-291-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 theVikram S. Adve2003-07-291-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 intoVikram S. Adve2003-07-291-31/+8
| | | | | | TargetInstrInfo::ConvertConstantToIntType(). llvm-svn: 7390
* 1. Bug fix: Don't use branch operand reg. as temp. reg. whenVikram S. Adve2003-07-291-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 toVikram S. Adve2003-07-291-9/+10
| | | | | | be recomputed. llvm-svn: 7388
* Add const version of getLiveRangeForValue().Vikram S. Adve2003-07-291-4/+9
| | | | llvm-svn: 7386
* Code to insert caller-saves moved here from SparcRegInfo: it is nowVikram S. Adve2003-07-291-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 bitsMisha Brukman2003-07-291-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 canMisha Brukman2003-07-291-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 fledgedChris Lattner2003-07-292-40/+41
| | | | | | value types llvm-svn: 7377
* Add support for Alpha intrinsics, contributed by Rahul JoshiChris Lattner2003-07-282-0/+12
| | | | llvm-svn: 7373
* Add rationale for the MAP_ANONYMOUS vs. MAP_ANON flags.Misha Brukman2003-07-281-0/+1
| | | | llvm-svn: 7368
* The RTLD_GLOBAL flag allows symbols to be globally accessible, which makesMisha Brukman2003-07-281-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 Brukman2003-07-281-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 Brukman2003-07-281-5/+5
| | | | llvm-svn: 7362
OpenPOWER on IntegriCloud