14 #ifndef LLVM_ANALYSIS_CFLALIASANALYSISUTILS_H 15 #define LLVM_ANALYSIS_CFLALIASANALYSISUTILS_H 30 void deleted()
override { removeSelfFromCache(); }
36 void removeSelfFromCache() {
39 Result->evict(cast<Function>(Val));
45 if (
auto *Inst = dyn_cast<Instruction>(Val)) {
47 return Bb->getParent();
50 if (
auto *
Arg = dyn_cast<Argument>(Val))
51 return Arg->getParent();
57 #endif // LLVM_ANALYSIS_CFLALIASANALYSISUTILS_H This class represents lattice values for constants.
FunctionHandle(Function *Fn, AAResult *Result)
amdgpu Simplify well known AMD library false FunctionCallee Value * Arg
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
static const Function * parentFunctionOfValue(const Value *Val)
Module * getParent()
Get the module that this global value is contained inside of...
LLVM Value Representation.
Value handle with callbacks on RAUW and destruction.
void deleted() override
Callback for Value destruction.
void allUsesReplacedWith(Value *) override
Callback for Value RAUW.
Value * getValPtr() const