Go to the documentation of this file.
44 if (
Name.startswith(
"\1"))
45 return Name.substr(1);
58 for (
auto &
Arg :
F.args())
64 for (
auto &
Op :
I.operands())
69 PA.
setAA(&getAnalysis<AAResultsWrapperPass>().getAAResults());
71 for (
Value *V1 : Values) {
77 errs() << NameV1 <<
" and " << NameV2;
79 errs() <<
" are related.\n";
81 errs() <<
" are not related.\n";
91 "Evaluate ProvenanceAnalysis on all pairs",
false,
true)
static StringRef getName(Value *V)
This is an optimization pass for GlobalISel generic memory operations.
raw_fd_ostream & errs()
This returns a reference to a raw_ostream for standard error.
This is similar to BasicAliasAnalysis, and it uses many of the same techniques, except it uses specia...
FunctionPass * createPAEvalPass()
amdgpu Simplify well known AMD library false FunctionCallee Value * Arg
INITIALIZE_PASS_BEGIN(PAEval, "pa-eval", "Evaluate ProvenanceAnalysis on all pairs", false, true) INITIALIZE_PASS_END(PAEval
Represent the analysis usage information of a pass.
void setAA(AAResults *aa)
unsigned ID
LLVM IR allows to use arbitrary numbers as calling convention identifiers.
#define INITIALIZE_PASS_END(passName, arg, name, cfg, analysis)
inst_range instructions(Function *F)
static void insertIfNamed(SetVector< Value * > &Values, Value *V)
INITIALIZE_PASS_DEPENDENCY(DominatorTreeWrapperPass)
Predicate all(Predicate P0, Predicate P1)
True iff P0 and P1 are true.
pa Evaluate ProvenanceAnalysis on all pairs
bool insert(const value_type &X)
Insert a new element into the SetVector.
StringRef - Represent a constant reference to a string, i.e.
StringRef getName() const
Return a constant reference to the value's name.
static bool runOnFunction(Function &F, bool PostInlining)
A wrapper pass to provide the legacy pass manager access to a suitably prepared AAResults object.
FunctionPass class - This class is used to implement most global optimizations.
AnalysisUsage & addRequired()
bool related(const Value *A, const Value *B)
LLVM Value Representation.