Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp461 Value *SimplifiedInst = nullptr; in tryFactorization() local
483 SimplifiedInst = Builder->CreateBinOp(InnerOpcode, A, V); in tryFactorization()
488 if (!SimplifiedInst && RightDistributesOverLeft(TopLevelOpcode, InnerOpcode)) in tryFactorization()
503 SimplifiedInst = Builder->CreateBinOp(InnerOpcode, V, B); in tryFactorization()
507 if (SimplifiedInst) { in tryFactorization()
509 SimplifiedInst->takeName(&I); in tryFactorization()
513 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(SimplifiedInst)) { in tryFactorization()
514 if (isa<OverflowingBinaryOperator>(SimplifiedInst)) { in tryFactorization()
542 return SimplifiedInst; in tryFactorization()