Lines Matching refs:CGCallee
67 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,
136 return CGCallee(abstractInfo, functionPtr);
139 static CGCallee forDirect(llvm::FunctionCallee functionPtr,
141 return CGCallee(abstractInfo, functionPtr.getCallee());
144 static CGCallee forVirtual(const CallExpr *CE, GlobalDecl MD, Address Addr, in forVirtual()
146 CGCallee result(SpecialKind::Virtual); in forVirtual()
214 CGCallee prepareConcreteCallee(CodeGenFunction &CGF) const;