Lines Matching refs:Opc
2058 int Opc = GetDecodedBinaryOpcode(Record[0], CurTy);
2059 if (Opc < 0) {
2066 if (Opc == Instruction::Add ||
2067 Opc == Instruction::Sub ||
2068 Opc == Instruction::Mul ||
2069 Opc == Instruction::Shl) {
2074 } else if (Opc == Instruction::SDiv ||
2075 Opc == Instruction::UDiv ||
2076 Opc == Instruction::LShr ||
2077 Opc == Instruction::AShr) {
2082 V = ConstantExpr::get(Opc, LHS, RHS, Flags);
2089 int Opc = GetDecodedCastOpcode(Record[0]);
2090 if (Opc < 0) {
2097 V = ConstantExpr::getCast(Opc, Op, CurTy);
2918 int Opc = GetDecodedBinaryOpcode(Record[OpNum++], LHS->getType());
2919 if (Opc == -1)
2921 I = BinaryOperator::Create((Instruction::BinaryOps)Opc, LHS, RHS);
2924 if (Opc == Instruction::Add ||
2925 Opc == Instruction::Sub ||
2926 Opc == Instruction::Mul ||
2927 Opc == Instruction::Shl) {
2932 } else if (Opc == Instruction::SDiv ||
2933 Opc == Instruction::UDiv ||
2934 Opc == Instruction::LShr ||
2935 Opc == Instruction::AShr) {
2950 int Opc = GetDecodedCastOpcode(Record[OpNum+1]);
2951 if (Opc == -1 || !ResTy)
2953 I = CastInst::Create((Instruction::CastOps)Opc, Op, ResTy);