Lines Matching refs:Instruction
66 case Instruction::Trunc : return bitc::CAST_TRUNC; in GetEncodedCastOpcode()
67 case Instruction::ZExt : return bitc::CAST_ZEXT; in GetEncodedCastOpcode()
68 case Instruction::SExt : return bitc::CAST_SEXT; in GetEncodedCastOpcode()
69 case Instruction::FPToUI : return bitc::CAST_FPTOUI; in GetEncodedCastOpcode()
70 case Instruction::FPToSI : return bitc::CAST_FPTOSI; in GetEncodedCastOpcode()
71 case Instruction::UIToFP : return bitc::CAST_UITOFP; in GetEncodedCastOpcode()
72 case Instruction::SIToFP : return bitc::CAST_SITOFP; in GetEncodedCastOpcode()
73 case Instruction::FPTrunc : return bitc::CAST_FPTRUNC; in GetEncodedCastOpcode()
74 case Instruction::FPExt : return bitc::CAST_FPEXT; in GetEncodedCastOpcode()
75 case Instruction::PtrToInt: return bitc::CAST_PTRTOINT; in GetEncodedCastOpcode()
76 case Instruction::IntToPtr: return bitc::CAST_INTTOPTR; in GetEncodedCastOpcode()
77 case Instruction::BitCast : return bitc::CAST_BITCAST; in GetEncodedCastOpcode()
84 case Instruction::Add: in GetEncodedBinaryOpcode()
85 case Instruction::FAdd: return bitc::BINOP_ADD; in GetEncodedBinaryOpcode()
86 case Instruction::Sub: in GetEncodedBinaryOpcode()
87 case Instruction::FSub: return bitc::BINOP_SUB; in GetEncodedBinaryOpcode()
88 case Instruction::Mul: in GetEncodedBinaryOpcode()
89 case Instruction::FMul: return bitc::BINOP_MUL; in GetEncodedBinaryOpcode()
90 case Instruction::UDiv: return bitc::BINOP_UDIV; in GetEncodedBinaryOpcode()
91 case Instruction::FDiv: in GetEncodedBinaryOpcode()
92 case Instruction::SDiv: return bitc::BINOP_SDIV; in GetEncodedBinaryOpcode()
93 case Instruction::URem: return bitc::BINOP_UREM; in GetEncodedBinaryOpcode()
94 case Instruction::FRem: in GetEncodedBinaryOpcode()
95 case Instruction::SRem: return bitc::BINOP_SREM; in GetEncodedBinaryOpcode()
96 case Instruction::Shl: return bitc::BINOP_SHL; in GetEncodedBinaryOpcode()
97 case Instruction::LShr: return bitc::BINOP_LSHR; in GetEncodedBinaryOpcode()
98 case Instruction::AShr: return bitc::BINOP_ASHR; in GetEncodedBinaryOpcode()
99 case Instruction::And: return bitc::BINOP_AND; in GetEncodedBinaryOpcode()
100 case Instruction::Or: return bitc::BINOP_OR; in GetEncodedBinaryOpcode()
101 case Instruction::Xor: return bitc::BINOP_XOR; in GetEncodedBinaryOpcode()
971 if (Instruction::isCast(CE->getOpcode())) { in WriteConstants()
988 case Instruction::GetElementPtr: in WriteConstants()
997 case Instruction::Select: in WriteConstants()
1003 case Instruction::ExtractElement: in WriteConstants()
1009 case Instruction::InsertElement: in WriteConstants()
1015 case Instruction::ShuffleVector: in WriteConstants()
1030 case Instruction::ICmp: in WriteConstants()
1031 case Instruction::FCmp: in WriteConstants()
1092 static void WriteInstruction(const Instruction &I, unsigned InstID, in WriteInstruction()
1101 if (Instruction::isCast(I.getOpcode())) { in WriteInstruction()
1123 case Instruction::GetElementPtr: in WriteInstruction()
1130 case Instruction::ExtractValue: { in WriteInstruction()
1138 case Instruction::InsertValue: { in WriteInstruction()
1147 case Instruction::Select: in WriteInstruction()
1153 case Instruction::ExtractElement: in WriteInstruction()
1158 case Instruction::InsertElement: in WriteInstruction()
1164 case Instruction::ShuffleVector: in WriteInstruction()
1170 case Instruction::ICmp: in WriteInstruction()
1171 case Instruction::FCmp: in WriteInstruction()
1179 case Instruction::Ret: in WriteInstruction()
1194 case Instruction::Br: in WriteInstruction()
1205 case Instruction::Switch: in WriteInstruction()
1219 case Instruction::IndirectBr: in WriteInstruction()
1226 case Instruction::Invoke: { in WriteInstruction()
1251 case Instruction::Resume: in WriteInstruction()
1255 case Instruction::Unreachable: in WriteInstruction()
1260 case Instruction::PHI: { in WriteInstruction()
1271 case Instruction::LandingPad: { in WriteInstruction()
1289 case Instruction::Alloca: { in WriteInstruction()
1298 case Instruction::Load: in WriteInstruction()
1314 case Instruction::Store: in WriteInstruction()
1328 case Instruction::AtomicCmpXchg: in WriteInstruction()
1339 case Instruction::AtomicRMW: in WriteInstruction()
1350 case Instruction::Fence: in WriteInstruction()
1355 case Instruction::Call: { in WriteInstruction()
1378 case Instruction::VAArg: in WriteInstruction()