Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp648 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()
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()
1156 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' in foldUsingDistributiveLaws() local
[all …]