| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/ |
| H A D | ELFObjcopy.cpp | 299 if (Config.StripUnneeded || !Config.UnneededSymbolsToRemove.empty() || in updateAndRemoveSymbols() 317 if (Config.StripAll || Config.StripAllGNU) in updateAndRemoveSymbols() 352 if (Config.StripDWO) in replaceAndRemoveSections() 357 if (Config.ExtractDWO) in replaceAndRemoveSections() 386 if (Config.StripDebug || Config.StripUnneeded) { in replaceAndRemoveSections() 401 if (Config.StripAll) in replaceAndRemoveSections() 420 if (Config.ExtractPartition || Config.ExtractMainPartition) { in replaceAndRemoveSections() 468 if ((!Config.SymbolsToKeep.empty() || Config.KeepFileSymbols) && in replaceAndRemoveSections() 571 if (!Config.SplitDWO.empty() && Config.ExtractDWO) { in handleArgs() 708 if (Config.EntryExpr) in handleArgs() [all …]
|
| H A D | ELFObjcopy.h | 26 Error executeObjcopyOnIHex(const CommonConfig &Config, 29 Error executeObjcopyOnRawBinary(const CommonConfig &Config, 32 Error executeObjcopyOnBinary(const CommonConfig &Config,
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | size_class_map.h | 30 if (Config::MaxBytesCachedLog > 31 || Config::MaxSizeLog > 31) in getMaxCachedHint() 57 template <typename Config> 70 static const uptr MaxSize = (1UL << Config::MaxSizeLog) + Config::SizeDelta; 72 MidClass + ((Config::MaxSizeLog - Config::MidSizeLog) << S) + 1; 80 return (ClassId << Config::MinSizeLog) + Config::SizeDelta; in getSizeByClassId() 93 if (Size <= Config::SizeDelta + (1 << Config::MinSizeLog)) in getClassIdBySize() 95 Size -= Config::SizeDelta; in getClassIdBySize() 108 template <typename Config> 115 sizeof(Config::Classes) / sizeof(Config::Classes[0]); 138 return (Config::MaxSizeLog - Config::MidSizeLog) << S; in getTableSize() [all …]
|
| H A D | secondary.h | 52 if (allocatorSupportsMemoryTagging<Config>()) in addHeaderTag() 97 template <typename Config> 149 if (useMemoryTagging<Config>(Options)) { in store() 176 useMemoryTagging<Config>(Options)) { in store() 251 if (useMemoryTagging<Config>(Options)) in retrieve() 254 if (useMemoryTagging<Config>(Options)) { in retrieve() 459 typename Config::SecondaryCache Cache; 482 template <typename Config> 565 if (useMemoryTagging<Config>(Options)) in allocate() 588 template <typename Config> [all …]
|
| H A D | primary64.h | 44 template <typename Config> class SizeClassAllocator64 { 46 typedef typename Config::PrimaryCompactPtrT CompactPtrT; 47 static const uptr CompactPtrScale = Config::PrimaryCompactPtrScale; 48 typedef typename Config::SizeClassMap SizeClassMap; 49 typedef SizeClassAllocator64<Config> ThisT; 78 (Config::PrimaryEnableRandomOffset in init() 180 Config::PrimaryMinReleaseToOsIntervalMs); in setOption() 271 static const uptr RegionSize = 1UL << Config::PrimaryRegionSizeLog; 275 static const uptr MapSizeIncrement = Config::PrimaryMapSizeIncrement; 320 return PrimaryBase + (ClassId << Config::PrimaryRegionSizeLog); in getRegionBaseByClassId() [all …]
|
| H A D | allocator_config.h | 193 typedef AndroidConfig Config; typedef 195 typedef FuchsiaConfig Config; typedef 197 typedef TrustyConfig Config; typedef 199 typedef DefaultConfig Config; typedef
|
| H A D | primary32.h | 42 template <typename Config> class SizeClassAllocator32 { 44 typedef typename Config::PrimaryCompactPtrT CompactPtrT; 45 typedef typename Config::SizeClassMap SizeClassMap; 49 static_assert((1UL << Config::PrimaryRegionSizeLog) >= SizeClassMap::MaxSize, 51 typedef SizeClassAllocator32<Config> ThisT; 206 Min(static_cast<s32>(Value), Config::PrimaryMaxReleaseToOsIntervalMs), in setOption() 207 Config::PrimaryMinReleaseToOsIntervalMs); in setOption() 239 static const uptr RegionSize = 1UL << Config::PrimaryRegionSizeLog; 241 SCUDO_MMAP_RANGE_SIZE >> Config::PrimaryRegionSizeLog; 274 const uptr Id = Mem >> Config::PrimaryRegionSizeLog; in computeRegionId()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ |
| H A D | llvm-objcopy.cpp | 151 switch (Config.OutputFormat) { in executeObjcopyOnRawBinary() 279 if (Config.PreserveDates) in restoreStatOnFile() 290 if (Config.InputFilename == Config.OutputFilename && OStat.getUser() == 0) in restoreStatOnFile() 295 if (Config.InputFilename != Config.OutputFilename) in restoreStatOnFile() 318 if (Config.InputFilename != "-") { in executeObjcopy() 370 if (Config.SplitDWO.empty()) { in executeObjcopy() 376 Config.ExtractDWO = true; in executeObjcopy() 377 Config.StripDWO = false; in executeObjcopy() 382 Config.ExtractDWO = false; in executeObjcopy() 383 Config.StripDWO = true; in executeObjcopy() [all …]
|
| H A D | ConfigManager.cpp | 749 Config.OutputFormat = Config.InputFormat; in parseObjcopyOptions() 911 Config.DiscardMode = in parseObjcopyOptions() 1005 (Config.OutputFilename == "-" || Config.InputFilename == "-")) in parseObjcopyOptions() 1023 auto Expr = Config.EntryExpr ? std::move(Config.EntryExpr) in parseObjcopyOptions() 1043 if (Config.ExtractPartition && Config.ExtractMainPartition) in parseObjcopyOptions() 1165 Config.RemoveAllRpaths = in parseInstallNameToolOptions() 1299 Config.DiscardMode = in parseStripOptions() 1334 !Config.StripUnneeded && Config.DiscardMode == DiscardType::None && in parseStripOptions() 1335 !Config.StripAllGNU && Config.SymbolsToRemove.empty()) in parseStripOptions() 1336 Config.StripAll = true; in parseStripOptions() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/ |
| H A D | COFFObjcopy.cpp | 139 if (!Config.OnlySection.empty() && !Config.OnlySection.matches(Sec.Name)) in handleArgs() 142 if (Config.StripDebug || Config.StripAll || Config.StripAllGNU || in handleArgs() 143 Config.DiscardMode == DiscardType::All || Config.StripUnneeded) { in handleArgs() 155 if (Config.OnlyKeepDebug) { in handleArgs() 166 if (Config.StripAll || Config.StripAllGNU) in handleArgs() 171 if (Config.StripUnneeded || Config.DiscardMode == DiscardType::All || in handleArgs() 172 !Config.SymbolsToRemove.empty()) in handleArgs() 185 if (Config.StripAll || Config.StripAllGNU) in handleArgs() 205 if (Config.StripUnneeded || in handleArgs() 225 if (!Config.SetSectionFlags.empty()) in handleArgs() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/wasm/ |
| H A D | WasmObjcopy.cpp | 64 if (!Config.ToRemove.empty()) { in removeSections() 66 return Config.ToRemove.matches(Sec.Name); in removeSections() 70 if (Config.StripDebug) { in removeSections() 76 if (Config.StripAll) { in removeSections() 83 if (Config.OnlyKeepDebug) { in removeSections() 91 if (!Config.OnlySection.empty()) { in removeSections() 99 if (!Config.KeepSection.empty()) { in removeSections() 114 for (StringRef Flag : Config.DumpSection) { in handleArgs() 122 removeSections(Config, Obj); in handleArgs() 124 for (StringRef Flag : Config.AddSection) { in handleArgs() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/ |
| H A D | MachOObjcopy.cpp | 57 if (!Config.ToRemove.empty()) { in removeSections() 63 if (Config.StripAll || Config.StripDebug) { in removeSections() 73 if (!Config.OnlySection.empty()) { in removeSections() 104 if (Config.StripAll) in updateAndRemoveSymbols() 152 if (Config.RemoveAllRpaths) in processLoadCommands() 201 if (Config.SharedLibId) in processLoadCommands() 203 LC, *Config.SharedLibId); in processLoadCommands() 251 if (!Config.RPathToPrepend.empty()) in processLoadCommands() 350 if (Config.StripAll) in handleArgs() 351 markSymbols(Config, Obj); in handleArgs() [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/ |
| H A D | sanitizer_symbolize.cpp | 27 llvm::symbolize::PrinterConfig Config; in getDefaultPrinterConfig() local 28 Config.Pretty = false; in getDefaultPrinterConfig() 29 Config.Verbose = false; in getDefaultPrinterConfig() 30 Config.PrintFunctions = true; in getDefaultPrinterConfig() 31 Config.PrintAddress = false; in getDefaultPrinterConfig() 32 Config.SourceContextLines = 0; in getDefaultPrinterConfig() 33 return Config; in getDefaultPrinterConfig() 51 llvm::symbolize::PrinterConfig Config = getDefaultPrinterConfig(); in __sanitizer_symbolize_code() local 54 std::make_unique<llvm::symbolize::LLVMPrinter>(OS, OS, Config); in __sanitizer_symbolize_code() 79 llvm::symbolize::PrinterConfig Config = getDefaultPrinterConfig(); in __sanitizer_symbolize_data() local [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/LTO/ |
| H A D | LTOCodeGenerator.cpp | 128 Config.CodeModel = None; in LTOCodeGenerator() 171 Config.Options = Options; in setTargetOptions() 188 Config.OptLevel = Level; in setOptLevel() 189 Config.PTO.LoopVectorization = Config.OptLevel > 1; in setOptLevel() 190 Config.PTO.SLPVectorization = Config.OptLevel > 1; in setOptLevel() 191 switch (Config.OptLevel) { in setOptLevel() 343 Config.CPU = "core2"; in determineTarget() 345 Config.CPU = "yonah"; in determineTarget() 350 Config.CPU = "cyclone"; in determineTarget() 362 TripleStr, Config.CPU, FeatureStr, Config.Options, Config.RelocModel, in createTargetMachine() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/ |
| H A D | DIPrinter.h | 74 PrinterConfig Config; variable 89 PlainPrinterBase(raw_ostream &OS, raw_ostream &ES, PrinterConfig &Config) in PlainPrinterBase() argument 90 : DIPrinter(), OS(OS), ES(ES), Config(Config) {} in PlainPrinterBase() 114 LLVMPrinter(raw_ostream &OS, raw_ostream &ES, PrinterConfig &Config) in LLVMPrinter() argument 115 : PlainPrinterBase(OS, ES, Config) {} in LLVMPrinter() 123 GNUPrinter(raw_ostream &OS, raw_ostream &ES, PrinterConfig &Config) in GNUPrinter() argument 124 : PlainPrinterBase(OS, ES, Config) {} in GNUPrinter() 130 PrinterConfig Config; variable 134 json::OStream JOS(OS, Config.Pretty ? 2 : 0); in printJSON() 140 JSONPrinter(raw_ostream &OS, PrinterConfig &Config) in JSONPrinter() argument [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ValueMap.h | 46 template<typename KeyT, typename ValueT, typename Config> 86 friend class ValueMapCallbackVH<KeyT, ValueT, Config>; 91 using ExtraData = typename Config::ExtraData; 242 friend class ValueMap<KeyT, ValueT, Config>; 245 using ValueMapT = ValueMap<KeyT, ValueT, Config>; 263 typename Config::mutex_type *M = Config::getMutex(Copy.Map->Data); 264 std::unique_lock<typename Config::mutex_type> Guard; 276 typename Config::mutex_type *M = Config::getMutex(Copy.Map->Data); 277 std::unique_lock<typename Config::mutex_type> Guard; 284 if (Config::FollowRAUW) { [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/LTO/legacy/ |
| H A D | LTOCodeGenerator.h | 92 Config.RelocModel = Model; in setCodePICModel() 97 void setFileType(CodeGenFileType FT) { Config.CGFileType = FT; } in setFileType() 99 void setCpu(StringRef MCpu) { Config.CPU = std::string(MCpu); } in setCpu() 100 void setAttrs(std::vector<std::string> MAttrs) { Config.MAttrs = MAttrs; } in setAttrs() 183 void setFreestanding(bool Enabled) { Config.Freestanding = Enabled; } in setFreestanding() 185 void setDisableVerify(bool Value) { Config.DisableVerify = Value; } in setDisableVerify() 187 void setUseNewPM(bool Value) { Config.UseNewPM = Value; } in setUseNewPM() 241 lto::Config Config; member
|
| /freebsd-13.1/tools/tools/shlib-compat/ |
| H A D | shlib-compat.py | 35 class Config(object): class 967 if Config.verbose >= 1: 1020 if Config.dump or (not match and not Config.no_dump): 1071 Config.init() 1115 Config.dump = False 1118 Config.dump = True 1120 Config.verbose = 1 1133 Config.symbol_filter.exclude.extend(Config.exclude_sym_default) 1142 (Config.origfile.filename, Config.newfile.filename) = (args[0], args[1]) 1150 if Config.dump: [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ |
| H A D | module.install.modulemap | 3 textual header "Config/AsmParsers.def" 4 textual header "Config/AsmPrinters.def" 5 textual header "Config/Disassemblers.def" 6 textual header "Config/Targets.def"
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/xray/ |
| H A D | xray_log_interface.cpp | 139 XRayLogInitStatus __xray_log_init_mode(const char *Mode, const char *Config) in __xray_log_init_mode() argument 145 if (Config == nullptr) in __xray_log_init_mode() 156 0, 0, const_cast<void *>(static_cast<const void *>(Config)), 0); in __xray_log_init_mode() 160 __xray_log_init_mode_bin(const char *Mode, const char *Config, in __xray_log_init_mode_bin() argument 166 if (Config == nullptr) in __xray_log_init_mode_bin() 177 0, 0, const_cast<void *>(static_cast<const void *>(Config)), ConfigSize); in __xray_log_init_mode_bin()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | Yaml.h | 45 T Config; in getConfiguration() local 46 Input >> Config; in getConfiguration() 54 return Config; in getConfiguration()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-symbolizer/ |
| H A D | llvm-symbolizer.cpp | 274 PrinterConfig Config; in main() local 292 Config.SourceContextLines); in main() 304 Config.PrintAddress = Args.hasArg(OPT_addresses); in main() 305 Config.PrintFunctions = Opts.PrintFunctions != FunctionNameKind::None; in main() 306 Config.Pretty = Args.hasArg(OPT_pretty_print); in main() 307 Config.Verbose = Args.hasArg(OPT_verbose); in main() 332 Printer = std::make_unique<GNUPrinter>(outs(), errs(), Config); in main() 334 Printer = std::make_unique<JSONPrinter>(outs(), Config); in main() 336 Printer = std::make_unique<LLVMPrinter>(outs(), errs(), Config); in main()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/LTO/ |
| H A D | LTOBackend.h | 37 bool opt(const Config &Conf, TargetMachine *TM, unsigned Task, Module &Mod, 44 Error backend(const Config &C, AddStreamFn AddStream, 54 Error thinBackend(const Config &C, unsigned Task, AddStreamFn AddStream,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | ELF_x86_64.cpp | 545 PassConfiguration Config; in link_ELF_x86_64() local 549 Config.PrePrunePasses.push_back(EHFrameSplitter(".eh_frame")); in link_ELF_x86_64() 550 Config.PrePrunePasses.push_back(EHFrameEdgeFixer( in link_ELF_x86_64() 552 Config.PrePrunePasses.push_back(EHFrameNullTerminator(".eh_frame")); in link_ELF_x86_64() 557 Config.PrePrunePasses.push_back(std::move(MarkLive)); in link_ELF_x86_64() 559 Config.PrePrunePasses.push_back(markAllSymbolsLive); in link_ELF_x86_64() 562 Config.PostPrunePasses.push_back( in link_ELF_x86_64() 566 Config.PostAllocationPasses.push_back( in link_ELF_x86_64() 571 Config.PreFixupPasses.push_back(optimizeELF_x86_64_GOTAndStubs); in link_ELF_x86_64() 574 if (auto Err = Ctx->modifyPassConfig(*G, Config)) in link_ELF_x86_64() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
| H A D | DIPrinter.cpp | 111 if (Config.PrintAddress) { in printHeader() 114 StringRef Delimiter = Config.Pretty ? ": " : "\n"; in printHeader() 125 if (Config.PrintFunctions) { in printFunctionName() 128 StringRef Delimiter = Config.Pretty ? " at " : "\n"; in printFunctionName() 129 StringRef Prefix = (Config.Pretty && Inlined) ? " (inlined by) " : ""; in printFunctionName() 138 SourceCode(Filename, Info.Line, Config.SourceContextLines, Info.Source)); in printSimpleLocation() 148 SourceCode(Filename, Info.Line, Config.SourceContextLines, Info.Source)); in printSimpleLocation() 180 if (Config.Verbose) in print() 315 Config.SourceContextLines, LineInfo.Source); in print()
|