Lines Matching refs:LoadPtr
948 static int AnalyzeLoadFromClobberingWrite(Type *LoadTy, Value *LoadPtr, in AnalyzeLoadFromClobberingWrite() argument
960 Value *LoadBase = GetPointerBaseWithConstantOffset(LoadPtr, LoadOffset, DL); in AnalyzeLoadFromClobberingWrite()
974 << "Load Ptr = " << *LoadPtr << "\n"; in AnalyzeLoadFromClobberingWrite()
1002 << "Load Ptr = " << *LoadPtr << "\n"; in AnalyzeLoadFromClobberingWrite()
1023 static int AnalyzeLoadFromClobberingStore(Type *LoadTy, Value *LoadPtr, in AnalyzeLoadFromClobberingStore() argument
1033 return AnalyzeLoadFromClobberingWrite(LoadTy, LoadPtr, in AnalyzeLoadFromClobberingStore()
1040 static int AnalyzeLoadFromClobberingLoad(Type *LoadTy, Value *LoadPtr, in AnalyzeLoadFromClobberingLoad() argument
1048 int R = AnalyzeLoadFromClobberingWrite(LoadTy, LoadPtr, DepPtr, DepSize, DL); in AnalyzeLoadFromClobberingLoad()
1055 GetPointerBaseWithConstantOffset(LoadPtr, LoadOffs, DL); in AnalyzeLoadFromClobberingLoad()
1062 return AnalyzeLoadFromClobberingWrite(LoadTy, LoadPtr, DepPtr, Size*8, DL); in AnalyzeLoadFromClobberingLoad()
1067 static int AnalyzeLoadFromClobberingMemInst(Type *LoadTy, Value *LoadPtr, in AnalyzeLoadFromClobberingMemInst() argument
1078 return AnalyzeLoadFromClobberingWrite(LoadTy, LoadPtr, MI->getDest(), in AnalyzeLoadFromClobberingMemInst()
1093 int Offset = AnalyzeLoadFromClobberingWrite(LoadTy, LoadPtr, in AnalyzeLoadFromClobberingMemInst()
1627 Value *LoadPtr = nullptr; in PerformLoadPRE() local
1628 LoadPtr = Address.PHITranslateWithInsertion(LoadBB, UnavailablePred, in PerformLoadPRE()
1633 if (!LoadPtr) { in PerformLoadPRE()
1640 PredLoad.second = LoadPtr; in PerformLoadPRE()
1673 Value *LoadPtr = PredLoad.second; in PerformLoadPRE() local
1675 Instruction *NewLoad = new LoadInst(LoadPtr, LI->getName()+".pre", false, in PerformLoadPRE()
1691 MD->invalidateCachedPointerInfo(LoadPtr); in PerformLoadPRE()