Searched refs:InnerOpcode (Results 1 – 1 of 1) sorted by relevance
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
| D | InstructionCombining.cpp | 557 Instruction::BinaryOps InnerOpcode, in tryFactorization() argument 567 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 570 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 584 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 589 if (!SimplifiedInst && rightDistributesOverLeft(TopLevelOpcode, InnerOpcode)) in tryFactorization() 604 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 633 InnerOpcode == Instruction::Mul) { in tryFactorization() 702 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 711 C = Builder.CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 717 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws() [all …]
|