Home
last modified time | relevance | path

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

1234567

/openbsd/gnu/llvm/llvm/lib/TableGen/
H A DTableGenBackend.cpp23 StringRef Suffix) { in printLine() argument
25 assert((Prefix.str().size() + Suffix.size() <= MAX_LINE_LEN) && in printLine()
28 for (size_t i = (size_t)OS.tell() - Pos, e = MAX_LINE_LEN - Suffix.size(); in printLine()
31 OS << Suffix << '\n'; in printLine()
37 StringRef Suffix(" *|"); in emitSourceFileHeader() local
38 printLine(OS, Prefix, ' ', Suffix); in emitSourceFileHeader()
39 size_t PSLen = Prefix.size() + Suffix.size(); in emitSourceFileHeader()
44 printLine(OS, Prefix + Desc.substr(Pos, Length), ' ', Suffix); in emitSourceFileHeader()
47 printLine(OS, Prefix, ' ', Suffix); in emitSourceFileHeader()
49 Suffix); in emitSourceFileHeader()
[all …]
/openbsd/gnu/llvm/clang/lib/Lex/
H A DHeaderMap.cpp145 Result.Suffix = getEndianAdjustedWord(BucketPtr->Suffix); in getBucket()
192 StringRef Suffix = getStringOrInvalid(B.Suffix); in dump() local
194 << Suffix << "'\n"; in dump()
221 std::optional<StringRef> Suffix = getString(B.Suffix); in lookupFilename() local
224 if (LLVM_LIKELY(Prefix && Suffix)) { in lookupFilename()
226 DestPath.append(Suffix->begin(), Suffix->end()); in lookupFilename()
246 std::optional<StringRef> Suffix = getString(B.Suffix); in reverseLookupFilename() local
247 if (LLVM_LIKELY(Key && Prefix && Suffix)) { in reverseLookupFilename()
250 Buf.append(Suffix->begin(), Suffix->end()); in reverseLookupFilename()
H A DPreprocessor.cpp1189 SmallVector<Token, 32> Suffix; in LexAfterModuleImport() local
1194 Suffix.push_back(Result); in LexAfterModuleImport()
1201 EnterTokens(Suffix); in LexAfterModuleImport()
1228 Suffix.emplace_back(); in LexAfterModuleImport()
1242 Suffix[0].setAnnotationEndLoc(Suffix[0].getLocation()); in LexAfterModuleImport()
1251 EnterTokens(Suffix); in LexAfterModuleImport()
1255 EnterTokens(Suffix); in LexAfterModuleImport()
1292 Suffix.push_back(Result); in LexAfterModuleImport()
1296 EnterTokens(Suffix); in LexAfterModuleImport()
1334 if (!Suffix.empty()) { in LexAfterModuleImport()
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/ADT/
H A DStringRef.h273 return Length >= Suffix.Length && in ends_with()
274 compareMemory(end() - Suffix.Length, Suffix.Data, Suffix.Length) == in ends_with()
277 [[nodiscard]] bool endswith(StringRef Suffix) const { in endswith() argument
278 return ends_with(Suffix); in endswith()
284 return ends_with_insensitive(Suffix); in endswith_insensitive()
643 bool consume_back(StringRef Suffix) { in consume_back() argument
644 if (!ends_with(Suffix)) in consume_back()
647 *this = drop_back(Suffix.size()); in consume_back()
653 bool consume_back_insensitive(StringRef Suffix) { in consume_back_insensitive() argument
654 if (!endswith_insensitive(Suffix)) in consume_back_insensitive()
[all …]
H A DTwine.h441 Twine concat(const Twine &Suffix) const;
506 inline Twine Twine::concat(const Twine &Suffix) const { in concat() argument
508 if (isNull() || Suffix.isNull()) in concat()
513 return Suffix; in concat()
514 if (Suffix.isEmpty()) in concat()
521 NewRHS.twine = &Suffix; in concat()
527 if (Suffix.isUnary()) { in concat()
528 NewRHS = Suffix.LHS; in concat()
529 NewRHSKind = Suffix.getLHSKind(); in concat()
/openbsd/gnu/llvm/clang/lib/Driver/ToolChains/
H A DMipsLinux.cpp127 const char *Suffix; in getCompilerRT() local
130 Suffix = ".o"; in getCompilerRT()
133 Suffix = ".a"; in getCompilerRT()
136 Suffix = ".so"; in getCompilerRT()
140 Path, Twine("libclang_rt." + Component + "-" + "mips" + Suffix)); in getCompilerRT()
H A DPS4CPU.cpp27 const char *Base, const char *Suffix) { in makeArgString() argument
29 return Args.MakeArgString(Twine(StringRef(Prefix), Base) + Suffix); in makeArgString()
93 const char *Suffix) const { in addSanitizerArgs()
95 return makeArgString(Args, Prefix, Name, Suffix); in addSanitizerArgs()
107 const char *Suffix) const { in addSanitizerArgs()
109 return makeArgString(Args, Prefix, Name, Suffix); in addSanitizerArgs()
H A DPS4CPU.h109 const char *Suffix) const = 0;
134 const char *Suffix) const override;
159 const char *Suffix) const override;
/openbsd/gnu/llvm/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
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/tools/bugpoint/
H A DMiscompilation.cpp62 std::vector<std::string> &Suffix) { in doTest() argument
65 outs() << "Checking to see if '" << getPassesString(Suffix) 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()
160 BD.setPassesToRun(Suffix); in doTest()
200 if (!Suffix.empty()) { in doTest()
201 Expected<bool> Ret = TestFuncs(Suffix); in doTest()
462 if (!Suffix.empty()) { 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()
/openbsd/gnu/llvm/llvm/include/llvm/Support/
H A DGlobPattern.h38 assert(!Suffix); in isTrivialMatchAll()
53 std::optional<StringRef> Suffix; variable
/openbsd/gnu/llvm/clang/lib/Basic/Targets/
H A DHexagon.cpp230 llvm::StringLiteral Suffix; member
248 return Item->Suffix.data(); in getHexagonCPUSuffix()
253 for (const CPUSuffix &Suffix : Suffixes) in fillValidCPUList() local
254 Values.push_back(Suffix.Name); in fillValidCPUList()
/openbsd/gnu/llvm/llvm/lib/Support/
H A DGlobPattern.cpp126 Pat.Suffix = S.drop_front(); in create()
147 if (Suffix) in match()
148 return S.endswith(*Suffix); in match()
/openbsd/gnu/llvm/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);
/openbsd/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DCodeExtractor.h115 std::string Suffix; variable
137 std::string Suffix = "");
147 std::string Suffix = "");
H A DBasicBlockUtils.h326 const char *Suffix, DominatorTree *DT,
346 const char *Suffix,
367 const char *Suffix, const char *Suffix2,
385 BasicBlock *OrigBB, ArrayRef<BasicBlock *> Preds, const char *Suffix,
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/clang/utils/TableGen/
H A DSveEmitter.cpp247 const char *Suffix; member
1198 << " svreinterpret_" << From.Suffix; in createHeader()
1200 OS << " return __builtin_sve_reinterpret_" << From.Suffix << "_" in createHeader()
1201 << To.Suffix << "(op);\n"; in createHeader()
1204 OS << "#define svreinterpret_" << From.Suffix << "_" << To.Suffix in createHeader()
1205 << "(...) __builtin_sve_reinterpret_" << From.Suffix << "_" in createHeader()
1206 << To.Suffix << "(__VA_ARGS__)\n"; in createHeader()
1275 OS << "TARGET_BUILTIN(__builtin_sve_reinterpret_" << From.Suffix << "_" in createBuiltins()
1276 << To.Suffix << +", \"" << From.BuiltinType << To.BuiltinType in createBuiltins()
/openbsd/gnu/llvm/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp128 const GlobalValue *GV, StringRef Suffix, const TargetMachine &TM) const { in getSymbolWithGlobalValueBase() argument
129 assert(!Suffix.empty()); in getSymbolWithGlobalValueBase()
134 NameStr.append(Suffix.begin(), Suffix.end()); in getSymbolWithGlobalValueBase()
/openbsd/gnu/llvm/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h111 bool addErrorSuffix(const Twine &Suffix) { in addErrorSuffix() argument
112 return getParser().addErrorSuffix(Suffix); in addErrorSuffix()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DJMCInstrumenter.cpp93 std::string Suffix; in getFlagName() local
95 Suffix.push_back(C == '.' ? '@' : C); in getFlagName()
101 "_" + Suffix; in getFlagName()
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoF.td88 string Suffix = !cond(!eq(inx, 0): "",
98 string Suffix = ext.Suffix;
105 string Suffix = ext.Suffix;
184 def Ext.Suffix : FPFMA_rrr_frm<opcode, funct2, opcodestr, Ext.Reg>;
195 def : FPFMADynFrmAlias<!cast<FPFMA_rrr_frm>(Inst#Ext.Suffix), OpcodeStr,
210 def Ext.Suffix : FPALU_rr<funct7, funct3, opcodestr, Ext.Reg, Commutable>;
226 def Ext.Suffix : FPALU_rr_frm<funct7, opcodestr, Ext.Reg, Commutable>;
237 def : FPALUDynFrmAlias<!cast<FPALU_rr_frm>(Inst#Ext.Suffix), OpcodeStr,
252 def Ext.Suffix : FPUnaryOp_r<funct7, rs2val, funct3, Ext.RdTy, Ext.Rs1Ty,
269 def Ext.Suffix : FPUnaryOp_r_frm<funct7, rs2val, Ext.RdTy, Ext.Rs1Ty,
[all …]
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenABITypes.cpp91 for (const auto &arg : addedArgs.Suffix) { in getImplicitCXXConstructorArgs()
92 implicitArgs.Suffix.push_back(arg.Value); in getImplicitCXXConstructorArgs()

1234567