Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/compiler-rt/lib/profile/
H A DInstrProfilingFile.c95 static int getProfileFileSizeForMerging(FILE *ProfileFile,
239 static FILE *ProfileFile = NULL; variable
240 static FILE *getProfileFile(void) { return ProfileFile; } in getProfileFile()
241 static void setProfileFile(FILE *File) { ProfileFile = File; } in setProfileFile()
319 static int getProfileFileSizeForMerging(FILE *ProfileFile, in getProfileFileSizeForMerging() argument
321 if (fseek(ProfileFile, 0L, SEEK_END) == -1) { in getProfileFileSizeForMerging()
326 *ProfileFileSize = ftell(ProfileFile); in getProfileFileSizeForMerging()
329 if (fseek(ProfileFile, 0L, SEEK_SET) == -1) { in getProfileFileSizeForMerging()
349 static int mmapProfileForMerging(FILE *ProfileFile, uint64_t ProfileFileSize, in mmapProfileForMerging() argument
352 fileno(ProfileFile), 0); in mmapProfileForMerging()
[all …]
/openbsd-src/gnu/llvm/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
/openbsd-src/gnu/llvm/llvm/lib/Passes/
H A DPassBuilderPipelines.cpp693 bool IsCS, std::string ProfileFile, in addPGOInstrPasses() argument
732 assert(!ProfileFile.empty() && "Profile use expecting a profile file!"); in addPGOInstrPasses()
733 MPM.addPass(PGOInstrumentationUse(ProfileFile, ProfileRemappingFile, IsCS)); in addPGOInstrPasses()
755 if (!ProfileFile.empty()) in addPGOInstrPasses()
756 Options.InstrProfileOutput = ProfileFile; in addPGOInstrPasses()
765 std::string ProfileFile, in addPGOInstrPassesForO0() argument
768 assert(!ProfileFile.empty() && "Profile use expecting a profile file!"); in addPGOInstrPassesForO0()
769 MPM.addPass(PGOInstrumentationUse(ProfileFile, ProfileRemappingFile, IsCS)); in addPGOInstrPassesForO0()
780 if (!ProfileFile.empty()) in addPGOInstrPassesForO0()
781 Options.InstrProfileOutput = ProfileFile; in addPGOInstrPassesForO0()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/opt/
H A DNewPMDriver.cpp176 static cl::opt<std::string> ProfileFile("profile-file", variable
339 P = PGOOptions(ProfileFile, "", "", PGOOptions::IRInstr); in runPassPipeline()
342 P = PGOOptions(ProfileFile, "", ProfileRemappingFile, PGOOptions::IRUse); in runPassPipeline()
345 P = PGOOptions(ProfileFile, "", ProfileRemappingFile, in runPassPipeline()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DTargetPassConfig.cpp332 return PGOOpt->ProfileFile; in getFSProfileFile()
1152 const std::string ProfileFile = getFSProfileFile(TM); in addMachinePasses() local
1153 if (!ProfileFile.empty() && !DisableRAFSProfileLoader) in addMachinePasses()
1155 createMIRProfileLoaderPass(ProfileFile, getFSRemappingFile(TM), in addMachinePasses()
1528 const std::string ProfileFile = getFSProfileFile(TM); in addBlockPlacement() local
1529 if (!ProfileFile.empty() && !DisableLayoutFSProfileLoader) in addBlockPlacement()
1531 createMIRProfileLoaderPass(ProfileFile, getFSRemappingFile(TM), in addBlockPlacement()
/openbsd-src/gnu/llvm/llvm/include/llvm/Passes/
H A DPassBuilder.h569 bool IsCS, std::string ProfileFile,
608 bool RunProfileGen, bool IsCS, std::string ProfileFile,