27 if (
CallInst *CI = dyn_cast<CallInst>(I)) {
28 if (CI->isInlineAsm())
Base class for instruction visitors.
This class represents a function call, abstracting a target machine's calling convention.
void visitCallSite(CallSite CS)
ValTy * getCalledValue() const
getCalledValue - Return the pointer to function that is being called.
std::vector< Instruction * > IndirectCallInsts
void visit(Iterator Start, Iterator End)
InstrTy * getInstruction() const
static std::vector< Instruction * > findIndirectCallSites(Function &F)
FunTy * getCalledFunction() const
getCalledFunction - Return the function being called if this is a direct call, otherwise return null ...
PGOIndirectCallSiteVisitor()