/freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | TableGenBackend.cpp | 33 StringRef Suffix) { in printLine() 35 assert((Prefix.str().size() + Suffix.size() <= MAX_LINE_LEN) && in printLine() 38 for (size_t i = (size_t)OS.tell() - Pos, e = MAX_LINE_LEN - Suffix.size(); in printLine() 41 OS << Suffix << '\n'; in printLine() 48 StringRef Suffix(" *|"); in emitSourceFileHeader() 49 printLine(OS, Prefix, ' ', Suffix); in emitSourceFileHeader() 50 size_t PSLen = Prefix.size() + Suffix.size(); in emitSourceFileHeader() 55 printLine(OS, Prefix + Desc.substr(Pos, Length), ' ', Suffix); in emitSourceFileHeader() 58 printLine(OS, Prefix, ' ', Suffix); in emitSourceFileHeader() 60 Suffix); in emitSourceFileHeader() 32 printLine(raw_ostream & OS,const Twine & Prefix,char Fill,StringRef Suffix) printLine() argument 46 StringRef Suffix(" *|"); emitSourceFileHeader() local [all...] |
/freebsd/contrib/bmake/ |
H A D | suff.c | 149 typedef struct Suffix { struct 186 } Suffix; argument 206 Suffix *suff; 240 static Suffix *nullSuff; 242 static Suffix *emptySuff; 245 static Suffix * 246 Suffix_Ref(Suffix *suff) in Suffix_Ref() 254 Suffix_Reassign(Suffix **var, Suffix *suff) in Suffix_Reassign() 264 Suffix_Unassign(Suffix **var) in Suffix_Unassign() 312 Suffix_TrimSuffix(const Suffix *suff, size_t nameLen, const char *nameEnd) in Suffix_TrimSuffix() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/Offloading/ |
H A D | OffloadWrapper.cpp | 115 EntryArrayTy EntryArray, StringRef Suffix, in createBinDesc() argument 131 ".omp_offloading.device_image" + Suffix); in createBinDesc() 172 ".omp_offloading.device_images" + Suffix); in createBinDesc() 186 ".omp_offloading.descriptor" + Suffix); in createBinDesc() 190 StringRef Suffix) { in createUnregisterFunction() argument 195 ".omp_offloading.descriptor_unreg" + Suffix, &M); in createUnregisterFunction() 213 StringRef Suffix) { in createRegisterFunction() argument 217 ".omp_offloading.descriptor_reg" + Suffix, &M); in createRegisterFunction() 230 Function *UnregFunc = createUnregisterFunction(M, BinDesc, Suffix); in createRegisterFunction() 267 StringRef Suffix) { in createFatbinDesc() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | Twine.h | 459 Twine concat(const Twine &Suffix) const; in getSingleStringRef() 525 inline Twine Twine::concat(const Twine &Suffix) const { in concat() 527 if (isNull() || Suffix.isNull()) in concat() 532 return Suffix; in concat() 533 if (Suffix.isEmpty()) in concat() 540 NewRHS.twine = &Suffix; 546 if (Suffix.isUnary()) { 547 NewRHS = Suffix.LHS; 548 NewRHSKind = Suffix.getLHSKind(); 506 concat(const Twine & Suffix) concat() argument
|
H A D | StringRef.h | 262 [[nodiscard]] bool ends_with(StringRef Suffix) const { in ends_with() argument 263 return Length >= Suffix.Length && in ends_with() 264 compareMemory(end() - Suffix.Length, Suffix.Data, Suffix.Length) == in ends_with() 267 [[nodiscard]] bool ends_with(char Suffix) const { in ends_with() argument 268 return !empty() && back() == Suffix; in ends_with() 272 [[nodiscard]] bool ends_with_insensitive(StringRef Suffix) const; 640 bool consume_back(StringRef Suffix) { in consume_back() argument 641 if (!ends_with(Suffix)) in consume_back() 644 *this = substr(0, size() - Suffix.size()); in consume_back() 650 bool consume_back_insensitive(StringRef Suffix) { in consume_back_insensitive() argument [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | Preprocessor.cpp | 1181 SmallVector<Token, 32> Suffix; in LexAfterModuleImport() local 1186 Suffix.push_back(Result); in LexAfterModuleImport() 1190 CollectPpImportSuffix(Suffix); in LexAfterModuleImport() 1191 if (Suffix.back().isNot(tok::semi)) { in LexAfterModuleImport() 1193 EnterTokens(Suffix); in LexAfterModuleImport() 1200 SourceLocation SemiLoc = Suffix.back().getLocation(); in LexAfterModuleImport() 1213 /*HashLoc*/ SourceLocation(), ImportTok, Suffix.front(), SemiLoc); in LexAfterModuleImport() 1220 Suffix.emplace_back(); in LexAfterModuleImport() 1221 Suffix.back().startToken(); in LexAfterModuleImport() 1222 Suffix.back().setKind(tok::annot_module_begin); in LexAfterModuleImport() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | MipsLinux.cpp | 126 const char *Suffix; in getCompilerRT() local 129 Suffix = ".o"; in getCompilerRT() 132 Suffix = ".a"; in getCompilerRT() 135 Suffix = ".so"; in getCompilerRT() 139 Path, Twine("libclang_rt." + Component + "-" + "mips" + Suffix)); in getCompilerRT()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/Offloading/ |
H A D | OffloadWrapper.h | 28 llvm::StringRef Suffix = "", 39 EntryArrayTy EntryArray, llvm::StringRef Suffix = "", 50 EntryArrayTy EntryArray, llvm::StringRef Suffix = "",
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | psl | 4 # psl: file(1) magic for Public Suffix List representations 9 0 search/512 \n\n//\ ===BEGIN\ ICANN\ DOMAINS===\n\n Public Suffix List data 12 >15 string \n Public Suffix List data (optimized)
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | WindowsResource.h | 107 uint16_t getDataVersion() const { return Suffix->DataVersion; } in getDataVersion() 108 uint16_t getLanguage() const { return Suffix->Language; } in getLanguage() 109 uint16_t getMemoryFlags() const { return Suffix->MemoryFlags; } in getMemoryFlags() 110 uint16_t getMajorVersion() const { return Suffix->Version >> 16; } in getMajorVersion() 111 uint16_t getMinorVersion() const { return Suffix->Version; } in getMinorVersion() 112 uint32_t getCharacteristics() const { return Suffix->Characteristics; } in getCharacteristics() 132 const WinResHeaderSuffix *Suffix = nullptr; variable
|
/freebsd/sys/contrib/dev/acpica/common/ |
H A D | adfile.c | 306 char *Suffix) in FlGenerateFilename() argument 318 strlen (InputFilename) + strlen (Suffix) + 2); in FlGenerateFilename() 332 strcat (Position, Suffix); in FlGenerateFilename() 339 strcat (NewFilename, Suffix); in FlGenerateFilename()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | MemoryModelRelaxationAnnotations.cpp | 60 StringRef Suffix) { in getTagMD() argument 62 {MDString::get(Ctx, Prefix), MDString::get(Ctx, Suffix)}); in getTagMD() 102 bool MMRAMetadata::hasTag(StringRef Prefix, StringRef Suffix) const { in hasTag() 103 return Tags.count({Prefix, Suffix}); in hasTag()
|
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/ |
H A D | Miscompilation.cpp | 53 std::vector<std::string> &Suffix) override; 62 std::vector<std::string> &Suffix) { in doTest() argument 65 outs() << "Checking to see if '" << getPassesString(Suffix) in doTest() 69 if (BD.runPasses(BD.getProgram(), Suffix, BitcodeResult, false /*delete*/, in doTest() 73 BD.setPassesToRun(Suffix); in doTest() 88 if (Suffix.empty()) { in doTest() 147 if (Suffix.empty()) in doTest() 150 outs() << "Checking to see if '" << getPassesString(Suffix) in doTest() 156 if (BD.runPasses(BD.getProgram(), Suffix, BitcodeResult, false /*delete*/, in doTest() 160 BD.setPassesToRun(Suffix); in doTest() [all …]
|
H A D | ListReducer.h | 121 std::vector<ElTy> Suffix(TheList.begin() + Mid, TheList.end()); in reduceList() 123 Expected<TestResult> Result = doTest(Prefix, Suffix); in reduceList() 130 TheList.swap(Suffix); in reduceList()
|
/freebsd/contrib/ntp/sntp/m4/ |
H A D | ntp_ver_suffix.m4 | 2 dnl NTP Version Suffix (Crypto) 5 dnl VER_SUFFIX Version Suffix (scripts/mkver.in)
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
H A D | M68kMCInstLower.cpp | 51 StringRef Suffix; in GetSymbolFromOperand() local 53 if (!Suffix.empty()) in GetSymbolFromOperand() 62 assert(Suffix.empty()); in GetSymbolFromOperand() 66 Name += Suffix; in GetSymbolFromOperand()
|
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
H A D | Hexagon.cpp | 228 llvm::StringLiteral Suffix; member 258 return Item->Suffix.data(); in getHexagonCPUSuffix() 263 for (const CPUSuffix &Suffix : Suffixes) in fillValidCPUList() local 264 Values.push_back(Suffix.Name); in fillValidCPUList()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | GlobPattern.h | 53 std::optional<StringRef> Suffix; global() variable
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ |
H A D | MultilibBuilder.cpp | 52 MultilibBuilder::MultilibBuilder(StringRef Suffix) in MultilibBuilder() argument 53 : MultilibBuilder(Suffix, Suffix, Suffix) {} in MultilibBuilder()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | GlobPattern.cpp |
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86MCInstLower.cpp | 166 StringRef Suffix; in GetSymbolFromOperand() local 178 Suffix = "$non_lazy_ptr"; in GetSymbolFromOperand() 182 if (!Suffix.empty()) in GetSymbolFromOperand() 191 assert(Suffix.empty()); in GetSymbolFromOperand() 195 Name += Suffix; in GetSymbolFromOperand() 1911 #define INSTR_CASE(Prefix, Instr, Suffix, Postfix) \ in addConstantComments() argument 1912 case X86::Prefix##Instr##Suffix##rm##Postfix: in addConstantComments() 2002 #define MOV_CASE(Prefix, Suffix) \ in addConstantComments() argument 2003 case X86::Prefix##MOVAPD##Suffix##rm: \ in addConstantComments() 2004 case X86::Prefix##MOVAPS##Suffix##rm: \ in addConstantComments() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Support/ |
H A D | SupportHelpers.h | 213 TempFile(StringRef Name, StringRef Suffix = "", StringRef Contents = "", 218 EC = llvm::sys::fs::createTemporaryFile(Name, Suffix, fd, Path); 221 if (!Suffix.empty()) { 223 Path.append(Suffix);
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | CodeExtractor.h | 115 std::string Suffix; variable 144 std::string Suffix = "", bool ArgsInZeroAddressSpace = false); 154 std::string Suffix = "");
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | FunctionImportUtils.cpp | 113 SmallString<256> Suffix(SGV->getParent()->getSourceFileName()); in getPromotedName() local 114 std::replace_if(std::begin(Suffix), std::end(Suffix), in getPromotedName() 117 SGV->getName(), Suffix); in getPromotedName()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | MemoryModelRelaxationAnnotations.h | 72 StringRef Suffix); 102 bool hasTag(StringRef Prefix, StringRef Suffix) const;
|