Lines Matching refs:IsCS

373 static GlobalVariable *createIRLevelProfileFlagVar(Module &M, bool IsCS) {  in createIRLevelProfileFlagVar()  argument
377 if (IsCS) in createIRLevelProfileFlagVar()
509 bool IsCS; member in __anon638843e10111::FuncPGOInstrumentation
567 BlockFrequencyInfo *BFI = nullptr, bool IsCS = false, in FuncPGOInstrumentation() argument
569 : F(Func), IsCS(IsCS), ComdatMembers(ComdatMembers), VPC(Func, TLI), in FuncPGOInstrumentation()
579 if (!IsCS) { in FuncPGOInstrumentation()
600 IsCS ? NumOfCSPGOEdge++ : NumOfPGOEdge++; in FuncPGOInstrumentation()
602 IsCS ? NumOfCSPGOInstrument++ : NumOfPGOInstrument++; in FuncPGOInstrumentation()
653 if (IsCS) in computeCFGHash()
798 IsCS ? NumOfCSPGOSplit++ : NumOfPGOSplit++; in getInstrBB()
851 bool IsCS) { in instrumentOneFunc() argument
859 F, TLI, ComdatMembers, true, BPI, BFI, IsCS, PGOInstrumentEntry, in instrumentOneFunc()
1042 ProfileSummaryInfo *PSI, bool IsCS, bool InstrumentFuncEntry, in PGOUseFunc() argument
1045 FuncInfo(Func, TLI, ComdatMembers, false, BPI, BFIin, IsCS, in PGOUseFunc()
1047 FreqAttr(FFA_Normal), IsCS(IsCS) {} in PGOUseFunc()
1127 bool IsCS; member in __anon638843e10511::PGOUseFunc
1282 IsCS ? NumOfCSPGOMissing++ : NumOfPGOMissing++; in handleInstrProfError()
1287 IsCS ? NumOfCSPGOMismatch++ : NumOfPGOMismatch++; in handleInstrProfError()
1299 LLVM_DEBUG(dbgs() << " IsCS=" << IsCS << "\n"); in handleInstrProfError()
1335 IsCS ? NumOfCSPGOFunc++ : NumOfPGOFunc++; in readCounters()
1361 ProgramMaxCount = PGOReader->getMaximumFunctionCount(IsCS); in readCounters()
1559 << " IsCS=" << IsCS << "\n"); in setBranchWeights()
1784 function_ref<BlockFrequencyInfo *(Function &)> LookupBFI, bool IsCS) { in InstrumentAllFunctions() argument
1787 if (!IsCS) in InstrumentAllFunctions()
1798 instrumentOneFunc(F, &M, TLI, BPI, BFI, ComdatMembers, IsCS); in InstrumentAllFunctions()
1828 if (!InstrumentAllFunctions(M, LookupTLI, LookupBPI, LookupBFI, IsCS)) in run()
1963 ProfileSummaryInfo *PSI, bool IsCS) { in annotateAllFunctions() argument
1984 if (!PGOReader->hasCSIRLevelProfile() && IsCS) in annotateAllFunctions()
2003 M.setProfileSummary(PGOReader->getSummary(IsCS).getMD(M.getContext()), in annotateAllFunctions()
2004 IsCS ? ProfileSummary::PSK_CSInstr in annotateAllFunctions()
2031 PGOUseFunc Func(F, &M, TLI, ComdatMembers, BPI, BFI, PSI, IsCS, in annotateAllFunctions()
2145 std::string Filename, std::string RemappingFilename, bool IsCS, in PGOInstrumentationUse() argument
2148 ProfileRemappingFileName(std::move(RemappingFilename)), IsCS(IsCS), in PGOInstrumentationUse()
2175 LookupTLI, LookupBPI, LookupBFI, PSI, IsCS)) in run()