/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-dwp/ |
H A D | llvm-dwp.cpp | 69 StringRef CurStrSection, 70 StringRef CurStrOffsetSection) { 100 static uint64_t getCUAbbrev(StringRef Abbrev, uint64_t AbbrCode) { 124 uint64_t &InfoOffset, StringRef StrOffsets, StringRef Str) { 138 static Expected<CompileUnitIdentifiers> getCUIdentifiers(StringRef Abbrev, 139 StringRef Info, 140 StringRef StrOffsets, 141 StringRef Str) { 217 StringRef DWPNam [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | InitHeaderSearch.cpp | 50 InitHeaderSearch(HeaderSearch &HS, bool verbose, StringRef sysroot) 67 void AddSystemHeaderPrefix(StringRef Prefix, bool IsSystemHeader) { 74 bool AddGnuCPlusPlusIncludePaths(StringRef Base, StringRef ArchDir, 75 StringRef Dir32, StringRef Dir64, 80 void AddMinGWCPlusPlusIncludePaths(StringRef Base, 81 StringRef Arch, 82 StringRef Version); 107 static bool CanPrefixSysroot(StringRef Pat [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | InclusionRewriter.cpp | 42 StringRef MainEOL; ///< The line ending marker to use. 78 StringRef FileName, bool IsAngled, 80 StringRef SearchPath, StringRef RelativePath, 87 void WriteLineInfo(StringRef Filename, int Line, 89 StringRef Extra = StringRef()); 93 StringRef EOL, int &lines, 96 const MemoryBuffer &FromFile, StringRef EOL, 102 StringRef NextIdentifierNam [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/ |
H A D | Mips.cpp | 25 StringRef &CPUName, StringRef &ABIName) { 67 ABIName = llvm::StringSwitch<llvm::StringRef>(ABIName) 134 StringRef CPUName, ABIName; 143 StringRef mips::getGnuCompatibleMipsABIName(StringRef ABI) { 144 return llvm::StringSwitch<llvm::StringRef>(ABI) 167 if (ABI == mips::FloatABI::Invalid && !StringRef(A->getValue()).empty()) { 193 std::vector<StringRef> &Features) { 194 StringRef CPUNam [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/Targets/ |
H A D | X86.h | 164 bool isSPRegName(StringRef RegName) const override { 168 bool validateCpuSupports(StringRef Name) const override; 170 bool validateCpuIs(StringRef Name) const override; 172 bool validateCPUSpecificCPUDispatch(StringRef Name) const override; 174 char CPUSpecificManglingCharacter(StringRef Name) const override; 177 StringRef Name, 178 llvm::SmallVectorImpl<StringRef> &Features) const override; 185 bool validateGlobalRegisterVariable(StringRef RegName, unsigned RegSize, 199 StringRef Constraint, unsigned Size) const override; 202 StringRef Constrain [all...] |
H A D | AArch64.h | 57 StringRef getABI() const override; 60 bool validateBranchProtection(StringRef, BranchProtectionInfo &, 61 StringRef &) const override; 63 bool isValidCPUName(StringRef Name) const override; 64 void fillValidCPUList(SmallVectorImpl<StringRef> &Values) const override; 88 bool hasFeature(StringRef Feature) const override; 118 validateConstraintModifier(StringRef Constraint, char Modifier, unsigned Size, 122 StringRef getConstraintRegister(StringRef Constraint, 123 StringRef Expressio [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/ |
H A D | COFFImportFile.cpp | 92 static ImportNameType getNameType(StringRef Sym, StringRef ExtName, 109 static Expected<std::string> replace(StringRef S, StringRef From, 110 StringRef To) { 114 if (Pos == StringRef::npos && From.startswith("_") && To.startswith("_")) { 120 if (Pos == StringRef::npos) { 122 StringRef(Twine(S + ": replacing '" + From + 142 StringRef ImportName; 143 StringRef Librar [all...] |
/freebsd-13-stable/contrib/llvm-project/lldb/source/Utility/ |
H A D | FileSpec.cpp | 15 #include "llvm/ADT/StringRef.h" 71 FileSpec::FileSpec(llvm::StringRef path, Style style) : m_style(style) { 75 FileSpec::FileSpec(llvm::StringRef path, const llvm::Triple &triple) 90 inline char safeCharAtIndex(const llvm::StringRef &path, size_t i) { 113 bool needsNormalization(const llvm::StringRef &path) { 119 for (auto i = path.find_first_of("\\/"); i != llvm::StringRef::npos; 169 void FileSpec::SetFile(llvm::StringRef pathname) { SetFile(pathname, m_style); } 174 void FileSpec::SetFile(llvm::StringRef pathname, Style style) { 203 llvm::StringRef filename = llvm::sys::path::filename(resolved, m_style); 207 llvm::StringRef director [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
H A D | AtomicChange.cpp | 89 bool violatesColumnLimit(llvm::StringRef Code, unsigned ColumnLimit, 92 StartPos = (StartPos == llvm::StringRef::npos) ? 0 : StartPos + 1; 95 if (EndPos == llvm::StringRef::npos) 98 llvm::SmallVector<llvm::StringRef, 8> Lines; 100 for (llvm::StringRef Line : Lines) 107 getRangesForFormating(llvm::StringRef Code, unsigned ColumnLimit, 144 createReplacementsForHeaders(llvm::StringRef FilePath, llvm::StringRef Code, 151 for (llvm::StringRef Header : Change.getInsertedHeaders()) { 183 combineReplacementsInChanges(llvm::StringRef FilePat [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | InstrProfReader.h | 18 #include "llvm/ADT/StringRef.h" 282 StringRef getName(uint64_t NameRef) const { 313 using internal_key_type = StringRef; 314 using external_key_type = StringRef; 318 static bool EqualKey(StringRef A, StringRef B) { return A == B; } 319 static StringRef GetInternalKey(StringRef K) { return K; } 320 static StringRef GetExternalKey(StringRef [all...] |
H A D | SampleProfReader.h | 213 #include "llvm/ADT/StringRef.h" 270 void insert(StringRef FunctionName) { Remappings->insert(FunctionName); } 274 bool exist(StringRef FunctionName) { 280 FunctionSamples *getSamplesFor(StringRef FunctionName); 346 void dumpFunctionProfile(StringRef FName, raw_ostream &OS = dbgs()); 358 StringRef CanonName = FunctionSamples::getCanonicalFnName(F); 366 StringRef CanonName = FunctionSamples::getCanonicalFnName(F); 372 virtual FunctionSamples *getSamplesFor(StringRef Fname) { 420 virtual std::vector<StringRef> *getNameTable() { return nullptr; } 487 virtual std::vector<StringRef> *getNameTabl [all...] |
/freebsd-13-stable/contrib/llvm-project/lldb/source/Symbol/ |
H A D | PostfixExpression.cpp | 23 GetBinaryOpType(llvm::StringRef token) { 38 GetUnaryOpType(llvm::StringRef token) { 44 Node *postfix::ParseOneExpression(llvm::StringRef expr, 48 llvm::StringRef token; 87 std::vector<std::pair<llvm::StringRef, Node *>> 88 postfix::ParseFPOProgram(llvm::StringRef prog, llvm::BumpPtrAllocator &alloc) { 89 llvm::SmallVector<llvm::StringRef, 4> exprs; 95 std::vector<std::pair<llvm::StringRef, Node *>> result; 96 for (llvm::StringRef expr : exprs) { 97 llvm::StringRef lh [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | LiteralSupport.h | 23 #include "llvm/ADT/StringRef.h" 37 void expandUCNs(SmallVectorImpl<char> &Buf, StringRef Input); 59 NumericLiteralParser(StringRef TokSpelling, SourceLocation TokLoc, 90 StringRef getUDSuffix() const { 99 static bool isValidUDSuffix(const LangOptions &LangOpts, StringRef Suffix); 199 StringRef getUDSuffix() const { return UDSuffixBuf; } 241 StringRef GetString() const { 242 return StringRef(ResultBuf.data(), GetStringLength()); 264 StringRef getUDSuffix() const { return UDSuffixBuf; } 277 static bool isValidUDSuffix(const LangOptions &LangOpts, StringRef Suffi [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransformActions.cpp | 47 StringRef Text1, Text2; 105 typedef SmallVector<StringRef, 2> TextsVec; 133 void insert(SourceLocation loc, StringRef text); 134 void insertAfterToken(SourceLocation loc, StringRef text); 137 void replace(SourceRange range, StringRef text); 139 void replaceStmt(Stmt *S, StringRef text); 140 void replaceText(SourceLocation loc, StringRef text, 141 StringRef replacementText); 154 bool canReplaceText(SourceLocation loc, StringRef text); 156 void commitInsert(SourceLocation loc, StringRef tex [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/ |
H A D | Object.h | 13 #include "llvm/ADT/StringRef.h" 55 StringRef Content; 58 Section(StringRef SegName, StringRef SectName) 62 Section(StringRef SegName, StringRef SectName, StringRef Content) 96 Optional<StringRef> getSegmentName() const; 119 return StringRef(Name).startswith("_$s") || 120 StringRef(Nam [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCAsmInfo.h | 18 #include "llvm/ADT/StringRef.h" 118 StringRef CommentString; 132 StringRef PrivateGlobalPrefix; 136 StringRef PrivateLabelPrefix; 142 StringRef LinkerPrivateGlobalPrefix; 472 virtual bool isValidUnquotedName(StringRef Name) const; 481 virtual bool shouldOmitSectionDirective(StringRef SectionName) const; 519 StringRef getCommentString() const { return CommentString; } 524 StringRef getPrivateGlobalPrefix() const { return PrivateGlobalPrefix; } 525 StringRef getPrivateLabelPrefi [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | DataExtractor.h | 12 #include "llvm/ADT/StringRef.h" 42 StringRef Data; 83 DataExtractor(StringRef Data, bool IsLittleEndian, uint8_t AddressSize) 87 : Data(StringRef(reinterpret_cast<const char *>(Data.data()), 92 StringRef getData() const { return Data; } 137 /// Returns a StringRef for the C String from the data at the offset 157 /// A StringRef for the C string value in the data. If the offset 160 /// a default-initialized StringRef will be returned. 161 StringRef getCStrRef(uint64_t *OffsetPtr, Error *Err = nullptr) const; 163 /// Extract a C string (as a StringRef) fro [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | LockFileManager.cpp | 56 LockFileManager::readLockFile(StringRef LockFileName) { 67 StringRef Hostname; 68 StringRef PIDStr; 95 StringRef UUIDRef(UUIDStr); 103 StringRef HostNameRef(HostName); 107 StringRef Dummy("localhost"); 114 bool LockFileManager::processStillExecuting(StringRef HostID, int PID) { 138 StringRef Filename; 141 RemoveUniqueLockFileOnSignal(StringRef Name) 161 LockFileManager::LockFileManager(StringRef FileNam [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/MCParser/ |
H A D | MCTargetAsmParser.h | 12 #include "llvm/ADT/StringRef.h" 67 StringRef BaseReg; 68 StringRef IndexReg; 69 StringRef OffsetName; 73 : NeedBracs(false), Imm(0), BaseReg(StringRef()), IndexReg(StringRef()), 74 OffsetName(StringRef()), Scale(1) {} 76 IntelExpr(StringRef baseReg, StringRef indexReg, unsigned scale, 77 StringRef offsetNam [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULibFunc.h | 12 #include "llvm/ADT/StringRef.h" 339 virtual bool parseFuncName(StringRef &mangledName) = 0; 345 void setName(StringRef N) { Name = std::string(N); } 365 explicit AMDGPULibFunc(StringRef FName, FunctionType *FT); 381 bool parseFuncName(StringRef &MangledName) { 389 void setName(StringRef N) { Impl->setName(N); } 399 static bool parse(StringRef MangledName, AMDGPULibFunc &Ptr); 418 static StringRef getUnmangledName(StringRef MangledName); 420 bool parseFuncName(StringRef [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonMCTargetDesc.cpp | 22 #include "llvm/ADT/StringRef.h" 102 static StringRef DefaultArch = "hexagonv60"; 104 static StringRef HexagonGetArchVariant() { 124 StringRef Hexagon_MC::selectHexagonCPU(StringRef CPU) { 125 StringRef ArchV = HexagonGetArchVariant(); 129 std::pair<StringRef,StringRef> ArchP = ArchV.split('t'); 130 std::pair<StringRef,StringRef> CPU [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | GICombinerEmitter.cpp | 64 StringRef insertStrTab(StringRef S) { 89 StringRef PatternSymbol; 91 StringRef Type; 96 MatchDataInfo(StringRef PatternSymbol, StringRef Type, StringRef VariableName) 99 StringRef getPatternSymbol() const { return PatternSymbol; }; 100 StringRef getType() const { return Type; }; 101 StringRef getVariableNam [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | DIBuilder.cpp | 139 unsigned Lang, DIFile *File, StringRef Producer, bool isOptimized, 140 StringRef Flags, unsigned RunTimeVer, StringRef SplitName, 144 StringRef SysRoot, StringRef SDK) { 166 Metadata *NS, DIFile *File, unsigned Line, StringRef Name, 184 Context, NS, File, Line, StringRef(), 192 Context, NS, File, Line, StringRef(), 199 Context, M, File, Line, StringRef(), 207 StringRef Nam [all...] |
/freebsd-13-stable/contrib/llvm-project/lld/COFF/ |
H A D | Driver.cpp | 98 static std::pair<StringRef, StringRef> getOldNewOptions(opt::InputArgList &args, 104 StringRef s = arg->getValue(); 105 std::pair<StringRef, StringRef> ret = s.split(';'); 113 static std::string getOutputPath(StringRef path) { 114 StringRef ext = ".exe"; 124 static bool isCrtend(StringRef s) { 161 static StringRef mangle(StringRef sy [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | StringMap.h | 61 unsigned LookupBucketFor(StringRef Key); 66 int FindKey(StringRef Key) const; 74 StringMapEntryBase *RemoveKey(StringRef Key); 125 StringMap(std::initializer_list<std::pair<StringRef, ValueTy>> List) 216 iterator find(StringRef Key) { 223 const_iterator find(StringRef Key) const { 232 ValueTy lookup(StringRef Key) const { 241 ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } 244 size_type count(StringRef Key) const { return find(Key) == end() ? 0 : 1; } 294 std::pair<iterator, bool> insert(std::pair<StringRef, ValueT [all...] |