15 #ifndef LLVM_ANALYSIS_CFLALIASANALYSISUTILS_H 16 #define LLVM_ANALYSIS_CFLALIASANALYSISUTILS_H 31 void deleted()
override { removeSelfFromCache(); }
37 void removeSelfFromCache() {
40 Result->evict(cast<Function>(Val));
46 if (
auto *Inst = dyn_cast<Instruction>(Val)) {
48 return Bb->getParent();
51 if (
auto *
Arg = dyn_cast<Argument>(Val))
52 return Arg->getParent();
58 #endif // LLVM_ANALYSIS_CFLALIASANALYSISUTILS_H This class represents lattice values for constants.
FunctionHandle(Function *Fn, AAResult *Result)
amdgpu Simplify well known AMD library false Value 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