Home
last modified time | relevance | path

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

12345678

/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTableGenBackend.cpp33 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 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/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/include/llvm/ADT/
H A DTwine.h459 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 DStringRef.h262 [[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 DPreprocessor.cpp1181 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 DMipsLinux.cpp126 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 DOffloadWrapper.h28 llvm::StringRef Suffix = "",
39 EntryArrayTy EntryArray, llvm::StringRef Suffix = "",
50 EntryArrayTy EntryArray, 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.h107 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 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.cpp60 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 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/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/llvm/lib/Target/M68k/
H A DM68kMCInstLower.cpp51 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 DHexagon.cpp228 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 DGlobPattern.h53 std::optional<StringRef> Suffix; global() variable
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DMultilibBuilder.cpp52 MultilibBuilder::MultilibBuilder(StringRef Suffix) in MultilibBuilder() argument
53 : MultilibBuilder(Suffix, Suffix, Suffix) {} in MultilibBuilder()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DGlobPattern.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp166 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 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);
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCodeExtractor.h115 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 DFunctionImportUtils.cpp113 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 DMemoryModelRelaxationAnnotations.h72 StringRef Suffix);
102 bool hasTag(StringRef Prefix, StringRef Suffix) const;

12345678