LLVM 22.0.0git
AliasAnalysisEvaluator.cpp File Reference

Go to the source code of this file.

Functions

static void PrintResults (AliasResult AR, bool P, std::pair< const Value *, Type * > Loc1, std::pair< const Value *, Type * > Loc2, const Module *M)
static void PrintModRefResults (const char *Msg, bool P, Instruction *I, std::pair< const Value *, Type * > Loc, Module *M)
static void PrintModRefResults (const char *Msg, bool P, CallBase *CallA, CallBase *CallB, Module *M)
static void PrintLoadStoreResults (AliasResult AR, bool P, const Value *V1, const Value *V2, const Module *M)
static void PrintPercent (int64_t Num, int64_t Sum)

Variables

static cl::opt< boolPrintAll ("print-all-alias-modref-info", cl::ReallyHidden)
static cl::opt< boolPrintNoAlias ("print-no-aliases", cl::ReallyHidden)
static cl::opt< boolPrintMayAlias ("print-may-aliases", cl::ReallyHidden)
static cl::opt< boolPrintPartialAlias ("print-partial-aliases", cl::ReallyHidden)
static cl::opt< boolPrintMustAlias ("print-must-aliases", cl::ReallyHidden)
static cl::opt< boolPrintNoModRef ("print-no-modref", cl::ReallyHidden)
static cl::opt< boolPrintRef ("print-ref", cl::ReallyHidden)
static cl::opt< boolPrintMod ("print-mod", cl::ReallyHidden)
static cl::opt< boolPrintModRef ("print-modref", cl::ReallyHidden)
static cl::opt< boolEvalAAMD ("evaluate-aa-metadata", cl::ReallyHidden)

Function Documentation

◆ PrintLoadStoreResults()

void PrintLoadStoreResults ( AliasResult AR,
bool P,
const Value * V1,
const Value * V2,
const Module * M )
inlinestatic

Definition at line 88 of file AliasAnalysisEvaluator.cpp.

References llvm::errs(), and P.

◆ PrintModRefResults() [1/2]

void PrintModRefResults ( const char * Msg,
bool P,
CallBase * CallA,
CallBase * CallB,
Module * M )
inlinestatic

Definition at line 81 of file AliasAnalysisEvaluator.cpp.

References llvm::errs(), and P.

◆ PrintModRefResults() [2/2]

void PrintModRefResults ( const char * Msg,
bool P,
Instruction * I,
std::pair< const Value *, Type * > Loc,
Module * M )
inlinestatic

Definition at line 69 of file AliasAnalysisEvaluator.cpp.

References llvm::errs(), I, and P.

◆ PrintPercent()

void PrintPercent ( int64_t Num,
int64_t Sum )
static

Definition at line 268 of file AliasAnalysisEvaluator.cpp.

References llvm::errs().

Referenced by llvm::AAEvaluator::~AAEvaluator().

◆ PrintResults()

void PrintResults ( AliasResult AR,
bool P,
std::pair< const Value *, Type * > Loc1,
std::pair< const Value *, Type * > Loc2,
const Module * M )
static

Variable Documentation

◆ EvalAAMD

cl::opt< bool > EvalAAMD("evaluate-aa-metadata", cl::ReallyHidden) ( "evaluate-aa-metadata" ,
cl::ReallyHidden  )
static

◆ PrintAll

cl::opt< bool > PrintAll("print-all-alias-modref-info", cl::ReallyHidden) ( "print-all-alias-modref-info" ,
cl::ReallyHidden  )
static

◆ PrintMayAlias

cl::opt< bool > PrintMayAlias("print-may-aliases", cl::ReallyHidden) ( "print-may-aliases" ,
cl::ReallyHidden  )
static

◆ PrintMod

cl::opt< bool > PrintMod("print-mod", cl::ReallyHidden) ( "print-mod" ,
cl::ReallyHidden  )
static

◆ PrintModRef

cl::opt< bool > PrintModRef("print-modref", cl::ReallyHidden) ( "print-modref" ,
cl::ReallyHidden  )
static

◆ PrintMustAlias

cl::opt< bool > PrintMustAlias("print-must-aliases", cl::ReallyHidden) ( "print-must-aliases" ,
cl::ReallyHidden  )
static

◆ PrintNoAlias

cl::opt< bool > PrintNoAlias("print-no-aliases", cl::ReallyHidden) ( "print-no-aliases" ,
cl::ReallyHidden  )
static

◆ PrintNoModRef

cl::opt< bool > PrintNoModRef("print-no-modref", cl::ReallyHidden) ( "print-no-modref" ,
cl::ReallyHidden  )
static

◆ PrintPartialAlias

cl::opt< bool > PrintPartialAlias("print-partial-aliases", cl::ReallyHidden) ( "print-partial-aliases" ,
cl::ReallyHidden  )
static

◆ PrintRef

cl::opt< bool > PrintRef("print-ref", cl::ReallyHidden) ( "print-ref" ,
cl::ReallyHidden  )
static