Add Target class for X86 target

llvm-svn: 7523
This commit is contained in:
Chris Lattner 2003-08-03 18:19:37 +00:00
parent 6b3f365906
commit 7ef512fec1

View File

@ -15,3 +15,20 @@ include "../Target.td"
include "X86RegisterInfo.td"
//===----------------------------------------------------------------------===//
// Instruction Descriptions
//===----------------------------------------------------------------------===//
def X86InstrInfo : InstrInfo {
}
def X86 : Target {
// Specify the callee saved registers.
set CalleeSavedRegisters = [ESI, EDI, EBX, EBP];
// Yes, pointers are 32-bits in size.
set PointerType = i32;
// Information about the instructions...
set InstructionSet = X86InstrInfo;
}