Home
last modified time | relevance | path

Searched refs:Suffix (Results 1 – 25 of 196) sorted by relevance

12345678

/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTableGenBackend.cpp73 StringRef Suffix) { in printLine() argument
75 assert((Prefix.str().size() + Suffix.size() <= MAX_LINE_LEN) && in printLine()
78 for (size_t i = (size_t)OS.tell() - Pos, e = MAX_LINE_LEN - Suffix.size(); in printLine()
81 OS << Suffix << '\n'; in printLine()
88 StringRef Suffix(" *|"); in emitSourceFileHeader() local
89 printLine(OS, Prefix, ' ', Suffix); in emitSourceFileHeader()
90 size_t PSLen = Prefix.size() + Suffix.size(); in emitSourceFileHeader()
95 printLine(OS, Prefix + Desc.substr(Pos, Length), ' ', Suffix); in emitSourceFileHeader()
98 printLine(OS, Prefix, ' ', Suffix); in emitSourceFileHeader()
100 Suffix); in emitSourceFileHeader()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroCloner.h46 const Twine &Suffix; variable
61 BaseCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape, in BaseCloner() argument
64 : OrigF(OrigF), Suffix(Suffix), Shape(Shape), in BaseCloner()
76 BaseCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape, in BaseCloner() argument
78 : OrigF(OrigF), Suffix(Suffix), Shape(Shape), FKind(FKind), in BaseCloner()
84 static Function *createClone(Function &OrigF, const Twine &Suffix, in createClone() argument
92 BaseCloner Cloner(OrigF, Suffix, Shape, NewF, ActiveSuspend, TTI); in createClone()
131 SwitchCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape, in SwitchCloner() argument
133 : BaseCloner(OrigF, Suffix, Shape, FKind, TTI) {} in SwitchCloner()
139 static Function *createClone(Function &OrigF, const Twine &Suffix, in createClone() argument
[all …]
/freebsd/contrib/bmake/
H A Dsuff.c149 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/clang/lib/Lex/
H A DHeaderMap.cpp143 Result.Suffix = getEndianAdjustedWord(BucketPtr->Suffix); in getBucket()
194 StringRef Suffix = getStringOrInvalid(B.Suffix); in dump() local
196 << Suffix << "'\n"; in dump()
223 std::optional<StringRef> Suffix = getString(B.Suffix); in lookupFilename() local
226 if (LLVM_LIKELY(Prefix && Suffix)) { in lookupFilename()
228 DestPath.append(Suffix->begin(), Suffix->end()); in lookupFilename()
248 std::optional<StringRef> Suffix = getString(B.Suffix); in reverseLookupFilename() local
249 if (LLVM_LIKELY(Key && Prefix && Suffix)) { in reverseLookupFilename()
252 Buf.append(Suffix->begin(), Suffix->end()); in reverseLookupFilename()
H A DPreprocessor.cpp1212 SmallVector<Token, 32> Suffix; in LexAfterModuleImport() local
1217 Suffix.push_back(Result); in LexAfterModuleImport()
1221 CollectPpImportSuffix(Suffix); in LexAfterModuleImport()
1222 if (Suffix.back().isNot(tok::semi)) { in LexAfterModuleImport()
1224 EnterTokens(Suffix); in LexAfterModuleImport()
1231 SourceLocation SemiLoc = Suffix.back().getLocation(); in LexAfterModuleImport()
1244 /*HashLoc*/ SourceLocation(), ImportTok, Suffix.front(), SemiLoc); in LexAfterModuleImport()
1251 Suffix.emplace_back(); in LexAfterModuleImport()
1252 Suffix.back().startToken(); in LexAfterModuleImport()
1253 Suffix.back().setKind(tok::annot_module_begin); in LexAfterModuleImport()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DInterleavedRange.h38 StringRef Suffix; variable
42 StringRef Suffix) in InterleavedRange() argument
43 : TheRange(R), Separator(Separator), Prefix(Prefix), Suffix(Suffix) {} in InterleavedRange()
50 if (!Interleaved.Suffix.empty())
51 OS << Interleaved.Suffix;
78 StringRef Suffix = "") {
79 return {R, Separator, Prefix, Suffix};
/freebsd/contrib/llvm-project/llvm/lib/Frontend/Offloading/
H A DOffloadWrapper.cpp115 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/utils/TableGen/Basic/
H A DCodeGenIntrinsics.cpp131 static bool doesSuffixLookLikeMangledType(StringRef Suffix) { in doesSuffixLookLikeMangledType() argument
144 if (Suffix.contains('_')) in doesSuffixLookLikeMangledType()
148 if (Suffix.size() >= 2 && is_contained("av", Suffix[0]) && isDigit(Suffix[1])) in doesSuffixLookLikeMangledType()
152 if (Suffix.size() >= 4 && Suffix.starts_with("nxv") && isDigit(Suffix[3])) in doesSuffixLookLikeMangledType()
156 if (Suffix.size() > 1 && Suffix.starts_with('t')) in doesSuffixLookLikeMangledType()
160 if (Suffix.size() > 1 && is_contained("pi", Suffix[0]) && in doesSuffixLookLikeMangledType()
161 all_of(Suffix.drop_front(), isDigit)) in doesSuffixLookLikeMangledType()
168 return is_contained(NamedTypes, Suffix); in doesSuffixLookLikeMangledType()
/freebsd/contrib/llvm-project/libc/src/__support/CPP/
H A Dstring_view.h154 LIBC_INLINE bool ends_with(const char Suffix) const { in ends_with() argument
155 return !empty() && back() == Suffix; in ends_with()
159 LIBC_INLINE bool ends_with(string_view Suffix) const { in ends_with() argument
160 return Len >= Suffix.Len && in ends_with()
161 compareMemory(end() - Suffix.Len, Suffix.Data, Suffix.Len) == 0; in ends_with()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DTwine.h461 Twine concat(const Twine &Suffix) const;
530 inline Twine Twine::concat(const Twine &Suffix) const { in concat() argument
532 if (isNull() || Suffix.isNull()) in concat()
537 return Suffix; in concat()
538 if (Suffix.isEmpty()) in concat()
545 NewRHS.twine = &Suffix; in concat()
551 if (Suffix.isUnary()) { in concat()
552 NewRHS = Suffix.LHS; in concat()
553 NewRHSKind = Suffix.getLHSKind(); in concat()
H A DStringRef.h279 [[nodiscard]] bool ends_with(StringRef Suffix) const { in ends_with() argument
280 return size() >= Suffix.size() && in ends_with()
281 compareMemory(end() - Suffix.size(), Suffix.data(), in ends_with()
282 Suffix.size()) == 0; in ends_with()
284 [[nodiscard]] bool ends_with(char Suffix) const { in ends_with() argument
285 return !empty() && back() == Suffix; in ends_with()
289 [[nodiscard]] LLVM_ABI bool ends_with_insensitive(StringRef Suffix) const;
663 bool consume_back(StringRef Suffix) { in consume_back() argument
664 if (!ends_with(Suffix)) in consume_back()
667 *this = substr(0, size() - Suffix.size()); in consume_back()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DMipsLinux.cpp124 const char *Suffix; in getCompilerRT() local
127 Suffix = ".o"; in getCompilerRT()
130 Suffix = ".a"; in getCompilerRT()
133 Suffix = ".so"; in getCompilerRT()
137 Path, Twine("libclang_rt." + Component + "-" + "mips" + Suffix)); in getCompilerRT()
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/Offloading/
H A DOffloadWrapper.h28 EntryArrayTy EntryArray, llvm::StringRef Suffix = "",
41 llvm::StringRef Suffix = "",
53 llvm::StringRef Suffix = "",
/freebsd/contrib/file/magic/Magdir/
H A Dpsl4 # 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 DWindowsResource.h108 uint16_t getDataVersion() const { return Suffix->DataVersion; } in getDataVersion()
109 uint16_t getLanguage() const { return Suffix->Language; } in getLanguage()
110 uint16_t getMemoryFlags() const { return Suffix->MemoryFlags; } in getMemoryFlags()
111 uint16_t getMajorVersion() const { return Suffix->Version >> 16; } in getMajorVersion()
112 uint16_t getMinorVersion() const { return Suffix->Version; } in getMinorVersion()
113 uint32_t getCharacteristics() const { return Suffix->Characteristics; } in getCharacteristics()
133 const WinResHeaderSuffix *Suffix = nullptr; variable
/freebsd/sys/contrib/dev/acpica/common/
H A Dadfile.c306 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 DMemoryModelRelaxationAnnotations.cpp59 StringRef Suffix) { in getTagMD() argument
61 {MDString::get(Ctx, Prefix), MDString::get(Ctx, Suffix)}); in getTagMD()
101 bool MMRAMetadata::hasTag(StringRef Prefix, StringRef Suffix) const { in hasTag()
102 return Tags.count({Prefix, Suffix}); in hasTag()
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DMiscompilation.cpp53 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 DListReducer.h121 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/llvm-project/llvm/lib/Target/M68k/
H A DM68kMCInstLower.cpp52 StringRef Suffix; in GetSymbolFromOperand() local
54 if (!Suffix.empty()) in GetSymbolFromOperand()
63 assert(Suffix.empty()); in GetSymbolFromOperand()
67 Name += Suffix; in GetSymbolFromOperand()
/freebsd/contrib/ntp/sntp/m4/
H A Dntp_ver_suffix.m42 dnl NTP Version Suffix (Crypto)
5 dnl VER_SUFFIX Version Suffix (scripts/mkver.in)
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DHexagon.cpp244 llvm::StringLiteral Suffix; member
275 return Item->Suffix.data(); in getHexagonCPUSuffix()
280 for (const CPUSuffix &Suffix : Suffixes) in fillValidCPUList() local
281 Values.push_back(Suffix.Name); in fillValidCPUList()
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DMultilibBuilder.cpp51 MultilibBuilder::MultilibBuilder(StringRef Suffix) in MultilibBuilder() argument
52 : MultilibBuilder(Suffix, Suffix, Suffix) {} in MultilibBuilder()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DGlobPattern.cpp
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Support/
H A DSupportHelpers.h213 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);

12345678