Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp932 PHINode *OrigPhi; member in __anon97d482e70511::WidenIV
979 void calculatePostIncRanges(PHINode *OrigPhi);
995 : OrigPhi(WI.NarrowIV), WideType(WI.WidestNativeType), LI(LInfo), in WidenIV()
996 L(LI->getLoopFor(OrigPhi->getParent())), SE(SEv), DT(DTree), in WidenIV()
998 assert(L->getHeader() == OrigPhi->getParent() && "Phi must be an IV"); in WidenIV()
999 ExtendKindMap[OrigPhi] = WI.IsSigned ? SignExtended : ZeroExtended; in WidenIV()
1543 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(OrigPhi)); in createWideIV()
1548 const SCEV *WideIVExpr = getExtendKind(OrigPhi) == SignExtended in createWideIV()
1579 calculatePostIncRanges(OrigPhi); in createWideIV()
1599 cast<Instruction>(OrigPhi->getIncomingValueForBlock(LatchBlock)); in createWideIV()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DIndVarSimplify.cpp797 PHINode *OrigPhi; member in __anonf7e225bb0311::WidenIV
820 OrigPhi(WI.NarrowIV), in WidenIV()
824 L(LI->getLoopFor(OrigPhi->getParent())), in WidenIV()
831 assert(L->getHeader() == OrigPhi->getParent() && "Phi must be an IV"); in WidenIV()
1104 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(OrigPhi)); in CreateWideIV()
1151 Widened.insert(OrigPhi); in CreateWideIV()
1152 pushNarrowIVUsers(OrigPhi, WidePhi); in CreateWideIV()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp873 PHINode *OrigPhi; member in __anon670f678f0511::WidenIV
896 OrigPhi(WI.NarrowIV), in WidenIV()
900 L(LI->getLoopFor(OrigPhi->getParent())), in WidenIV()
907 assert(L->getHeader() == OrigPhi->getParent() && "Phi must be an IV"); in WidenIV()
1398 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(OrigPhi)); in createWideIV()
1446 Widened.insert(OrigPhi); in createWideIV()
1447 pushNarrowIVUsers(OrigPhi, WidePhi); in createWideIV()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp341 void fixupIVUsers(PHINode *OrigPhi, const InductionDescriptor &II,
3065 PHINode *OrigPhi = InductionEntry.first; in createEmptyLoop() local
3070 OrigPhi->getType(), 3, "bc.resume.val", ScalarPH->getTerminator()); in createEmptyLoop()
3072 if (OrigPhi == OldInduction) { in createEmptyLoop()
3089 fixupIVUsers(OrigPhi, II, CountRoundDown, EndValue, MiddleBlock); in createEmptyLoop()
3092 unsigned BlockIdx = OrigPhi->getBasicBlockIndex(ScalarPH); in createEmptyLoop()
3098 OrigPhi->setIncomingValue(BlockIdx, BCResumeVal); in createEmptyLoop()
3134 void InnerLoopVectorizer::fixupIVUsers(PHINode *OrigPhi, in fixupIVUsers() argument
3149 Value *PostInc = OrigPhi->getIncomingValueForBlock(OrigLoop->getLoopLatch()); in fixupIVUsers()
3161 for (User *U : OrigPhi->users()) { in fixupIVUsers()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp464 void fixupIVUsers(PHINode *OrigPhi, const InductionDescriptor &II,
2911 PHINode *OrigPhi = InductionEntry.first; in createVectorizedLoopSkeleton() local
2916 OrigPhi->getType(), 3, "bc.resume.val", ScalarPH->getTerminator()); in createVectorizedLoopSkeleton()
2918 BCResumeVal->setDebugLoc(OrigPhi->getDebugLoc()); in createVectorizedLoopSkeleton()
2919 Value *&EndValue = IVEndValues[OrigPhi]; in createVectorizedLoopSkeleton()
2920 if (OrigPhi == OldInduction) { in createVectorizedLoopSkeleton()
2939 unsigned BlockIdx = OrigPhi->getBasicBlockIndex(ScalarPH); in createVectorizedLoopSkeleton()
2945 OrigPhi->setIncomingValue(BlockIdx, BCResumeVal); in createVectorizedLoopSkeleton()
2983 void InnerLoopVectorizer::fixupIVUsers(PHINode *OrigPhi, in fixupIVUsers() argument
2998 Value *PostInc = OrigPhi->getIncomingValueForBlock(OrigLoop->getLoopLatch()); in fixupIVUsers()
[all …]