Searched refs:TopLevelOpcode (Results 1 – 1 of 1) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 675 Instruction::BinaryOps TopLevelOpcode = I.getOpcode(); in tryFactorization() local 681 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) { in tryFactorization() 689 V = simplifyBinOp(TopLevelOpcode, B, D, SQ.getWithInstruction(&I)); in tryFactorization() 694 V = Builder.CreateBinOp(TopLevelOpcode, B, D, RHS->getName()); in tryFactorization() 701 if (!RetVal && rightDistributesOverLeft(TopLevelOpcode, InnerOpcode)) { in tryFactorization() 709 V = simplifyBinOp(TopLevelOpcode, A, C, SQ.getWithInstruction(&I)); in tryFactorization() 714 V = Builder.CreateBinOp(TopLevelOpcode, A, C, LHS->getName()); in tryFactorization() 744 if (TopLevelOpcode == Instruction::Add && InnerOpcode == Instruction::Mul) { in tryFactorization() 1086 Instruction::BinaryOps TopLevelOpcode = I.getOpcode(); in tryFactorizationFolds() local 1091 LHSOpcode = getBinOpsForFactorization(TopLevelOpcode, Op0, A, B, Op1); in tryFactorizationFolds() [all …]
|