Home | History | Annotate | Download | only in BitReader_2_7

Lines Matching full:opc

1386       int Opc = GetDecodedBinaryOpcode(Record[0], CurTy);
1387 if (Opc < 0) {
1394 if (Opc == Instruction::Add ||
1395 Opc == Instruction::Sub ||
1396 Opc == Instruction::Mul ||
1397 Opc == Instruction::Shl) {
1402 } else if (Opc == Instruction::SDiv ||
1403 Opc == Instruction::UDiv ||
1404 Opc == Instruction::LShr ||
1405 Opc == Instruction::AShr) {
1410 V = ConstantExpr::get(Opc, LHS, RHS, Flags);
1416 int Opc = GetDecodedCastOpcode(Record[0]);
1417 if (Opc < 0) {
1423 V = ConstantExpr::getCast(Opc, Op, CurTy);
2219 int Opc = GetDecodedBinaryOpcode(Record[OpNum++], LHS->getType());
2220 if (Opc == -1) return Error("Invalid BINOP record");
2221 I = BinaryOperator::Create((Instruction::BinaryOps)Opc, LHS, RHS);
2224 if (Opc == Instruction::Add ||
2225 Opc == Instruction::Sub ||
2226 Opc == Instruction::Mul ||
2227 Opc == Instruction::Shl) {
2232 } else if (Opc == Instruction::SDiv ||
2233 Opc == Instruction::UDiv ||
2234 Opc == Instruction::LShr ||
2235 Opc == Instruction::AShr) {
2250 int Opc = GetDecodedCastOpcode(Record[OpNum+1]);
2251 if (Opc == -1 || ResTy == 0)
2253 I = CastInst::Create((Instruction::CastOps)Opc, Op, ResTy);