Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLoopUnroll.cpp223 ValueToValueMapTy LastValueMap; in UnrollLoop() local
260 InVal = LastValueMap[InValI]; in UnrollLoop()
266 LastValueMap[*BB] = New; in UnrollLoop()
269 LastValueMap[VI->first] = VI->second; in UnrollLoop()
281 ValueToValueMapTy::iterator It = LastValueMap.find(Incoming); in UnrollLoop()
282 if (It != LastValueMap.end()) in UnrollLoop()
301 ::RemapInstruction(I, LastValueMap); in UnrollLoop()
317 InVal = LastValueMap[InVal]; in UnrollLoop()
319 assert(Latches.back() == LastValueMap[LatchBlock] && "bad last latch"); in UnrollLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUnrollAndJam.cpp280 ValueToValueMapTy LastValueMap; in UnrollAndJamLoop() local
340 PrevItValueMap[New] = (It == 1 ? *BB : LastValueMap[*BB]); in UnrollAndJamLoop()
341 LastValueMap[*BB] = New; in UnrollAndJamLoop()
345 const_cast<Value *>(It == 1 ? VI->first : LastValueMap[VI->first]); in UnrollAndJamLoop()
346 LastValueMap[VI->first] = VI->second; in UnrollAndJamLoop()
365 assert(LastValueMap[cast<Value>(OriginalBBIDom)]); in UnrollAndJamLoop()
367 New, cast<BasicBlock>(LastValueMap[cast<Value>(OriginalBBIDom)])); in UnrollAndJamLoop()
374 ::remapInstruction(&I, LastValueMap); in UnrollAndJamLoop()
413 ValueToValueMapTy &LastValueMap) { in UnrollAndJamLoop() argument
418 if (Value *LastValue = LastValueMap[OldValue]) in UnrollAndJamLoop()
[all …]
DLoopUnroll.cpp564 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()
672 New, cast<BasicBlock>(LastValueMap[cast<Value>(OriginalBBIDom)])); in UnrollLoop()
680 ::remapInstruction(&I, LastValueMap); in UnrollLoop()
700 InVal = LastValueMap[InVal]; in UnrollLoop()
702 assert(Latches.back() == LastValueMap[LatchBlock] && "bad last latch"); in UnrollLoop()
/external/llvm/lib/Transforms/Utils/
DLoopUnroll.cpp363 ValueToValueMapTy LastValueMap; in UnrollLoop() local
431 InVal = LastValueMap[InValI]; in UnrollLoop()
437 LastValueMap[*BB] = New; in UnrollLoop()
440 LastValueMap[VI->first] = VI->second; in UnrollLoop()
449 ValueToValueMapTy::iterator It = LastValueMap.find(Incoming); in UnrollLoop()
450 if (It != LastValueMap.end()) in UnrollLoop()
477 New, cast<BasicBlock>(LastValueMap[cast<Value>(OriginalBBIDom)])); in UnrollLoop()
485 ::remapInstruction(&I, LastValueMap); in UnrollLoop()
500 InVal = LastValueMap[InVal]; in UnrollLoop()
502 assert(Latches.back() == LastValueMap[LatchBlock] && "bad last latch"); in UnrollLoop()