Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/profile/
H A DInstrProfilingFile.c239 static FILE *ProfileFile = NULL; variable
321 if (fseek(ProfileFile, 0L, SEEK_END) == -1) { in getProfileFileSizeForMerging()
326 *ProfileFileSize = ftell(ProfileFile); in getProfileFileSizeForMerging()
399 (void)COMPILER_RT_FTRUNCATE(ProfileFile, in doProfileMerging()
427 FILE *ProfileFile = NULL; in openFileForMerging() local
430 ProfileFile = getProfileFile(); in openFileForMerging()
431 if (ProfileFile) { in openFileForMerging()
432 lprofLockFileHandle(ProfileFile); in openFileForMerging()
437 if (!ProfileFile) in openFileForMerging()
445 fclose(ProfileFile); in openFileForMerging()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DPGOOptions.h25 PGOOptions(std::string ProfileFile = "", std::string CSProfileGenFile = "",
30 : ProfileFile(ProfileFile), CSProfileGenFile(CSProfileGenFile), in ProfileFile() function
55 std::string ProfileFile; member
/llvm-project-15.0.7/llvm/lib/Passes/
H A DPassBuilderPipelines.cpp617 bool IsCS, std::string ProfileFile, in addPGOInstrPasses() argument
677 if (!ProfileFile.empty()) in addPGOInstrPasses()
678 Options.InstrProfileOutput = ProfileFile; in addPGOInstrPasses()
687 std::string ProfileFile, in addPGOInstrPassesForO0() argument
702 if (!ProfileFile.empty()) in addPGOInstrPassesForO0()
703 Options.InstrProfileOutput = ProfileFile; in addPGOInstrPassesForO0()
900 MPM.addPass(SampleProfileLoaderPass(PGOOpt->ProfileFile, in buildModuleSimplificationPipeline()
979 /* IsCS */ false, PGOOpt->ProfileFile, in buildModuleSimplificationPipeline()
1179 /* IsCS */ true, PGOOpt->ProfileFile, in buildModuleOptimizationPipeline()
1503 MPM.addPass(SampleProfileLoaderPass(PGOOpt->ProfileFile, in buildLTODefaultPipeline()
[all …]
/llvm-project-15.0.7/llvm/unittests/ProfileData/
H A DSampleProfTest.cpp139 TempFile ProfileFile("profile", "", "", /*Unique*/ true); in testRoundTrip() local
140 createWriter(Format, ProfileFile.path()); in testRoundTrip()
232 readProfile(M, ProfileFile.path(), RemapFile.path()); in testRoundTrip()
373 TempFile ProfileFile("profile", "", "", /*Unique*/ true); in testSuffixElisionPolicy() local
380 createWriter(Format, ProfileFile.path()); in testSuffixElisionPolicy()
387 readProfile(M, ProfileFile.path()); in testSuffixElisionPolicy()
/llvm-project-15.0.7/llvm/tools/opt/
H A DNewPMDriver.cpp161 extern cl::opt<std::string> ProfileFile;
302 P = PGOOptions(ProfileFile, "", "", PGOOptions::IRInstr); in runPassPipeline()
305 P = PGOOptions(ProfileFile, "", ProfileRemappingFile, PGOOptions::IRUse); in runPassPipeline()
308 P = PGOOptions(ProfileFile, "", ProfileRemappingFile, in runPassPipeline()
H A Dopt.cpp296 cl::opt<std::string> ProfileFile("profile-file", variable
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetPassConfig.cpp345 return PGOOpt->ProfileFile; in getFSProfileFile()
1177 const std::string ProfileFile = getFSProfileFile(TM); in addMachinePasses() local
1178 if (!ProfileFile.empty() && !DisableRAFSProfileLoader) in addMachinePasses()
1180 createMIRProfileLoaderPass(ProfileFile, getFSRemappingFile(TM), in addMachinePasses()
1547 const std::string ProfileFile = getFSProfileFile(TM); in addBlockPlacement() local
1548 if (!ProfileFile.empty() && !DisableLayoutFSProfileLoader) in addBlockPlacement()
1550 createMIRProfileLoaderPass(ProfileFile, getFSRemappingFile(TM), in addBlockPlacement()
/llvm-project-15.0.7/llvm/include/llvm/Passes/
H A DPassBuilder.h573 bool IsCS, std::string ProfileFile,
612 bool RunProfileGen, bool IsCS, std::string ProfileFile,