Searched refs:InnerOpcode (Results 1 – 1 of 1) sorted by relevance
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 598 Instruction::BinaryOps InnerOpcode, in tryFactorization() argument 609 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 612 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 626 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 631 if (!SimplifiedInst && rightDistributesOverLeft(TopLevelOpcode, InnerOpcode)) in tryFactorization() 646 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 675 InnerOpcode == Instruction::Mul) { in tryFactorization() 744 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 755 C = Builder.CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 761 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws() [all …]
|