Lines Matching refs:InnerOpcode
648 Instruction::BinaryOps InnerOpcode, Value *A, in tryFactorization() argument
658 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization()
661 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) { in tryFactorization()
676 RetVal = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization()
681 if (!RetVal && rightDistributesOverLeft(TopLevelOpcode, InnerOpcode)) { in tryFactorization()
696 RetVal = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization()
724 if (TopLevelOpcode == Instruction::Add && InnerOpcode == Instruction::Mul) { in tryFactorization()
1117 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in foldUsingDistributiveLaws() local
1128 C = Builder.CreateBinOp(InnerOpcode, L, R); in foldUsingDistributiveLaws()
1134 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in foldUsingDistributiveLaws()
1143 if (R && R == ConstantExpr::getBinOpIdentity(InnerOpcode, R->getType())) { in foldUsingDistributiveLaws()
1156 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' in foldUsingDistributiveLaws() local
1167 A = Builder.CreateBinOp(InnerOpcode, L, R); in foldUsingDistributiveLaws()
1173 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in foldUsingDistributiveLaws()
1182 if (R && R == ConstantExpr::getBinOpIdentity(InnerOpcode, R->getType())) { in foldUsingDistributiveLaws()