/external/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 607 Value *ExitVal = in rewriteLoopExitValues() local 610 DEBUG(dbgs() << "INDVARS: RLEV: AfterLoopVal = " << *ExitVal << '\n' in rewriteLoopExitValues() 613 if (!isValidRewrite(Inst, ExitVal)) { in rewriteLoopExitValues() 614 DeadInsts.push_back(ExitVal); in rewriteLoopExitValues() 619 RewritePhiSet.emplace_back(PN, i, ExitVal, HighCost); in rewriteLoopExitValues() 629 Value *ExitVal = Phi.Val; in rewriteLoopExitValues() local 634 DeadInsts.push_back(ExitVal); in rewriteLoopExitValues() 641 PN->setIncomingValue(Phi.Ith, ExitVal); in rewriteLoopExitValues() 650 LI->replacementPreservesLCSSAForm(PN, ExitVal)) { in rewriteLoopExitValues() 651 PN->replaceAllUsesWith(ExitVal); in rewriteLoopExitValues() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 675 Value *ExitVal = Rewriter.expandCodeFor(ExitValue, PN->getType(), Inst); in rewriteLoopExitValues() local 677 LLVM_DEBUG(dbgs() << "INDVARS: RLEV: AfterLoopVal = " << *ExitVal in rewriteLoopExitValues() 681 if (!isValidRewrite(Inst, ExitVal)) { in rewriteLoopExitValues() 682 DeadInsts.push_back(ExitVal); in rewriteLoopExitValues() 690 if (auto *ExitInsn = dyn_cast<Instruction>(ExitVal)) in rewriteLoopExitValues() 697 RewritePhiSet.emplace_back(PN, i, ExitVal, HighCost); in rewriteLoopExitValues() 708 Value *ExitVal = Phi.Val; in rewriteLoopExitValues() local 713 DeadInsts.push_back(ExitVal); in rewriteLoopExitValues() 720 PN->setIncomingValue(Phi.Ith, ExitVal); in rewriteLoopExitValues() 729 LI->replacementPreservesLCSSAForm(PN, ExitVal)) { in rewriteLoopExitValues() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 479 auto *ExitVal = dyn_cast<PHINode>(PN.getIncomingValue(IncomingValIdx)); in rewriteFirstIterationLoopExitValues() local 482 if (!ExitVal || ExitVal->getParent() != L->getHeader()) in rewriteFirstIterationLoopExitValues() 490 int PreheaderIdx = ExitVal->getBasicBlockIndex(LoopPreheader); in rewriteFirstIterationLoopExitValues() 492 assert(ExitVal->getParent() == L->getHeader() && in rewriteFirstIterationLoopExitValues() 496 ExitVal->getIncomingValue(PreheaderIdx)); in rewriteFirstIterationLoopExitValues()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 1466 Value *ExitVal = Phi.Expansion; in rewriteLoopExitValues() local 1471 DeadInsts.push_back(ExitVal); in rewriteLoopExitValues() 1477 PN->setIncomingValue(Phi.Ith, ExitVal); in rewriteLoopExitValues() 1486 LI->replacementPreservesLCSSAForm(PN, ExitVal)) { in rewriteLoopExitValues() 1487 PN->replaceAllUsesWith(ExitVal); in rewriteLoopExitValues()
|
/external/llvm/lib/CodeGen/ |
D | MachineVerifier.cpp | 1933 StackStateOfBB(int EntryVal, int ExitVal, bool EntrySetup, bool ExitSetup) : in StackStateOfBB() 1934 EntryValue(EntryVal), ExitValue(ExitVal), EntryIsSetup(EntrySetup), in StackStateOfBB()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | MachineVerifier.cpp | 2970 StackStateOfBB(int EntryVal, int ExitVal, bool EntrySetup, bool ExitSetup) : in StackStateOfBB() 2971 EntryValue(EntryVal), ExitValue(ExitVal), EntryIsSetup(EntrySetup), in StackStateOfBB()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineVerifier.cpp | 2754 StackStateOfBB(int EntryVal, int ExitVal, bool EntrySetup, bool ExitSetup) : in StackStateOfBB() 2755 EntryValue(EntryVal), ExitValue(ExitVal), EntryIsSetup(EntrySetup), in StackStateOfBB()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 8835 APInt ExitVal = (End + A).udiv(A); in getNumIterationsInRange() local 8836 ConstantInt *ExitValue = ConstantInt::get(SE.getContext(), ExitVal); in getNumIterationsInRange() 8848 ConstantInt::get(SE.getContext(), ExitVal - One), SE)->getValue()) && in getNumIterationsInRange()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 10903 APInt ExitVal = (End + A).udiv(A); in getNumIterationsInRange() local 10904 ConstantInt *ExitValue = ConstantInt::get(SE.getContext(), ExitVal); in getNumIterationsInRange() 10916 ConstantInt::get(SE.getContext(), ExitVal - 1), SE)->getValue()) && in getNumIterationsInRange()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 11374 APInt ExitVal = (End + A).udiv(A); in getNumIterationsInRange() local 11375 ConstantInt *ExitValue = ConstantInt::get(SE.getContext(), ExitVal); in getNumIterationsInRange() 11387 ConstantInt::get(SE.getContext(), ExitVal - 1), SE)->getValue()) && in getNumIterationsInRange()
|