Lines Matching refs:AliasAnalysis
63 INITIALIZE_AG_DEPENDENCY(AliasAnalysis) in INITIALIZE_PASS_DEPENDENCY()
90 AU.addRequiredTransitive<AliasAnalysis>(); in getAnalysisUsage()
94 AA = &getAnalysis<AliasAnalysis>(); in runOnFunction()
124 AliasAnalysis::ModRefResult GetLocation(const Instruction *Inst, in GetLocation()
125 AliasAnalysis::Location &Loc, in GetLocation()
126 AliasAnalysis *AA) { in GetLocation()
130 return AliasAnalysis::Ref; in GetLocation()
134 return AliasAnalysis::ModRef; in GetLocation()
136 Loc = AliasAnalysis::Location(); in GetLocation()
137 return AliasAnalysis::ModRef; in GetLocation()
143 return AliasAnalysis::Mod; in GetLocation()
147 return AliasAnalysis::ModRef; in GetLocation()
149 Loc = AliasAnalysis::Location(); in GetLocation()
150 return AliasAnalysis::ModRef; in GetLocation()
155 return AliasAnalysis::ModRef; in GetLocation()
160 Loc = AliasAnalysis::Location(CI->getArgOperand(0)); in GetLocation()
161 return AliasAnalysis::Mod; in GetLocation()
172 Loc = AliasAnalysis::Location(II->getArgOperand(1), in GetLocation()
177 return AliasAnalysis::Mod; in GetLocation()
180 Loc = AliasAnalysis::Location(II->getArgOperand(2), in GetLocation()
185 return AliasAnalysis::Mod; in GetLocation()
193 return AliasAnalysis::ModRef; in GetLocation()
195 return AliasAnalysis::Ref; in GetLocation()
196 return AliasAnalysis::NoModRef; in GetLocation()
217 AliasAnalysis::Location Loc; in getCallSiteDependencyFrom()
218 AliasAnalysis::ModRefResult MR = GetLocation(Inst, Loc, AA); in getCallSiteDependencyFrom()
221 if (AA->getModRefInfo(CS, Loc) != AliasAnalysis::NoModRef) in getCallSiteDependencyFrom()
231 case AliasAnalysis::NoModRef: in getCallSiteDependencyFrom()
234 if (isReadOnlyCall && !(MR & AliasAnalysis::Mod) && in getCallSiteDependencyFrom()
248 if (MR != AliasAnalysis::NoModRef) in getCallSiteDependencyFrom()
265 const AliasAnalysis::Location &MemLoc, const Value *&MemLocBase, in isLoadLoadClobberIfExtendedToFullWidth()
374 getPointerDependencyFrom(const AliasAnalysis::Location &MemLoc, bool isLoad, in getPointerDependencyFrom()
445 if (AA->isMustAlias(AliasAnalysis::Location(II->getArgOperand(1)), in getPointerDependencyFrom()
491 AliasAnalysis::Location LoadLoc = AA->getLocation(LI); in getPointerDependencyFrom()
494 AliasAnalysis::AliasResult R = AA->alias(LoadLoc, MemLoc); in getPointerDependencyFrom()
497 if (R == AliasAnalysis::NoAlias) { in getPointerDependencyFrom()
514 if (R == AliasAnalysis::MustAlias) in getPointerDependencyFrom()
524 if (R == AliasAnalysis::PartialAlias) in getPointerDependencyFrom()
534 if (R == AliasAnalysis::NoAlias) in getPointerDependencyFrom()
575 if (AA->getModRefInfo(SI, MemLoc) == AliasAnalysis::NoModRef) in getPointerDependencyFrom()
580 AliasAnalysis::Location StoreLoc = AA->getLocation(SI); in getPointerDependencyFrom()
583 AliasAnalysis::AliasResult R = AA->alias(StoreLoc, MemLoc); in getPointerDependencyFrom()
585 if (R == AliasAnalysis::NoAlias) in getPointerDependencyFrom()
587 if (R == AliasAnalysis::MustAlias) in getPointerDependencyFrom()
611 if (AA->alias(Inst, AccessPtr) != AliasAnalysis::NoAlias) in getPointerDependencyFrom()
624 AliasAnalysis::ModRefResult MR = AA->getModRefInfo(Inst, MemLoc); in getPointerDependencyFrom()
626 if (MR == AliasAnalysis::ModRef) in getPointerDependencyFrom()
629 case AliasAnalysis::NoModRef: in getPointerDependencyFrom()
632 case AliasAnalysis::Mod: in getPointerDependencyFrom()
634 case AliasAnalysis::Ref: in getPointerDependencyFrom()
684 AliasAnalysis::Location MemLoc; in getDependency()
685 AliasAnalysis::ModRefResult MR = GetLocation(QueryInst, MemLoc, AA); in getDependency()
688 bool isLoad = !(MR & AliasAnalysis::Mod); in getDependency()
877 const AliasAnalysis::Location Loc = AA->getLocation(QueryInst); in getNonLocalPointerDependency()
931 const AliasAnalysis::Location &Loc, in GetNonLocalInfoForBlock()
1048 const AliasAnalysis::Location &Loc, in getNonLocalPointerDepFromBB()