| /llvm-project-15.0.7/compiler-rt/lib/profile/ |
| H A D | InstrProfilingFile.c | 239 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 D | PGOOptions.h | 25 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 D | PassBuilderPipelines.cpp | 617 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 D | SampleProfTest.cpp | 139 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 D | NewPMDriver.cpp | 161 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 D | opt.cpp | 296 cl::opt<std::string> ProfileFile("profile-file", variable
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | TargetPassConfig.cpp | 345 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 D | PassBuilder.h | 573 bool IsCS, std::string ProfileFile, 612 bool RunProfileGen, bool IsCS, std::string ProfileFile,
|