Lines Matching refs:IsCS

402   PGOInstrumentationGenLegacyPass(bool IsCS = false)  in PGOInstrumentationGenLegacyPass()  argument
403 : ModulePass(ID), IsCS(IsCS) { in PGOInstrumentationGenLegacyPass()
412 bool IsCS; member in __anona0b2eb9f0111::PGOInstrumentationGenLegacyPass
426 PGOInstrumentationUseLegacyPass(std::string Filename = "", bool IsCS = false) in PGOInstrumentationUseLegacyPass() argument
427 : ModulePass(ID), ProfileFileName(std::move(Filename)), IsCS(IsCS) { in PGOInstrumentationUseLegacyPass()
439 bool IsCS; member in __anona0b2eb9f0111::PGOInstrumentationUseLegacyPass
483 ModulePass *llvm::createPGOInstrumentationGenLegacyPass(bool IsCS) { in INITIALIZE_PASS_DEPENDENCY()
484 return new PGOInstrumentationGenLegacyPass(IsCS); in INITIALIZE_PASS_DEPENDENCY()
498 bool IsCS) { in INITIALIZE_PASS_DEPENDENCY()
499 return new PGOInstrumentationUseLegacyPass(Filename.str(), IsCS); in INITIALIZE_PASS_DEPENDENCY()
566 bool IsCS; member in __anona0b2eb9f0211::FuncPGOInstrumentation
612 BlockFrequencyInfo *BFI = nullptr, bool IsCS = false, in FuncPGOInstrumentation() argument
614 : F(Func), IsCS(IsCS), ComdatMembers(ComdatMembers), VPC(Func, TLI), in FuncPGOInstrumentation()
620 if (!IsCS) { in FuncPGOInstrumentation()
640 IsCS ? NumOfCSPGOEdge++ : NumOfPGOEdge++; in FuncPGOInstrumentation()
642 IsCS ? NumOfCSPGOInstrument++ : NumOfPGOInstrument++; in FuncPGOInstrumentation()
700 if (IsCS) in computeCFGHash()
848 IsCS ? NumOfCSPGOSplit++ : NumOfPGOSplit++; in getInstrBB()
898 bool IsCS) { in instrumentOneFunc() argument
904 F, TLI, ComdatMembers, true, BPI, BFI, IsCS, PGOInstrumentEntry); in instrumentOneFunc()
1062 ProfileSummaryInfo *PSI, bool IsCS, bool InstrumentFuncEntry) in PGOUseFunc() argument
1064 FuncInfo(Func, TLI, ComdatMembers, false, BPI, BFIin, IsCS, in PGOUseFunc()
1066 FreqAttr(FFA_Normal), IsCS(IsCS) {} in PGOUseFunc()
1142 bool IsCS; member in __anona0b2eb9f0611::PGOUseFunc
1287 IsCS ? NumOfCSPGOMissing++ : NumOfPGOMissing++; in readCounters()
1292 IsCS ? NumOfCSPGOMismatch++ : NumOfPGOMismatch++; in readCounters()
1303 LLVM_DEBUG(dbgs() << " IsCS=" << IsCS << "\n"); in readCounters()
1319 IsCS ? NumOfCSPGOFunc++ : NumOfPGOFunc++; in readCounters()
1346 ProgramMaxCount = PGOReader->getMaximumFunctionCount(IsCS); in readCounters()
1436 << " IsCS=" << IsCS << "\n"); in setBranchWeights()
1609 function_ref<BlockFrequencyInfo *(Function &)> LookupBFI, bool IsCS) { in InstrumentAllFunctions() argument
1612 if (!IsCS) in InstrumentAllFunctions()
1625 instrumentOneFunc(F, &M, TLI, BPI, BFI, ComdatMembers, IsCS); in InstrumentAllFunctions()
1650 return InstrumentAllFunctions(M, LookupTLI, LookupBPI, LookupBFI, IsCS); in runOnModule()
1666 if (!InstrumentAllFunctions(M, LookupTLI, LookupBPI, LookupBFI, IsCS)) in run()
1800 ProfileSummaryInfo *PSI, bool IsCS) { in annotateAllFunctions() argument
1821 if (!PGOReader->hasCSIRLevelProfile() && IsCS) in annotateAllFunctions()
1834 M.setProfileSummary(PGOReader->getSummary(IsCS).getMD(M.getContext()), in annotateAllFunctions()
1835 IsCS ? ProfileSummary::PSK_CSInstr in annotateAllFunctions()
1858 PGOUseFunc Func(F, &M, TLI, ComdatMembers, BPI, BFI, PSI, IsCS, in annotateAllFunctions()
1969 bool IsCS) in PGOInstrumentationUse() argument
1971 ProfileRemappingFileName(std::move(RemappingFilename)), IsCS(IsCS) { in PGOInstrumentationUse()
1995 LookupTLI, LookupBPI, LookupBFI, PSI, IsCS)) in run()
2017 LookupBFI, PSI, IsCS); in runOnModule()