Home
last modified time | relevance | path

Searched refs:ToFunc (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DGlobalMergeFunctions.cpp248 Function *ToFunc) { in createThunk() argument
252 ToFunc->getFunctionType()->getNumParams()); in createThunk()
260 FunctionType *ToFuncTy = ToFunc->getFunctionType(); in createThunk()
277 CallInst *CI = Builder.CreateCall(ToFunc, Args); in createThunk()
278 bool isSwiftTailCall = ToFunc->getCallingConv() == CallingConv::SwiftTail && in createThunk()
282 CI->setCallingConv(ToFunc->getCallingConv()); in createThunk()
283 CI->setAttributes(ToFunc->getAttributes()); in createThunk()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExceptionSpec.cpp912 const FunctionProtoType *ToFunc = GetUnderlyingFunction(ToType); in CheckExceptionSpecCompatibility() local
913 if (!ToFunc || ToFunc->hasDependentExceptionSpec()) in CheckExceptionSpecCompatibility()
944 PDiag(), ToFunc, 0, in CheckExceptionSpecCompatibility()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp6981 FunctionTemplateDecl *ToFunc; in VisitFunctionTemplateDecl() local
6982 if (GetImportedOrCreateDecl(ToFunc, D, Importer.getToContext(), DC, Loc, Name, in VisitFunctionTemplateDecl()
6984 return ToFunc; in VisitFunctionTemplateDecl()
6994 TemplatedFD->setDescribedFunctionTemplate(ToFunc); in VisitFunctionTemplateDecl()
6996 ToFunc->setAccess(D->getAccess()); in VisitFunctionTemplateDecl()
6997 ToFunc->setLexicalDeclContext(LexicalDC); in VisitFunctionTemplateDecl()
6998 addDeclToContexts(D, ToFunc); in VisitFunctionTemplateDecl()
7017 ToFunc->setPreviousDecl(Recent); in VisitFunctionTemplateDecl()
7020 return ToFunc; in VisitFunctionTemplateDecl()