Home
last modified time | relevance | path

Searched refs:funcDecl (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenFunction.cpp438 const auto funcDecl = cast<FunctionDecl>(gd.getDecl()); in generateCode() local
441 SourceLocation loc = funcDecl->getLocation(); in generateCode()
442 Stmt *body = funcDecl->getBody(); in generateCode()
444 body ? body->getSourceRange() : funcDecl->getLocation(); in generateCode()
465 if (isa<CXXDestructorDecl>(funcDecl)) { in generateCode()
467 } else if (isa<CXXConstructorDecl>(funcDecl)) { in generateCode()
470 funcDecl->hasAttr<CUDAGlobalAttr>()) { in generateCode()
472 } else if (isa<CXXMethodDecl>(funcDecl) && in generateCode()
473 cast<CXXMethodDecl>(funcDecl)->isLambdaStaticInvoker()) { in generateCode()
475 } else if (funcDecl->isDefaulted() && isa<CXXMethodDecl>(funcDecl) && in generateCode()
[all …]
H A DCIRGenModule.cpp401 auto const *funcDecl = cast<FunctionDecl>(gd.getDecl()); in emitGlobalFunctionDefinition() local
415 setGVProperties(funcOp, funcDecl); in emitGlobalFunctionDefinition()
417 maybeSetTrivialComdat(*funcDecl, funcOp); in emitGlobalFunctionDefinition()
431 if (funcDecl->getAttr<ConstructorAttr>()) in emitGlobalFunctionDefinition()
432 errorNYI(funcDecl->getSourceRange(), "constructor attribute"); in emitGlobalFunctionDefinition()
433 if (funcDecl->getAttr<DestructorAttr>()) in emitGlobalFunctionDefinition()
434 errorNYI(funcDecl->getSourceRange(), "destructor attribute"); in emitGlobalFunctionDefinition()
436 if (funcDecl->getAttr<AnnotateAttr>()) in emitGlobalFunctionDefinition()
437 errorNYI(funcDecl->getSourceRange(), "deferredAnnotations"); in emitGlobalFunctionDefinition()
1724 auto *funcDecl = llvm::cast_or_null<FunctionDecl>(gd.getDecl()); in getOrCreateCIRFunction() local
[all …]
H A DCIRGenModule.h320 const clang::FunctionDecl *funcDecl);
H A DCIRGenExpr.cpp1266 const auto *funcDecl = cast<FunctionDecl>(declRef->getDecl()); in emitCallee() local
1267 return emitDirectCallee(funcDecl); in emitCallee()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmTypeCheck.h91 void funcDecl(const wasm::WasmSignature &Sig);
H A DWebAssemblyAsmTypeCheck.cpp51 void WebAssemblyAsmTypeCheck::funcDecl(const wasm::WasmSignature &Sig) { in funcDecl() function in llvm::WebAssemblyAsmTypeCheck
H A DWebAssemblyAsmParser.cpp1027 TC.funcDecl(*Signature); in parseDirective()