Home | History | Annotate | Download | only in InstCombine

Lines Matching defs:Opcode

133   Instruction::BinaryOps Opcode = I.getOpcode();
134 if (Opcode != Instruction::Add && Opcode != Instruction::Sub)
142 if (Opcode == Instruction::Add)
186 Instruction::BinaryOps Opcode = I.getOpcode();
202 if (Op0 && Op0->getOpcode() == Opcode) {
208 if (Value *V = SimplifyBinOp(Opcode, B, C, DL)) {
231 if (Op1 && Op1->getOpcode() == Opcode) {
237 if (Value *V = SimplifyBinOp(Opcode, A, B, DL)) {
253 if (Op0 && Op0->getOpcode() == Opcode) {
259 if (Value *V = SimplifyBinOp(Opcode, C, A, DL)) {
273 if (Op1 && Op1->getOpcode() == Opcode) {
279 if (Value *V = SimplifyBinOp(Opcode, C, A, DL)) {
295 Op0->getOpcode() == Opcode && Op1->getOpcode() == Opcode &&
304 Constant *Folded = ConstantExpr::get(Opcode, C1, C2);
305 BinaryOperator *New = BinaryOperator::Create(Opcode, A, B);
400 /// This function returns identity value for given opcode, which can be used to
402 static Value *getIdentityValue(Instruction::BinaryOps OpCode, Value *V) {
406 if (OpCode == Instruction::Mul)