/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/Targets/ |
H A D | Hexagon.h | 96 bool hasFeature(StringRef Feature) const override; 100 StringRef CPU, 118 static const char *getHexagonCPUSuffix(StringRef Name); 120 bool isValidCPUName(StringRef Name) const override { 124 void fillValidCPUList(SmallVectorImpl<StringRef> &Values) const override;
|
H A D | ARM.h | 53 StringRef CPUProfile; 54 StringRef CPUAttr; 114 StringRef getCPUAttr() const; 115 StringRef getCPUProfile() const; 120 StringRef getABI() const override; 126 StringRef CPU, 129 bool isValidFeatureName(StringRef Feature) const override { 138 bool hasFeature(StringRef Feature) const override; 142 bool isValidCPUName(StringRef Name) const override; 143 void fillValidCPUList(SmallVectorImpl<StringRef> [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/ |
H A D | CodeExpander.cpp | 22 StringRef Current = Code; 26 if (Pos == StringRef::npos) { 53 StringRef StartVar = Current; 55 StringRef Var; 59 StringRef EndVar = StartVar.drop_front(2 /* ${ */ + Var.size());
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Remarks/ |
H A D | YAMLRemarkSerializer.h | 43 Optional<StringRef> ExternalFilename = None) override; 56 Optional<StringRef> ExternalFilename; 58 YAMLMetaSerializer(raw_ostream &OS, Optional<StringRef> ExternalFilename) 86 Optional<StringRef> ExternalFilename = None) override; 98 Optional<StringRef> ExternalFilename,
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | WithColor.h | 17 class StringRef; 101 static raw_ostream &error(raw_ostream &OS, StringRef Prefix = "", 104 static raw_ostream &warning(raw_ostream &OS, StringRef Prefix = "", 107 static raw_ostream ¬e(raw_ostream &OS, StringRef Prefix = "", 110 static raw_ostream &remark(raw_ostream &OS, StringRef Prefix = "",
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | FormattedStream.cpp | 30 auto ProcessUTF8CodePoint = [&Line, &Column](StringRef CP) { 61 PartialUTF8Char.append(StringRef(Ptr, Size)); 67 PartialUTF8Char.append(StringRef(Ptr, BytesFromBuffer)); 86 PartialUTF8Char = StringRef(Ptr, End - Ptr); 90 ProcessUTF8CodePoint(StringRef(Ptr, NumBytes));
|
H A D | FileCheck.cpp | 29 StringRef ExpressionFormat::toString() const { 32 return StringRef("<none>"); 34 return StringRef("%u"); 36 return StringRef("%d"); 38 return StringRef("%X"); 40 return StringRef("%x"); 45 Expected<StringRef> ExpressionFormat::getWildcardRegex() const { 48 return StringRef("[0-9]+"); 50 return StringRef("-?[0-9]+"); 52 return StringRef("[ [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | SparcSubtarget.h | 29 class StringRef; 104 void ParseSubtargetFeatures(StringRef CPU, StringRef FS); 105 SparcSubtarget &initializeSubtargetDependencies(StringRef CPU, StringRef FS);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | InstrProf.h | 20 #include "llvm/ADT/StringRef.h" 73 inline StringRef getInstrProfValueProfFuncName() { 78 inline StringRef getInstrProfValueRangeProfFuncName() { 83 inline StringRef getInstrProfNameVarPrefix() { return "__profn_"; } 86 inline StringRef getInstrProfDataVarPrefix() { return "__profd_"; } 89 inline StringRef getInstrProfCountersVarPrefix() { return "__profc_"; } 92 inline StringRef getInstrProfValuesVarPrefix() { return "__profvp_"; } 95 inline StringRef getInstrProfVNodesVarName() { return "__llvm_prf_vnodes"; } 99 inline StringRef getInstrProfNamesVarName() { 106 inline StringRef getCoverageMappingVarNam [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Inclusions/ |
H A D | HeaderIncludes.cpp | 40 StringRef FileName, StringRef Code, const IncludeStyle &Style, 58 Lexer &Lex, StringRef Name, Token &Tok, 59 llvm::Optional<StringRef> RawIDName = llvm::None) { 80 unsigned getOffsetAfterHeaderGuardsAndComments(StringRef FileName, 81 StringRef Code, 112 StringRef("once"))) 156 unsigned getMaxHeaderInsertionOffset(StringRef FileName, StringRef Code, 169 inline StringRef trimInclud [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Driver/ |
H A D | Distro.cpp | 12 #include "llvm/ADT/StringRef.h" 42 StringRef Data = File.get()->getBuffer(); 43 SmallVector<StringRef, 16> Lines; 46 for (StringRef Line : Lines) 82 StringRef Data = File.get()->getBuffer(); 88 if (Data.find("release 7") != StringRef::npos) 90 else if (Data.find("release 6") != StringRef::npos) 92 else if (Data.find("release 5") != StringRef::npos) 100 StringRef Data = File.get()->getBuffer(); 135 StringRef Dat [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | WasmAsmParser.cpp | 38 template<bool (WasmAsmParser::*HandlerMethod)(StringRef, SMLoc)> 39 void addDirectiveHandler(StringRef Directive) { 70 bool error(const StringRef &Msg, const AsmToken &Tok) { 88 bool parseSectionDirectiveText(StringRef, SMLoc) { 93 bool parseSectionFlags(StringRef FlagStr, bool &Passive) { 94 SmallVector<StringRef, 2> Flags; 106 bool parseSectionDirective(StringRef, SMLoc) { 107 StringRef Name; 158 bool parseDirectiveSize(StringRef, SMLoc) { 159 StringRef Nam [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-cov/ |
H A D | SourceCoverageView.h | 56 StringRef FunctionName; 60 InstantiationView(StringRef FunctionName, unsigned Line, 87 std::string getOutputPath(StringRef Path, StringRef Extension, 92 Expected<OwnedStream> createOutputStream(StringRef Path, StringRef Extension, 96 static StringRef getCoverageDir() { return "coverage"; } 108 virtual Expected<OwnedStream> createViewFile(StringRef Path, 129 StringRef SourceName; 152 StringRef Lin [all...] |
/freebsd-13-stable/contrib/llvm-project/lld/lib/ReaderWriter/MachO/ |
H A D | MachOLinkingContext.cpp | 40 bool MachOLinkingContext::parsePackedVersion(StringRef str, uint32_t &result) { 46 SmallVector<StringRef, 3> parts; 75 bool MachOLinkingContext::parsePackedVersion(StringRef str, uint64_t &result) { 81 SmallVector<StringRef, 5> parts; 92 for (StringRef str : llvm::makeArrayRef(parts).slice(1)) { 125 MachOLinkingContext::archFromName(StringRef archName) { 133 StringRef MachOLinkingContext::nameFromArch(Arch arch) { 159 bool MachOLinkingContext::isThinObjectFile(StringRef path, Arch &arch) { 395 StringRef MachOLinkingContext::binderSymbolName() const { 399 bool MachOLinkingContext::minOS(StringRef ma [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/ |
H A D | ARM.cpp | 25 llvm::StringRef Arch = Triple.getArchName(); 31 llvm::StringRef Arch = Triple.getArchName(); 36 void arm::getARMArchCPUFromArgs(const ArgList &Args, llvm::StringRef &Arch, 37 llvm::StringRef &CPU, bool FromAs) { 47 StringRef Value = A->getValue(); 58 const ArgList &Args, StringRef HWDiv, 59 std::vector<StringRef> &Features) { 67 const ArgList &Args, StringRef FPU, 68 std::vector<StringRef> &Features) { 76 static bool DecodeARMFeatures(const Driver &D, StringRef tex [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | DiagnosticInfo.cpp | 128 StringRef DiagnosticLocation::getRelativePath() const { 133 StringRef Name = File->getFilename(); 146 void DiagnosticInfoWithLocationBase::getLocation(StringRef &RelativePath, 155 StringRef Filename("<unknown>"); 163 DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, 184 DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, const Type *T) 190 DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, StringRef S) 193 DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, int N) 196 DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Ke [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | OptParserEmitter.cpp | 31 static raw_ostream &write_cstring(raw_ostream &OS, llvm::StringRef Str) { 40 std::vector<StringRef> Prefixes = R.getValueAsListOfStrings("Prefixes"); 41 StringRef Name = R.getValueAsString("Name"); 58 write_cstring(OS, StringRef(getOptionSpelling(R, PrefixLength))); 67 StringRef KeyPath; 68 StringRef DefaultValue; 69 StringRef NormalizedValuesScope; 72 write_cstring(OS, StringRef(getOptionSpelling(R))); 83 virtual Optional<StringRef> emitValueTable(raw_ostream &OS) const { 93 StringRef NormalizedValu [all...] |
/freebsd-13-stable/contrib/llvm-project/lldb/source/Utility/ |
H A D | ConstString.cpp | 82 const uint8_t h = hash(llvm::StringRef(ccstr)); 97 return GetConstCStringWithStringRef(llvm::StringRef(cstr, cstr_len)); 101 const char *GetConstCStringWithStringRef(const llvm::StringRef &string_ref) { 123 GetConstCStringAndSetMangledCounterPart(llvm::StringRef demangled, 144 const uint8_t h = hash(llvm::StringRef(mangled_ccstr)); 175 uint8_t hash(const llvm::StringRef &s) const { 212 ConstString::ConstString(const llvm::StringRef &s) 219 llvm::StringRef lhs_string_ref(GetStringRef()); 220 llvm::StringRef rhs_string_ref(rhs.GetStringRef()); 254 llvm::StringRef lhs_string_re [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/LTO/ |
H A D | LTO.h | 49 function_ref<void(StringRef, GlobalValue::GUID, GlobalValue::LinkageTypes)> 58 function_ref<bool(StringRef, ValueInfo)> isExported, 67 const ModuleSummaryIndex &Index, StringRef ModuleID, 86 setupLLVMOptimizationRemarks(LLVMContext &Context, StringRef RemarksFilename, 87 StringRef RemarksPasses, StringRef RemarksFormat, 92 setupStatsFile(StringRef StatsFilename); 116 StringRef TargetTriple, SourceFileName, COFFLinkerOpts; 117 std::vector<StringRef> DependentLibraries; 118 std::vector<StringRef> ComdatTabl [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/TextAPI/MachO/ |
H A D | InterfaceFile.h | 20 #include "llvm/ADT/StringRef.h" 85 InterfaceFileRef(StringRef InstallName) : InstallName(InstallName) {} 87 InterfaceFileRef(StringRef InstallName, const TargetList Targets) 90 StringRef getInstallName() const { return InstallName; }; 129 StringRef Name; 131 SymbolsMapKey(MachO::SymbolKind Kind, StringRef Name) 136 return SymbolsMapKey(MachO::SymbolKind::GlobalSymbol, StringRef{}); 141 StringRef{}); 161 void setPath(StringRef Path_) { Path = std::string(Path_); } 166 StringRef getPat [all...] |
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | ConstString.h | 13 #include "llvm/ADT/StringRef.h" 55 explicit ConstString(const llvm::StringRef &s); 174 // StringRef doesn't. Therefore we have to do this check manually now. 227 /// Get the string value as a llvm::StringRef 230 /// Returns a new llvm::StringRef object filled in with the 232 llvm::StringRef GetStringRef() const { 233 return llvm::StringRef(m_string, GetLength()); 356 void SetString(const llvm::StringRef &s); 373 void SetStringWithMangledCounterpart(llvm::StringRef demangled, 462 llvm::StringRef Option [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | Hurd.cpp | 32 StringRef SysRoot) const { 47 static StringRef getOSLibDir(const llvm::Triple &Triple, const ArgList &Args) { 95 if (StringRef(D.Dir).startswith(SysRoot)) { 113 if (StringRef(D.Dir).startswith(SysRoot)) 156 StringRef CIncludeDirs(C_INCLUDE_DIRS); 158 SmallVector<StringRef, 5> Dirs; 160 for (StringRef Dir : Dirs) { 161 StringRef Prefix = 162 llvm::sys::path::is_absolute(Dir) ? "" : StringRef(SysRoot);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | GlobalObject.h | 17 #include "llvm/ADT/StringRef.h" 115 StringRef getSection() const { 116 return hasSection() ? getSectionImpl() : StringRef(); 123 void setSection(StringRef S); 137 bool hasMetadata(StringRef Kind) const { 147 MDNode *getMetadata(StringRef Kind) const; 155 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 164 void setMetadata(StringRef Kind, MDNode *MD); 170 void addMetadata(StringRef Kind, MDNode &MD); 223 StringRef getSectionImp [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
H A D | SourceCodeBuilders.cpp | 65 StringRef Text = getText(E, Context); 78 StringRef Text = 85 StringRef Text = getText(E, Context); 99 StringRef Text = 106 StringRef Text = getText(E, Context); 121 StringRef DerefText = getText(*SubExpr, Context); 130 StringRef Text = getText(E, Context); 145 StringRef DerefText = getText(*SubExpr, Context); 154 StringRef Text = getText(E, Context);
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | TargetInfo.h | 31 #include "llvm/ADT/StringRef.h" 208 mutable StringRef PlatformName; 228 void resetDataLayout(StringRef DL); 867 bool isValidClobber(StringRef Name) const; 873 virtual bool isValidGCCRegisterName(StringRef Name) const; 880 StringRef getNormalizedGCCRegisterName(StringRef Name, 883 virtual bool isSPRegName(StringRef) const { return false; } 891 virtual StringRef getConstraintRegister(StringRef Constrain [all...] |