Lines Matching refs:IsCS

395 static GlobalVariable *createIRLevelProfileFlagVar(Module &M, bool IsCS) {  in createIRLevelProfileFlagVar()  argument
399 if (IsCS) in createIRLevelProfileFlagVar()
531 bool IsCS; member in __anon0925556b0111::FuncPGOInstrumentation
589 BlockFrequencyInfo *BFI = nullptr, bool IsCS = false, in FuncPGOInstrumentation() argument
591 : F(Func), IsCS(IsCS), ComdatMembers(ComdatMembers), VPC(Func, TLI), in FuncPGOInstrumentation()
601 if (!IsCS) { in FuncPGOInstrumentation()
624 IsCS ? NumOfCSPGOEdge++ : NumOfPGOEdge++; in FuncPGOInstrumentation()
626 IsCS ? NumOfCSPGOInstrument++ : NumOfPGOInstrument++; in FuncPGOInstrumentation()
677 if (IsCS) in computeCFGHash()
822 IsCS ? NumOfCSPGOSplit++ : NumOfPGOSplit++; in getInstrBB()
875 bool IsCS) { in instrumentOneFunc() argument
883 F, TLI, ComdatMembers, true, BPI, BFI, IsCS, shouldInstrumentEntryBB(), in instrumentOneFunc()
1094 ProfileSummaryInfo *PSI, bool IsCS, bool InstrumentFuncEntry, in PGOUseFunc() argument
1097 FuncInfo(Func, TLI, ComdatMembers, false, BPI, BFIin, IsCS, in PGOUseFunc()
1099 FreqAttr(FFA_Normal), IsCS(IsCS), VPC(Func, TLI) {} in PGOUseFunc()
1179 bool IsCS; member in __anon0925556b0811::PGOUseFunc
1336 IsCS ? NumOfCSPGOMissing++ : NumOfPGOMissing++; in handleInstrProfError()
1341 IsCS ? NumOfCSPGOMismatch++ : NumOfPGOMismatch++; in handleInstrProfError()
1353 LLVM_DEBUG(dbgs() << " IsCS=" << IsCS << "\n"); in handleInstrProfError()
1389 IsCS ? NumOfCSPGOFunc++ : NumOfPGOFunc++; in readCounters()
1415 ProgramMaxCount = PGOReader->getMaximumFunctionCount(IsCS); in readCounters()
1428 IsCS ? NumOfCSPGOFunc++ : NumOfPGOFunc++; in populateCoverage()
1613 << " IsCS=" << IsCS << "\n"); in setBranchWeights()
1867 function_ref<BlockFrequencyInfo *(Function &)> LookupBFI, bool IsCS) { in InstrumentAllFunctions() argument
1870 if (!IsCS && !PGOCtxProfLoweringPass::isContextualIRPGOEnabled()) in InstrumentAllFunctions()
1890 instrumentOneFunc(F, &M, TLI, BPI, BFI, ComdatMembers, IsCS); in InstrumentAllFunctions()
1922 if (!InstrumentAllFunctions(M, LookupTLI, LookupBPI, LookupBFI, IsCS)) in run()
2056 ProfileSummaryInfo *PSI, bool IsCS) { in annotateAllFunctions() argument
2077 if (!PGOReader->hasCSIRLevelProfile() && IsCS) in annotateAllFunctions()
2106 M.setProfileSummary(PGOReader->getSummary(IsCS).getMD(M.getContext()), in annotateAllFunctions()
2107 IsCS ? ProfileSummary::PSK_CSInstr in annotateAllFunctions()
2136 PGOUseFunc Func(F, &M, TLI, ComdatMembers, BPI, BFI, PSI, IsCS, in annotateAllFunctions()
2250 std::string Filename, std::string RemappingFilename, bool IsCS, in PGOInstrumentationUse() argument
2253 ProfileRemappingFileName(std::move(RemappingFilename)), IsCS(IsCS), in PGOInstrumentationUse()
2279 LookupTLI, LookupBPI, LookupBFI, PSI, IsCS)) in run()