| /freebsd-13.1/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | TableGenBackend.cpp | 22 static void printLine(raw_ostream &OS, const Twine &Prefix, char Fill, in printLine() argument 25 assert((Prefix.str().size() + Suffix.size() <= MAX_LINE_LEN) && in printLine() 27 OS << Prefix; in printLine() 36 StringRef Prefix("|* "); 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() 48 printLine(OS, Prefix + "Automatically generated file, do not edit!", ' ', in emitSourceFileHeader() 50 printLine(OS, Prefix, ' ', Suffix); in emitSourceFileHeader()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | NestedNameSpecifier.cpp | 62 assert((!Prefix || Prefix->isDependent()) && "Prefix must be dependent"); in Create() 65 Mockup.Prefix.setPointer(Prefix); in Create() 76 assert((!Prefix || in Create() 81 Mockup.Prefix.setPointer(Prefix); in Create() 82 Mockup.Prefix.setInt(StoredDecl); in Create() 92 assert((!Prefix || in Create() 97 Mockup.Prefix.setPointer(Prefix); in Create() 109 Mockup.Prefix.setPointer(Prefix); in Create() 147 switch (Prefix.getInt()) { in getKind() 186 switch (Prefix.getInt()) { in getAsRecordDecl() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Lex/ |
| H A D | HeaderMap.cpp | 143 Result.Prefix = getEndianAdjustedWord(BucketPtr->Prefix); in getBucket() 190 StringRef Prefix = getStringOrInvalid(B.Prefix); in dump() local 192 llvm::dbgs() << " " << i << ". " << Key << " -> '" << Prefix << "' '" in dump() 232 Optional<StringRef> Prefix = getString(B.Prefix); in lookupFilename() local 236 if (LLVM_LIKELY(Prefix && Suffix)) { in lookupFilename() 237 DestPath.append(Prefix->begin(), Prefix->end()); in lookupFilename() 257 Optional<StringRef> Prefix = getString(B.Prefix); in reverseLookupFilename() local 259 if (LLVM_LIKELY(Key && Prefix && Suffix)) { in reverseLookupFilename() 261 Buf.append(Prefix->begin(), Prefix->end()); in reverseLookupFilename()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | WithColor.cpp | 83 raw_ostream &WithColor::error(raw_ostream &OS, StringRef Prefix, in error() argument 85 if (!Prefix.empty()) in error() 86 OS << Prefix << ": "; in error() 95 if (!Prefix.empty()) in warning() 96 OS << Prefix << ": "; in warning() 103 raw_ostream &WithColor::note(raw_ostream &OS, StringRef Prefix, in note() argument 105 if (!Prefix.empty()) in note() 106 OS << Prefix << ": "; in note() 113 raw_ostream &WithColor::remark(raw_ostream &OS, StringRef Prefix, in remark() argument 115 if (!Prefix.empty()) in remark() [all …]
|
| H A D | TarWriter.cpp | 51 char Prefix[155]; member 127 static bool splitUstar(StringRef Path, StringRef &Prefix, StringRef &Name) { in splitUstar() argument 129 Prefix = ""; in splitUstar() 150 Prefix = Path.substr(0, Sep); in splitUstar() 157 static void writeUstarHeader(raw_fd_ostream &OS, StringRef Prefix, in writeUstarHeader() argument 163 memcpy(Hdr.Prefix, Prefix.data(), Prefix.size()); in writeUstarHeader() 192 StringRef Prefix; in append() local 194 if (splitUstar(Fullpath, Prefix, Name)) { in append() 195 writeUstarHeader(OS, Prefix, Name, Data.size()); in append()
|
| H A D | SpecialCaseList.cpp | 166 StringRef Prefix = SplitLine.first; in parse() local 191 auto &Entry = Sections[SectionsMap[Section]].Entries[Prefix][Category]; in parse() 204 bool SpecialCaseList::inSection(StringRef Section, StringRef Prefix, in inSection() argument 206 return inSectionBlame(Section, Prefix, Query, Category); in inSection() 209 unsigned SpecialCaseList::inSectionBlame(StringRef Section, StringRef Prefix, in inSectionBlame() argument 215 inSectionBlame(SectionIter.Entries, Prefix, Query, Category); in inSectionBlame() 223 StringRef Prefix, StringRef Query, in inSectionBlame() argument 225 SectionEntries::const_iterator I = Entries.find(Prefix); in inSectionBlame()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Mangler.cpp | 35 const DataLayout &DL, char Prefix) { in getNameWithPrefixImpl() argument 48 Prefix = '\0'; in getNameWithPrefixImpl() 55 if (Prefix != '\0') in getNameWithPrefixImpl() 56 OS << Prefix; in getNameWithPrefixImpl() 65 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefixImpl() local 66 return getNameWithPrefixImpl(OS, GVName, PrefixTy, DL, Prefix); in getNameWithPrefixImpl() 77 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefix() local 78 return getNameWithPrefixImpl(OS, GVName, Default, DL, Prefix); in getNameWithPrefix() 138 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefix() local 159 Prefix = '\0'; // vectorcall functions have no prefix. in getNameWithPrefix() [all …]
|
| H A D | PassInstrumentation.cpp | 35 StringRef Prefix = PassID; in isSpecialPass() local 37 Prefix = PassID.substr(0, Pos); in isSpecialPass() 38 return any_of(Specials, [Prefix](StringRef S) { return Prefix.endswith(S); }); in isSpecialPass()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | SymbolSerializer.h | 39 RecordPrefix Prefix; in writeRecordPrefix() local 40 Prefix.RecordKind = Kind; in writeRecordPrefix() 41 Prefix.RecordLen = 0; in writeRecordPrefix() 42 if (auto EC = Writer.writeObject(Prefix)) in writeRecordPrefix() 53 RecordPrefix Prefix{uint16_t(Sym.Kind)}; in writeOneSymbol() 54 CVSymbol Result(&Prefix, sizeof(Prefix)); in writeOneSymbol()
|
| H A D | CVRecord.h | 74 const RecordPrefix *Prefix = in forEachCodeViewRecord() local 77 size_t RealLen = Prefix->RecordLen + 2; in forEachCodeViewRecord() 95 const RecordPrefix *Prefix = nullptr; in readCVRecordFromStream() local 99 if (auto EC = Reader.readObject(Prefix)) in readCVRecordFromStream() 101 if (Prefix->RecordLen < 2) in readCVRecordFromStream() 106 if (auto EC = Reader.readBytes(RawData, Prefix->RecordLen + sizeof(uint16_t))) in readCVRecordFromStream()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
| H A D | ContinuationRecordBuilder.cpp | 14 SegmentInjection(TypeLeafKind Kind) { Prefix.RecordKind = Kind; } in SegmentInjection() 17 RecordPrefix Prefix; member 70 RecordPrefix Prefix(getTypeLeafKind(RecordKind)); in begin() local 71 CVType Type(&Prefix, sizeof(Prefix)); in begin() 74 cantFail(SegmentWriter.writeObject(Prefix)); in begin() 158 RecordPrefix *Prefix = reinterpret_cast<RecordPrefix *>(Data.data()); in createSegmentRecord() local 159 Prefix->RecordLen = Data.size() - sizeof(RecordPrefix::RecordLen); in createSegmentRecord() 174 RecordPrefix Prefix(getTypeLeafKind(*Kind)); in end() local 175 CVType Type(&Prefix, sizeof(Prefix)); in end()
|
| H A D | SimpleTypeSerializer.cpp | 43 RecordPrefix *Prefix = reinterpret_cast<RecordPrefix *>(ScratchBuffer.data()); in serialize() local 44 CVType CVT(Prefix, sizeof(RecordPrefix)); in serialize() 53 Prefix->RecordKind = CVT.kind(); in serialize() 54 Prefix->RecordLen = Writer.getOffset() - sizeof(uint16_t); in serialize()
|
| /freebsd-13.1/sys/contrib/dev/acpica/compiler/ |
| H A D | aslcompile.c | 575 char *Prefix = ""; in AslCompilerSignon() local 586 Prefix = "; "; in AslCompilerSignon() 593 Prefix = "; "; in AslCompilerSignon() 599 Prefix = " * "; in AslCompilerSignon() 607 Prefix = " * "; in AslCompilerSignon() 630 FlPrintFile (FileId, "%s\n", Prefix); in AslCompilerSignon() 653 char *Prefix = ""; in AslCompilerFileHeader() local 663 Prefix = "; "; in AslCompilerFileHeader() 670 Prefix = "; "; in AslCompilerFileHeader() 675 Prefix = " * "; in AslCompilerFileHeader() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Format/ |
| H A D | BreakableToken.cpp | 272 StartColumn(StartColumn), Prefix(Prefix), Postfix(Postfix), in BreakableStringLiteral() 276 Prefix.size(), Tok.TokenText.size() - Prefix.size() - Postfix.size()); in BreakableStringLiteral() 341 for (StringRef Prefix : in mayReflowContent() 605 StringRef Prefix = Decoration; in insertBreak() local 613 Prefix = ""; in insertBreak() 694 StringRef Prefix = Decoration; in adaptStartOfLine() local 700 Prefix = ""; in adaptStartOfLine() 705 Prefix = Prefix.substr(0, 1); in adaptStartOfLine() 710 Prefix = Prefix.substr(0, 1); in adaptStartOfLine() 776 Prefix.resize(Lines.size()); in BreakableLineCommentSection() [all …]
|
| H A D | SortJavaScriptImports.cpp | 87 StringRef Prefix; member 119 if (LHS.Prefix.empty() != RHS.Prefix.empty()) in operator <() 120 return LHS.Prefix.empty() < RHS.Prefix.empty(); in operator <() 121 if (LHS.Prefix != RHS.Prefix) in operator <() 122 return LHS.Prefix > RHS.Prefix; in operator <() 302 !PreviousReference->Prefix.empty() || !Reference->Prefix.empty() || in mergeModuleReferences() 412 << ", prefix: " << Reference.Prefix; in parseModuleReferences() 489 Reference.Prefix = Current->TokenText; in parseStarBinding()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | NestedNameSpecifier.h | 65 llvm::PointerIntPair<NestedNameSpecifier *, 2, StoredSpecifierKind> Prefix; variable 106 NestedNameSpecifier() : Prefix(nullptr, StoredIdentifier) {} in NestedNameSpecifier() 126 NestedNameSpecifier *Prefix, 131 NestedNameSpecifier *Prefix, 136 NestedNameSpecifier *Prefix, 141 NestedNameSpecifier *Prefix, 169 NestedNameSpecifier *getPrefix() const { return Prefix.getPointer(); } in getPrefix() 177 if (Prefix.getInt() == StoredIdentifier) in getAsIdentifier() 197 if (Prefix.getInt() == StoredTypeSpec || in getAsType() 198 Prefix.getInt() == StoredTypeSpecWithTemplate) in getAsType() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | HeaderSearchOptions.h | 87 std::string Prefix; member 93 SystemHeaderPrefix(StringRef Prefix, bool IsSystemHeader) in SystemHeaderPrefix() 94 : Prefix(Prefix), IsSystemHeader(IsSystemHeader) {} in SystemHeaderPrefix() 242 void AddSystemHeaderPrefix(StringRef Prefix, bool IsSystemHeader) { in AddSystemHeaderPrefix() argument 243 SystemHeaderPrefixes.emplace_back(Prefix, IsSystemHeader); in AddSystemHeaderPrefix() 261 return llvm::hash_combine(SHP.Prefix, SHP.IsSystemHeader); in hash_value()
|
| /freebsd-13.1/sys/contrib/dev/acpica/include/ |
| H A D | acapps.h | 184 #define ACPI_COMMON_HEADER(UtilityName, Prefix) \ argument 186 Prefix, ACPICA_NAME, \ 187 Prefix, UtilityName, ((UINT32) ACPI_CA_VERSION), ACPI_WIDTH, \ 188 Prefix, ACPICA_COPYRIGHT, \ 189 Prefix 333 char *Prefix,
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/bugpoint/ |
| H A D | CrashDebugger.cpp | 93 if (!Prefix.empty()) { in doTest() 140 if (!Prefix.empty() && TestGlobalVariables(Prefix)) in doTest() 207 if (!Prefix.empty() && TestFuncs(Prefix)) in doTest() 340 if (!Prefix.empty() && TestFuncAttrs(Prefix)) in doTest() 443 if (!Prefix.empty() && TestBlocks(Prefix)) in doTest() 562 if (!Prefix.empty() && TestBlocks(Prefix)) in doTest() 668 if (!Prefix.empty() && TestBlocks(Prefix)) in doTest() 760 if (!Prefix.empty() && TestInsts(Prefix)) in doTest() 837 if (!Prefix.empty() && TestInsts(Prefix)) in doTest() 908 if (!Prefix.empty() && TestNamedMDs(Prefix)) in doTest() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | TapiFile.h | 48 StringRef Prefix; member 52 constexpr Symbol(StringRef Prefix, StringRef Name, uint32_t Flags) in Symbol() 53 : Prefix(Prefix), Name(Name), Flags(Flags) {} in Symbol()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/profile/ |
| H A D | InstrProfilingUtil.c | 251 const char *Prefix = getenv("GCOV_PREFIX"); in lprofGetPathPrefix() local 256 if (Prefix == NULL || Prefix[0] == '\0') in lprofGetPathPrefix() 268 *PrefixLen = strlen(Prefix); in lprofGetPathPrefix() 270 return Prefix; in lprofGetPathPrefix() 274 lprofApplyPathPrefix(char *Dest, const char *PathStr, const char *Prefix, in lprofApplyPathPrefix() argument 292 memcpy(Dest, Prefix, PrefixLen); in lprofApplyPathPrefix() 294 if (!IS_DIR_SEPARATOR(Prefix[PrefixLen - 1])) in lprofApplyPathPrefix()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/ |
| H A D | PerfJITEventListener.cpp | 138 LLVMPerfJitRecordPrefix Prefix; member 156 LLVMPerfJitRecordPrefix Prefix; member 414 rec.Prefix.Id = JIT_CODE_LOAD; in NotifyCode() 415 rec.Prefix.TotalSize = sizeof(rec) + // debug record itself in NotifyCode() 418 rec.Prefix.Timestamp = perf_get_timestamp(); in NotifyCode() 445 rec.Prefix.Id = JIT_CODE_DEBUG_INFO; in NotifyDebug() 446 rec.Prefix.TotalSize = sizeof(rec); // will be increased further in NotifyDebug() 447 rec.Prefix.Timestamp = perf_get_timestamp(); in NotifyDebug() 456 rec.Prefix.TotalSize += sizeof(LLVMPerfJitDebugEntry); in NotifyDebug() 457 rec.Prefix.TotalSize += line.FileName.size() + 1; in NotifyDebug()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/ |
| H A D | NSDictionary.h | 50 class Prefix : public Matcher { 52 Prefix(ConstString p); 53 ~Prefix() override = default; 73 return std::make_unique<Prefix>(p); in GetPrefixMatch()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | GlobPattern.h | 37 if (Prefix && Prefix->empty()) { in isTrivialMatchAll() 52 Optional<StringRef> Prefix; variable
|
| H A D | WithColor.h | 101 static raw_ostream &error(raw_ostream &OS, StringRef Prefix = "", 104 static raw_ostream &warning(raw_ostream &OS, StringRef Prefix = "", 107 static raw_ostream ¬e(raw_ostream &OS, StringRef Prefix = "", 110 static raw_ostream &remark(raw_ostream &OS, StringRef Prefix = "",
|