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

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DPGOInstrumentation.h49 PGOInstrumentationGen(bool IsCS = false) : IsCS(IsCS) {}
54 bool IsCS; member in class:llvm::PGOInstrumentationGen
61 std::string RemappingFilename = "", bool IsCS = false);
69 bool IsCS; member in class:llvm::PGOInstrumentationUse
H A DInstrProfiling.h37 InstrProfiling() : IsCS(false) {}
38 InstrProfiling(const InstrProfOptions &Options, bool IsCS = false)
39 : Options(Options), IsCS(IsCS) {}
66 bool IsCS; member in class:llvm::InstrProfiling
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp365 PGOInstrumentationGenLegacyPass(bool IsCS = false)
366 : ModulePass(ID), IsCS(IsCS) {
375 bool IsCS; member in class:__anon4590::PGOInstrumentationGenLegacyPass
389 PGOInstrumentationUseLegacyPass(std::string Filename = "", bool IsCS = false)
390 : ModulePass(ID), ProfileFileName(std::move(Filename)), IsCS(IsCS) {
402 bool IsCS; member in class:__anon4590::PGOInstrumentationUseLegacyPass
446 ModulePass *llvm::createPGOInstrumentationGenLegacyPass(bool IsCS) { argument
447 return new PGOInstrumentationGenLegacyPass(IsCS);
460 createPGOInstrumentationUseLegacyPass(StringRef Filename, bool IsCS) argument
529 bool IsCS; member in class:__anon4591::FuncPGOInstrumentation
839 instrumentOneFunc( Function &F, Module *M, TargetLibraryInfo &TLI, BranchProbabilityInfo *BPI, BlockFrequencyInfo *BFI, std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers, bool IsCS) argument
1004 PGOUseFunc(Function &Func, Module *Modu, TargetLibraryInfo &TLI, std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers, BranchProbabilityInfo *BPI, BlockFrequencyInfo *BFIin, ProfileSummaryInfo *PSI, bool IsCS) argument
1085 bool IsCS; member in class:__anon4593::PGOUseFunc
1510 InstrumentAllFunctions( Module &M, function_ref<TargetLibraryInfo &(Function &)> LookupTLI, function_ref<BranchProbabilityInfo *(Function &)> LookupBPI, function_ref<BlockFrequencyInfo *(Function &)> LookupBFI, bool IsCS) argument
1574 annotateAllFunctions( Module &M, StringRef ProfileFileName, StringRef ProfileRemappingFileName, function_ref<TargetLibraryInfo &(Function &)> LookupTLI, function_ref<BranchProbabilityInfo *(Function &)> LookupBPI, function_ref<BlockFrequencyInfo *(Function &)> LookupBFI, ProfileSummaryInfo *PSI, bool IsCS) argument
1697 PGOInstrumentationUse(std::string Filename, std::string RemappingFilename, bool IsCS) argument
[all...]
H A DInstrProfiling.cpp160 InstrProfilingLegacyPass(const InstrProfOptions &Options, bool IsCS = false)
161 : ModulePass(ID), InstrProf(Options, IsCS) {
423 bool IsCS) {
424 return new InstrProfilingLegacyPass(Options, IsCS);
1089 if (!IsCS)
422 createInstrProfilingLegacyPass(const InstrProfOptions &Options, bool IsCS) argument
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/
H A DInstrumentation.h79 // PGO Instrumention. Parameter IsCS indicates if this is the context senstive
81 ModulePass *createPGOInstrumentationGenLegacyPass(bool IsCS = false);
84 bool IsCS = false);
138 /// Insert frontend instrumentation based profiling. Parameter IsCS indicates if
141 const InstrProfOptions &Options = InstrProfOptions(), bool IsCS = false);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPassManagerBuilder.cpp309 bool IsCS = false) {
310 if (IsCS) {
318 // We will not do this inline for context sensitive PGO (when IsCS is true).
320 PGOSampleUse.empty() && !IsCS) {
338 if ((EnablePGOInstrGen && !IsCS) || (EnablePGOCSInstrGen && IsCS)) {
339 MPM.add(createPGOInstrumentationGenLegacyPass(IsCS));
345 Options.UseBFIInPromotion = IsCS;
347 MPM.add(createInstrProfilingLegacyPass(Options, IsCS));
350 MPM.add(createPGOInstrumentationUseLegacyPass(PGOInstrUse, IsCS));
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DPassManagerBuilder.h219 void addPGOInstrPasses(legacy::PassManagerBase &MPM, bool IsCS);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Passes/
H A DPassBuilder.h680 bool RunProfileGen, bool IsCS,
723 OptimizationLevel Level, bool RunProfileGen, bool IsCS,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Passes/
H A DPassBuilder.cpp737 bool RunProfileGen, bool IsCS,
745 // IsCS is true).
746 if (!Level.isOptimizingForSize() && !IsCS) {
777 MPM.addPass(PGOInstrumentationUse(ProfileFile, ProfileRemappingFile, IsCS));
785 MPM.addPass(PGOInstrumentationGen(IsCS));
798 Options.UseBFIInPromotion = IsCS;
799 MPM.addPass(InstrProfiling(Options, IsCS));
804 bool IsCS, std::string ProfileFile,
808 MPM.addPass(PGOInstrumentationUse(ProfileFile, ProfileRemappingFile, IsCS));
816 MPM.addPass(PGOInstrumentationGen(IsCS));
735 addPGOInstrPasses(ModulePassManager &MPM, bool DebugLogging, PassBuilder::OptimizationLevel Level, bool RunProfileGen, bool IsCS, std::string ProfileFile, std::string ProfileRemappingFile) argument
802 addPGOInstrPassesForO0(ModulePassManager &MPM, bool DebugLogging, bool RunProfileGen, bool IsCS, std::string ProfileFile, std::string ProfileRemappingFile) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp1137 void createIRLevelProfileFlagVar(Module &M, bool IsCS) { argument
1141 if (IsCS)
1173 bool IsCS) {
1174 auto getProfileSum = [IsCS](const std::string &Filename,
1181 Reader->accumulateCounts(Sum, IsCS);
1171 accumulateCounts(const std::string &BaseFilename, const std::string &TestFilename, bool IsCS) argument
H A DInstrProfReader.cpp915 void InstrProfReader::accumulateCounts(CountSumOrPercent &Sum, bool IsCS) {
920 if (FuncIsCS != IsCS)
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp204 raw_fd_ostream &OS, bool IsCS) {
725 raw_fd_ostream &OS, bool IsCS) {
731 Error E = Overlap.accumulateCounts(BaseFilename, TestFilename, IsCS);
744 IsCS);
756 cl::opt<bool> IsCS("cs", cl::init(false),
775 IsCS);
200 overlapInput(const std::string &BaseFilename, const std::string &TestFilename, WriterContext *WC, OverlapStats &Overlap, const OverlapFuncFilters &FuncFilter, raw_fd_ostream &OS, bool IsCS) argument
722 overlapInstrProfile(const std::string &BaseFilename, const std::string &TestFilename, const OverlapFuncFilters &FuncFilter, raw_fd_ostream &OS, bool IsCS) argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DModule.cpp585 Metadata *Module::getProfileSummary(bool IsCS) {
586 return (IsCS ? getModuleFlag("CSProfileSummary")
679 if (auto *SummaryMD = getProfileSummary(/*IsCS*/ false)) {
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h95 void accumulateCounts(CountSumOrPercent &Sum, bool IsCS);
H A DInstrProf.h639 const std::string &TestFilename, bool IsCS);
1141 void createIRLevelProfileFlagVar(Module &M, bool IsCS);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DModule.h855 /// Returns profile summary metadata. When IsCS is true, use the context
857 Metadata *getProfileSummary(bool IsCS);

Completed in 150 milliseconds