summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Moved code to modify the opcode from 'reg' to 'imm' form to a more logical ↵Misha Brukman2003-06-031-15/+6
| | | | | | place. llvm-svn: 6563
* * Added section A.34: Move FP register on int reg condition (FMOVr)Misha Brukman2003-06-031-13/+42
| | | | | | | * Labeled sections that are not currently used in the Sparc backend as not requiring completion at this time. llvm-svn: 6562
* * Removed unused classes (rd field is always mentioned last); fixed comments.Misha Brukman2003-06-031-38/+34
| | | | | | | * Added instruction classes which start building from rs1, then rs2, and rd. * Fixed order of operands in classes 4.1 and 4.2; added 4.6 . llvm-svn: 6561
* * Removed unused classes: the rd field is always mentioned as the last reg.Misha Brukman2003-06-031-57/+19
| | | | | | | | | * Added new classes which start building from rs1, adding rs2, and then rd. * Fixed order of operands in classes 3.11, 3.12, 3.16, and 3.17 . * Fixed comments to reflect Real Life (tm). * Removed "don't care" commented out assignments and dead classes (#if 0). llvm-svn: 6560
* The rd field goes after the immediate field in format 2.1 instructions.Misha Brukman2003-06-031-2/+1
| | | | llvm-svn: 6559
* Moved FInfo.cpp to lib/Target/Sparc as it is Sparc-specific.Misha Brukman2003-06-021-73/+0
| | | | llvm-svn: 6554
* Minor cleanups.Chris Lattner2003-06-021-6/+4
| | | | | | | This pass should be moved to lib/Target/Sparc since it's sparc specific It also needs a file comment. llvm-svn: 6553
* Remove usage of noncopyable classes to clean up doxygen output.Chris Lattner2003-06-022-22/+25
| | | | | | | In particular these classes are the last that link the noncopyable classes with the hash_map, vector, and list classes. llvm-svn: 6552
* Add #includeChris Lattner2003-06-021-0/+1
| | | | llvm-svn: 6550
* Added MOVR (move int reg on register condition), aka comparison with zero.Misha Brukman2003-06-023-8/+48
| | | | | | | None of these instructions are actually used in the Sparc backend, so no changes were required in the instruction selector. llvm-svn: 6549
* SparcInstr.def: added 'r' and 'i' versions of MOV(F)cc instructionsMisha Brukman2003-06-024-85/+193
| | | | | | | | | | | | | | | SparcInstrSelection.cpp: * Fixed opcodes to return correct 'i' version since the two functions are each only used in one place. * Changed name of function to have an 'i' in the name to signify that they each return an immediate form of the opcode. * Added a warning if either of the functions is ever used in a context which requires a register-version opcode. SparcV9_F4.td: fixed class F4_3, added F4_4 and notes that F4_{1,2} need fixing SparcV9.td: added the MOV(F)cc instructions llvm-svn: 6548
* Removed a useless ofstream.Misha Brukman2003-06-021-8/+2
| | | | llvm-svn: 6547
* * Added casts to/from floating-point to integers.Misha Brukman2003-06-021-90/+187
| | | | | | * Changed // comments to #ifdef 0 to maintain syntax highlighting. llvm-svn: 6546
* compiled with the new SchedGraphCommonGuochun Shi2003-06-023-27/+38
| | | | llvm-svn: 6545
* * Make assertion message usefulChris Lattner2003-06-021-6/+5
| | | | | | * Kill dead conditional llvm-svn: 6544
* Fix bug: Linker/2003-06-02-TypeResolveProblem.llChris Lattner2003-06-021-0/+4
| | | | llvm-svn: 6542
* Be more robust in the face of undefined behavior.Chris Lattner2003-06-021-5/+30
| | | | | | Fixes bug: BasicAA/2003-06-01-AliasCrash.ll llvm-svn: 6538
* Clean up after merging in SparcEmitter.cpp; branches and return work again.Misha Brukman2003-06-021-11/+40
| | | | llvm-svn: 6536
* Minor cleanupsChris Lattner2003-06-021-6/+3
| | | | llvm-svn: 6535
* Eliminated a compiler warning due to casting to a different-sized datatype.Misha Brukman2003-06-021-1/+1
| | | | llvm-svn: 6531
* Merged in tools/lli/JIT/SparcEmitter.cpp, coupled with the JITResolver takenMisha Brukman2003-06-022-19/+275
| | | | | | from lib/Target/X86/X86CodeEmitter.cpp . llvm-svn: 6530
* Remove spurious assert()Misha Brukman2003-06-021-1/+0
| | | | llvm-svn: 6529
* Renamed MachineCodeEmitter.cpp -> X86CodeEmitter.cpp as it conflicts with theMisha Brukman2003-06-022-559/+1
| | | | | | target-independent lib/CodeGen/MachineCodeEmitter.cpp; preserved CVS history. llvm-svn: 6528
* * Removed SparcEmitter.cpp; rolled into lib/Target/Sparc/SparcV9CodeEmitter.cppMisha Brukman2003-06-024-260/+23
| | | | | | | | | * No more createX86Emitter() vs. createSparcEmitter() -- there can be only one * As a result, the memory management semantics must be handled according to platform -- the parameters to mmap() are particularly sensitive to the host architecture. llvm-svn: 6527
* Fix bug: CBackend/2003-06-01-NullPointerType.llChris Lattner2003-06-021-4/+5
| | | | llvm-svn: 6526
* Deal with %lo/%lm/%hm/%hh flags in getMachineOpValue().Brian Gaeke2003-06-021-10/+21
| | | | llvm-svn: 6522
* The flag modifications weren't picking up the old values of theBrian Gaeke2003-06-021-5/+10
| | | | | | | flags before. Save them in a temporary variable, then restore them from the temporary after creating the new constant. llvm-svn: 6520
* Remove obsolete codeChris Lattner2003-06-021-51/+0
| | | | llvm-svn: 6518
* Move target specific code to target files. The new MachineCodeEmitterChris Lattner2003-06-015-171/+76
| | | | | | class is actually target independent! llvm-svn: 6517
* Move X86 specific code out of the JIT into the X86 backendChris Lattner2003-06-012-26/+430
| | | | llvm-svn: 6516
* Changes to be compatible with MachineCodeEmitter.hChris Lattner2003-06-011-65/+51
| | | | llvm-svn: 6515
* Fix induction variable name clash in for loops, in finishFunction().Brian Gaeke2003-06-011-3/+8
| | | | | | | Modify new MachineOperand so that its flags match the old MachineOperand's flags, for the flags that matter. llvm-svn: 6513
* Make the .inc file depend on $(TBLGEN), so that changes to TableGen followedBrian Gaeke2003-06-011-1/+1
| | | | | | by a re-link of TableGen will notify Make to rebuild the .inc file. llvm-svn: 6512
* Don't print out unique identifier for opaque typesChris Lattner2003-06-011-1/+1
| | | | llvm-svn: 6511
* * Implement cast (long|ulong) to boolChris Lattner2003-06-011-4/+22
| | | | | | * Fix cast of (short|ushort|int|uint) to bool to work right llvm-svn: 6510
* Add RR forms of test instructionChris Lattner2003-06-011-0/+4
| | | | llvm-svn: 6509
* Fix a bug with casts to bool. This fixes testcase ↵Chris Lattner2003-06-011-1/+7
| | | | | | UnitTests/2003-05-31-CastToBool.c llvm-svn: 6507
* Implement xform: (X != 0) -> (bool)XChris Lattner2003-06-011-0/+3
| | | | llvm-svn: 6506
* Add map info for arguments to call (copies)Anand Shukla2003-06-011-1/+11
| | | | llvm-svn: 6503
* Added the #(internal functions) to outputAnand Shukla2003-06-011-0/+8
| | | | llvm-svn: 6502
* Add support for shl and shr for 64 bit integer typesChris Lattner2003-06-011-1/+51
| | | | llvm-svn: 6499
* Add definitions for TEST instructionsChris Lattner2003-06-011-0/+7
| | | | llvm-svn: 6498
* Add new cmovne32 instructionChris Lattner2003-06-011-0/+1
| | | | llvm-svn: 6496
* Fix bug: CBackend/2003-05-31-MissingStructName.llChris Lattner2003-05-311-0/+1
| | | | llvm-svn: 6495
* Fix bug: FunctionResolve/2003-05-31-AllInternalDecls.llChris Lattner2003-05-311-0/+17
| | | | llvm-svn: 6486
* Fix bug: FuncResolve/2003-05-31-InternalDecl.llChris Lattner2003-05-311-2/+6
| | | | | | Count resolutions correctly. llvm-svn: 6482
* Simplify funcresolve a bit moreChris Lattner2003-05-311-7/+7
| | | | llvm-svn: 6480
* Fix bug: FunctionResolve/2003-05-31-FuncPointerResolve.llChris Lattner2003-05-311-11/+3
| | | | llvm-svn: 6479
* Fixed comment width, changed arg to be const, fixed indentation, removed ↵Tanya Lattner2003-05-311-8/+6
| | | | | | unnecessary includes. llvm-svn: 6476
* Minor changes.Vikram S. Adve2003-05-311-0/+5
| | | | llvm-svn: 6470
OpenPOWER on IntegriCloud