Lines Matching refs:FuncOp

404   cir::FuncOp funcOp = dyn_cast_if_present<cir::FuncOp>(op);  in emitGlobalFunctionDefinition()
882 auto funcOp = cast<cir::FuncOp>(op); in maybeSetTrivialComdat()
896 void CIRGenModule::replacePointerTypeArgs(cir::FuncOp oldF, cir::FuncOp newF) { in replacePointerTypeArgs()
928 assert(isa<cir::FuncOp>(entry) && "expected function"); in applyReplacements()
929 auto oldF = cast<cir::FuncOp>(entry); in applyReplacements()
930 auto newF = dyn_cast<cir::FuncOp>(replacement); in applyReplacements()
1301 std::pair<cir::FuncType, cir::FuncOp> CIRGenModule::getAddrAndTypeOfCXXStructor( in getAddrAndTypeOfCXXStructor()
1329 cir::FuncOp CIRGenModule::getAddrOfFunction(clang::GlobalDecl gd, in getAddrOfFunction()
1353 cir::FuncOp func = in getAddrOfFunction()
1571 if (!(isa<cir::FuncOp>(gv) && gv.canBenefitFromLocalAlias())) in shouldAssumeDSOLocal()
1608 if (isa<cir::FuncOp>(gv) && !cgOpts.NoPLT && rm == llvm::Reloc::Static) in shouldAssumeDSOLocal()
1647 cir::FuncOp func, in setFunctionAttributes()
1667 cir::FuncOp CIRGenModule::getOrCreateCIRFunction( in getOrCreateCIRFunction()
1695 if (!isa<cir::FuncOp>(entry)) in getOrCreateCIRFunction()
1708 auto fn = cast<cir::FuncOp>(entry); in getOrCreateCIRFunction()
1728 cir::FuncOp funcOp = createCIRFunction( in getOrCreateCIRFunction()
1789 cir::FuncOp
1793 cir::FuncOp func; in createCIRFunction()
1805 func = builder.create<cir::FuncOp>(loc, name, funcType); in createCIRFunction()
1886 cir::FuncOp aliasee, in emitAliasForGlobal()
1899 cir::FuncOp alias = in emitAliasForGlobal()