clang
8.0.0
|
All available information about a concrete callee. More...
#include "/work/www-prereleases/8.0.0/rc5/docsbuild/llvm.src/tools/clang/lib/CodeGen/CGCall.h"
Public Member Functions | |
CGCallee () | |
CGCallee (const CGCalleeInfo &abstractInfo, llvm::Value *functionPtr) | |
Construct a callee. More... | |
bool | isBuiltin () const |
const FunctionDecl * | getBuiltinDecl () const |
unsigned | getBuiltinID () const |
bool | isPseudoDestructor () const |
const CXXPseudoDestructorExpr * | getPseudoDestructorExpr () const |
bool | isOrdinary () const |
CGCalleeInfo | getAbstractInfo () const |
llvm::Value * | getFunctionPointer () const |
void | setFunctionPointer (llvm::Value *functionPtr) |
bool | isVirtual () const |
const CallExpr * | getVirtualCallExpr () const |
GlobalDecl | getVirtualMethodDecl () const |
Address | getThisAddress () const |
llvm::FunctionType * | getFunctionType () const |
CGCallee | prepareConcreteCallee (CodeGenFunction &CGF) const |
If this is a delayed callee computation of some sort, prepare a concrete callee. More... | |
Static Public Member Functions | |
static CGCallee | forBuiltin (unsigned builtinID, const FunctionDecl *builtinDecl) |
static CGCallee | forPseudoDestructor (const CXXPseudoDestructorExpr *E) |
static CGCallee | forDirect (llvm::Constant *functionPtr, const CGCalleeInfo &abstractInfo=CGCalleeInfo()) |
static CGCallee | forVirtual (const CallExpr *CE, GlobalDecl MD, Address Addr, llvm::FunctionType *FTy) |
|
inline |
|
inlinestatic |
|
inlinestatic |
Definition at line 134 of file CGCall.h.
Referenced by emitAtomicLibcall(), clang::CodeGen::CodeGenFunction::EmitCallAndReturnForThunk(), emitCPPObjectAtomicGetterCall(), emitCPPObjectAtomicSetterCall(), clang::CodeGen::CodeGenFunction::EmitCXXConstructorCall(), emitCXXDestructor(), clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(), EmitDirectCallee(), clang::CodeGen::CodeGenFunction::EmitForwardingCallToLambda(), emitLibraryCall(), clang::CodeGen::CGCXXABI::EmitLoadOfMemberFunctionPointer(), EmitNewDeleteCall(), emitStructSetterCall(), clang::CodeGen::CodeGenFunction::generateObjCGetterBody(), clang::CodeGen::CodeGenFunction::generateObjCSetterBody(), hasDefaultCXXMethodCC(), and isWeakLinkedClass().
|
inlinestatic |
Definition at line 128 of file CGCall.h.
References PseudoDestructorInfo.
Referenced by clang::CodeGen::CodeGenFunction::EmitCallee().
|
inlinestatic |
Definition at line 139 of file CGCall.h.
References VirtualInfo.
|
inline |
Definition at line 172 of file CGCall.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCall().
|
inline |
Definition at line 152 of file CGCall.h.
References BuiltinInfo.
Referenced by clang::CodeGen::CodeGenFunction::EmitCallExpr().
|
inline |
Definition at line 156 of file CGCall.h.
References BuiltinInfo.
Referenced by clang::CodeGen::CodeGenFunction::EmitCallExpr().
|
inline |
Definition at line 178 of file CGCall.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCall().
|
inline |
Definition at line 203 of file CGCall.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCall().
|
inline |
Definition at line 164 of file CGCall.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCallExpr().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 149 of file CGCall.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCallExpr().
|
inline |
Definition at line 169 of file CGCall.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCall().
|
inline |
Definition at line 161 of file CGCall.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCallExpr().
|
inline |
Definition at line 187 of file CGCall.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCall().
CGCallee CGCallee::prepareConcreteCallee | ( | CodeGenFunction & | CGF | ) | const |
If this is a delayed callee computation of some sort, prepare a concrete callee.
Definition at line 4555 of file CGCall.cpp.
References clang::CodeGen::CodeGenFunction::CGM, clang::CallExpr::getBeginLoc(), clang::CodeGen::CodeGenModule::getCXXABI(), and clang::CodeGen::CGCXXABI::getVirtualFunctionPointer().
|
inline |
Definition at line 182 of file CGCall.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCall().
CGCalleeInfo clang::CodeGen::CGCallee::AbstractInfo |
BuiltinInfoStorage clang::CodeGen::CGCallee::BuiltinInfo |
Definition at line 94 of file CGCall.h.
Referenced by forBuiltin().
PseudoDestructorInfoStorage clang::CodeGen::CGCallee::PseudoDestructorInfo |
Definition at line 95 of file CGCall.h.
Referenced by forPseudoDestructor().
VirtualInfoStorage clang::CodeGen::CGCallee::VirtualInfo |
Definition at line 96 of file CGCall.h.
Referenced by forVirtual().