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.c96 static int getProfileFileSizeForMerging(FILE *ProfileFile,
320 static FILE *ProfileFile = NULL; variable
321 static FILE *getProfileFile(void) { return ProfileFile; } in getProfileFile()
322 static void setProfileFile(FILE *File) { ProfileFile = File; } in setProfileFile()
391 static int getProfileFileSizeForMerging(FILE *ProfileFile, in getProfileFileSizeForMerging() argument
393 if (fseek(ProfileFile, 0L, SEEK_END) == -1) { in getProfileFileSizeForMerging()
398 *ProfileFileSize = ftell(ProfileFile); in getProfileFileSizeForMerging()
401 if (fseek(ProfileFile, 0L, SEEK_SET) == -1) { in getProfileFileSizeForMerging()
421 static int mmapProfileForMerging(FILE *ProfileFile, uint64_t ProfileFileSize, in mmapProfileForMerging() argument
423 lprofGetFileContentBuffer(ProfileFile, ProfileFileSize, ProfileBuffer); 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.h32 LLVM_ABI PGOOptions(std::string ProfileFile, std::string CSProfileGenFile,
46 std::string ProfileFile; member
/freebsd/contrib/llvm-project/llvm/lib/Passes/
H A DPassBuilderPipelines.cpp847 std::string ProfileFile, in addPGOInstrPasses() argument
853 assert(!ProfileFile.empty() && "Profile use expecting a profile file!"); in addPGOInstrPasses()
855 PGOInstrumentationUse(ProfileFile, ProfileRemappingFile, IsCS, FS)); in addPGOInstrPasses()
869 if (!ProfileFile.empty()) in addPGOInstrPasses()
870 Options.InstrProfileOutput = ProfileFile; in addPGOInstrPasses()
886 bool AtomicCounterUpdate, std::string ProfileFile, in addPGOInstrPassesForO0() argument
889 assert(!ProfileFile.empty() && "Profile use expecting a profile file!"); in addPGOInstrPassesForO0()
891 PGOInstrumentationUse(ProfileFile, ProfileRemappingFile, IsCS, FS)); in addPGOInstrPassesForO0()
903 if (!ProfileFile.empty()) in addPGOInstrPassesForO0()
904 Options.InstrProfileOutput = ProfileFile; in addPGOInstrPassesForO0()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetPassConfig.cpp347 return PGOOpt->ProfileFile; in getFSProfileFile()
1139 const std::string ProfileFile = getFSProfileFile(TM); in addMachinePasses() local
1140 if (!ProfileFile.empty() && !DisableRAFSProfileLoader) in addMachinePasses()
1141 addPass(createMIRProfileLoaderPass(ProfileFile, getFSRemappingFile(TM), in addMachinePasses()
1245 const std::string ProfileFile = getFSProfileFile(TM); in addMachinePasses() local
1246 if (!ProfileFile.empty()) { in addMachinePasses()
1249 ProfileFile, getFSRemappingFile(TM), in addMachinePasses()
1551 const std::string ProfileFile = getFSProfileFile(TM); in addBlockPlacement() local
1552 if (!ProfileFile.empty() && !DisableLayoutFSProfileLoader) in addBlockPlacement()
1553 addPass(createMIRProfileLoaderPass(ProfileFile, getFSRemappingFile(TM), in addBlockPlacement()
/freebsd/contrib/llvm-project/llvm/tools/opt/
H A DNewPMDriver.cpp184 static cl::opt<std::string> ProfileFile("profile-file", variable
364 P = PGOOptions(ProfileFile, "", "", MemoryProfileFile, FS, in runPassPipeline()
369 P = PGOOptions(ProfileFile, "", ProfileRemappingFile, MemoryProfileFile, FS, in runPassPipeline()
373 P = PGOOptions(ProfileFile, "", ProfileRemappingFile, MemoryProfileFile, FS, in runPassPipeline()
/freebsd/contrib/llvm-project/llvm/include/llvm/Passes/
H A DPassBuilder.h631 std::string ProfileFile,
771 bool AtomicCounterUpdate, std::string ProfileFile,