Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp465 Value *SimplifiedInst = nullptr; in tryFactorization() local
487 SimplifiedInst = Builder->CreateBinOp(InnerOpcode, A, V); in tryFactorization()
492 if (!SimplifiedInst && RightDistributesOverLeft(TopLevelOpcode, InnerOpcode)) in tryFactorization()
507 SimplifiedInst = Builder->CreateBinOp(InnerOpcode, V, B); in tryFactorization()
511 if (SimplifiedInst) { in tryFactorization()
513 SimplifiedInst->takeName(&I); in tryFactorization()
517 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(SimplifiedInst)) { in tryFactorization()
518 if (isa<OverflowingBinaryOperator>(SimplifiedInst)) { in tryFactorization()
546 return SimplifiedInst; in tryFactorization()