Lines Matching refs:CurFn

105   if (getLangOpts().OpenMP && CurFn)  in ~CodeGenFunction()
293 return CGF.CurFn->getBasicBlockList().push_back(BB); in EmitIfUsed()
346 CurFn->addFnAttr("instrument-function-exit", "__cyg_profile_func_exit"); in FinishFunction()
348 CurFn->addFnAttr("instrument-function-exit-inlined", in FinishFunction()
354 DI->EmitFunctionEnd(Builder, CurFn); in FinishFunction()
427 llvm::DominatorTree DT(*CurFn); in FinishFunction()
434 for (llvm::Argument &A : CurFn->args()) in FinishFunction()
440 if (auto *VT = dyn_cast<llvm::VectorType>(CurFn->getReturnType())) in FinishFunction()
451 CurFn->addFnAttr("min-legal-vector-width", llvm::utostr(LargestVectorWidth)); in FinishFunction()
833 assert(!CurFn && in StartFunction()
845 CurFn = Fn; in StartFunction()
847 assert(CurFn->isDeclaration() && "Function already has body?"); in StartFunction()
1004 llvm::BasicBlock *EntryBB = createBasicBlock("entry", CurFn); in StartFunction()
1037 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, CurFuncIsThunk, in StartFunction()
1043 CurFn->addFnAttr("instrument-function-entry", "__cyg_profile_func_enter"); in StartFunction()
1045 CurFn->addFnAttr("instrument-function-entry-inlined", in StartFunction()
1048 CurFn->addFnAttr("instrument-function-entry-inlined", in StartFunction()
1079 auto AI = CurFn->arg_begin(); in StartFunction()
1087 llvm::Function::arg_iterator EI = CurFn->arg_end(); in StartFunction()
1112 EmitFunctionProlog(*CurFnInfo, CurFn, Args); in StartFunction()
1352 PGO.assignRegionCounters(GD, CurFn); in GenerateCode()
1409 if (!CurFn->doesNotThrow()) in GenerateCode()
1410 TryMarkNoThrow(CurFn); in GenerateCode()
1866 return llvm::BlockAddress::get(CurFn, BB); in GetAddrOfLabel()