Searched refs:ProfileFile (Results 1 – 5 of 5) sorted by relevance
| /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/profile/ |
| D | InstrProfilingFile.c | 100 static FILE *ProfileFile = NULL; variable 101 static FILE *getProfileFile() { return ProfileFile; } in getProfileFile() 102 static void setProfileFile(FILE *File) { ProfileFile = File; } in setProfileFile() 192 static int getProfileFileSizeForMerging(FILE *ProfileFile, in getProfileFileSizeForMerging() argument 194 if (fseek(ProfileFile, 0L, SEEK_END) == -1) { in getProfileFileSizeForMerging() 199 *ProfileFileSize = ftell(ProfileFile); in getProfileFileSizeForMerging() 202 if (fseek(ProfileFile, 0L, SEEK_SET) == -1) { in getProfileFileSizeForMerging() 222 static int mmapProfileForMerging(FILE *ProfileFile, uint64_t ProfileFileSize, in mmapProfileForMerging() argument 225 fileno(ProfileFile), 0); in mmapProfileForMerging() 246 static int doProfileMerging(FILE *ProfileFile, int *MergeDone) { in doProfileMerging() argument [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Passes/ |
| D | PassBuilder.h | 38 PGOOptions(std::string ProfileFile = "", std::string CSProfileGenFile = "", 43 : ProfileFile(ProfileFile), CSProfileGenFile(CSProfileGenFile), in ProfileFile() function 76 std::string ProfileFile; member 689 bool IsCS, std::string ProfileFile, 728 bool RunProfileGen, bool IsCS, std::string ProfileFile,
|
| /freebsd-12-stable/contrib/llvm-project/llvm/tools/opt/ |
| D | NewPMDriver.cpp | 136 extern cl::opt<std::string> ProfileFile; 252 P = PGOOptions(ProfileFile, "", "", PGOOptions::IRInstr); in runPassPipeline() 255 P = PGOOptions(ProfileFile, "", ProfileRemappingFile, PGOOptions::IRUse); in runPassPipeline() 258 P = PGOOptions(ProfileFile, "", ProfileRemappingFile, in runPassPipeline()
|
| D | opt.cpp | 327 cl::opt<std::string> ProfileFile("profile-file", variable 394 Builder.PGOInstrGen = ProfileFile; in AddOptimizationPasses() 397 Builder.PGOInstrUse = ProfileFile; in AddOptimizationPasses() 400 Builder.PGOSampleUse = ProfileFile; in AddOptimizationPasses()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Passes/ |
| D | PassBuilder.cpp | 879 std::string ProfileFile, in addPGOInstrPasses() argument 913 assert(!ProfileFile.empty() && "Profile use expecting a profile file!"); in addPGOInstrPasses() 914 MPM.addPass(PGOInstrumentationUse(ProfileFile, ProfileRemappingFile, IsCS)); in addPGOInstrPasses() 933 if (!ProfileFile.empty()) in addPGOInstrPasses() 934 Options.InstrProfileOutput = ProfileFile; in addPGOInstrPasses() 943 std::string ProfileFile, in addPGOInstrPassesForO0() argument 946 assert(!ProfileFile.empty() && "Profile use expecting a profile file!"); in addPGOInstrPassesForO0() 947 MPM.addPass(PGOInstrumentationUse(ProfileFile, ProfileRemappingFile, IsCS)); in addPGOInstrPassesForO0() 958 if (!ProfileFile.empty()) in addPGOInstrPassesForO0() 959 Options.InstrProfileOutput = ProfileFile; in addPGOInstrPassesForO0() [all …]
|