15 #ifndef LLVM_ANALYSIS_TYPEMETADATAUTILS_H
16 #define LLVM_ANALYSIS_TYPEMETADATAUTILS_H
CallSite CS
The call site itself.
This class represents a function call, abstracting a target machine's calling convention.
uint64_t Offset
The offset from the address point to the virtual function.
void findDevirtualizableCallsForTypeCheckedLoad(SmallVectorImpl< DevirtCallSite > &DevirtCalls, SmallVectorImpl< Instruction * > &LoadedPtrs, SmallVectorImpl< Instruction * > &Preds, bool &HasNonCallUses, CallInst *CI)
Given a call to the intrinsic .type.checked.load, find all devirtualizable call sites based on the ca...
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
A call site that could be devirtualized.
void findDevirtualizableCallsForTypeTest(SmallVectorImpl< DevirtCallSite > &DevirtCalls, SmallVectorImpl< CallInst * > &Assumes, CallInst *CI)
Given a call to the intrinsic .type.test, find all devirtualizable call sites based on the call and r...