Lines Matching refs:AliasAnalysis
16 #include "llvm/Analysis/AliasAnalysis.h"
107 return AliasAnalysis::UnknownSize;
113 return AliasAnalysis::UnknownSize;
119 return AliasAnalysis::UnknownSize;
124 return AliasAnalysis::UnknownSize;
126 return AliasAnalysis::UnknownSize;
131 return AliasAnalysis::UnknownSize;
139 return ObjectSize != AliasAnalysis::UnknownSize && ObjectSize < Size;
147 return ObjectSize != AliasAnalysis::UnknownSize && ObjectSize == Size;
454 struct BasicAliasAnalysis : public ImmutablePass, public AliasAnalysis {
471 AU.addRequired<AliasAnalysis>();
491 // The AliasAnalysis base class has some smarts, lets use them.
492 return AliasAnalysis::getModRefInfo(CS1, CS2);
512 if (ID == &AliasAnalysis::ID)
513 return (AliasAnalysis*)this;
555 INITIALIZE_AG_PASS_BEGIN(BasicAliasAnalysis, AliasAnalysis, "basicaa",
559 INITIALIZE_AG_PASS_END(BasicAliasAnalysis, AliasAnalysis, "basicaa",
582 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal);
596 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal);
614 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal);
623 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal);
632 AliasAnalysis::ModRefBehavior
645 // The AliasAnalysis base class has some smarts, lets use them.
646 return ModRefBehavior(AliasAnalysis::getModRefBehavior(CS) & Min);
651 AliasAnalysis::ModRefBehavior
671 return ModRefBehavior(AliasAnalysis::getModRefBehavior(F) & Min);
678 AliasAnalysis::ModRefResult
682 "AliasAnalysis query involving multiple functions!");
755 // Since memset is 'accesses arguments' only, the AliasAnalysis base class
843 // The AliasAnalysis base class has some smarts, lets use them.
844 return ModRefResult(AliasAnalysis::getModRefInfo(CS, Loc) & Min);
852 AliasAnalysis::AliasResult
988 static AliasAnalysis::AliasResult
989 MergeAliasResults(AliasAnalysis::AliasResult A, AliasAnalysis::AliasResult B) {
994 if ((A == AliasAnalysis::PartialAlias && B == AliasAnalysis::MustAlias) ||
995 (B == AliasAnalysis::PartialAlias && A == AliasAnalysis::MustAlias))
996 return AliasAnalysis::PartialAlias;
998 return AliasAnalysis::MayAlias;
1003 AliasAnalysis::AliasResult
1037 AliasAnalysis::AliasResult
1104 AliasAnalysis::AliasResult
1232 AliasAnalysis::alias(Location(V1, V1Size, V1TBAAInfo),