Searched refs:TopLevelOpcode (Results 1 – 1 of 1) sorted by relevance
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 606 Instruction::BinaryOps TopLevelOpcode = I.getOpcode(); in tryFactorization() local 612 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 620 V = SimplifyBinOp(TopLevelOpcode, B, D, SQ.getWithInstruction(&I)); in tryFactorization() 624 V = Builder.CreateBinOp(TopLevelOpcode, B, D, RHS->getName()); in tryFactorization() 631 if (!SimplifiedInst && rightDistributesOverLeft(TopLevelOpcode, InnerOpcode)) in tryFactorization() 639 V = SimplifyBinOp(TopLevelOpcode, A, C, SQ.getWithInstruction(&I)); in tryFactorization() 644 V = Builder.CreateBinOp(TopLevelOpcode, A, C, LHS->getName()); in tryFactorization() 674 if (TopLevelOpcode == Instruction::Add && in tryFactorization() 707 Instruction::BinaryOps TopLevelOpcode = I.getOpcode(); in SimplifyUsingDistributiveLaws() local 714 LHSOpcode = getBinOpsForFactorization(TopLevelOpcode, Op0, A, B); in SimplifyUsingDistributiveLaws() [all …]
|