Home
last modified time | relevance | path

Searched refs:Prefix (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCCodeEmitter.cpp977 X86OpcodePrefixHelper Prefix(*Ctx.getRegisterInfo()); in emitVEXOpcodePrefix() local
982 Prefix.setLowerBound(XOP); in emitVEXOpcodePrefix()
986 Prefix.setLowerBound((MI.getFlags() & X86::IP_USE_VEX3) ? VEX3 : VEX2); in emitVEXOpcodePrefix()
989 Prefix.setLowerBound(EVEX); in emitVEXOpcodePrefix()
993 Prefix.setW(TSFlags & X86II::REX_W); in emitVEXOpcodePrefix()
994 Prefix.setNF(TSFlags & X86II::EVEX_NF); in emitVEXOpcodePrefix()
1005 Prefix.set5M(0x1); // 0F in emitVEXOpcodePrefix()
1008 Prefix.set5M(0x2); // 0F 38 in emitVEXOpcodePrefix()
1011 Prefix.set5M(0x3); // 0F 3A in emitVEXOpcodePrefix()
1014 Prefix.set5M(0x8); in emitVEXOpcodePrefix()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTableGenBackend.cpp32 static void printLine(raw_ostream &OS, const Twine &Prefix, char Fill, in printLine()
35 assert((Prefix.str().size() + Suffix.size() <= MAX_LINE_LEN) && in printLine()
37 OS << Prefix; in printLine()
47 StringRef Prefix("|* "); 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()
59 printLine(OS, Prefix + "Automatically generated file, do not edit!", ' ', in emitSourceFileHeader()
65 OS, Prefix
31 printLine(raw_ostream & OS,const Twine & Prefix,char Fill,StringRef Suffix) printLine() argument
45 StringRef Prefix("|* "); emitSourceFileHeader() local
[all...]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DNestedNameSpecifier.cpp59 NestedNameSpecifier *Prefix, in Create() argument
62 assert((!Prefix || Prefix->isDependent()) && "Prefix must be dependent"); in Create()
65 Mockup.Prefix.setPointer(Prefix); in Create()
66 Mockup.Prefix.setInt(StoredIdentifier); in Create()
73 NestedNameSpecifier *Prefix, in Create() argument
76 assert((!Prefix || in Create()
77 (Prefix->getAsType() == nullptr && in Create()
78 Prefix->getAsIdentifier() == nullptr)) && in Create()
81 Mockup.Prefix.setPointer(Prefix); in Create()
82 Mockup.Prefix.setInt(StoredDecl); in Create()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DWithColor.cpp91 raw_ostream &WithColor::error(raw_ostream &OS, StringRef Prefix, in error() argument
93 if (!Prefix.empty()) in error()
94 OS << Prefix << ": "; in error()
101 raw_ostream &WithColor::warning(raw_ostream &OS, StringRef Prefix, in warning() argument
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
[all …]
H A DTarWriter.cpp51 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 DSpecialCaseList.cpp185 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 inSectionBlame()
209 return inSectionBlame(Section, Prefix, Query, Category); in inSectionBlame()
212 unsigned SpecialCaseList::inSectionBlame(StringRef Section, StringRef Prefix, in inSectionBlame()
218 unsigned Blame = inSectionBlame(S.Entries, Prefix, Query, Category); in inSectionBlame()
227 StringRef Prefix, StringRef Query, in inSectionBlame()
229 SectionEntries::const_iterator I = Entries.find(Prefix);
162 StringRef Prefix = SplitLine.first; parse() local
200 inSection(StringRef Section,StringRef Prefix,StringRef Query,StringRef Category) const inSection() argument
205 inSectionBlame(StringRef Section,StringRef Prefix,StringRef Query,StringRef Category) const inSectionBlame() argument
219 inSectionBlame(const SectionEntries & Entries,StringRef Prefix,StringRef Query,StringRef Category) const inSectionBlame() argument
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolSerializer.h40 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 DCVRecord.h73 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/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DContinuationRecordBuilder.cpp14 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 DSimpleTypeSerializer.cpp44 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/contrib/llvm-project/clang/lib/Format/
H A DBreakableToken.cpp264 return StartColumn + Prefix.size(); in getContentStartColumn()
268 const FormatToken &Tok, unsigned StartColumn, StringRef Prefix, in BreakableStringLiteral() argument
272 StartColumn(StartColumn), Prefix(Prefix), Postfix(Postfix), in BreakableStringLiteral()
274 assert(Tok.TokenText.starts_with(Prefix) && Tok.TokenText.ends_with(Postfix)); in BreakableStringLiteral()
276 Prefix.size(), Tok.TokenText.size() - Prefix.size() - Postfix.size()); in BreakableStringLiteral()
291 Tok, Prefix.size() + TailOffset + Split.first, Split.second, Postfix, in insertBreak()
292 Prefix, InPPDirective, 1, StartColumn); in insertBreak()
325 Prefix = "\""; in BreakableStringLiteralUsingOperators()
333 Prefix = SignOnNewLine ? "+ '" : "'"; in BreakableStringLiteralUsingOperators()
337 Prefix = SignOnNewLine ? "+ @\"" : "@\""; in BreakableStringLiteralUsingOperators()
[all …]
/freebsd/sys/contrib/dev/acpica/compiler/
H A Daslcompile.c582 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()
638 FlPrintFile (FileId, ACPI_COMMON_HEADER (UtilityName, Prefix)); in AslCompilerSignon()
660 char *Prefix = ""; in AslCompilerFileHeader() local
670 Prefix = "; "; in AslCompilerFileHeader()
677 Prefix = "; "; in AslCompilerFileHeader()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DNestedNameSpecifier.h65 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/contrib/llvm-project/llvm/lib/IR/
H A DMangler.cpp37 const DataLayout &DL, char Prefix) { in getNameWithPrefixImpl() argument
50 Prefix = '\0'; in getNameWithPrefixImpl()
57 if (Prefix != '\0') in getNameWithPrefixImpl()
58 OS << Prefix; in getNameWithPrefixImpl()
67 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefixImpl() local
68 return getNameWithPrefixImpl(OS, GVName, PrefixTy, DL, Prefix); in getNameWithPrefixImpl()
79 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefix() local
80 return getNameWithPrefixImpl(OS, GVName, Default, DL, Prefix); in getNameWithPrefix()
146 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefix() local
165 Prefix = '@'; // fastcall functions have an @ prefix instead of _. in getNameWithPrefix()
[all …]
H A DMemoryModelRelaxationAnnotations.cpp59 MDTuple *MMRAMetadata::getTagMD(LLVMContext &Ctx, StringRef Prefix, 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() argument
103 return Tags.count({Prefix, Suffix}); in hasTag()
118 for (auto &[Prefix, Status] : PrefixStatuses) { in isCompatibleWith()
126 bool MMRAMetadata::hasTagWithPrefix(StringRef Prefix) const { in hasTagWithPrefix()
128 if (P == Prefix) in hasTagWithPrefix()
H A DPassInstrumentation.cpp39 StringRef Prefix = PassID; in isSpecialPass() local
41 Prefix = PassID.substr(0, Pos); in isSpecialPass()
43 [Prefix](StringRef S) { return Prefix.ends_with(S); }); in isSpecialPass()
/freebsd/sys/contrib/dev/acpica/include/
H A Dacapps.h184 #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/contrib/llvm-project/llvm/tools/bugpoint/
H A DCrashDebugger.cpp101 ReducePassList::doTest(std::vector<std::string> &Prefix, in doTest() argument
105 if (!Prefix.empty()) { in doTest()
107 << getPassesString(Prefix) << ": "; in doTest()
108 if (BD.runPasses(BD.getProgram(), Prefix, PrefixOutput)) in doTest()
148 Expected<TestResult> doTest(std::vector<GlobalVariable *> &Prefix, in doTest() argument
152 if (!Prefix.empty() && TestGlobalVariables(Prefix)) in doTest()
215 Expected<TestResult> doTest(std::vector<Function *> &Prefix, in doTest() argument
219 if (!Prefix.empty() && TestFuncs(Prefix)) in doTest()
224 bool TestFuncs(std::vector<Function *> &Prefix);
348 Expected<TestResult> doTest(std::vector<Attribute> &Prefix, in doTest() argument
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfutil/
H A DError.h24 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/contrib/llvm-project/clang/include/clang/Lex/
H A DHeaderSearchOptions.h89 std::string Prefix; member
95 SystemHeaderPrefix(StringRef Prefix, bool IsSystemHeader) in SystemHeaderPrefix()
96 : Prefix(Prefix), IsSystemHeader(IsSystemHeader) {} in SystemHeaderPrefix()
299 void AddSystemHeaderPrefix(StringRef Prefix, bool IsSystemHeader) { in AddSystemHeaderPrefix() argument
300 SystemHeaderPrefixes.emplace_back(Prefix, IsSystemHeader); in AddSystemHeaderPrefix()
321 HBuilder.add(SHP.Prefix, SHP.IsSystemHeader); in addHash()
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingUtil.c257 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/contrib/llvm-project/llvm/include/llvm/Object/
H A DTapiFile.h57 StringRef Prefix;
62 constexpr Symbol(StringRef Prefix, StringRef Name, uint32_t Flags,
64 : Prefix(Prefix), Name(Name), Flags(Flags), Type(Type) {}
60 StringRef Prefix; global() member
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp137 LLVMPerfJitRecordPrefix Prefix; member
155 LLVMPerfJitRecordPrefix Prefix; member
413 rec.Prefix.Id = JIT_CODE_LOAD; in NotifyCode()
414 rec.Prefix.TotalSize = sizeof(rec) + // debug record itself in NotifyCode()
417 rec.Prefix.Timestamp = perf_get_timestamp(); in NotifyCode()
444 rec.Prefix.Id = JIT_CODE_DEBUG_INFO; in NotifyDebug()
445 rec.Prefix.TotalSize = sizeof(rec); // will be increased further in NotifyDebug()
446 rec.Prefix.Timestamp = perf_get_timestamp(); in NotifyDebug()
455 rec.Prefix.TotalSize += sizeof(LLVMPerfJitDebugEntry); in NotifyDebug()
456 rec.Prefix in NotifyDebug()
[all...]
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheck.cpp764 bool Pattern::parsePattern(StringRef PatternStr, StringRef Prefix, in parsePattern() argument
778 "found empty check string with prefix '" + Prefix + ":'"); in parsePattern()
785 "found non-empty check string for empty check with prefix '" + Prefix + in parsePattern()
1494 std::string Check::FileCheckType::getDescription(StringRef Prefix) const { in getDescription()
1496 auto WithModifiers = [this, Prefix](StringRef Str) -> std::string { in getDescription()
1497 return (Prefix + Str + getModifiersDescription()).str(); in getDescription()
1522 return std::string(Prefix); in getDescription()
1534 FindCheckType(const FileCheckRequest &Req, StringRef Buffer, StringRef Prefix, in FindCheckType() argument
1536 if (Buffer.size() <= Prefix.size()) in FindCheckType()
1539 StringRef Rest = Buffer.drop_front(Prefix.size()); in FindCheckType()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DNSDictionary.h50 class Prefix : public Matcher {
52 Prefix(ConstString p);
53 ~Prefix() override = default;
73 return std::make_unique<Prefix>(p); in GetPrefixMatch()

12345678910>>...14