Home | History | Annotate | Download | only in Interpreter

Lines Matching defs:Op1

2022   GenericValue Op1 = getOperandValue(CE->getOperand(1), SF);
2026 case Instruction::Add: Dest.IntVal = Op0.IntVal + Op1.IntVal; break;
2027 case Instruction::Sub: Dest.IntVal = Op0.IntVal - Op1.IntVal; break;
2028 case Instruction::Mul: Dest.IntVal = Op0.IntVal * Op1.IntVal; break;
2029 case Instruction::FAdd: executeFAddInst(Dest, Op0, Op1, Ty); break;
2030 case Instruction::FSub: executeFSubInst(Dest, Op0, Op1, Ty); break;
2031 case Instruction::FMul: executeFMulInst(Dest, Op0, Op1, Ty); break;
2032 case Instruction::FDiv: executeFDivInst(Dest, Op0, Op1, Ty); break;
2033 case Instruction::FRem: executeFRemInst(Dest, Op0, Op1, Ty); break;
2034 case Instruction::SDiv: Dest.IntVal = Op0.IntVal.sdiv(Op1.IntVal); break;
2035 case Instruction::UDiv: Dest.IntVal = Op0.IntVal.udiv(Op1.IntVal); break;
2036 case Instruction::URem: Dest.IntVal = Op0.IntVal.urem(Op1.IntVal); break;
2037 case Instruction::SRem: Dest.IntVal = Op0.IntVal.srem(Op1.IntVal); break;
2038 case Instruction::And: Dest.IntVal = Op0.IntVal & Op1.IntVal; break;
2039 case Instruction::Or: Dest.IntVal = Op0.IntVal | Op1.IntVal; break;
2040 case Instruction::Xor: Dest.IntVal = Op0.IntVal ^ Op1.IntVal; break;
2042 Dest.IntVal = Op0.IntVal.shl(Op1.IntVal.getZExtValue());
2045 Dest.IntVal = Op0.IntVal.lshr(Op1.IntVal.getZExtValue());
2048 Dest.IntVal = Op0.IntVal.ashr(Op1.IntVal.getZExtValue());