Add Target class for X86 target

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7523 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-08-03 18:19:37 +00:00
parent 9eab316528
commit b77eb78afc

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;
}