Home
last modified time | relevance | path

Searched refs:InnerOpcode (Results 1 – 1 of 1) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp640 Instruction::BinaryOps InnerOpcode, Value *A, in tryFactorization() argument
650 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization()
653 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) { in tryFactorization()
668 RetVal = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization()
673 if (!RetVal && rightDistributesOverLeft(TopLevelOpcode, InnerOpcode)) { in tryFactorization()
688 RetVal = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization()
716 if (TopLevelOpcode == Instruction::Add && InnerOpcode == Instruction::Mul) { in tryFactorization()
793 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in foldUsingDistributiveLaws() local
804 C = Builder.CreateBinOp(InnerOpcode, L, R); in foldUsingDistributiveLaws()
810 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in foldUsingDistributiveLaws()
[all …]