Lines Matching defs:CGCallee
63 class CGCallee {
99 explicit CGCallee(SpecialKind kind) : KindOrFunctionPointer(kind) {}
101 CGCallee(const FunctionDecl *builtinDecl, unsigned builtinID)
108 CGCallee() : KindOrFunctionPointer(SpecialKind::Invalid) {}
112 CGCallee(const CGCalleeInfo &abstractInfo, llvm::Value *functionPtr,
123 static CGCallee forBuiltin(unsigned builtinID,
125 CGCallee result(SpecialKind::Builtin);
131 static CGCallee forPseudoDestructor(const CXXPseudoDestructorExpr *E) {
132 CGCallee result(SpecialKind::PseudoDestructor);
137 static CGCallee forDirect(llvm::Constant *functionPtr,
139 return CGCallee(abstractInfo, functionPtr);
142 static CGCallee forDirect(llvm::FunctionCallee functionPtr,
144 return CGCallee(abstractInfo, functionPtr.getCallee());
147 static CGCallee forVirtual(const CallExpr *CE, GlobalDecl MD, Address Addr,
149 CGCallee result(SpecialKind::Virtual);
226 CGCallee prepareConcreteCallee(CodeGenFunction &CGF) const;