Home
last modified time | relevance | path

Searched refs:IsCS (Results 1 – 16 of 16) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DPGOInstrumentation.h49 PGOInstrumentationGen(bool IsCS = false) : IsCS(IsCS) {} in IsCS() argument
54 bool IsCS;
61 std::string RemappingFilename = "", bool IsCS = false);
69 bool IsCS; variable
H A DInstrProfiling.h37 InstrProfiling() : IsCS(false) {} in InstrProfiling()
38 InstrProfiling(const InstrProfOptions &Options, bool IsCS = false)
39 : Options(Options), IsCS(IsCS) {} in Options()
67 bool IsCS; variable
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp403 : ModulePass(ID), IsCS(IsCS) { in PGOInstrumentationGenLegacyPass()
412 bool IsCS; member in __anona0b2eb9f0111::PGOInstrumentationGenLegacyPass
427 : ModulePass(ID), ProfileFileName(std::move(Filename)), IsCS(IsCS) { in PGOInstrumentationUseLegacyPass()
439 bool IsCS; member in __anona0b2eb9f0111::PGOInstrumentationUseLegacyPass
566 bool IsCS; member in __anona0b2eb9f0211::FuncPGOInstrumentation
620 if (!IsCS) { in FuncPGOInstrumentation()
700 if (IsCS) in computeCFGHash()
898 bool IsCS) { in instrumentOneFunc() argument
1066 FreqAttr(FFA_Normal), IsCS(IsCS) {} in PGOUseFunc()
1142 bool IsCS; member in __anona0b2eb9f0611::PGOUseFunc
[all …]
H A DInstrProfiling.cpp149 InstrProfilingLegacyPass(const InstrProfOptions &Options, bool IsCS = false) in InstrProfilingLegacyPass() argument
150 : ModulePass(ID), InstrProf(Options, IsCS) { in InstrProfilingLegacyPass()
434 bool IsCS) { in INITIALIZE_PASS_DEPENDENCY()
435 return new InstrProfilingLegacyPass(Options, IsCS); in INITIALIZE_PASS_DEPENDENCY()
1167 if (!IsCS) in emitInitialization()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/
H A DInstrumentation.h83 ModulePass *createPGOInstrumentationGenLegacyPass(bool IsCS = false);
86 bool IsCS = false);
143 const InstrProfOptions &Options = InstrProfOptions(), bool IsCS = false);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPassManagerBuilder.cpp341 bool IsCS = false) { in addPGOInstrPasses() argument
342 if (IsCS) { in addPGOInstrPasses()
350 if (OptLevel > 0 && !DisablePreInliner && PGOSampleUse.empty() && !IsCS) { in addPGOInstrPasses()
372 if ((EnablePGOInstrGen && !IsCS) || (EnablePGOCSInstrGen && IsCS)) { in addPGOInstrPasses()
373 MPM.add(createPGOInstrumentationGenLegacyPass(IsCS)); in addPGOInstrPasses()
379 Options.UseBFIInPromotion = IsCS; in addPGOInstrPasses()
381 MPM.add(createInstrProfilingLegacyPass(Options, IsCS)); in addPGOInstrPasses()
384 MPM.add(createPGOInstrumentationUseLegacyPass(PGOInstrUse, IsCS)); in addPGOInstrPasses()
388 if (OptLevel > 0 && !IsCS) in addPGOInstrPasses()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DPassManagerBuilder.h219 void addPGOInstrPasses(legacy::PassManagerBase &MPM, bool IsCS);
/freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp158 bool IsCS = false; in readHeader() local
168 IsCS = true; in readHeader()
179 HasCSIRLevelProfile = IsCS; in readHeader()
954 void InstrProfReader::accumulateCounts(CountSumOrPercent &Sum, bool IsCS) { in accumulateCounts() argument
959 if (FuncIsCS != IsCS) in accumulateCounts()
H A DInstrProf.cpp1140 void createIRLevelProfileFlagVar(Module &M, bool IsCS, in createIRLevelProfileFlagVar() argument
1145 if (IsCS) in createIRLevelProfileFlagVar()
1179 bool IsCS) { in accumulateCounts() argument
1180 auto getProfileSum = [IsCS](const std::string &Filename, in accumulateCounts()
1187 Reader->accumulateCounts(Sum, IsCS); in accumulateCounts()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Passes/
H A DPassBuilder.cpp878 bool RunProfileGen, bool IsCS, in addPGOInstrPasses() argument
882 if (!IsCS && !DisablePreInliner) { in addPGOInstrPasses()
914 MPM.addPass(PGOInstrumentationUse(ProfileFile, ProfileRemappingFile, IsCS)); in addPGOInstrPasses()
922 MPM.addPass(PGOInstrumentationGen(IsCS)); in addPGOInstrPasses()
937 Options.UseBFIInPromotion = IsCS; in addPGOInstrPasses()
938 MPM.addPass(InstrProfiling(Options, IsCS)); in addPGOInstrPasses()
942 bool RunProfileGen, bool IsCS, in addPGOInstrPassesForO0() argument
947 MPM.addPass(PGOInstrumentationUse(ProfileFile, ProfileRemappingFile, IsCS)); in addPGOInstrPassesForO0()
955 MPM.addPass(PGOInstrumentationGen(IsCS)); in addPGOInstrPassesForO0()
962 Options.UseBFIInPromotion = IsCS; in addPGOInstrPassesForO0()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Passes/
H A DPassBuilder.h689 bool IsCS, std::string ProfileFile,
728 bool RunProfileGen, bool IsCS, std::string ProfileFile,
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DModule.cpp644 Metadata *Module::getProfileSummary(bool IsCS) const { in getProfileSummary()
645 return (IsCS ? getModuleFlag("CSProfileSummary") in getProfileSummary()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp213 raw_fd_ostream &OS, bool IsCS) { in overlapInput() argument
1000 raw_fd_ostream &OS, bool IsCS) { in overlapInstrProfile() argument
1006 Error E = Overlap.accumulateCounts(BaseFilename, TestFilename, IsCS); in overlapInstrProfile()
1019 IsCS); in overlapInstrProfile()
1964 cl::opt<bool> IsCS( in overlap_main() local
1996 IsCS); in overlap_main()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProf.h640 const std::string &TestFilename, bool IsCS);
1146 void createIRLevelProfileFlagVar(Module &M, bool IsCS,
H A DInstrProfReader.h111 void accumulateCounts(CountSumOrPercent &Sum, bool IsCS);
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DModule.h877 Metadata *getProfileSummary(bool IsCS) const;