Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp562 Value *SimplifiedInst = nullptr; in tryFactorization() local
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()
608 if (SimplifiedInst) { in tryFactorization()
610 SimplifiedInst->takeName(&I); in tryFactorization()
613 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(SimplifiedInst)) { in tryFactorization()
614 if (isa<OverflowingBinaryOperator>(SimplifiedInst)) { in tryFactorization()
653 return SimplifiedInst; in tryFactorization()