Remove unused instruction classes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15501 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2004-08-04 21:18:57 +00:00
parent db01356c15
commit 7338ae5b88

View File

@ -272,32 +272,6 @@ class PPC32InstPattern7 <string name, Format OperandType0, Format OperandType1,
let Inst {15-2} = operand2;
}
class PPC32InstPattern8 <string name, Format OperandType0, Format OperandType1, Format OperandType2, bits<6> opconstant0, bits<3> opconstant1, bits<11> opconstant2, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 3;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = OperandType1.Value;
let Arg2Type = OperandType2.Value;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<5> operand0;
bits<5> operand1;
bits<2> operand2;
let Inst {31-26} = opconstant0;
let Inst {15-13} = opconstant1;
let Inst {10-0} = opconstant2;
let Inst {25-21} = operand0;
let Inst {20-16} = operand1;
let Inst {12-11} = operand2;
}
class PPC32InstPattern9 <string name, Format OperandType0, Format OperandType1, bits<11> opconstant0, bits<2> opconstant1, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 2;
@ -321,27 +295,6 @@ class PPC32InstPattern9 <string name, Format OperandType0, Format OperandType1,
let Inst {15-2} = operand1;
}
class PPC32InstPattern10 <string name, Format OperandType0, bits<16> opconstant0, bits<2> opconstant1, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 1;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = 0;
let Arg2Type = 0;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<14> operand0;
let Inst {31-16} = opconstant0;
let Inst {1-0} = opconstant1;
let Inst {15-2} = operand0;
}
class PPC32InstPattern11 <string name, Format OperandType0, bits<19> opconstant0, bits<11> opconstant1, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 1;
@ -363,30 +316,6 @@ class PPC32InstPattern11 <string name, Format OperandType0, bits<19> opconstant0
let Inst {12-11} = operand0;
}
class PPC32InstPattern12 <string name, Format OperandType0, Format OperandType1, bits<11> opconstant0, bits<3> opconstant1, bits<11> opconstant2, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 2;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = OperandType1.Value;
let Arg2Type = 0;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<5> operand0;
bits<2> operand1;
let Inst {31-21} = opconstant0;
let Inst {15-13} = opconstant1;
let Inst {10-0} = opconstant2;
let Inst {20-16} = operand0;
let Inst {12-11} = operand1;
}
class PPC32InstPattern13 <string name, Format OperandType0, Format OperandType1, Format OperandType2, Format OperandType3, bits<6> opconstant0, bits<1> opconstant1, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 4;
@ -614,77 +543,6 @@ class PPC32InstPattern21 <string name, Format OperandType0, bits<6> opconstant0,
let Inst {25-21} = operand0;
}
class PPC32InstPattern22 <string name, Format OperandType0, Format OperandType1, bits<6> opconstant0, bits<18> opconstant1, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 2;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = OperandType1.Value;
let Arg2Type = 0;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<3> operand0;
bits<5> operand1;
let Inst {31-26} = opconstant0;
let Inst {17-0} = opconstant1;
let Inst {25-23} = operand0;
let Inst {22-18} = operand1;
}
class PPC32InstPattern23 <string name, Format OperandType0, Format OperandType1, bits<6> opconstant0, bits<7> opconstant1, bits<12> opconstant2, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 2;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = OperandType1.Value;
let Arg2Type = 0;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<3> operand0;
bits<4> operand1;
let Inst {31-26} = opconstant0;
let Inst {22-16} = opconstant1;
let Inst {11-0} = opconstant2;
let Inst {25-23} = operand0;
let Inst {15-12} = operand1;
}
class PPC32InstPattern24 <string name, Format OperandType0, Format OperandType1, bits<7> opconstant0, bits<1> opconstant1, bits<11> opconstant2, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 2;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = OperandType1.Value;
let Arg2Type = 0;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<8> operand0;
bits<5> operand1;
let Inst {31-25} = opconstant0;
let Inst {16} = opconstant1;
let Inst {10-0} = opconstant2;
let Inst {24-17} = operand0;
let Inst {15-11} = operand1;
}
class PPC32InstPattern25 <string name, Format OperandType0, Format OperandType1, Format OperandType2, bits<6> opconstant0, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 3;
@ -709,146 +567,6 @@ class PPC32InstPattern25 <string name, Format OperandType0, Format OperandType1,
let Inst {20-16} = operand2;
}
class PPC32InstPattern26 <string name, Format OperandType0, Format OperandType1, Format OperandType2, bits<6> opconstant0, bits<2> opconstant1, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 3;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = OperandType1.Value;
let Arg2Type = OperandType2.Value;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<5> operand0;
bits<14> operand1;
bits<5> operand2;
let Inst {31-26} = opconstant0;
let Inst {1-0} = opconstant1;
let Inst {25-21} = operand0;
let Inst {15-2} = operand1;
let Inst {20-16} = operand2;
}
class PPC32InstPattern27 <string name, Format OperandType0, Format OperandType1, bits<6> opconstant0, bits<2> opconstant1, bits<18> opconstant2, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 2;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = OperandType1.Value;
let Arg2Type = 0;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<3> operand0;
bits<3> operand1;
let Inst {31-26} = opconstant0;
let Inst {22-21} = opconstant1;
let Inst {17-0} = opconstant2;
let Inst {25-23} = operand0;
let Inst {20-18} = operand1;
}
class PPC32InstPattern28 <string name, Format OperandType0, Format OperandType1, bits<6> opconstant0, bits<11> opconstant1, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 2;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = OperandType1.Value;
let Arg2Type = 0;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<5> operand0;
bits<10> operand1;
let Inst {31-26} = opconstant0;
let Inst {10-0} = opconstant1;
let Inst {25-21} = operand0;
let Inst {20-11} = operand1;
}
class PPC32InstPattern29 <string name, Format OperandType0, Format OperandType1, bits<6> opconstant0, bits<11> opconstant1, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 2;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = OperandType1.Value;
let Arg2Type = 0;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<10> operand0;
bits<5> operand1;
let Inst {31-26} = opconstant0;
let Inst {10-0} = opconstant1;
let Inst {20-11} = operand0;
let Inst {25-21} = operand1;
}
class PPC32InstPattern30 <string name, Format OperandType0, Format OperandType1, bits<6> opconstant0, bits<1> opconstant1, bits<12> opconstant2, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 2;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = OperandType1.Value;
let Arg2Type = 0;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<8> operand0;
bits<5> operand1;
let Inst {31-26} = opconstant0;
let Inst {20} = opconstant1;
let Inst {11-0} = opconstant2;
let Inst {19-12} = operand0;
let Inst {25-21} = operand1;
}
class PPC32InstPattern31 <string name, Format OperandType0, bits<6> opconstant0, bits<23> opconstant1, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 1;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = 0;
let Arg2Type = 0;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<3> operand0;
let Inst {31-26} = opconstant0;
let Inst {22-0} = opconstant1;
let Inst {25-23} = operand0;
}
class PPC32InstPattern32 <string name, Format OperandType0, Format OperandType1, bits<6> opconstant0, bits<1> opconstant1, bits<12> opconstant2, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 2;
@ -945,315 +663,6 @@ class PPC32InstPattern35 <string name, Format OperandType0, Format OperandType1,
let Inst {20-16} = operand2;
}
class PPC32InstPattern36 <string name, Format OperandType0, bits<9> opconstant0, bits<21> opconstant1, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 1;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = 0;
let Arg2Type = 0;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<2> operand0;
let Inst {31-23} = opconstant0;
let Inst {20-0} = opconstant1;
let Inst {22-21} = operand0;
}
class PPC32InstPattern37 <string name, Format OperandType0, Format OperandType1, bits<11> opconstant0, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 2;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = OperandType1.Value;
let Arg2Type = 0;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<5> operand0;
bits<16> operand1;
let Inst {31-21} = opconstant0;
let Inst {20-16} = operand0;
let Inst {15-0} = operand1;
}
class PPC32InstPattern38 <string name, Format OperandType0, Format OperandType1, bits<11> opconstant0, bits<11> opconstant1, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 2;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = OperandType1.Value;
let Arg2Type = 0;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<5> operand0;
bits<5> operand1;
let Inst {31-21} = opconstant0;
let Inst {10-0} = opconstant1;
let Inst {20-16} = operand0;
let Inst {15-11} = operand1;
}
class PPC32InstPattern39 <string name, Format OperandType0, Format OperandType1, Format OperandType2, bits<7> opconstant0, bits<11> opconstant1, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 3;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = OperandType1.Value;
let Arg2Type = OperandType2.Value;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<5> operand0;
bits<5> operand1;
bits<4> operand2;
let Inst {31-25} = opconstant0;
let Inst {10-0} = opconstant1;
let Inst {20-16} = operand0;
let Inst {15-11} = operand1;
let Inst {24-21} = operand2;
}
class PPC32InstPattern40 <string name, Format OperandType0, Format OperandType1, bits<6> opconstant0, bits<4> opconstant1, bits<16> opconstant2, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 2;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = OperandType1.Value;
let Arg2Type = 0;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<5> operand0;
bits<1> operand1;
let Inst {31-26} = opconstant0;
let Inst {20-17} = opconstant1;
let Inst {15-0} = opconstant2;
let Inst {25-21} = operand0;
let Inst {16} = operand1;
}
class PPC32InstPattern41 <string name, Format OperandType0, Format OperandType1, bits<6> opconstant0, bits<1> opconstant1, bits<16> opconstant2, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 2;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = OperandType1.Value;
let Arg2Type = 0;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<4> operand0;
bits<5> operand1;
let Inst {31-26} = opconstant0;
let Inst {20} = opconstant1;
let Inst {15-0} = opconstant2;
let Inst {19-16} = operand0;
let Inst {25-21} = operand1;
}
class PPC32InstPattern42 <string name, Format OperandType0, Format OperandType1, bits<6> opconstant0, bits<1> opconstant1, bits<16> opconstant2, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 2;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = OperandType1.Value;
let Arg2Type = 0;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<5> operand0;
bits<4> operand1;
let Inst {31-26} = opconstant0;
let Inst {20} = opconstant1;
let Inst {15-0} = opconstant2;
let Inst {25-21} = operand0;
let Inst {19-16} = operand1;
}
class PPC32InstPattern43 <string name, Format OperandType0, bits<16> opconstant0, bits<11> opconstant1, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 1;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = 0;
let Arg2Type = 0;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<5> operand0;
let Inst {31-16} = opconstant0;
let Inst {10-0} = opconstant1;
let Inst {15-11} = operand0;
}
class PPC32InstPattern44 <string name, Format OperandType0, Format OperandType1, bits<10> opconstant0, bits<5> opconstant1, bits<11> opconstant2, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 2;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = OperandType1.Value;
let Arg2Type = 0;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<5> operand0;
bits<1> operand1;
let Inst {31-22} = opconstant0;
let Inst {20-16} = opconstant1;
let Inst {10-0} = opconstant2;
let Inst {15-11} = operand0;
let Inst {21} = operand1;
}
class PPC32InstPattern45 <string name, Format OperandType0, bits<6> opconstant0, bits<11> opconstant1, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 1;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = 0;
let Arg2Type = 0;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<15> operand0;
let Inst {31-26} = opconstant0;
let Inst {10-0} = opconstant1;
let Inst {25-11} = operand0;
}
class PPC32InstPattern46 <string name, Format OperandType0, Format OperandType1, Format OperandType2, bits<9> opconstant0, bits<11> opconstant1, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 3;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = OperandType1.Value;
let Arg2Type = OperandType2.Value;
let Arg3Type = 0;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<5> operand0;
bits<5> operand1;
bits<2> operand2;
let Inst {31-23} = opconstant0;
let Inst {10-0} = opconstant1;
let Inst {20-16} = operand0;
let Inst {15-11} = operand1;
let Inst {22-21} = operand2;
}
class PPC32InstPattern47 <string name, Format OperandType0, Format OperandType1, Format OperandType2, Format OperandType3, bits<6> opconstant0, bits<6> opconstant1, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 4;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = OperandType1.Value;
let Arg2Type = OperandType2.Value;
let Arg3Type = OperandType3.Value;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<5> operand0;
bits<5> operand1;
bits<5> operand2;
bits<5> operand3;
let Inst {31-26} = opconstant0;
let Inst {5-0} = opconstant1;
let Inst {25-21} = operand0;
let Inst {20-16} = operand1;
let Inst {15-11} = operand2;
let Inst {10-6} = operand3;
}
class PPC32InstPattern48 <string name, Format OperandType0, Format OperandType1, Format OperandType2, Format OperandType3, bits<6> opconstant0, bits<1> opconstant1, bits<6> opconstant2, bit ppc64, bit vmx> : PPC32Inst {
let Name = name;
let ArgCount = 4;
let PPC64 = ppc64;
let VMX =vmx;
let Arg0Type = OperandType0.Value;
let Arg1Type = OperandType1.Value;
let Arg2Type = OperandType2.Value;
let Arg3Type = OperandType3.Value;
let Arg4Type = 0;
let PPC64 = 0;
let VMX = 0;
bits<5> operand0;
bits<5> operand1;
bits<5> operand2;
bits<4> operand3;
let Inst {31-26} = opconstant0;
let Inst {10} = opconstant1;
let Inst {5-0} = opconstant2;
let Inst {25-21} = operand0;
let Inst {20-16} = operand1;
let Inst {15-11} = operand2;
let Inst {9-6} = operand3;
}
class PPC32InstPatternPseudo <string name, Format OperandType0> : PPC32Inst {
let Name = name;
let ArgCount = 0;