Home | History | Annotate | Download | only in Reader

Lines Matching full:opc

1170       int Opc = GetDecodedBinaryOpcode(Record[0], CurTy);
1171 if (Opc < 0) {
1178 if (Opc == Instruction::Add ||
1179 Opc == Instruction::Sub ||
1180 Opc == Instruction::Mul ||
1181 Opc == Instruction::Shl) {
1186 } else if (Opc == Instruction::SDiv ||
1187 Opc == Instruction::UDiv ||
1188 Opc == Instruction::LShr ||
1189 Opc == Instruction::AShr) {
1194 V = ConstantExpr::get(Opc, LHS, RHS, Flags);
1200 int Opc = GetDecodedCastOpcode(Record[0]);
1201 if (Opc < 0) {
1207 V = ConstantExpr::getCast(Opc, Op, CurTy);
2025 int Opc = GetDecodedBinaryOpcode(Record[OpNum++], LHS->getType());
2026 if (Opc == -1) return Error("Invalid BINOP record");
2027 I = BinaryOperator::Create((Instruction::BinaryOps)Opc, LHS, RHS);
2030 if (Opc == Instruction::Add ||
2031 Opc == Instruction::Sub ||
2032 Opc == Instruction::Mul ||
2033 Opc == Instruction::Shl) {
2038 } else if (Opc == Instruction::SDiv ||
2039 Opc == Instruction::UDiv ||
2040 Opc == Instruction::LShr ||
2041 Opc == Instruction::AShr) {
2056 int Opc = GetDecodedCastOpcode(Record[OpNum+1]);
2057 if (Opc == -1 || ResTy == 0)
2059 I = CastInst::Create((Instruction::CastOps)Opc, Op, ResTy);