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()
972 if (Instruction::isCast(CE->getOpcode())) { in WriteConstants()
989 case Instruction::GetElementPtr: in WriteConstants()
998 case Instruction::Select: in WriteConstants()
1004 case Instruction::ExtractElement: in WriteConstants()
1010 case Instruction::InsertElement: in WriteConstants()
1016 case Instruction::ShuffleVector: in WriteConstants()
1031 case Instruction::ICmp: in WriteConstants()
1032 case Instruction::FCmp: in WriteConstants()
1093 static void WriteInstruction(const Instruction &I, unsigned InstID, in WriteInstruction()
1102 if (Instruction::isCast(I.getOpcode())) { in WriteInstruction()
1124 case Instruction::GetElementPtr: in WriteInstruction()
1131 case Instruction::ExtractValue: { in WriteInstruction()
1139 case Instruction::InsertValue: { in WriteInstruction()
1148 case Instruction::Select: in WriteInstruction()
1154 case Instruction::ExtractElement: in WriteInstruction()
1159 case Instruction::InsertElement: in WriteInstruction()
1165 case Instruction::ShuffleVector: in WriteInstruction()
1171 case Instruction::ICmp: in WriteInstruction()
1172 case Instruction::FCmp: in WriteInstruction()
1180 case Instruction::Ret: in WriteInstruction()
1195 case Instruction::Br: in WriteInstruction()
1206 case Instruction::Switch: in WriteInstruction()
1220 case Instruction::IndirectBr: in WriteInstruction()
1227 case Instruction::Invoke: { in WriteInstruction()
1252 case Instruction::Resume: in WriteInstruction()
1256 case Instruction::Unreachable: in WriteInstruction()
1261 case Instruction::PHI: { in WriteInstruction()
1272 case Instruction::LandingPad: { in WriteInstruction()
1290 case Instruction::Alloca: { in WriteInstruction()
1299 case Instruction::Load: in WriteInstruction()
1315 case Instruction::Store: in WriteInstruction()
1329 case Instruction::AtomicCmpXchg: in WriteInstruction()
1340 case Instruction::AtomicRMW: in WriteInstruction()
1351 case Instruction::Fence: in WriteInstruction()
1356 case Instruction::Call: { in WriteInstruction()
1379 case Instruction::VAArg: in WriteInstruction()