Home
last modified time | relevance | path

Searched refs:SampleProfileFile (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Passes/
DPassBuilder.h35 std::string SampleProfileFile = "", bool RunProfileGen = false,
38 SampleProfileFile(SampleProfileFile), RunProfileGen(RunProfileGen), in ProfileGenFile()
39 SamplePGOSupport(SamplePGOSupport || !SampleProfileFile.empty()) { in ProfileGenFile()
41 !SampleProfileFile.empty() || in ProfileGenFile()
47 std::string SampleProfileFile; member
/external/llvm/lib/Transforms/IPO/
DSampleProfile.cpp63 static cl::opt<std::string> SampleProfileFile( variable
98 SampleProfileLoader(StringRef Name = SampleProfileFile) in SampleProfileLoader()
196 SampleProfileLoaderLegacyPass(StringRef Name = SampleProfileFile) in SampleProfileLoaderLegacyPass()
1214 return new SampleProfileLoaderLegacyPass(SampleProfileFile); in createSampleProfileLoaderPass()
1256 SampleProfileLoader SampleLoader(SampleProfileFile); in run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Passes/
DPassBuilder.cpp430 !PGOOpt || PGOOpt->SampleProfileFile.empty()) in buildFunctionSimplificationPipeline()
587 if (PGOOpt && !PGOOpt->SampleProfileFile.empty() && in buildModuleSimplificationPipeline()
592 if (PGOOpt && !PGOOpt->SampleProfileFile.empty()) { in buildModuleSimplificationPipeline()
595 MPM.addPass(SampleProfileLoaderPass(PGOOpt->SampleProfileFile, in buildModuleSimplificationPipeline()
679 PGOOpt && !PGOOpt->SampleProfileFile.empty()) in buildModuleSimplificationPipeline()
955 if (!PGOOpt || PGOOpt->SampleProfileFile.empty()) in buildThinLTODefaultPipeline()
1004 true /* InLTO */, PGOOpt && !PGOOpt->SampleProfileFile.empty())); in buildLTODefaultPipeline()
/external/clang/include/clang/Frontend/
DCodeGenOptions.h161 std::string SampleProfileFile; variable
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DSampleProfile.cpp95 static cl::opt<std::string> SampleProfileFile( variable
312 SampleProfileLoaderLegacyPass(StringRef Name = SampleProfileFile, in SampleProfileLoaderLegacyPass()
1527 return new SampleProfileLoaderLegacyPass(SampleProfileFile); in createSampleProfileLoaderPass()
1618 ProfileFileName.empty() ? SampleProfileFile : ProfileFileName, in run()
/external/clang/lib/CodeGen/
DBackendUtil.cpp496 if (!CodeGenOpts.SampleProfileFile.empty()) { in CreatePasses()
498 MPM->add(createSampleProfileLoaderPass(CodeGenOpts.SampleProfileFile)); in CreatePasses()
/external/clang/lib/Frontend/
DCompilerInvocation.cpp532 Opts.SampleProfileFile = Args.getLastArgValue(OPT_fprofile_sample_use_EQ); in ParseCodeGenArgs()
820 if (!Opts.SampleProfileFile.empty()) in ParseCodeGenArgs()