Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingFile.c95 static int getProfileFileSizeForMerging(FILE *ProfileFile,
285 static FILE *ProfileFile = NULL; variable
286 static FILE *getProfileFile(void) { return ProfileFile; } in getProfileFile()
287 static void setProfileFile(FILE *File) { ProfileFile = File; } in setProfileFile()
365 static int getProfileFileSizeForMerging(FILE *ProfileFile, in getProfileFileSizeForMerging() argument
367 if (fseek(ProfileFile, 0L, SEEK_END) == -1) { in getProfileFileSizeForMerging()
372 *ProfileFileSize = ftell(ProfileFile); in getProfileFileSizeForMerging()
375 if (fseek(ProfileFile, 0L, SEEK_SET) == -1) { in getProfileFileSizeForMerging()
395 static int mmapProfileForMerging(FILE *ProfileFile, uint64_t ProfileFileSize, in mmapProfileForMerging() argument
398 fileno(ProfileFile), 0); in mmapProfileForMerging()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DPGOOptions.cpp14 PGOOptions::PGOOptions(std::string ProfileFile, std::string CSProfileGenFile, in PGOOptions() argument
21 : ProfileFile(ProfileFile), CSProfileGenFile(CSProfileGenFile), in PGOOptions()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DPGOOptions.h31 PGOOptions(std::string ProfileFile, std::string CSProfileGenFile,
43 std::string ProfileFile; member
/freebsd/contrib/llvm-project/llvm/lib/Passes/
H A DPassBuilderPipelines.cpp827 std::string ProfileFile, in addPGOInstrPasses() argument
833 assert(!ProfileFile.empty() && "Profile use expecting a profile file!"); in addPGOInstrPasses()
835 PGOInstrumentationUse(ProfileFile, ProfileRemappingFile, IsCS, FS)); in addPGOInstrPasses()
848 if (!ProfileFile.empty()) in addPGOInstrPasses()
849 Options.InstrProfileOutput = ProfileFile; in addPGOInstrPasses()
865 bool AtomicCounterUpdate, std::string ProfileFile, in addPGOInstrPassesForO0() argument
868 assert(!ProfileFile.empty() && "Profile use expecting a profile file!"); in addPGOInstrPassesForO0()
870 PGOInstrumentationUse(ProfileFile, ProfileRemappingFile, IsCS, FS)); in addPGOInstrPassesForO0()
881 if (!ProfileFile.empty()) in addPGOInstrPassesForO0()
882 Options.InstrProfileOutput = ProfileFile; in addPGOInstrPassesForO0()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetPassConfig.cpp339 return PGOOpt->ProfileFile; in getFSProfileFile()
1129 const std::string ProfileFile = getFSProfileFile(TM); in addMachinePasses() local
1130 if (!ProfileFile.empty() && !DisableRAFSProfileLoader) in addMachinePasses()
1131 addPass(createMIRProfileLoaderPass(ProfileFile, getFSRemappingFile(TM), in addMachinePasses()
1238 const std::string ProfileFile = getFSProfileFile(TM); in addMachinePasses() local
1239 if (!ProfileFile.empty()) { in addMachinePasses()
1242 ProfileFile, getFSRemappingFile(TM), in addMachinePasses()
1526 const std::string ProfileFile = getFSProfileFile(TM); in addBlockPlacement() local
1527 if (!ProfileFile.empty() && !DisableLayoutFSProfileLoader) in addBlockPlacement()
1528 addPass(createMIRProfileLoaderPass(ProfileFile, getFSRemappingFile(TM), in addBlockPlacement()
/freebsd/contrib/llvm-project/llvm/tools/opt/
H A DNewPMDriver.cpp177 static cl::opt<std::string> ProfileFile("profile-file", variable
356 P = PGOOptions(ProfileFile, "", "", MemoryProfileFile, FS, in runPassPipeline()
361 P = PGOOptions(ProfileFile, "", ProfileRemappingFile, MemoryProfileFile, FS, in runPassPipeline()
365 P = PGOOptions(ProfileFile, "", ProfileRemappingFile, MemoryProfileFile, FS, in runPassPipeline()
/freebsd/contrib/llvm-project/llvm/include/llvm/Passes/
H A DPassBuilder.h605 std::string ProfileFile,
737 bool AtomicCounterUpdate, std::string ProfileFile,