Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnrollAndJam.cpp283 ValueToValueMapTy LastValueMap; in UnrollAndJamLoop() local
350 PrevItValueMap[New] = (It == 1 ? *BB : LastValueMap[*BB]); in UnrollAndJamLoop()
351 LastValueMap[*BB] = New; in UnrollAndJamLoop()
355 const_cast<Value *>(It == 1 ? VI->first : LastValueMap[VI->first]); in UnrollAndJamLoop()
356 LastValueMap[VI->first] = VI->second; in UnrollAndJamLoop()
375 assert(LastValueMap[cast<Value>(OriginalBBIDom)]); in UnrollAndJamLoop()
377 New, cast<BasicBlock>(LastValueMap[cast<Value>(OriginalBBIDom)])); in UnrollAndJamLoop()
384 ::remapInstruction(&I, LastValueMap); in UnrollAndJamLoop()
423 ValueToValueMapTy &LastValueMap) { in UnrollAndJamLoop() argument
428 if (Value *LastValue = LastValueMap[OldValue]) in UnrollAndJamLoop()
[all …]
DLoopUnroll.cpp545 ValueToValueMapTy LastValueMap; in UnrollLoop() local
627 InVal = LastValueMap[InValI]; in UnrollLoop()
633 LastValueMap[*BB] = New; in UnrollLoop()
636 LastValueMap[VI->first] = VI->second; in UnrollLoop()
644 ValueToValueMapTy::iterator It = LastValueMap.find(Incoming); in UnrollLoop()
645 if (It != LastValueMap.end()) in UnrollLoop()
679 New, cast<BasicBlock>(LastValueMap[cast<Value>(OriginalBBIDom)])); in UnrollLoop()
687 ::remapInstruction(&I, LastValueMap); in UnrollLoop()
706 InVal = LastValueMap[InVal]; in UnrollLoop()
708 assert(Latches.back() == LastValueMap[LatchBlock] && "bad last latch"); in UnrollLoop()