Lines Matching refs:Instruction

66   case Instruction::Trunc   : return bitc::CAST_TRUNC;
67 case Instruction::ZExt : return bitc::CAST_ZEXT;
68 case Instruction::SExt : return bitc::CAST_SEXT;
69 case Instruction::FPToUI : return bitc::CAST_FPTOUI;
70 case Instruction::FPToSI : return bitc::CAST_FPTOSI;
71 case Instruction::UIToFP : return bitc::CAST_UITOFP;
72 case Instruction::SIToFP : return bitc::CAST_SITOFP;
73 case Instruction::FPTrunc : return bitc::CAST_FPTRUNC;
74 case Instruction::FPExt : return bitc::CAST_FPEXT;
75 case Instruction::PtrToInt: return bitc::CAST_PTRTOINT;
76 case Instruction::IntToPtr: return bitc::CAST_INTTOPTR;
77 case Instruction::BitCast : return bitc::CAST_BITCAST;
84 case Instruction::Add:
85 case Instruction::FAdd: return bitc::BINOP_ADD;
86 case Instruction::Sub:
87 case Instruction::FSub: return bitc::BINOP_SUB;
88 case Instruction::Mul:
89 case Instruction::FMul: return bitc::BINOP_MUL;
90 case Instruction::UDiv: return bitc::BINOP_UDIV;
91 case Instruction::FDiv:
92 case Instruction::SDiv: return bitc::BINOP_SDIV;
93 case Instruction::URem: return bitc::BINOP_UREM;
94 case Instruction::FRem:
95 case Instruction::SRem: return bitc::BINOP_SREM;
96 case Instruction::Shl: return bitc::BINOP_SHL;
97 case Instruction::LShr: return bitc::BINOP_LSHR;
98 case Instruction::AShr: return bitc::BINOP_ASHR;
99 case Instruction::And: return bitc::BINOP_AND;
100 case Instruction::Or: return bitc::BINOP_OR;
101 case Instruction::Xor: return bitc::BINOP_XOR;
980 if (Instruction::isCast(CE->getOpcode())) {
997 case Instruction::GetElementPtr:
1006 case Instruction::Select:
1012 case Instruction::ExtractElement:
1018 case Instruction::InsertElement:
1024 case Instruction::ShuffleVector:
1039 case Instruction::ICmp:
1040 case Instruction::FCmp:
1101 static void WriteInstruction(const Instruction &I, unsigned InstID,
1110 if (Instruction::isCast(I.getOpcode())) {
1132 case Instruction::GetElementPtr:
1139 case Instruction::ExtractValue: {
1147 case Instruction::InsertValue: {
1156 case Instruction::Select:
1162 case Instruction::ExtractElement:
1167 case Instruction::InsertElement:
1173 case Instruction::ShuffleVector:
1179 case Instruction::ICmp:
1180 case Instruction::FCmp:
1188 case Instruction::Ret:
1203 case Instruction::Br:
1214 case Instruction::Switch:
1228 case Instruction::IndirectBr:
1235 case Instruction::Invoke: {
1260 case Instruction::Resume:
1264 case Instruction::Unreachable:
1269 case Instruction::PHI: {
1280 case Instruction::LandingPad: {
1297 case Instruction::Alloca: {
1306 case Instruction::Load:
1322 case Instruction::Store:
1336 case Instruction::AtomicCmpXchg:
1347 case Instruction::AtomicRMW:
1358 case Instruction::Fence:
1363 case Instruction::Call: {
1386 case Instruction::VAArg: