Lines Matching refs:AliasAnalysis
44 AliasAnalysis &AA = AST.getAliasAnalysis(); in mergeSetIn()
49 if (AA.alias(AliasAnalysis::Location(L->getValue(), in mergeSetIn()
52 AliasAnalysis::Location(R->getValue(), in mergeSetIn()
55 != AliasAnalysis::MustAlias) in mergeSetIn()
103 AliasAnalysis &AA = AST.getAliasAnalysis(); in addPointer()
104 AliasAnalysis::AliasResult Result = in addPointer()
105 AA.alias(AliasAnalysis::Location(P->getValue(), P->getSize(), in addPointer()
107 AliasAnalysis::Location(Entry.getValue(), Size, TBAAInfo)); in addPointer()
108 if (Result != AliasAnalysis::MustAlias) in addPointer()
112 assert(Result != AliasAnalysis::NoAlias && "Cannot be part of must set!"); in addPointer()
126 void AliasSet::addUnknownInst(Instruction *I, AliasAnalysis &AA) { in addUnknownInst()
145 AliasAnalysis &AA) const { in aliasesPointer()
153 return AA.alias(AliasAnalysis::Location(SomePtr->getValue(), in aliasesPointer()
156 AliasAnalysis::Location(Ptr, Size, TBAAInfo)); in aliasesPointer()
162 if (AA.alias(AliasAnalysis::Location(Ptr, Size, TBAAInfo), in aliasesPointer()
163 AliasAnalysis::Location(I.getPointer(), I.getSize(), in aliasesPointer()
171 AliasAnalysis::Location(Ptr, Size, TBAAInfo)) != in aliasesPointer()
172 AliasAnalysis::NoModRef) in aliasesPointer()
179 bool AliasSet::aliasesUnknownInst(Instruction *Inst, AliasAnalysis &AA) const { in aliasesUnknownInst()
186 AA.getModRefInfo(C1, C2) != AliasAnalysis::NoModRef || in aliasesUnknownInst()
187 AA.getModRefInfo(C2, C1) != AliasAnalysis::NoModRef) in aliasesUnknownInst()
193 AliasAnalysis::NoModRef) in aliasesUnknownInst()
326 addPointer(VAAI->getOperand(0), AliasAnalysis::UnknownSize, in add()
450 AliasAnalysis::UnknownSize, in remove()
631 AU.addRequired<AliasAnalysis>(); in getAnalysisUsage()
635 Tracker = new AliasSetTracker(getAnalysis<AliasAnalysis>()); in runOnFunction()
649 INITIALIZE_AG_DEPENDENCY(AliasAnalysis)