clang 22.0.0git
|
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CIR/CodeGen/CIRGenCall.h"
Public Member Functions | |
CIRGenCallee () | |
CIRGenCallee (const CIRGenCalleeInfo &abstractInfo, mlir::Operation *funcPtr) | |
bool | isBuiltin () const |
const clang::FunctionDecl * | getBuiltinDecl () const |
unsigned | getBuiltinID () const |
bool | isPseudoDestructor () const |
const CXXPseudoDestructorExpr * | getPseudoDestructorExpr () const |
bool | isOrdinary () const |
CIRGenCallee | prepareConcreteCallee (CIRGenFunction &cgf) const |
If this is a delayed callee computation of some sort, prepare a concrete callee. | |
CIRGenCalleeInfo | getAbstractInfo () const |
mlir::Operation * | getFunctionPointer () const |
bool | isVirtual () const |
const clang::CallExpr * | getVirtualCallExpr () const |
clang::GlobalDecl | getVirtualMethodDecl () const |
Address | getThisAddress () const |
cir::FuncType | getVirtualFunctionType () const |
void | setFunctionPointer (mlir::Operation *functionPtr) |
Static Public Member Functions | |
static CIRGenCallee | forDirect (mlir::Operation *funcPtr, const CIRGenCalleeInfo &abstractInfo=CIRGenCalleeInfo()) |
static CIRGenCallee | forBuiltin (unsigned builtinID, const clang::FunctionDecl *builtinDecl) |
static CIRGenCallee | forPseudoDestructor (const clang::CXXPseudoDestructorExpr *expr) |
static CIRGenCallee | forVirtual (const clang::CallExpr *ce, clang::GlobalDecl md, Address addr, cir::FuncType fTy) |
Definition at line 45 of file CIRGenCall.h.
|
inline |
Definition at line 81 of file CIRGenCall.h.
Referenced by forDirect().
|
inline |
Definition at line 83 of file CIRGenCall.h.
References abstractInfo.
|
inlinestatic |
Definition at line 106 of file CIRGenCall.h.
References builtinInfo.
|
inlinestatic |
Definition at line 90 of file CIRGenCall.h.
References abstractInfo, and CIRGenCallee().
Referenced by clang::CIRGen::CIRGenFunction::emitCXXConstructorCall(), clang::CIRGen::CIRGenFunction::emitCXXMemberOrOperatorMemberCallExpr(), clang::CIRGen::CIRGenFunction::emitForwardingCallToLambda(), emitLibraryCall(), and emitNewDeleteCall().
|
inlinestatic |
Definition at line 115 of file CIRGenCall.h.
References clang::ast_matchers::expr, and pseudoDestructorInfo.
Referenced by clang::CIRGen::CIRGenFunction::emitCallee().
|
inlinestatic |
Definition at line 152 of file CIRGenCall.h.
References virtualInfo.
Referenced by clang::CIRGen::CIRGenFunction::emitCXXMemberOrOperatorMemberCallExpr().
|
inline |
Definition at line 138 of file CIRGenCall.h.
References abstractInfo, isOrdinary(), isVirtual(), and virtualInfo.
Referenced by clang::CIRGen::CIRGenFunction::emitCall().
|
inline |
Definition at line 97 of file CIRGenCall.h.
References builtinInfo, and isBuiltin().
Referenced by clang::CIRGen::CIRGenFunction::emitCallExpr().
|
inline |
Definition at line 101 of file CIRGenCall.h.
References builtinInfo, and isBuiltin().
Referenced by clang::CIRGen::CIRGenFunction::emitCallExpr().
|
inline |
Definition at line 145 of file CIRGenCall.h.
References isOrdinary().
Referenced by clang::CIRGen::CIRGenFunction::emitCall(), and clang::CIRGen::CIRGenFunction::emitCall().
|
inline |
Definition at line 125 of file CIRGenCall.h.
References isPseudoDestructor(), and pseudoDestructorInfo.
Referenced by clang::CIRGen::CIRGenFunction::emitCallExpr().
|
inline |
Definition at line 173 of file CIRGenCall.h.
References isVirtual(), and virtualInfo.
Referenced by prepareConcreteCallee().
|
inline |
Definition at line 163 of file CIRGenCall.h.
References isVirtual(), and virtualInfo.
Referenced by prepareConcreteCallee().
|
inline |
Definition at line 178 of file CIRGenCall.h.
References isVirtual(), and virtualInfo.
Referenced by prepareConcreteCallee().
|
inline |
Definition at line 168 of file CIRGenCall.h.
References isVirtual(), and virtualInfo.
Referenced by prepareConcreteCallee().
|
inline |
Definition at line 95 of file CIRGenCall.h.
Referenced by clang::CIRGen::CIRGenFunction::emitCallExpr(), getBuiltinDecl(), and getBuiltinID().
|
inline |
Definition at line 130 of file CIRGenCall.h.
Referenced by getAbstractInfo(), getFunctionPointer(), and setFunctionPointer().
|
inline |
Definition at line 121 of file CIRGenCall.h.
Referenced by clang::CIRGen::CIRGenFunction::emitCallExpr(), and getPseudoDestructorExpr().
|
inline |
Definition at line 150 of file CIRGenCall.h.
Referenced by getAbstractInfo(), getThisAddress(), getVirtualCallExpr(), getVirtualFunctionType(), getVirtualMethodDecl(), and prepareConcreteCallee().
CIRGenCallee CIRGenCallee::prepareConcreteCallee | ( | CIRGenFunction & | cgf | ) | const |
If this is a delayed callee computation of some sort, prepare a concrete callee.
Definition at line 73 of file CIRGenCall.cpp.
References clang::CIRGen::CIRGenFunction::cgm, clang::CallExpr::getBeginLoc(), clang::CIRGen::CIRGenModule::getCXXABI(), getThisAddress(), getVirtualCallExpr(), clang::CIRGen::CIRGenCXXABI::getVirtualFunctionPointer(), getVirtualFunctionType(), getVirtualMethodDecl(), and isVirtual().
Referenced by clang::CIRGen::CIRGenFunction::emitCall().
|
inline |
Definition at line 183 of file CIRGenCall.h.
References isOrdinary().
Referenced by clang::CIRGen::CIRGenFunction::emitCall().
CIRGenCalleeInfo clang::CIRGen::CIRGenCallee::abstractInfo |
Definition at line 72 of file CIRGenCall.h.
Referenced by CIRGenCallee(), forDirect(), and getAbstractInfo().
BuiltinInfoStorage clang::CIRGen::CIRGenCallee::builtinInfo |
Definition at line 73 of file CIRGenCall.h.
Referenced by forBuiltin(), getBuiltinDecl(), and getBuiltinID().
PseudoDestructorInfoStorage clang::CIRGen::CIRGenCallee::pseudoDestructorInfo |
Definition at line 74 of file CIRGenCall.h.
Referenced by forPseudoDestructor(), and getPseudoDestructorExpr().
VirtualInfoStorage clang::CIRGen::CIRGenCallee::virtualInfo |
Definition at line 75 of file CIRGenCall.h.
Referenced by forVirtual(), getAbstractInfo(), getThisAddress(), getVirtualCallExpr(), getVirtualFunctionType(), and getVirtualMethodDecl().