Home
last modified time | relevance | path

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

12345678910>>...14

/src/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 …]
/src/contrib/llvm-project/llvm/lib/TableGen/
H A DTableGenBackend.cpp32 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 …]
/src/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 …]
/src/contrib/llvm-project/clang/lib/Lex/
H A DHeaderMap.cpp143 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()
/src/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 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()
/src/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()
/src/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()
/src/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 …]
/src/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DPerfSharedStructs.h39 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 …]
/src/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 …]
/src/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 …]
/src/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()
/src/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,
/src/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 …]
/src/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()
/src/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';
/src/contrib/llvm-project/clang/lib/Basic/
H A DProfileList.cpp38 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()
/src/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DPerfSupportPlugin.cpp93 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()
/src/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()
/src/contrib/llvm-project/llvm/include/llvm/Object/
H A DTapiFile.h57 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()

12345678910>>...14