/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/wasm/ |
H A D | WasmObjcopy.cpp | 43 static Error handleArgs(const CopyConfig &Config, Object &Obj) { argument 45 for (StringRef Flag : Config.DumpSection) { 53 Obj.removeSections([&Config](const Section &Sec) { 54 if (Config.ToRemove.matches(Sec.Name)) 59 for (StringRef Flag : Config.AddSection) { 76 if (!Config.AddGnuDebugLink.empty() || !Config.BuildIdLinkDir.empty() || 77 Config.BuildIdLinkInput || Config.BuildIdLinkOutput || 78 Config 96 executeObjcopyOnBinary(const CopyConfig &Config, object::WasmObjectFile &In, Buffer &Out) argument [all...] |
H A D | WasmObjcopy.h | 24 Error executeObjcopyOnBinary(const CopyConfig &Config,
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/ |
H A D | COFFObjcopy.cpp | 129 static Error handleArgs(const CopyConfig &Config, Object &Obj) { argument 131 Obj.removeSections([&Config](const Section &Sec) { 134 if (!Config.OnlySection.empty() && !Config.OnlySection.matches(Sec.Name)) 137 if (Config.StripDebug || Config.StripAll || Config.StripAllGNU || 138 Config.DiscardMode == DiscardType::All || Config.StripUnneeded) { 144 if (Config 266 executeObjcopyOnBinary(const CopyConfig &Config, COFFObjectFile &In, Buffer &Out) argument [all...] |
H A D | COFFObjcopy.h | 24 Error executeObjcopyOnBinary(const CopyConfig &Config,
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/ |
H A D | MachOObjcopy.cpp | 45 static Error removeSections(const CopyConfig &Config, Object &Obj) { argument 50 if (!Config.ToRemove.empty()) { 51 RemovePred = [&Config, RemovePred](const std::unique_ptr<Section> &Sec) { 52 return Config.ToRemove.matches(Sec->CanonicalName); 56 if (Config.StripAll || Config.StripDebug) { 66 if (!Config.OnlySection.empty()) { 68 RemovePred = [&Config](const std::unique_ptr<Section> &Sec) { 69 return !Config.OnlySection.matches(Sec->CanonicalName); 76 static void markSymbols(const CopyConfig &Config, Objec argument 83 updateAndRemoveSymbols(const CopyConfig &Config, Object &Obj) argument 131 processLoadCommands(const CopyConfig &Config, Object &Obj) argument 300 handleArgs(const CopyConfig &Config, Object &Obj) argument 360 executeObjcopyOnBinary(const CopyConfig &Config, object::MachOObjectFile &In, Buffer &Out) argument [all...] |
H A D | MachOObjcopy.h | 25 Error executeObjcopyOnBinary(const CopyConfig &Config,
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/ |
H A D | ELFObjcopy.cpp | 136 static std::unique_ptr<Writer> createELFWriter(const CopyConfig &Config, argument 142 return std::make_unique<ELFWriter<ELF32LE>>(Obj, Buf, !Config.StripSections, 143 Config.OnlyKeepDebug); 145 return std::make_unique<ELFWriter<ELF64LE>>(Obj, Buf, !Config.StripSections, 146 Config.OnlyKeepDebug); 148 return std::make_unique<ELFWriter<ELF32BE>>(Obj, Buf, !Config.StripSections, 149 Config.OnlyKeepDebug); 151 return std::make_unique<ELFWriter<ELF64BE>>(Obj, Buf, !Config.StripSections, 152 Config.OnlyKeepDebug); 157 static std::unique_ptr<Writer> createWriter(const CopyConfig &Config, argument 172 findBuildID(const CopyConfig &Config, const object::ELFFile<ELFT> &In) argument 195 findBuildID(const CopyConfig &Config, const object::ELFObjectFileBase &In) argument 218 linkToBuildIdDir(const CopyConfig &Config, StringRef ToLink, StringRef Suffix, ArrayRef<uint8_t> BuildIdBytes) argument 267 splitDWOToFile(const CopyConfig &Config, const Reader &Reader, StringRef File, ElfType OutputElfType) argument 350 updateAndRemoveSymbols(const CopyConfig &Config, Object &Obj) argument 445 replaceAndRemoveSections(const CopyConfig &Config, Object &Obj) argument 605 handleArgs(const CopyConfig &Config, Object &Obj, const Reader &Reader, ElfType OutputElfType) argument 760 writeOutput(const CopyConfig &Config, Object &Obj, Buffer &Out, ElfType OutputElfType) argument 769 executeObjcopyOnIHex(const CopyConfig &Config, MemoryBuffer &In, Buffer &Out) argument 780 executeObjcopyOnRawBinary(const CopyConfig &Config, MemoryBuffer &In, Buffer &Out) argument 796 executeObjcopyOnBinary(const CopyConfig &Config, object::ELFObjectFileBase &In, Buffer &Out) argument [all...] |
H A D | ELFObjcopy.h | 25 Error executeObjcopyOnIHex(const CopyConfig &Config, MemoryBuffer &In, 27 Error executeObjcopyOnRawBinary(const CopyConfig &Config, MemoryBuffer &In, 29 Error executeObjcopyOnBinary(const CopyConfig &Config,
|
H A D | ELFConfig.h | 38 Expected<ELFCopyConfig> parseConfig(const CopyConfig &Config);
|
H A D | ELFConfig.cpp | 101 Expected<ELFCopyConfig> parseConfig(const CopyConfig &Config) { argument 103 if (Config.NewSymbolVisibility) { 106 StringSwitch<uint8_t>(*Config.NewSymbolVisibility) 116 Config.NewSymbolVisibility->str().c_str()); 119 for (StringRef Arg : Config.SymbolsToAdd) {
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | size_class_map.h | 25 template <typename Config> struct SizeClassMapBase { 30 if (Config::MaxBytesCachedLog > 31 || Config::MaxSizeLog > 31) 31 N = static_cast<u32>((1UL << Config::MaxBytesCachedLog) / Size); 33 N = (1U << Config::MaxBytesCachedLog) / static_cast<u32>(Size); 34 return Max(1U, Min(Config::MaxNumCachedHint, N)); 57 template <typename Config> 58 class FixedSizeClassMap : public SizeClassMapBase<Config> { 59 typedef SizeClassMapBase<Config> Base; 61 static const uptr MinSize = 1UL << Config [all...] |
H A D | wrappers_c.cpp | 29 scudo::Allocator<scudo::Config, SCUDO_PREFIX(malloc_postinit)> SCUDO_ALLOCATOR;
|
H A D | allocator_config.h | 81 typedef AndroidConfig Config; 83 typedef FuchsiaConfig Config; 85 typedef DefaultConfig Config;
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/ |
H A D | CopyConfig.cpp | 471 CopyConfig Config; 472 Config.InputFilename = Positional[0]; 473 Config.OutputFilename = Positional[Positional.size() == 1 ? 0 : 1]; 505 Config.InputFormat = StringSwitch<FileFormat>(InputFormat) 511 Config.NewSymbolVisibility = 514 Config.OutputFormat = StringSwitch<FileFormat>(OutputFormat) 518 if (Config.OutputFormat == FileFormat::Unspecified) { 520 Config.OutputFormat = Config.InputFormat; 526 Config 824 CopyConfig Config; local [all...] |
H A D | llvm-objcopy.cpp | 138 static Error executeObjcopyOnIHex(CopyConfig &Config, MemoryBuffer &In, argument 141 if (Error E = Config.parseELFConfig()) 143 return elf::executeObjcopyOnIHex(Config, In, Out); 148 static Error executeObjcopyOnRawBinary(CopyConfig &Config, MemoryBuffer &In, argument 150 switch (Config.OutputFormat) { 158 if (Error E = Config.parseELFConfig()) 160 return elf::executeObjcopyOnRawBinary(Config, In, Out); 168 static Error executeObjcopyOnBinary(CopyConfig &Config, object::Binary &In, argument 171 if (Error E = Config.parseELFConfig()) 173 return elf::executeObjcopyOnBinary(Config, *ELFBinar 185 executeObjcopyOnArchive(CopyConfig &Config, const Archive &Ar) argument 261 executeObjcopy(CopyConfig &Config) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/LTO/ |
H A D | LTOBackend.h | 38 Error backend(const Config &C, AddStreamFn AddStream, 43 Error thinBackend(const Config &C, unsigned Task, AddStreamFn AddStream,
|
H A D | Config.h | 1 //===-Config.h - LLVM Link Time Optimizer Configuration -------------------===// 9 // This file defines the lto::Config data structure, which allows clients to 38 struct Config { struct in namespace:llvm::lto 216 /// This is a convenience function that configures this Config object to write 245 /// Config object. The purpose of this class is to tie ownership of the 246 /// diagnostic handler to the context, as opposed to the Config object (which 251 LTOLLVMContext(const Config &C) : DiagHandler(C.DiagHandler) {
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/include/xray/ |
H A D | xray_log_interface.h | 290 XRayLogInitStatus __xray_log_init_mode(const char *Mode, const char *Config); 296 XRayLogInitStatus __xray_log_init_mode_bin(const char *Mode, const char *Config,
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ValueMap.h | 16 // You can override a ValueMap's Config parameter to control exactly what 18 // legal to call back into the ValueMap from a Config's callbacks. Config 46 template<typename KeyT, typename ValueT, typename Config> 84 template<typename KeyT, typename ValueT, typename Config =ValueMapConfig<KeyT>> 86 friend class ValueMapCallbackVH<KeyT, ValueT, Config>; 88 using ValueMapCVH = ValueMapCallbackVH<KeyT, ValueT, Config>; 91 using ExtraData = typename Config::ExtraData; 239 // according to the user's preferences expressed through the Config object. 240 template <typename KeyT, typename ValueT, typename Config> [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | Yaml.h | 45 T Config; local 46 Input >> Config; local 54 return Config;
|
/freebsd-13-stable/cddl/usr.sbin/zfsd/ |
H A D | vdev.h | 132 nvlist_t *Config() const; 177 Vdev::Config() const function in class:Vdev
|
/freebsd-13-stable/tools/tools/shlib-compat/ |
H A D | shlib-compat.py | 35 class Config(object): class in inherits:object 146 warn(Config.w_cached, "Item is already cached: %d (%s, %s)" % \ 491 cmpcache = Cache(enabled=Config.cmpcache_enabled) 644 if not Config.version_filter.match(vername): 646 if not Config.symbol_filter.match(p['symbol']): 652 if Config.alias_prefixes: 655 for prefix in Config.alias_prefixes: 663 warn(Config.w_alias, "Symbol alias is " \ 694 warn(Config.w_symbol, "Symbol %s (%s) not found at offset 0x%x" % \ 697 if Config [all...] |
/freebsd-13-stable/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) 145 if (Config == nullptr) 154 // data provided in the Config argument. 156 0, 0, const_cast<void *>(static_cast<const void *>(Config)), 0); 160 __xray_log_init_mode_bin(const char *Mode, const char *Config, 166 if (Config == nullptr) 175 // data provided in the Config argument. 177 0, 0, const_cast<void *>(static_cast<const void *>(Config)), ConfigSize);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/LTO/ |
H A D | LTOBackend.cpp | 59 Error Config::addSaveTemps(std::string OutputFileName, 158 createTargetMachine(const Config &Conf, const Target *TheTarget, Module &M) { 183 static void runNewPMPasses(const Config &Conf, Module &Mod, TargetMachine *TM, 258 static void runNewPMCustomPasses(const Config &Conf, Module &Mod, 303 static void runOldPMPasses(const Config &Conf, Module &Mod, TargetMachine *TM, 334 bool opt(const Config &Conf, TargetMachine *TM, unsigned Task, Module &Mod, 353 static void EmitBitcodeSection(Module &M, const Config &Conf) { 366 void codegen(const Config &Conf, TargetMachine *TM, AddStreamFn AddStream, 409 void splitCodeGen(const Config &C, TargetMachine *TM, AddStreamFn AddStream, 460 Expected<const Target *> initAndLookupTarget(const Config [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | FunctionComparator.h | 55 struct Config : ValueMapConfig<GlobalValue *> { struct in class:llvm::GlobalNumberState 59 // Each GlobalValue is mapped to an identifier. The Config ensures when RAUW 62 using ValueNumberMap = ValueMap<GlobalValue *, uint64_t, Config>;
|