Home
last modified time | relevance | path

Searched refs:CGCallee (Results 1 – 21 of 21) sorted by relevance

/external/llvm-project/clang/lib/CodeGen/
DCGCall.h67 class CGCallee {
99 explicit CGCallee(SpecialKind kind) : KindOrFunctionPointer(kind) {} in CGCallee() function
101 CGCallee(const FunctionDecl *builtinDecl, unsigned builtinID) in CGCallee() function
108 CGCallee() : KindOrFunctionPointer(SpecialKind::Invalid) {} in CGCallee() function
112 CGCallee(const CGCalleeInfo &abstractInfo, llvm::Value *functionPtr) in CGCallee() function
120 static CGCallee forBuiltin(unsigned builtinID, in forBuiltin()
122 CGCallee result(SpecialKind::Builtin); in forBuiltin()
128 static CGCallee forPseudoDestructor(const CXXPseudoDestructorExpr *E) { in forPseudoDestructor()
129 CGCallee result(SpecialKind::PseudoDestructor); in forPseudoDestructor()
134 static CGCallee forDirect(llvm::Constant *functionPtr,
[all …]
DCGCXX.cpp247 static CGCallee BuildAppleKextVirtualCall(CodeGenFunction &CGF, in BuildAppleKextVirtualCall()
268 CGCallee Callee(GD, VFunc); in BuildAppleKextVirtualCall()
275 CGCallee
296 CGCallee
DCGExprCXX.cpp79 const CXXMethodDecl *MD, const CGCallee &Callee, in EmitCXXMemberOrOperatorCall()
94 GlobalDecl Dtor, const CGCallee &Callee, llvm::Value *This, QualType ThisTy, in EmitCXXDestructorCall()
192 CGCallee callee = in EmitCXXMemberCallExpr()
193 CGCallee::forDirect(CGM.GetAddrOfFunction(MD), GlobalDecl(MD)); in EmitCXXMemberCallExpr()
370 CGCallee Callee; in EmitCXXMemberOrOperatorMemberCallExpr()
375 CGCallee::forDirect(CGM.getAddrOfCXXStructor(GD, FInfo, Ty), GD); in EmitCXXMemberOrOperatorMemberCallExpr()
377 Callee = CGCallee::forDirect(CGM.GetAddrOfFunction(GD, Ty), GD); in EmitCXXMemberOrOperatorMemberCallExpr()
392 CGCallee Callee; in EmitCXXMemberOrOperatorMemberCallExpr()
394 Callee = CGCallee::forVirtual(CE, MD, This.getAddress(*this), Ty); in EmitCXXMemberOrOperatorMemberCallExpr()
409 CGCallee::forDirect(CGM.GetAddrOfFunction(MD, Ty), GlobalDecl(MD)); in EmitCXXMemberOrOperatorMemberCallExpr()
[all …]
DCGCXXABI.h38 class CGCallee; variable
157 virtual CGCallee EmitLoadOfMemberFunctionPointer(
448 virtual CGCallee getVirtualFunctionPointer(CodeGenFunction &CGF,
DCGCXXABI.cpp41 CGCallee CGCXXABI::EmitLoadOfMemberFunctionPointer( in EmitLoadOfMemberFunctionPointer()
55 return CGCallee::forDirect(FnPtr, FPT); in EmitLoadOfMemberFunctionPointer()
DCGObjC.cpp838 CGCallee callee = CGCallee::forDirect(fn); in emitStructGetterCall()
1103 CGCallee callee = CGCallee::forDirect(copyCppAtomicObjectFn); in emitCPPObjectAtomicGetterCall()
1184 CGCallee callee = CGCallee::forDirect(getPropertyFn); in generateObjCGetterBody()
1323 CGCallee callee = CGCallee::forDirect(fn); in emitStructSetterCall()
1361 CGCallee callee = CGCallee::forDirect(fn); in emitCPPObjectAtomicSetterCall()
1491 CGCallee callee = CGCallee::forDirect(setOptimizedPropertyFn); in generateObjCSetterBody()
1503 CGCallee callee = CGCallee::forDirect(setPropertyFn); in generateObjCSetterBody()
1713 CGCallee EnumerationMutationFn = in EmitObjCForCollectionStmt()
1714 CGCallee::forDirect(EnumerationMutationFnPtr); in EmitObjCForCollectionStmt()
DMicrosoftCXXABI.cpp303 CGCallee getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD,
684 CGCallee
1616 CGCallee Callee = CGCallee::forDirect(CGM.getAddrOfCXXStructor(GD), GD); in EmitDestructorCall()
1904 CGCallee MicrosoftCXXABI::getVirtualFunctionPointer(CodeGenFunction &CGF, in getVirtualFunctionPointer()
1947 CGCallee Callee(GD, VFunc); in getVirtualFunctionPointer()
1966 CGCallee Callee = CGCallee::forVirtual(CE, GD, This, Ty); in EmitVirtualDestructorCall()
3384 CGCallee MicrosoftCXXABI::EmitLoadOfMemberFunctionPointer( in EmitLoadOfMemberFunctionPointer()
3433 CGCallee Callee(FPT, FunctionPointer); in EmitLoadOfMemberFunctionPointer()
4046 CGCallee Callee = in getAddrOfCXXCtorClosure()
4047 CGCallee::forDirect(CalleePtr, GlobalDecl(CD, Ctor_Complete)); in getAddrOfCXXCtorClosure()
DItaniumCXXABI.cpp120 CGCallee
271 CGCallee getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD,
619 CGCallee ItaniumCXXABI::EmitLoadOfMemberFunctionPointer( in EmitLoadOfMemberFunctionPointer()
841 CGCallee Callee(FPT, CalleePtr); in EmitLoadOfMemberFunctionPointer()
1720 CGCallee Callee; in EmitDestructorCall()
1725 Callee = CGCallee::forDirect(CGM.getAddrOfCXXStructor(GD), GD); in EmitDestructorCall()
1878 CGCallee ItaniumCXXABI::getVirtualFunctionPointer(CodeGenFunction &CGF, in getVirtualFunctionPointer()
1930 CGCallee Callee(GD, VFunc); in getVirtualFunctionPointer()
1947 CGCallee Callee = CGCallee::forVirtual(CE, GD, This, Ty); in EmitVirtualDestructorCall()
DCodeGenFunction.h92 class CGCallee; variable
3875 RValue EmitCall(const CGFunctionInfo &CallInfo, const CGCallee &Callee,
3878 RValue EmitCall(const CGFunctionInfo &CallInfo, const CGCallee &Callee,
3884 RValue EmitCall(QualType FnType, const CGCallee &Callee, const CallExpr *E,
3889 CGCallee EmitCallee(const Expr *E);
3919 CGCallee BuildAppleKextVirtualCall(const CXXMethodDecl *MD,
3923 CGCallee BuildAppleKextVirtualDestructorCall(const CXXDestructorDecl *DD,
3952 const CGCallee &Callee,
3957 RValue EmitCXXDestructorCall(GlobalDecl Dtor, const CGCallee &Callee,
DCGExpr.cpp4844 CGCallee callee = EmitCallee(E->getCallee()); in EmitCallExpr()
4861 CGCallee Callee = EmitCallee(E->getCallee()); in EmitSimpleCallExpr()
4865 static CGCallee EmitDirectCallee(CodeGenFunction &CGF, GlobalDecl GD) { in EmitDirectCallee()
4875 return CGCallee::forBuiltin(builtinID, FD); in EmitDirectCallee()
4879 return CGCallee::forDirect(calleePtr, GD); in EmitDirectCallee()
4882 CGCallee CodeGenFunction::EmitCallee(const Expr *E) { in EmitCallee()
4909 return CGCallee::forPseudoDestructor(PDE); in EmitCallee()
4930 CGCallee callee(calleeInfo, calleePtr); in EmitCallee()
5102 RValue CodeGenFunction::EmitCall(QualType CalleeType, const CGCallee &OrigCallee, in EmitCall()
5117 CGCallee Callee = OrigCallee; in EmitCall()
DCGExprComplex.cpp657 CGCallee Callee = CGCallee::forDirect(Func, FQTy->getAs<FunctionProtoType>()); in EmitComplexBinOpLibCall()
DCGClass.cpp2184 CGCallee Callee = CGCallee::forDirect(CalleePtr, GlobalDecl(D, Type)); in EmitCXXConstructorCall()
2893 auto callee = CGCallee::forDirect(calleePtr, GlobalDecl(callOperator)); in EmitForwardingCallToLambda()
DCGVTables.cpp373 RValue RV = EmitCall(*CurFnInfo, CGCallee::forDirect(Callee, CurGD), Slot, in EmitCallAndReturnForThunk()
DCGCall.cpp4302 const CGCallee &Callee, in EmitCall()
4750 const CGCallee &ConcreteCallee = Callee.prepareConcreteCallee(*this); in EmitCall()
5184 CGCallee CGCallee::prepareConcreteCallee(CodeGenFunction &CGF) const { in prepareConcreteCallee()
DCGException.cpp1674 auto Callee = CGCallee::forDirect(OutlinedFinally); in Emit()
DCGObjCGNU.cpp2616 CGCallee callee(CGCalleeInfo(), imp); in GenerateMessageSendSuper()
2736 CGCallee callee(CGCalleeInfo(), imp); in GenerateMessageSend()
DCGDecl.cpp603 auto Callee = CGCallee::forDirect(CleanupFn); in Emit()
DCGAtomic.cpp318 auto callee = CGCallee::forDirect(fn); in emitAtomicLibcall()
DCGObjCMac.cpp2257 CGCallee Callee = CGCallee::forDirect(BitcastFn); in EmitMessageSend()
7373 CGCallee callee(CGCalleeInfo(), calleePtr); in EmitVTableMessageSend()
DCGBlocks.cpp1236 CGCallee Callee(CGCalleeInfo(), Func); in EmitBlockCallExpr()
DCGBuiltin.cpp614 CGCallee callee = CGCallee::forDirect(calleeValue, GlobalDecl(FD)); in emitLibraryCall()
1831 EmitCall(FI, CGCallee::forDirect(F), ReturnValueSlot(), Args); in emitBuiltinOSLogFormat()
3605 return EmitCall(FuncInfo, CGCallee::forDirect(Func), in EmitBuiltinExpr()