Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSSAUpdater.cpp439 for (LoadInst *ALoad : LiveInLoads) { in run()
440 Value *NewVal = SSA.GetValueInMiddleOfBlock(ALoad->getParent()); in run()
441 replaceLoadWithValue(ALoad, NewVal); in run()
444 if (NewVal == ALoad) NewVal = UndefValue::get(NewVal->getType()); in run()
445 ALoad->replaceAllUsesWith(NewVal); in run()
446 ReplacedLoads[ALoad] = NewVal; in run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSSAUpdater.cpp450 for (LoadInst *ALoad : LiveInLoads) { in run()
451 Value *NewVal = SSA.GetValueInMiddleOfBlock(ALoad->getParent()); in run()
452 replaceLoadWithValue(ALoad, NewVal); in run()
455 if (NewVal == ALoad) NewVal = UndefValue::get(NewVal->getType()); in run()
456 ALoad->replaceAllUsesWith(NewVal); in run()
457 ReplacedLoads[ALoad] = NewVal; in run()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSSAUpdater.cpp478 LoadInst *ALoad = LiveInLoads[i]; in run() local
479 Value *NewVal = SSA.GetValueInMiddleOfBlock(ALoad->getParent()); in run()
480 replaceLoadWithValue(ALoad, NewVal); in run()
483 if (NewVal == ALoad) NewVal = UndefValue::get(NewVal->getType()); in run()
484 ALoad->replaceAllUsesWith(NewVal); in run()
485 ReplacedLoads[ALoad] = NewVal; in run()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DMemorySSA.cpp724 Instruction *ALoad = B.CreateLoad(AllocA, ""); in TEST_F() local
739 auto *ALoadMA = cast<MemoryUse>(MSSA.getMemoryAccess(ALoad)); in TEST_F()
757 MemoryAccess *UseClobber = Walker->getClobberingMemoryAccess(ALoad); in TEST_F()