Lines Matching defs:IsCS

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