Home | History | Annotate | Download | only in InstCombine

Lines Matching defs:Opcode

128   Instruction::BinaryOps Opcode = I.getOpcode();
129 if (Opcode != Instruction::Add &&
130 Opcode != Instruction::Sub) {
145 if (Opcode == Instruction::Add) {
190 Instruction::BinaryOps Opcode = I.getOpcode();
206 if (Op0 && Op0->getOpcode() == Opcode) {
212 if (Value *V = SimplifyBinOp(Opcode, B, C, DL)) {
235 if (Op1 && Op1->getOpcode() == Opcode) {
241 if (Value *V = SimplifyBinOp(Opcode, A, B, DL)) {
257 if (Op0 && Op0->getOpcode() == Opcode) {
263 if (Value *V = SimplifyBinOp(Opcode, C, A, DL)) {
277 if (Op1 && Op1->getOpcode() == Opcode) {
283 if (Value *V = SimplifyBinOp(Opcode, C, A, DL)) {
299 Op0->getOpcode() == Opcode && Op1->getOpcode() == Opcode &&
308 Constant *Folded = ConstantExpr::get(Opcode, C1, C2);
309 BinaryOperator *New = BinaryOperator::Create(Opcode, A, B);
404 /// This function returns identity value for given opcode, which can be used to
406 static Value *getIdentityValue(Instruction::BinaryOps OpCode, Value *V) {
410 if (OpCode == Instruction::Mul)