/openbsd/gnu/llvm/llvm/lib/TableGen/ |
H A D | TableGenBackend.cpp | 23 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 D | HeaderMap.cpp | 145 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 D | Preprocessor.cpp | 1189 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 D | StringRef.h | 273 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 D | Twine.h | 441 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 D | MipsLinux.cpp | 127 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 D | PS4CPU.cpp | 27 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 D | PS4CPU.h | 109 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 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
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/llvm/tools/bugpoint/ |
H A D | Miscompilation.cpp | 62 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 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()
|
/openbsd/gnu/llvm/llvm/include/llvm/Support/ |
H A D | GlobPattern.h | 38 assert(!Suffix); in isTrivialMatchAll() 53 std::optional<StringRef> Suffix; variable
|
/openbsd/gnu/llvm/clang/lib/Basic/Targets/ |
H A D | Hexagon.cpp | 230 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 D | GlobPattern.cpp | 126 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 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);
|
/openbsd/gnu/llvm/llvm/include/llvm/Transforms/Utils/ |
H A D | CodeExtractor.h | 115 std::string Suffix; variable 137 std::string Suffix = ""); 147 std::string Suffix = "");
|
H A D | BasicBlockUtils.h | 326 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 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()
|
/openbsd/gnu/llvm/clang/utils/TableGen/ |
H A D | SveEmitter.cpp | 247 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 D | TargetLoweringObjectFile.cpp | 128 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 D | MCAsmParserExtension.h | 111 bool addErrorSuffix(const Twine &Suffix) { in addErrorSuffix() argument 112 return getParser().addErrorSuffix(Suffix); in addErrorSuffix()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/ |
H A D | JMCInstrumenter.cpp | 93 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 D | RISCVInstrInfoF.td | 88 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 D | CodeGenABITypes.cpp | 91 for (const auto &arg : addedArgs.Suffix) { in getImplicitCXXConstructorArgs() 92 implicitArgs.Suffix.push_back(arg.Value); in getImplicitCXXConstructorArgs()
|