clang 22.0.0git
|
CallArgList - Type for representing both the value and type of arguments in a call. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CGCall.h"
Classes | |
struct | CallArgCleanup |
struct | Writeback |
Public Types | |
typedef llvm::iterator_range< SmallVectorImpl< Writeback >::const_iterator > | writeback_const_range |
Public Member Functions | |
CallArgList ()=default | |
void | add (RValue rvalue, QualType type) |
void | addUncopiedAggregate (LValue LV, QualType type) |
void | addFrom (const CallArgList &other) |
Add all the arguments from another CallArgList to this one. | |
void | addWriteback (LValue srcLV, Address temporary, llvm::Value *toUse, const Expr *writebackExpr=nullptr) |
bool | hasWritebacks () const |
writeback_const_range | writebacks () const |
void | addArgCleanupDeactivation (EHScopeStack::stable_iterator Cleanup, llvm::Instruction *IsActiveIP) |
ArrayRef< CallArgCleanup > | getCleanupsToDeactivate () const |
void | allocateArgumentMemory (CodeGenFunction &CGF) |
llvm::Instruction * | getStackBase () const |
void | freeArgumentMemory (CodeGenFunction &CGF) const |
bool | isUsingInAlloca () const |
Returns if we're using an inalloca struct to pass arguments in memory. | |
void | reverseWritebacks () |
CallArgList - Type for representing both the value and type of arguments in a call.
typedef llvm::iterator_range<SmallVectorImpl<Writeback>::const_iterator> clang::CodeGen::CallArgList::writeback_const_range |
|
default |
Referenced by addFrom().
Definition at line 302 of file CGCall.h.
References clang::ast_matchers::type.
Referenced by clang::CodeGen::CGCXXABI::addImplicitConstructorArgs(), commonEmitCXXMemberOrOperatorCall(), clang::CodeGen::CodeGenFunction::EmitAtomicExpr(), clang::CodeGen::CodeGenFunction::EmitAtomicStore(), clang::CodeGen::CodeGenFunction::EmitBlockCallExpr(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), clang::CodeGen::CodeGenFunction::emitBuiltinOSLogFormat(), clang::CodeGen::CodeGenFunction::EmitCall(), clang::CodeGen::CodeGenFunction::EmitCallAndReturnForThunk(), clang::CodeGen::CodeGenFunction::EmitCallArg(), clang::CodeGen::CodeGenFunction::EmitCallArgs(), emitCPPObjectAtomicGetterCall(), emitCPPObjectAtomicSetterCall(), clang::CodeGen::CodeGenFunction::EmitCXXConstructorCall(), clang::CodeGen::CodeGenFunction::EmitCXXMemberPointerCallExpr(), clang::CodeGen::CodeGenFunction::EmitCXXNewExpr(), clang::CodeGen::CodeGenFunction::EmitDelegateCallArg(), clang::CodeGen::CodeGenFunction::EmitDelegateCXXConstructorCall(), clang::CodeGen::CodeGenFunction::EmitHLSLOutArgExpr(), clang::CodeGen::CodeGenFunction::EmitLambdaBlockInvokeBody(), clang::CodeGen::CodeGenFunction::EmitLambdaInAllocaCallOpBody(), clang::CodeGen::CodeGenFunction::EmitLambdaStaticInvokeBody(), clang::CodeGen::CodeGenFunction::EmitObjCBoxedExpr(), clang::CodeGen::CodeGenFunction::EmitObjCCollectionLiteral(), clang::CodeGen::CodeGenFunction::EmitObjCForCollectionStmt(), emitStructGetterCall(), emitStructSetterCall(), emitWritebackArg(), clang::CodeGen::CodeGenFunction::GenerateCode(), clang::CodeGen::CodeGenFunction::generateObjCGetterBody(), and clang::CodeGen::CodeGenFunction::generateObjCSetterBody().
|
inline |
Definition at line 335 of file CGCall.h.
References clang::CodeGen::CallArgList::CallArgCleanup::Cleanup, and clang::CodeGen::CallArgList::CallArgCleanup::IsActiveIP.
Referenced by clang::CodeGen::CodeGenFunction::EmitCallArg(), and clang::CodeGen::CodeGenFunction::EmitDelegateCallArg().
|
inline |
Add all the arguments from another CallArgList to this one.
After doing this, the old CallArgList retains its list of arguments, but must not be used to emit a call.
Definition at line 311 of file CGCall.h.
References CallArgList().
Referenced by commonEmitCXXMemberOrOperatorCall().
Definition at line 304 of file CGCall.h.
References clang::ast_matchers::type.
Referenced by clang::CodeGen::CodeGenFunction::EmitCallArg().
|
inline |
Definition at line 320 of file CGCall.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitHLSLOutArgExpr(), and emitWritebackArg().
void CallArgList::allocateArgumentMemory | ( | CodeGenFunction & | CGF | ) |
Definition at line 4570 of file CGCall.cpp.
References clang::CodeGen::CodeGenFunction::Builder.
Referenced by clang::CodeGen::CodeGenFunction::EmitCallArgs().
void CallArgList::freeArgumentMemory | ( | CodeGenFunction & | CGF | ) | const |
Definition at line 4577 of file CGCall.cpp.
References clang::CodeGen::CodeGenFunction::Builder.
Referenced by clang::CodeGen::CodeGenFunction::EmitCall().
|
inline |
Definition at line 343 of file CGCall.h.
Referenced by deactivateArgCleanupsBeforeCall(), and clang::CodeGen::CodeGenFunction::EmitCall().
|
inline |
Definition at line 348 of file CGCall.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCall().
|
inline |
Definition at line 326 of file CGCall.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCall().
|
inline |
Returns if we're using an inalloca struct to pass arguments in memory.
Definition at line 353 of file CGCall.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCallArg().
|
inline |
Definition at line 356 of file CGCall.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCallArgs(), and handleHlslSplitdouble().
|
inline |
Definition at line 331 of file CGCall.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitWritebacks().