| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
| H A D | MachOObjectFormat.h | 26 LLVM_ABI extern StringRef MachODataCommonSectionName; 27 LLVM_ABI extern StringRef MachODataDataSectionName; 28 LLVM_ABI extern StringRef MachOEHFrameSectionName; 29 LLVM_ABI extern StringRef MachOCompactUnwindSectionName; 30 LLVM_ABI extern StringRef MachOCStringSectionName; 31 LLVM_ABI extern StringRef MachOModInitFuncSectionName; 32 LLVM_ABI extern StringRef MachOObjCCatListSectionName; 33 LLVM_ABI extern StringRef MachOObjCCatList2SectionName; 34 LLVM_ABI extern StringRef MachOObjCClassListSectionName; 35 LLVM_ABI extern StringRef MachOObjCClassNameSectionName; [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Shared/ |
| H A D | MachOObjectFormat.cpp | 18 StringRef MachODataCommonSectionName = "__DATA,__common"; 19 StringRef MachODataDataSectionName = "__DATA,__data"; 20 StringRef MachOEHFrameSectionName = "__TEXT,__eh_frame"; 21 StringRef MachOCompactUnwindSectionName = "__LD,__compact_unwind"; 22 StringRef MachOCStringSectionName = "__TEXT,__cstring"; 23 StringRef MachOModInitFuncSectionName = "__DATA,__mod_init_func"; 24 StringRef MachOObjCCatListSectionName = "__DATA,__objc_catlist"; 25 StringRef MachOObjCCatList2SectionName = "__DATA,__objc_catlist2"; 26 StringRef MachOObjCClassListSectionName = "__DATA,__objc_classlist"; 27 StringRef MachOObjCClassNameSectionName = "__TEXT,__objc_classname"; [all …]
|
| H A D | ObjectFormats.cpp | 19 StringRef ELFEHFrameSectionName = ".eh_frame"; 21 StringRef ELFInitArrayFuncSectionName = ".init_array"; 22 StringRef ELFInitFuncSectionName = ".init"; 23 StringRef ELFFiniArrayFuncSectionName = ".fini_array"; 24 StringRef ELFFiniFuncSectionName = ".fini"; 25 StringRef ELFCtorArrayFuncSectionName = ".ctors"; 26 StringRef ELFDtorArrayFuncSectionName = ".dtors"; 28 StringRef ELFInitSectionNames[3]{ 34 StringRef ELFThreadBSSSectionName = ".tbss"; 35 StringRef ELFThreadDataSectionName = ".tdata"; [all …]
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
| H A D | PluginManager.h | 56 llvm::StringRef name = ""; 57 llvm::StringRef description = ""; 73 using SetPluginEnabled = std::function<bool(llvm::StringRef, bool)>; 75 llvm::StringRef name; 109 static llvm::json::Object GetJSON(llvm::StringRef pattern = ""); 118 static bool MatchPluginName(llvm::StringRef pattern, 123 static bool RegisterPlugin(llvm::StringRef name, llvm::StringRef description, 131 static void RegisterPlugin(llvm::StringRef name, llvm::StringRef description, 140 static bool RegisterPlugin(llvm::StringRef name, llvm::StringRef description, 149 GetDisassemblerCreateCallbackForPluginName(llvm::StringRef name); [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | StringRef.h | 32 class StringRef; variable 35 LLVM_ABI bool getAsUnsignedInteger(StringRef Str, unsigned Radix, 38 LLVM_ABI bool getAsSignedInteger(StringRef Str, unsigned Radix, 41 LLVM_ABI bool consumeUnsignedInteger(StringRef &Str, unsigned Radix, 43 LLVM_ABI bool consumeSignedInteger(StringRef &Str, unsigned Radix, 53 class LLVM_GSL_POINTER StringRef { 83 /*implicit*/ StringRef() = default; 87 StringRef(std::nullptr_t) = delete; 90 /*implicit*/ constexpr StringRef(const char *Str LLVM_LIFETIME_BOUND) in StringRef() function 102 /*implicit*/ constexpr StringRef(const char *data LLVM_LIFETIME_BOUND, in StringRef() function [all …]
|
| H A D | SmallString.h | 32 SmallString(StringRef S) : SmallVector<char, InternalLen>(S.begin(), S.end()) {} in SmallString() 35 SmallString(std::initializer_list<StringRef> Refs) in SmallString() 51 void assign(StringRef RHS) { in assign() 56 void assign(std::initializer_list<StringRef> Refs) { in assign() 68 void append(StringRef RHS) { in append() 73 void append(std::initializer_list<StringRef> Refs) { in append() 76 for (const StringRef &Ref : Refs) in append() 79 for (const StringRef &Ref : Refs) { in append() 92 [[nodiscard]] bool equals(StringRef RHS) const { return str() == RHS; } in equals() 95 [[nodiscard]] bool equals_insensitive(StringRef RHS) const { in equals_insensitive() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | ScopedPrinter.h | 27 StringRef Name; 35 StringRef AltName; 37 constexpr EnumEntry(StringRef N, StringRef A, T V) in EnumEntry() 39 constexpr EnumEntry(StringRef N, T V) : Name(N), AltName(N), Value(V) {} in EnumEntry() 67 FlagEntry(StringRef Name, char Value) in FlagEntry() 69 FlagEntry(StringRef Name, signed char Value) in FlagEntry() 71 FlagEntry(StringRef Name, signed short Value) in FlagEntry() 73 FlagEntry(StringRef Name, signed int Value) in FlagEntry() 75 FlagEntry(StringRef Name, signed long Value) in FlagEntry() 77 FlagEntry(StringRef Name, signed long long Value) in FlagEntry() [all …]
|
| H A D | Path.h | 76 const StringRef> { 77 StringRef Path; ///< The entire path. 78 StringRef Component; ///< The current component. Not necessarily in Path. 83 LLVM_ABI friend const_iterator begin(StringRef path, Style style); 84 LLVM_ABI friend const_iterator end(StringRef path); 102 const StringRef> { 103 StringRef Path; ///< The entire path. 104 StringRef Component; ///< The current component. Not necessarily in Path. 108 LLVM_ABI friend reverse_iterator rbegin(StringRef path, Style style); 109 LLVM_ABI friend reverse_iterator rend(StringRef path); [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Remarks/ |
| H A D | BitstreamRemarkContainer.h | 70 constexpr StringRef MetaBlockName = StringRef("Meta", 4); 71 constexpr StringRef RemarkBlockName = StringRef("Remark", 6); 92 constexpr StringRef MetaContainerInfoName = StringRef("Container info", 14); 93 constexpr StringRef MetaRemarkVersionName = StringRef("Remark version", 14); 94 constexpr StringRef MetaStrTabName = StringRef("String table", 12); 95 constexpr StringRef MetaExternalFileName = StringRef("External File", 13); 96 constexpr StringRef RemarkHeaderName = StringRef("Remark header", 13); 97 constexpr StringRef RemarkDebugLocName = StringRef("Remark debug location", 21); 98 constexpr StringRef RemarkHotnessName = StringRef("Remark hotness", 14); 99 constexpr StringRef RemarkArgWithDebugLocName = [all …]
|
| /freebsd/contrib/llvm-project/lld/COFF/ |
| H A D | Driver.h | 47 std::vector<StringRef> exports; 48 std::vector<StringRef> includes; 49 std::vector<StringRef> excludes; 61 llvm::opt::InputArgList parse(StringRef s) { return parse(tokenize(s)); } in parse() 66 ParsedDirectives parseDirectives(StringRef s); 72 std::vector<const char *> tokenize(StringRef s); 89 StringRef parentName); 91 void enqueuePDB(StringRef Path) { enqueuePath(Path, false, false); } in enqueuePDB() 95 void enqueuePath(StringRef path, bool wholeArchive, bool lazy); 106 std::optional<StringRef> findFileIfNew(StringRef filename); [all …]
|
| H A D | SymbolTable.h | 78 bool handleMinGWAutomaticImport(Symbol *sym, StringRef name); 81 Symbol *find(StringRef name) const; 82 Symbol *findUnderscore(StringRef name) const; 84 void addUndefinedGlob(StringRef arg); 90 Symbol *findMangle(StringRef name); 91 StringRef mangleMaybe(Symbol *s); 94 StringRef mangle(StringRef sym); 103 StringRef findDefaultEntry(); 112 Symbol *addGCRoot(StringRef sym, bool aliasEC = false); 115 Symbol *addUndefined(StringRef name); [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/ |
| H A D | Dwarf.cpp | 21 StringRef llvm::dwarf::TagString(unsigned Tag) { in TagString() 24 return StringRef(); in TagString() 32 unsigned llvm::dwarf::getTag(StringRef TagString) { in getTag() 62 StringRef llvm::dwarf::ChildrenString(unsigned Children) { in ChildrenString() 69 return StringRef(); in ChildrenString() 72 StringRef llvm::dwarf::AttributeString(unsigned Attribute) { in AttributeString() 75 return StringRef(); in AttributeString() 105 StringRef llvm::dwarf::FormEncodingString(unsigned Encoding) { in FormEncodingString() 108 return StringRef(); in FormEncodingString() 138 StringRef llvm::dwarf::OperationEncodingString(unsigned Encoding) { in OperationEncodingString() [all …]
|
| /freebsd/contrib/llvm-project/lld/MachO/ |
| H A D | Config.h | 39 using NamePair = std::pair<llvm::StringRef, llvm::StringRef>; 41 using SegmentRenameMap = llvm::DenseMap<llvm::StringRef, llvm::StringRef>; 81 llvm::StringRef segName; 82 llvm::StringRef sectName; 87 llvm::StringRef name; 101 void insert(llvm::StringRef symbolName); 102 bool matchLiteral(llvm::StringRef symbolName) const; 103 bool matchGlob(llvm::StringRef symbolName) const; 104 bool match(llvm::StringRef symbolName) const; 164 llvm::StringRef outputFile; [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/ |
| H A D | ARMTargetParser.h | 83 StringRef Name; 85 StringRef Feature; 86 StringRef NegFeature; 98 StringRef Name; 118 StringRef Name; 178 StringRef Name; 199 StringRef Name; 200 StringRef CPUAttr; // CPU class in build attributes. 201 StringRef ArchFeature; 208 StringRef getSubArch() const { return ArchFeature.substr(1); } in getSubArch() [all …]
|
| H A D | AArch64TargetParser.h | 56 StringRef UserVisibleName; // Human readable name used in -march, -cpu 58 std::optional<StringRef> Alias; // An alias for this extension, if one exists. 61 StringRef ArchFeatureName; // The feature name defined by the 63 StringRef Description; // The textual description of the extension. 64 StringRef PosTargetFeature; // -target-feature/-mattr enable string, 66 StringRef NegTargetFeature; // -target-feature/-mattr disable string, 74 StringRef Name; // The target_version/target_clones spelling. 78 FMVInfo(StringRef Name, CPUFeatures FeatureBit, FeatPriorities PriorityBit, in FMVInfo() 103 StringRef Name; // Name as supplied to -march e.g. "armv8.1-a" 104 StringRef ArchFeature; // Name as supplied to -target-feature, e.g. "+v8a" [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | COFFAsmParser.cpp | 31 template<bool (COFFAsmParser::*HandlerMethod)(StringRef, SMLoc)> 32 void addDirectiveHandler(StringRef Directive) { in addDirectiveHandler() 38 bool parseSectionSwitch(StringRef Section, unsigned Characteristics); 40 bool parseSectionSwitch(StringRef Section, unsigned Characteristics, 41 StringRef COMDATSymName, COFF::COMDATType Type, 44 bool parseSectionName(StringRef &SectionName); 45 bool parseSectionFlags(StringRef SectionName, StringRef FlagsString, 105 bool parseSectionDirectiveText(StringRef, SMLoc) { in parseSectionDirectiveText() argument 111 bool parseSectionDirectiveData(StringRef, SMLoc) { in parseSectionDirectiveData() argument 117 bool parseSectionDirectiveBSS(StringRef, SMLoc) { in parseSectionDirectiveBSS() argument [all …]
|
| H A D | DarwinAsmParser.cpp | 43 template<bool (DarwinAsmParser::*HandlerMethod)(StringRef, SMLoc)> 44 void addDirectiveHandler(StringRef Directive) { in addDirectiveHandler() 50 bool parseSectionSwitch(StringRef Segment, StringRef Section, 201 bool parseDirectiveAltEntry(StringRef, SMLoc); 202 bool parseDirectiveDesc(StringRef, SMLoc); 203 bool parseDirectiveIndirectSymbol(StringRef, SMLoc); 204 bool parseDirectiveDumpOrLoad(StringRef, SMLoc); 205 bool parseDirectiveLsym(StringRef, SMLoc); 206 bool parseDirectiveLinkerOption(StringRef, SMLoc); 207 bool parseDirectiveSection(StringRef, SMLoc); [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | StringRef.cpp | 22 constexpr size_t StringRef::npos; 27 static int ascii_strncasecmp(StringRef LHS, StringRef RHS) { in ascii_strncasecmp() 37 int StringRef::compare_insensitive(StringRef RHS) const { in compare_insensitive() 46 bool StringRef::starts_with_insensitive(StringRef Prefix) const { in starts_with_insensitive() 51 bool StringRef::ends_with_insensitive(StringRef Suffix) const { in ends_with_insensitive() 56 size_t StringRef::find_insensitive(char C, size_t From) const { in find_insensitive() 62 int StringRef::compare_numeric(StringRef RHS) const { in compare_numeric() 93 unsigned StringRef::edit_distance(llvm::StringRef Other, in edit_distance() 101 unsigned llvm::StringRef::edit_distance_insensitive( in edit_distance_insensitive() 102 StringRef Other, bool AllowReplacements, unsigned MaxEditDistance) const { in edit_distance_insensitive() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Frontend/ |
| H A D | CheckerRegistry.h | 119 StringRef FullName, StringRef Desc, StringRef DocsUri, 128 void addChecker(StringRef FullName, StringRef Desc, StringRef DocsUri, 139 void addDependency(StringRef FullName, StringRef Dependency); 143 void addWeakDependency(StringRef FullName, StringRef Dependency); 154 void addCheckerOption(StringRef OptionType, StringRef CheckerFullName, 155 StringRef OptionName, StringRef DefaultValStr, 156 StringRef Description, StringRef DevelopmentStatus, 160 void addPackage(StringRef FullName); 171 void addPackageOption(StringRef OptionType, StringRef PackageFullName, 172 StringRef OptionName, StringRef DefaultValStr, [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | ROCm.h | 58 StringRef get(bool Enabled) const { in get() 75 StringRef SPACKReleaseStr = {}) 100 StringRef RocmPathArg; 104 StringRef HIPPathArg; 107 StringRef HIPStdParPathArg; 109 StringRef HIPRocThrustPathArg; 111 StringRef HIPRocPrimPathArg; 113 StringRef HIPVersionArg; 159 void scanLibDevicePath(llvm::StringRef Path); 160 bool parseHIPVersionFile(llvm::StringRef V); [all …]
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/ |
| H A D | GlobalISelMatchTableExecutorEmitter.h | 50 ArrayRef<StringRef> CustomOperandRenderers); 79 raw_ostream &OS, StringRef TypeIdentifier, StringRef ArgType, in emitCxxPredicateFns() 80 StringRef ArgName, StringRef AdditionalArgs, in emitCxxPredicateFns() 81 StringRef AdditionalDeclarations, ArrayRef<PredicateObject> Predicates, in emitCxxPredicateFns() 82 llvm::function_ref<StringRef(PredicateObject)> GetPredEnumName, in emitCxxPredicateFns() 83 llvm::function_ref<StringRef(PredicateObject)> GetPredCode, in emitCxxPredicateFns() 84 StringRef Comment) { in emitCxxPredicateFns() 89 StringRef EnumeratorSeparator = " = GICXXPred_Invalid + 1,\n"; in emitCxxPredicateFns() 112 if (!StringRef(Code).ltrim().starts_with("return")) { in emitCxxPredicateFns() 136 raw_ostream &OS, StringRef AdditionalDecls, [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | NoSanitizeList.h | 32 bool containsPrefix(SanitizerMask Mask, StringRef Prefix, StringRef Name, 33 StringRef Category) const; 39 bool containsGlobal(SanitizerMask Mask, StringRef GlobalName, 40 StringRef Category = StringRef()) const; 41 bool containsType(SanitizerMask Mask, StringRef MangledTypeName, 42 StringRef Category = StringRef()) const; 43 bool containsFunction(SanitizerMask Mask, StringRef FunctionName) const; 44 bool containsFile(SanitizerMask Mask, StringRef FileName, 45 StringRef Category = StringRef()) const; 46 bool containsMainFile(SanitizerMask Mask, StringRef FileName, [all …]
|
| /freebsd/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | ASTTableGen.h | 110 bool isSubClassOf(llvm::StringRef className) const { in isSubClassOf() 145 static constexpr llvm::StringRef ClassName = HasPropertiesClassName; 149 llvm::StringRef getName() const; 151 static llvm::StringRef getTableGenNodeClassName() { in getTableGenNodeClassName() 162 llvm::StringRef getName() const { in getName() 176 static llvm::StringRef getTableGenNodeClassName() { in getTableGenNodeClassName() 185 llvm::StringRef getId() const; 189 static llvm::StringRef getASTHierarchyName() { in getASTHierarchyName() 192 static llvm::StringRef getASTIdTypeName() { in getASTIdTypeName() 195 static llvm::StringRef getASTIdAccessorName() { in getASTIdAccessorName() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/TextAPI/ |
| H A D | TextStubCommon.h | 38 LLVM_YAML_STRONG_TYPEDEF(llvm::StringRef, FlowStringRef) in LLVM_YAML_STRONG_TYPEDEF() argument 50 getInterfaceFileFromJSON(StringRef JSON); in LLVM_YAML_STRONG_TYPEDEF() 60 static StringRef input(StringRef, void *, FlowStringRef &); in LLVM_YAML_STRONG_TYPEDEF() 61 static QuotingType mustQuote(StringRef); in LLVM_YAML_STRONG_TYPEDEF() 70 static StringRef input(StringRef, void *, MachO::PlatformSet &); in LLVM_YAML_STRONG_TYPEDEF() 71 static QuotingType mustQuote(StringRef); in LLVM_YAML_STRONG_TYPEDEF() 80 static StringRef input(StringRef, void *, MachO::Architecture &); in LLVM_YAML_STRONG_TYPEDEF() 81 static QuotingType mustQuote(StringRef); in LLVM_YAML_STRONG_TYPEDEF() 86 static StringRef input(StringRef, void *, MachO::PackedVersion &); in LLVM_YAML_STRONG_TYPEDEF() 87 static QuotingType mustQuote(StringRef); in LLVM_YAML_STRONG_TYPEDEF() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Passes/ |
| H A D | StandardInstrumentations.h | 60 const StringRef PassID; 64 const StringRef PassID) in PassRunDescriptor() 69 void printBeforePass(StringRef PassID, Any IR); 70 void printAfterPass(StringRef PassID, Any IR); 71 void printAfterPassInvalidated(StringRef PassID); 73 bool shouldPrintBeforePass(StringRef PassID); 74 bool shouldPrintAfterPass(StringRef PassID); 81 void pushPassRunDescriptor(StringRef PassID, Any IR, unsigned PassNumber); 82 PassRunDescriptor popPassRunDescriptor(StringRef PassID); 90 static StringRef [all …]
|