Lines Matching refs:AliasAnalysis

48     AliasAnalysis *AA;
62 AA = &getAnalysis<AliasAnalysis>(); in runOnFunction()
81 void RemoveAccessedObjects(const AliasAnalysis::Location &LoadedLoc,
88 AU.addRequired<AliasAnalysis>(); in getAnalysisUsage()
90 AU.addPreserved<AliasAnalysis>(); in getAnalysisUsage()
101 INITIALIZE_AG_DEPENDENCY(AliasAnalysis) in INITIALIZE_PASS_DEPENDENCY()
197 static AliasAnalysis::Location
198 getLocForWrite(Instruction *Inst, AliasAnalysis &AA) { in getLocForWrite()
204 AliasAnalysis::Location Loc = AA.getLocationForDest(MI); in getLocForWrite()
209 if (!II) return AliasAnalysis::Location(); in getLocForWrite()
212 default: return AliasAnalysis::Location(); // Unhandled intrinsic. in getLocForWrite()
216 return AliasAnalysis::Location(II->getArgOperand(0)); in getLocForWrite()
219 return AliasAnalysis::Location(II->getArgOperand(1), Len); in getLocForWrite()
226 static AliasAnalysis::Location
227 getLocForRead(Instruction *Inst, AliasAnalysis &AA) { in getLocForRead()
235 return AliasAnalysis::Location(); in getLocForRead()
320 return AliasAnalysis::UnknownSize; in getPointerSize()
336 static OverwriteResult isOverwrite(const AliasAnalysis::Location &Later, in isOverwrite()
337 const AliasAnalysis::Location &Earlier, in isOverwrite()
349 if (Later.Size == AliasAnalysis::UnknownSize || in isOverwrite()
350 Earlier.Size == AliasAnalysis::UnknownSize) in isOverwrite()
360 if (Later.Size == AliasAnalysis::UnknownSize || in isOverwrite()
361 Earlier.Size == AliasAnalysis::UnknownSize) in isOverwrite()
377 if (ObjectSize != AliasAnalysis::UnknownSize) in isOverwrite()
444 const AliasAnalysis::Location &InstStoreLoc, in isPossibleSelfRead()
445 Instruction *DepWrite, AliasAnalysis &AA) { in isPossibleSelfRead()
448 AliasAnalysis::Location InstReadLoc = getLocForRead(Inst, AA); in isPossibleSelfRead()
462 AliasAnalysis::Location DepReadLoc = getLocForRead(DepWrite, AA); in isPossibleSelfRead()
528 AliasAnalysis::Location Loc = getLocForWrite(Inst, *AA); in runOnBasicBlock()
543 AliasAnalysis::Location DepLoc = getLocForWrite(DepWrite, *AA); in runOnBasicBlock()
612 if (AA->getModRefInfo(DepWrite, Loc) & AliasAnalysis::Ref) in runOnBasicBlock()
648 AliasAnalysis::Location Loc = AliasAnalysis::Location(F->getOperand(0)); in HandleFree()
798 AliasAnalysis::ModRefResult A = AA->getModRefInfo( in handleEndBlock()
801 return A == AliasAnalysis::ModRef || A == AliasAnalysis::Ref; in handleEndBlock()
812 AliasAnalysis::Location LoadedLoc; in handleEndBlock()
848 void DSE::RemoveAccessedObjects(const AliasAnalysis::Location &LoadedLoc, in RemoveAccessedObjects()
867 AliasAnalysis::Location StackLoc( in RemoveAccessedObjects()