Home | History | Annotate | Download | only in InstCombine

Lines Matching defs:Opcode

141   Instruction::BinaryOps Opcode = I.getOpcode();
142 if (Opcode != Instruction::Add &&
143 Opcode != Instruction::Sub) {
158 if (Opcode == Instruction::Add) {
204 Instruction::BinaryOps Opcode = I.getOpcode();
220 if (Op0 && Op0->getOpcode() == Opcode) {
226 if (Value *V = SimplifyBinOp(Opcode, B, C, DL)) {
249 if (Op1 && Op1->getOpcode() == Opcode) {
255 if (Value *V = SimplifyBinOp(Opcode, A, B, DL)) {
271 if (Op0 && Op0->getOpcode() == Opcode) {
277 if (Value *V = SimplifyBinOp(Opcode, C, A, DL)) {
291 if (Op1 && Op1->getOpcode() == Opcode) {
297 if (Value *V = SimplifyBinOp(Opcode, C, A, DL)) {
313 Op0->getOpcode() == Opcode && Op1->getOpcode() == Opcode &&
322 Constant *Folded = ConstantExpr::get(Opcode, C1, C2);
323 BinaryOperator *New = BinaryOperator::Create(Opcode, A, B);
399 /// This function returns identity value for given opcode, which can be used to
401 static Value *getIdentityValue(Instruction::BinaryOps OpCode, Value *V) {
405 if (OpCode == Instruction::Mul)