Lines Matching refs:IsCS
350 static GlobalVariable *createIRLevelProfileFlagVar(Module &M, bool IsCS) { in createIRLevelProfileFlagVar() argument
354 if (IsCS) in createIRLevelProfileFlagVar()
491 bool IsCS; member in __anoncdb75a9b0211::FuncPGOInstrumentation
537 BlockFrequencyInfo *BFI = nullptr, bool IsCS = false, in FuncPGOInstrumentation() argument
539 : F(Func), IsCS(IsCS), ComdatMembers(ComdatMembers), VPC(Func, TLI), in FuncPGOInstrumentation()
545 if (!IsCS) { in FuncPGOInstrumentation()
565 IsCS ? NumOfCSPGOEdge++ : NumOfPGOEdge++; in FuncPGOInstrumentation()
567 IsCS ? NumOfCSPGOInstrument++ : NumOfPGOInstrument++; in FuncPGOInstrumentation()
625 if (IsCS) in computeCFGHash()
777 IsCS ? NumOfCSPGOSplit++ : NumOfPGOSplit++; in getInstrBB()
830 bool IsCS) { in instrumentOneFunc() argument
836 F, TLI, ComdatMembers, true, BPI, BFI, IsCS, PGOInstrumentEntry); in instrumentOneFunc()
1009 ProfileSummaryInfo *PSI, bool IsCS, bool InstrumentFuncEntry) in PGOUseFunc() argument
1011 FuncInfo(Func, TLI, ComdatMembers, false, BPI, BFIin, IsCS, in PGOUseFunc()
1013 FreqAttr(FFA_Normal), IsCS(IsCS) {} in PGOUseFunc()
1089 bool IsCS; member in __anoncdb75a9b0611::PGOUseFunc
1235 IsCS ? NumOfCSPGOMissing++ : NumOfPGOMissing++; in readCounters()
1240 IsCS ? NumOfCSPGOMismatch++ : NumOfPGOMismatch++; in readCounters()
1252 LLVM_DEBUG(dbgs() << " IsCS=" << IsCS << "\n"); in readCounters()
1270 IsCS ? NumOfCSPGOFunc++ : NumOfPGOFunc++; in readCounters()
1297 ProgramMaxCount = PGOReader->getMaximumFunctionCount(IsCS); in readCounters()
1388 << " IsCS=" << IsCS << "\n"); in setBranchWeights()
1563 function_ref<BlockFrequencyInfo *(Function &)> LookupBFI, bool IsCS) { in InstrumentAllFunctions() argument
1566 if (!IsCS) in InstrumentAllFunctions()
1579 instrumentOneFunc(F, &M, TLI, BPI, BFI, ComdatMembers, IsCS); in InstrumentAllFunctions()
1606 if (!InstrumentAllFunctions(M, LookupTLI, LookupBPI, LookupBFI, IsCS)) in run()
1740 ProfileSummaryInfo *PSI, bool IsCS) { in annotateAllFunctions() argument
1761 if (!PGOReader->hasCSIRLevelProfile() && IsCS) in annotateAllFunctions()
1786 M.setProfileSummary(PGOReader->getSummary(IsCS).getMD(M.getContext()), in annotateAllFunctions()
1787 IsCS ? ProfileSummary::PSK_CSInstr in annotateAllFunctions()
1810 PGOUseFunc Func(F, &M, TLI, ComdatMembers, BPI, BFI, PSI, IsCS, in annotateAllFunctions()
1921 bool IsCS) in PGOInstrumentationUse() argument
1923 ProfileRemappingFileName(std::move(RemappingFilename)), IsCS(IsCS) { in PGOInstrumentationUse()
1947 LookupTLI, LookupBPI, LookupBFI, PSI, IsCS)) in run()