Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp455 Value *SimplifiedInst = nullptr; in tryFactorization() local
477 SimplifiedInst = Builder->CreateBinOp(InnerOpcode, A, V); in tryFactorization()
482 if (!SimplifiedInst && RightDistributesOverLeft(TopLevelOpcode, InnerOpcode)) in tryFactorization()
497 SimplifiedInst = Builder->CreateBinOp(InnerOpcode, V, B); in tryFactorization()
501 if (SimplifiedInst) { in tryFactorization()
503 SimplifiedInst->takeName(&I); in tryFactorization()
507 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(SimplifiedInst)) { in tryFactorization()
508 if (isa<OverflowingBinaryOperator>(SimplifiedInst)) { in tryFactorization()
524 return SimplifiedInst; in tryFactorization()