//===----------------------------------------------------------------------===//
def ARM : Target {
- // Pointers are 32-bits in size.
- let PointerType = i32;
-
// FIXME: Specify callee-saved registers
let CalleeSavedRegisters = [];
def Alpha : Target {
- // Pointers on Alpha are 64-bits in size.
- let PointerType = i64;
-
let CalleeSavedRegisters =
//saved regs
[R9, R10, R11, R12, R13, R14,
*/
];
- // We don't go anywhere near the LP32 variant of IA64 as
- // sometimes seen in (for example) HP-UX
- let PointerType = i64;
-
// Our instruction set
let InstructionSet = IA64InstrInfo;
def PPC : Target {
- // Pointers on PPC are 32-bits in size.
- let PointerType = i32;
-
// Information about the instructions.
let InstructionSet = PPCInstrInfo;
//===----------------------------------------------------------------------===//
def Sparc : Target {
- // Pointers are 32-bits in size.
- let PointerType = i32;
-
// FIXME: Specify callee-saved registers
let CalleeSavedRegisters = [];
// saved registers for a target.
list<Register> CalleeSavedRegisters = [];
- // PointerType - Specify the value type to be used to represent pointers in
- // this target. Typically this is an i32 or i64 type.
- ValueType PointerType;
-
// InstructionSet - Instruction set description for this target.
InstrInfo InstructionSet;
// Specify the callee saved registers.
let CalleeSavedRegisters = [ESI, EDI, EBX, EBP];
- // Yes, pointers are 32-bits in size.
- let PointerType = i32;
-
// Information about the instructions...
let InstructionSet = X86InstrInfo;