Lines Matching refs:funcDecl
401 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
1725 bool invalidLoc = !funcDecl || in getOrCreateCIRFunction()
1726 funcDecl->getSourceRange().getBegin().isInvalid() || in getOrCreateCIRFunction()
1727 funcDecl->getSourceRange().getEnd().isInvalid(); in getOrCreateCIRFunction()
1729 invalidLoc ? theModule->getLoc() : getLoc(funcDecl->getSourceRange()), in getOrCreateCIRFunction()
1730 mangledName, mlir::cast<cir::FuncType>(funcType), funcDecl); in getOrCreateCIRFunction()
1792 const clang::FunctionDecl *funcDecl) { in createCIRFunction() argument