Home
last modified time | relevance | path

Searched refs:ProfileFile (Results 1 – 5 of 5) sorted by relevance

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingFile.c100 static FILE *ProfileFile = NULL; variable
194 if (fseek(ProfileFile, 0L, SEEK_END) == -1) { in getProfileFileSizeForMerging()
199 *ProfileFileSize = ftell(ProfileFile); in getProfileFileSizeForMerging()
272 (void)COMPILER_RT_FTRUNCATE(ProfileFile, in doProfileMerging()
300 FILE *ProfileFile = NULL; in openFileForMerging() local
303 ProfileFile = getProfileFile(); in openFileForMerging()
304 if (ProfileFile) { in openFileForMerging()
305 lprofLockFileHandle(ProfileFile); in openFileForMerging()
310 if (!ProfileFile) in openFileForMerging()
318 fclose(ProfileFile); in openFileForMerging()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Passes/
H A DPassBuilder.h38 PGOOptions(std::string ProfileFile = "", std::string CSProfileGenFile = "",
43 : ProfileFile(ProfileFile), CSProfileGenFile(CSProfileGenFile), in ProfileFile() function
76 std::string ProfileFile; member
689 bool IsCS, std::string ProfileFile,
728 bool RunProfileGen, bool IsCS, std::string ProfileFile,
/freebsd-13.1/contrib/llvm-project/llvm/tools/opt/
H A DNewPMDriver.cpp136 extern cl::opt<std::string> ProfileFile;
252 P = PGOOptions(ProfileFile, "", "", PGOOptions::IRInstr); in runPassPipeline()
255 P = PGOOptions(ProfileFile, "", ProfileRemappingFile, PGOOptions::IRUse); in runPassPipeline()
258 P = PGOOptions(ProfileFile, "", ProfileRemappingFile, in runPassPipeline()
H A Dopt.cpp327 cl::opt<std::string> ProfileFile("profile-file", variable
394 Builder.PGOInstrGen = ProfileFile; in AddOptimizationPasses()
397 Builder.PGOInstrUse = ProfileFile; in AddOptimizationPasses()
400 Builder.PGOSampleUse = ProfileFile; in AddOptimizationPasses()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Passes/
H A DPassBuilder.cpp879 std::string ProfileFile, in addPGOInstrPasses() argument
933 if (!ProfileFile.empty()) in addPGOInstrPasses()
934 Options.InstrProfileOutput = ProfileFile; in addPGOInstrPasses()
943 std::string ProfileFile, in addPGOInstrPassesForO0() argument
958 if (!ProfileFile.empty()) in addPGOInstrPassesForO0()
959 Options.InstrProfileOutput = ProfileFile; in addPGOInstrPassesForO0()
1104 MPM.addPass(SampleProfileLoaderPass(PGOOpt->ProfileFile, in buildModuleSimplificationPipeline()
1181 /* IsCS */ false, PGOOpt->ProfileFile, in buildModuleSimplificationPipeline()
1368 /* IsCS */ true, PGOOpt->ProfileFile, in buildModuleOptimizationPipeline()
1676 MPM.addPass(SampleProfileLoaderPass(PGOOpt->ProfileFile, in buildLTODefaultPipeline()
[all …]