| /freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | TableGenBackend.cpp | 32 static void printLine(raw_ostream &OS, const Twine &Prefix, char Fill, in printLine() argument 35 assert((Prefix.str().size() + Suffix.size() <= MAX_LINE_LEN) && in printLine() 37 OS << Prefix; in printLine() 47 StringRef Prefix("|* "); in emitSourceFileHeader() local 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() 59 printLine(OS, Prefix + "Automatically generated file, do not edit!", ' ', in emitSourceFileHeader() 65 OS, Prefix + "From: " + sys::path::filename(Record.getInputFilename()), in emitSourceFileHeader() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86MCCodeEmitter.cpp | 1002 Prefix.set5M(0x1); // 0F in emitVEXOpcodePrefix() 1011 Prefix.set5M(0x8); in emitVEXOpcodePrefix() 1014 Prefix.set5M(0x9); in emitVEXOpcodePrefix() 1017 Prefix.set5M(0xA); in emitVEXOpcodePrefix() 1020 Prefix.set5M(0x4); in emitVEXOpcodePrefix() 1023 Prefix.set5M(0x5); in emitVEXOpcodePrefix() 1026 Prefix.set5M(0x6); in emitVEXOpcodePrefix() 1029 Prefix.set5M(0x7); in emitVEXOpcodePrefix() 1222 Prefix.setB(MI, CurOp); in emitVEXOpcodePrefix() 1286 Prefix.emit(CB); in emitVEXOpcodePrefix() [all …]
|
| /freebsd-14.2/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-14.2/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() 219 std::optional<StringRef> Prefix = getString(B.Prefix); in lookupFilename() local 223 if (LLVM_LIKELY(Prefix && Suffix)) { in lookupFilename() 224 DestPath.append(Prefix->begin(), Prefix->end()); in lookupFilename() 244 std::optional<StringRef> Prefix = getString(B.Prefix); in reverseLookupFilename() local 246 if (LLVM_LIKELY(Key && Prefix && Suffix)) { in reverseLookupFilename() 248 Buf.append(Prefix->begin(), Prefix->end()); in reverseLookupFilename()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | WithColor.cpp | 91 raw_ostream &WithColor::error(raw_ostream &OS, StringRef Prefix, in error() argument 93 if (!Prefix.empty()) in error() 94 OS << Prefix << ": "; in error() 103 if (!Prefix.empty()) in warning() 104 OS << Prefix << ": "; in warning() 111 raw_ostream &WithColor::note(raw_ostream &OS, StringRef Prefix, in note() argument 113 if (!Prefix.empty()) in note() 114 OS << Prefix << ": "; in note() 121 raw_ostream &WithColor::remark(raw_ostream &OS, StringRef Prefix, in remark() argument 123 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 | 185 auto [Prefix, Postfix] = Line.split(":"); in parse() 193 auto &Entry = CurrentSection->Entries[Prefix][Category]; in parse() 207 bool SpecialCaseList::inSection(StringRef Section, StringRef Prefix, in inSection() argument 209 return inSectionBlame(Section, Prefix, Query, Category); in inSection() 212 unsigned SpecialCaseList::inSectionBlame(StringRef Section, StringRef Prefix, in inSectionBlame() argument 218 unsigned Blame = inSectionBlame(S.Entries, Prefix, Query, Category); in inSectionBlame() 227 StringRef Prefix, StringRef Query, in inSectionBlame() argument 229 SectionEntries::const_iterator I = Entries.find(Prefix); in inSectionBlame()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | SymbolSerializer.h | 40 RecordPrefix Prefix; in writeRecordPrefix() local 41 Prefix.RecordKind = Kind; in writeRecordPrefix() 42 Prefix.RecordLen = 0; in writeRecordPrefix() 43 if (auto EC = Writer.writeObject(Prefix)) in writeRecordPrefix() 54 RecordPrefix Prefix{uint16_t(Sym.Kind)}; in writeOneSymbol() 55 CVSymbol Result(&Prefix, sizeof(Prefix)); in writeOneSymbol()
|
| H A D | CVRecord.h | 73 const RecordPrefix *Prefix = in forEachCodeViewRecord() local 76 size_t RealLen = Prefix->RecordLen + 2; in forEachCodeViewRecord() 94 const RecordPrefix *Prefix = nullptr; in readCVRecordFromStream() local 98 if (auto EC = Reader.readObject(Prefix)) in readCVRecordFromStream() 100 if (Prefix->RecordLen < 2) in readCVRecordFromStream() 105 if (auto EC = Reader.readBytes(RawData, Prefix->RecordLen + sizeof(uint16_t))) in readCVRecordFromStream()
|
| /freebsd-14.2/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() 144 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefix() local 165 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() 39 [Prefix](StringRef S) { return Prefix.ends_with(S); }); in isSpecialPass()
|
| /freebsd-14.2/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 | 44 RecordPrefix *Prefix = reinterpret_cast<RecordPrefix *>(ScratchBuffer.data()); in serialize() local 45 CVType CVT(Prefix, sizeof(RecordPrefix)); in serialize() 54 Prefix->RecordKind = CVT.kind(); in serialize() 55 Prefix->RecordLen = Writer.getOffset() - sizeof(uint16_t); in serialize()
|
| /freebsd-14.2/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() 325 Prefix = "\""; in BreakableStringLiteralUsingOperators() 455 for (StringRef Prefix : in mayReflowContent() 716 StringRef Prefix = Decoration; in insertBreak() local 724 Prefix = ""; in insertBreak() 807 StringRef Prefix = Decoration; in adaptStartOfLine() local 813 Prefix = ""; in adaptStartOfLine() 818 Prefix = Prefix.substr(0, 1); in adaptStartOfLine() 822 Prefix = Prefix.substr(0, 1); in adaptStartOfLine() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
| H A D | PerfSharedStructs.h | 39 PerfJITRecordPrefix Prefix; member 58 PerfJITRecordPrefix Prefix; member 65 PerfJITRecordPrefix Prefix; member 121 Val.Prefix, Val.Pid, Val.Tid, Val.Vma, Val.CodeAddr, Val.CodeSize, in size() 127 IB, Val.Prefix, Val.Pid, Val.Tid, Val.Vma, Val.CodeAddr, Val.CodeSize, in deserialize() 133 OB, Val.Prefix, Val.Pid, Val.Tid, Val.Vma, Val.CodeAddr, Val.CodeSize, in serialize() 167 return SPSPerfJITDebugInfoRecord::AsArgList::size(Val.Prefix, Val.CodeAddr, in size() 172 IB, Val.Prefix, Val.CodeAddr, Val.Entries); in deserialize() 177 OB, Val.Prefix, Val.CodeAddr, Val.Entries); in serialize() 190 Val.Prefix, Val.UnwindDataSize, Val.EHFrameHdrSize, Val.MappedSize, in size() [all …]
|
| /freebsd-14.2/sys/contrib/dev/acpica/compiler/ |
| H A D | aslcompile.c | 582 char *Prefix = ""; in AslCompilerSignon() local 593 Prefix = "; "; in AslCompilerSignon() 600 Prefix = "; "; in AslCompilerSignon() 606 Prefix = " * "; in AslCompilerSignon() 614 Prefix = " * "; in AslCompilerSignon() 637 FlPrintFile (FileId, "%s\n", Prefix); in AslCompilerSignon() 660 char *Prefix = ""; in AslCompilerFileHeader() local 670 Prefix = "; "; in AslCompilerFileHeader() 677 Prefix = "; "; in AslCompilerFileHeader() 682 Prefix = " * "; in AslCompilerFileHeader() [all …]
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | HeaderSearchOptions.h | 90 std::string Prefix; member 96 SystemHeaderPrefix(StringRef Prefix, bool IsSystemHeader) in SystemHeaderPrefix() 97 : Prefix(Prefix), IsSystemHeader(IsSystemHeader) {} in SystemHeaderPrefix() 291 void AddSystemHeaderPrefix(StringRef Prefix, bool IsSystemHeader) { in AddSystemHeaderPrefix() argument 292 SystemHeaderPrefixes.emplace_back(Prefix, IsSystemHeader); in AddSystemHeaderPrefix() 316 return llvm::hash_combine(SHP.Prefix, SHP.IsSystemHeader); in hash_value() 322 HBuilder.add(SHP.Prefix, SHP.IsSystemHeader); in addHash()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/tools/llvm-dwarfutil/ |
| H A D | Error.h | 24 inline void error(Error Err, StringRef Prefix = "") { 26 WithColor::error(errs(), Prefix) << Info.message() << '\n'; 31 inline void warning(const Twine &Message, StringRef Prefix = "") { 32 WithColor::warning(errs(), Prefix) << Message << '\n';
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/bugpoint/ |
| H A D | CrashDebugger.cpp | 105 if (!Prefix.empty()) { in doTest() 152 if (!Prefix.empty() && TestGlobalVariables(Prefix)) in doTest() 219 if (!Prefix.empty() && TestFuncs(Prefix)) in doTest() 352 if (!Prefix.empty() && TestFuncAttrs(Prefix)) in doTest() 458 if (!Prefix.empty() && TestBlocks(Prefix)) in doTest() 570 if (!Prefix.empty() && TestBlocks(Prefix)) in doTest() 669 if (!Prefix.empty() && TestBlocks(Prefix)) in doTest() 754 if (!Prefix.empty() && TestInsts(Prefix)) in doTest() 828 if (!Prefix.empty() && TestInsts(Prefix)) in doTest() 897 if (!Prefix.empty() && TestNamedMDs(Prefix)) in doTest() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Basic/ |
| H A D | ProfileList.cpp | 38 bool hasPrefix(StringRef Prefix) const { in hasPrefix() 40 if (It.second.Entries.count(Prefix) > 0) in hasPrefix() 105 ProfileList::inSection(StringRef Section, StringRef Prefix, in inSection() argument 107 if (SCL->inSection(Section, Prefix, Query, "allow")) in inSection() 109 if (SCL->inSection(Section, Prefix, Query, "skip")) in inSection() 111 if (SCL->inSection(Section, Prefix, Query, "forbid")) in inSection() 113 if (SCL->inSection(Section, Prefix, Query)) in inSection()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/ |
| H A D | PerfSupportPlugin.cpp | 93 Record.Prefix.Id = PerfJITRecordType::JIT_CODE_LOAD; in getCodeLoadRecord() 104 Record.Prefix.TotalSize = in getCodeLoadRecord() 133 Record.Prefix.Id = PerfJITRecordType::JIT_CODE_DEBUG_INFO; in getDebugInfoRecord() 154 Record.Prefix.TotalSize = EntriesBytes; in getDebugInfoRecord() 156 << "Total size: " << Record.Prefix.TotalSize << "\n" in getDebugInfoRecord() 164 Record.Prefix.Id = PerfJITRecordType::JIT_CODE_UNWINDING_INFO; in getUnwindingRecord() 165 Record.Prefix.TotalSize = 0; in getUnwindingRecord() 200 Record.Prefix.TotalSize = in getUnwindingRecord() 208 << "Total size: " << Record.Prefix.TotalSize << "\n" in getUnwindingRecord() 249 Batch.UnwindingRecord.Prefix.TotalSize = 0; in getRecords()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/profile/ |
| H A D | InstrProfilingUtil.c | 257 const char *Prefix = getenv("GCOV_PREFIX"); in lprofGetPathPrefix() local 262 if (Prefix == NULL || Prefix[0] == '\0') in lprofGetPathPrefix() 274 *PrefixLen = strlen(Prefix); in lprofGetPathPrefix() 276 return Prefix; in lprofGetPathPrefix() 280 lprofApplyPathPrefix(char *Dest, const char *PathStr, const char *Prefix, in lprofApplyPathPrefix() argument 298 memcpy(Dest, Prefix, PrefixLen); in lprofApplyPathPrefix() 300 if (!IS_DIR_SEPARATOR(Prefix[PrefixLen - 1])) in lprofApplyPathPrefix()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | TapiFile.h | 57 StringRef Prefix; member 62 constexpr Symbol(StringRef Prefix, StringRef Name, uint32_t Flags, in Symbol() 64 : Prefix(Prefix), Name(Name), Flags(Flags), Type(Type) {} in Symbol()
|