ΒΆvoid findDevirtualizableCallsForTypeTest(
    SmallVectorImpl<llvm::DevirtCallSite>&
        DevirtCalls,
    SmallVectorImpl<llvm::CallInst*>& Assumes,
    const llvm::CallInst* CI,
    llvm::DominatorTree& DT)

Description

Given a call to the intrinsic @ llvm.type.test, find all devirtualizable call sites based on the call and return them in DevirtCalls.

Declared at: llvm/include/llvm/Analysis/TypeMetadataUtils.h:47

Parameters

SmallVectorImpl<llvm::DevirtCallSite>& DevirtCalls
SmallVectorImpl<llvm::CallInst*>& Assumes
const llvm::CallInst* CI
llvm::DominatorTree& DT