use ins/outs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98867 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2010-03-18 20:55:31 +00:00
parent 6784bdf863
commit 09a2769a7f

View File

@@ -389,66 +389,66 @@ class InstrInfo {
// Standard Pseudo Instructions. // Standard Pseudo Instructions.
let isCodeGenOnly = 1 in { let isCodeGenOnly = 1 in {
def PHI : Instruction { def PHI : Instruction {
let OutOperandList = (ops); let OutOperandList = (outs);
let InOperandList = (ops variable_ops); let InOperandList = (ins variable_ops);
let AsmString = "PHINODE"; let AsmString = "PHINODE";
let Namespace = "TargetOpcode"; let Namespace = "TargetOpcode";
} }
def INLINEASM : Instruction { def INLINEASM : Instruction {
let OutOperandList = (ops); let OutOperandList = (outs);
let InOperandList = (ops variable_ops); let InOperandList = (ins variable_ops);
let AsmString = ""; let AsmString = "";
let Namespace = "TargetOpcode"; let Namespace = "TargetOpcode";
} }
def DBG_LABEL : Instruction { def DBG_LABEL : Instruction {
let OutOperandList = (ops); let OutOperandList = (outs);
let InOperandList = (ops i32imm:$id); let InOperandList = (ins i32imm:$id);
let AsmString = ""; let AsmString = "";
let Namespace = "TargetOpcode"; let Namespace = "TargetOpcode";
let hasCtrlDep = 1; let hasCtrlDep = 1;
let isNotDuplicable = 1; let isNotDuplicable = 1;
} }
def EH_LABEL : Instruction { def EH_LABEL : Instruction {
let OutOperandList = (ops); let OutOperandList = (outs);
let InOperandList = (ops i32imm:$id); let InOperandList = (ins i32imm:$id);
let AsmString = ""; let AsmString = "";
let Namespace = "TargetOpcode"; let Namespace = "TargetOpcode";
let hasCtrlDep = 1; let hasCtrlDep = 1;
let isNotDuplicable = 1; let isNotDuplicable = 1;
} }
def GC_LABEL : Instruction { def GC_LABEL : Instruction {
let OutOperandList = (ops); let OutOperandList = (outs);
let InOperandList = (ops i32imm:$id); let InOperandList = (ins i32imm:$id);
let AsmString = ""; let AsmString = "";
let Namespace = "TargetOpcode"; let Namespace = "TargetOpcode";
let hasCtrlDep = 1; let hasCtrlDep = 1;
let isNotDuplicable = 1; let isNotDuplicable = 1;
} }
def KILL : Instruction { def KILL : Instruction {
let OutOperandList = (ops); let OutOperandList = (outs);
let InOperandList = (ops variable_ops); let InOperandList = (ins variable_ops);
let AsmString = ""; let AsmString = "";
let Namespace = "TargetOpcode"; let Namespace = "TargetOpcode";
let neverHasSideEffects = 1; let neverHasSideEffects = 1;
} }
def EXTRACT_SUBREG : Instruction { def EXTRACT_SUBREG : Instruction {
let OutOperandList = (ops unknown:$dst); let OutOperandList = (outs unknown:$dst);
let InOperandList = (ops unknown:$supersrc, i32imm:$subidx); let InOperandList = (ins unknown:$supersrc, i32imm:$subidx);
let AsmString = ""; let AsmString = "";
let Namespace = "TargetOpcode"; let Namespace = "TargetOpcode";
let neverHasSideEffects = 1; let neverHasSideEffects = 1;
} }
def INSERT_SUBREG : Instruction { def INSERT_SUBREG : Instruction {
let OutOperandList = (ops unknown:$dst); let OutOperandList = (outs unknown:$dst);
let InOperandList = (ops unknown:$supersrc, unknown:$subsrc, i32imm:$subidx); let InOperandList = (ins unknown:$supersrc, unknown:$subsrc, i32imm:$subidx);
let AsmString = ""; let AsmString = "";
let Namespace = "TargetOpcode"; let Namespace = "TargetOpcode";
let neverHasSideEffects = 1; let neverHasSideEffects = 1;
let Constraints = "$supersrc = $dst"; let Constraints = "$supersrc = $dst";
} }
def IMPLICIT_DEF : Instruction { def IMPLICIT_DEF : Instruction {
let OutOperandList = (ops unknown:$dst); let OutOperandList = (outs unknown:$dst);
let InOperandList = (ops); let InOperandList = (ins);
let AsmString = ""; let AsmString = "";
let Namespace = "TargetOpcode"; let Namespace = "TargetOpcode";
let neverHasSideEffects = 1; let neverHasSideEffects = 1;
@@ -456,23 +456,23 @@ def IMPLICIT_DEF : Instruction {
let isAsCheapAsAMove = 1; let isAsCheapAsAMove = 1;
} }
def SUBREG_TO_REG : Instruction { def SUBREG_TO_REG : Instruction {
let OutOperandList = (ops unknown:$dst); let OutOperandList = (outs unknown:$dst);
let InOperandList = (ops unknown:$implsrc, unknown:$subsrc, i32imm:$subidx); let InOperandList = (ins unknown:$implsrc, unknown:$subsrc, i32imm:$subidx);
let AsmString = ""; let AsmString = "";
let Namespace = "TargetOpcode"; let Namespace = "TargetOpcode";
let neverHasSideEffects = 1; let neverHasSideEffects = 1;
} }
def COPY_TO_REGCLASS : Instruction { def COPY_TO_REGCLASS : Instruction {
let OutOperandList = (ops unknown:$dst); let OutOperandList = (outs unknown:$dst);
let InOperandList = (ops unknown:$src, i32imm:$regclass); let InOperandList = (ins unknown:$src, i32imm:$regclass);
let AsmString = ""; let AsmString = "";
let Namespace = "TargetOpcode"; let Namespace = "TargetOpcode";
let neverHasSideEffects = 1; let neverHasSideEffects = 1;
let isAsCheapAsAMove = 1; let isAsCheapAsAMove = 1;
} }
def DBG_VALUE : Instruction { def DBG_VALUE : Instruction {
let OutOperandList = (ops); let OutOperandList = (outs);
let InOperandList = (ops variable_ops); let InOperandList = (ins variable_ops);
let AsmString = "DBG_VALUE"; let AsmString = "DBG_VALUE";
let Namespace = "TargetOpcode"; let Namespace = "TargetOpcode";
let isAsCheapAsAMove = 1; let isAsCheapAsAMove = 1;