LLVM API Documentation
#include "llvm/Analysis/Passes.h"#include "llvm/ADT/SetVector.h"#include "llvm/Analysis/AliasAnalysis.h"#include "llvm/IR/Constants.h"#include "llvm/IR/DerivedTypes.h"#include "llvm/IR/Function.h"#include "llvm/IR/InstIterator.h"#include "llvm/IR/Instructions.h"#include "llvm/Pass.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/Debug.h"#include "llvm/Support/raw_ostream.h"
Go to the source code of this file.
Functions | |
| INITIALIZE_PASS_BEGIN (AAEval,"aa-eval","Exhaustive Alias Analysis Precision Evaluator", false, true) INITIALIZE_PASS_END(AAEval | |
| static void | PrintResults (const char *Msg, bool P, const Value *V1, const Value *V2, const Module *M) |
| static void | PrintModRefResults (const char *Msg, bool P, Instruction *I, Value *Ptr, Module *M) |
| static void | PrintModRefResults (const char *Msg, bool P, CallSite CSA, CallSite CSB, Module *M) |
| static void | PrintLoadStoreResults (const char *Msg, bool P, const Value *V1, const Value *V2, const Module *M) |
| static bool | isInterestingPointer (Value *V) |
| static void | PrintPercent (unsigned Num, unsigned Sum) |
Variables | |
| static cl::opt< bool > | PrintAll ("print-all-alias-modref-info", cl::ReallyHidden) |
| static cl::opt< bool > | PrintNoAlias ("print-no-aliases", cl::ReallyHidden) |
| static cl::opt< bool > | PrintMayAlias ("print-may-aliases", cl::ReallyHidden) |
| static cl::opt< bool > | PrintPartialAlias ("print-partial-aliases", cl::ReallyHidden) |
| static cl::opt< bool > | PrintMustAlias ("print-must-aliases", cl::ReallyHidden) |
| static cl::opt< bool > | PrintNoModRef ("print-no-modref", cl::ReallyHidden) |
| static cl::opt< bool > | PrintMod ("print-mod", cl::ReallyHidden) |
| static cl::opt< bool > | PrintRef ("print-ref", cl::ReallyHidden) |
| static cl::opt< bool > | PrintModRef ("print-modref", cl::ReallyHidden) |
| static cl::opt< bool > | EvalAAMD ("evaluate-aa-metadata", cl::ReallyHidden) |
| aa | eval |
| aa Exhaustive Alias Analysis Precision | Evaluator |
| aa Exhaustive Alias Analysis Precision | false |
| INITIALIZE_PASS_BEGIN | ( | AAEval | , |
| "aa-eval" | , | ||
| "Exhaustive Alias Analysis Precision Evaluator" | , | ||
| false | , | ||
| true | |||
| ) |
| static bool isInterestingPointer | ( | Value * | V | ) | [inline, static] |
Definition at line 136 of file AliasAnalysisEvaluator.cpp.
References llvm::Value::getType(), and llvm::Type::isPointerTy().
| static void PrintLoadStoreResults | ( | const char * | Msg, |
| bool | P, | ||
| const Value * | V1, | ||
| const Value * | V2, | ||
| const Module * | M | ||
| ) | [inline, static] |
Definition at line 128 of file AliasAnalysisEvaluator.cpp.
References llvm::errs().
| static void PrintModRefResults | ( | const char * | Msg, |
| bool | P, | ||
| Instruction * | I, | ||
| Value * | Ptr, | ||
| Module * | M | ||
| ) | [inline, static] |
Definition at line 109 of file AliasAnalysisEvaluator.cpp.
References llvm::errs(), and llvm::Value::printAsOperand().
| static void PrintModRefResults | ( | const char * | Msg, |
| bool | P, | ||
| CallSite | CSA, | ||
| CallSite | CSB, | ||
| Module * | M | ||
| ) | [inline, static] |
Definition at line 119 of file AliasAnalysisEvaluator.cpp.
References llvm::errs(), and llvm::CallSiteBase< FunTy, ValTy, UserTy, InstrTy, CallTy, InvokeTy, IterTy >::getInstruction().
| static void PrintPercent | ( | unsigned | Num, |
| unsigned | Sum | ||
| ) | [static] |
Definition at line 325 of file AliasAnalysisEvaluator.cpp.
References llvm::errs().
| static void PrintResults | ( | const char * | Msg, |
| bool | P, | ||
| const Value * | V1, | ||
| const Value * | V2, | ||
| const Module * | M | ||
| ) | [static] |
Definition at line 90 of file AliasAnalysisEvaluator.cpp.
References llvm::errs(), llvm::Value::printAsOperand(), and std::swap().
Definition at line 85 of file AliasAnalysisEvaluator.cpp.
Definition at line 85 of file AliasAnalysisEvaluator.cpp.
Referenced by EvaluateStaticConstructor().
Definition at line 85 of file AliasAnalysisEvaluator.cpp.
cl::opt<bool> PrintMayAlias("print-may-aliases", cl::ReallyHidden) [static] |
cl::opt<bool> PrintModRef("print-modref", cl::ReallyHidden) [static] |
cl::opt<bool> PrintMustAlias("print-must-aliases", cl::ReallyHidden) [static] |
cl::opt<bool> PrintNoAlias("print-no-aliases", cl::ReallyHidden) [static] |
cl::opt<bool> PrintNoModRef("print-no-modref", cl::ReallyHidden) [static] |
cl::opt<bool> PrintPartialAlias("print-partial-aliases", cl::ReallyHidden) [static] |