Go to the documentation of this file.
14 #ifndef LLVM_ANALYSIS_CFLALIASANALYSISUTILS_H
15 #define LLVM_ANALYSIS_CFLALIASANALYSISUTILS_H
32 void deleted()
override { removeSelfFromCache(); }
38 void removeSelfFromCache() {
41 Result->evict(cast<Function>(Val));
47 if (
auto *Inst = dyn_cast<Instruction>(Val)) {
49 return Bb->getParent();
52 if (
auto *
Arg = dyn_cast<Argument>(Val))
53 return Arg->getParent();
59 #endif // LLVM_ANALYSIS_CFLALIASANALYSISUTILS_H
This is an optimization pass for GlobalISel generic memory operations.
Value * getValPtr() const
amdgpu Simplify well known AMD library false FunctionCallee Value * Arg
FunctionHandle(Function *Fn, AAResult *Result)
void allUsesReplacedWith(Value *) override
Callback for Value RAUW.
Module * getParent()
Get the module that this global value is contained inside of...
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
void deleted() override
Callback for Value destruction.
static const Function * parentFunctionOfValue(const Value *Val)
Value handle with callbacks on RAUW and destruction.
LLVM Value Representation.