Searched refs:InnerOpcode (Results 1 – 1 of 1) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 668 Instruction::BinaryOps InnerOpcode, Value *A, in tryFactorization() argument 678 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 681 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) { in tryFactorization() 696 RetVal = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 701 if (!RetVal && rightDistributesOverLeft(TopLevelOpcode, InnerOpcode)) { in tryFactorization() 716 RetVal = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 744 if (TopLevelOpcode == Instruction::Add && InnerOpcode == Instruction::Mul) { in tryFactorization() 1140 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in foldUsingDistributiveLaws() local 1151 C = Builder.CreateBinOp(InnerOpcode, L, R); in foldUsingDistributiveLaws() 1157 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in foldUsingDistributiveLaws() [all …]
|