Lines Matching refs:opts

22 namespace opts {  namespace
138 if (opts::ReorderFunctions == RT_NONE) in reorder()
141 if (opts::Verbosity == 0) { in reorder()
150 bool PrintDetailed = opts::Verbosity > 1; in reorder()
153 (DebugFlag && isCurrentDebugType("hfsort") && opts::Verbosity > 0); in reorder()
189 if (D < 64 && PrintDetailed && opts::Verbosity > 2) in reorder()
250 std::ifstream FuncsFile(opts::FunctionOrderFile, std::ios::in); in readFunctionOrderFile()
252 errs() << "Ordered functions file \"" << opts::FunctionOrderFile in readFunctionOrderFile()
266 if (opts::ReorderFunctions != RT_NONE && in runOnFunctions()
267 opts::ReorderFunctions != RT_EXEC_COUNT && in runOnFunctions()
268 opts::ReorderFunctions != RT_USER) { in runOnFunctions()
277 opts::CgFromPerfData, in runOnFunctions()
279 opts::ReorderFunctionsUseHotSize, in runOnFunctions()
280 opts::CgUseSplitHotSize, in runOnFunctions()
281 opts::UseEdgeCounts, in runOnFunctions()
282 opts::CgIgnoreRecursiveCalls); in runOnFunctions()
288 switch (opts::ReorderFunctions) { in runOnFunctions()
303 const size_t PadA = opts::padFunction(*A); in runOnFunctions()
304 const size_t PadB = opts::padFunction(*B); in runOnFunctions()
330 std::srand(opts::RandomSeed); in runOnFunctions()
375 else if (opts::Verbosity > 0) in runOnFunctions()
387 if (!opts::GenerateFunctionOrderFile.empty()) { in runOnFunctions()
388 FuncsFile = std::make_unique<std::ofstream>(opts::GenerateFunctionOrderFile, in runOnFunctions()
392 << opts::GenerateFunctionOrderFile << " cannot be opened\n"; in runOnFunctions()
398 if (!opts::LinkSectionsFile.empty()) { in runOnFunctions()
400 std::make_unique<std::ofstream>(opts::LinkSectionsFile, std::ios::out); in runOnFunctions()
402 errs() << "BOLT-ERROR: link sections file " << opts::LinkSectionsFile in runOnFunctions()
457 << opts::GenerateFunctionOrderFile << '\n'; in runOnFunctions()
463 << opts::LinkSectionsFile << '\n'; in runOnFunctions()