Home
last modified time | relevance | path

Searched refs:Prefix (Results 1 - 25 of 157) sorted by relevance

1234567

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
H A DTableGenBackend.cpp21 static void printLine(raw_ostream &OS, const Twine &Prefix, char Fill, in printLine() argument
24 assert((Prefix.str().size() + Suffix.size() <= MAX_LINE_LEN) && in printLine()
26 OS << Prefix; in printLine() local
35 StringRef Prefix("|* "); in emitSourceFileHeader()
37 printLine(OS, Prefix, ' ', Suffix); in emitSourceFileHeader()
38 size_t PSLen = Prefix.size() + Suffix.size(); in emitSourceFileHeader()
43 printLine(OS, Prefix + Desc.substr(Pos, Length), ' ', Suffix); in emitSourceFileHeader()
46 printLine(OS, Prefix, ' ', Suffix); in emitSourceFileHeader()
47 printLine(OS, Prefix + "Automatically generated file, do not edit!", ' ', in emitSourceFileHeader()
49 printLine(OS, Prefix, ' ', Suffi in emitSourceFileHeader()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DWithColor.cpp68 raw_ostream &WithColor::error(raw_ostream &OS, StringRef Prefix, in error() argument
70 if (!Prefix.empty()) in error()
71 OS << Prefix << ": "; in error() local
76 raw_ostream &WithColor::warning(raw_ostream &OS, StringRef Prefix, in warning() argument
78 if (!Prefix.empty()) in warning()
79 OS << Prefix << ": "; in warning() local
84 raw_ostream &WithColor::note(raw_ostream &OS, StringRef Prefix, in note() argument
86 if (!Prefix.empty()) in note()
87 OS << Prefix << ": "; in note() local
91 raw_ostream &WithColor::remark(raw_ostream &OS, StringRef Prefix, in remark() argument
94 OS << Prefix << ": "; remark() local
[all...]
H A DTarWriter.cpp51 char Prefix[155]; member
125 // If Path fits in a Ustar header, updates Prefix and Name and returns true.
127 static bool splitUstar(StringRef Path, StringRef &Prefix, StringRef &Name) { in splitUstar() argument
129 Prefix = ""; in splitUstar()
134 size_t Sep = Path.rfind('/', sizeof(UstarHeader::Prefix) + 1); in splitUstar()
140 Prefix = Path.substr(0, Sep); in splitUstar()
147 static void writeUstarHeader(raw_fd_ostream &OS, StringRef Prefix, in writeUstarHeader() argument
153 memcpy(Hdr.Prefix, Prefix.data(), Prefix in writeUstarHeader()
[all...]
H A DFileCheck.cpp309 bool Pattern::parsePattern(StringRef PatternStr, StringRef Prefix, in parsePattern() argument
325 "found empty check string with prefix '" + Prefix + ":'"); in parsePattern()
332 "found non-empty check string for empty check with prefix '" + Prefix + in parsePattern()
942 std::string Check::FileCheckType::getDescription(StringRef Prefix) const { in getDescription()
948 return Prefix.str() + "-COUNT"; in getDescription()
949 return Prefix; in getDescription()
951 return Prefix.str() + "-NEXT"; in getDescription()
953 return Prefix.str() + "-SAME"; in getDescription()
955 return Prefix.str() + "-NOT"; in getDescription()
957 return Prefix in getDescription()
973 FindCheckType(StringRef Buffer, StringRef Prefix) FindCheckType() argument
1132 std::string Prefix = "-implicit-check-not='"; readCheckFile() local
1274 PrintMatch(bool ExpectedMatch, const SourceMgr &SM, StringRef Prefix, SMLoc Loc, const Pattern &Pat, int MatchedCount, StringRef Buffer, size_t MatchPos, size_t MatchLen, const FileCheckRequest &Req, std::vector<FileCheckDiag> *Diags) PrintMatch() argument
1320 PrintNoMatch(bool ExpectedMatch, const SourceMgr &SM, StringRef Prefix, SMLoc Loc, const Pattern &Pat, int MatchedCount, StringRef Buffer, bool VerboseVerbose, std::vector<FileCheckDiag> *Diags, Error MatchErrors) PrintNoMatch() argument
[all...]
H A DSpecialCaseList.cpp166 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()
225 SectionEntries::const_iterator I = Entries.find(Prefix); in inSectionBlame()
222 inSectionBlame(const SectionEntries &Entries, StringRef Prefix, StringRef Query, StringRef Category) const inSectionBlame() argument
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
H A DIceTimerTree.cpp196 TTindex Prefix = StackTop; in update() local
197 while (Prefix) { in update()
198 Nodes[Prefix].Time += Delta; in update()
200 if (UpdateCounts && Prefix == StackTop) in update()
201 ++Nodes[Prefix].UpdateCount; in update()
202 TTindex Next = Nodes[Prefix].Parent; in update()
203 assert(Next < Prefix); in update()
204 Prefix = Next; in update()
278 TTindex Prefix = i;
280 while (Prefix) {
[all...]
H A DIceTranslator.cpp31 std::string Translator::createUnnamedName(const std::string &Prefix, in createUnnamedName() argument
34 return Prefix; in createUnnamedName()
37 StrBuf << Prefix << Index; in createUnnamedName()
43 const std::string &Prefix) { in checkIfUnnamedNameSafe()
44 if (Name.find(Prefix) == 0) { in checkIfUnnamedNameSafe()
45 for (size_t i = Prefix.size(); i < Name.size(); ++i) { in checkIfUnnamedNameSafe()
52 Stream << "Warning : Default " << Kind << " prefix '" << Prefix in checkIfUnnamedNameSafe()
41 checkIfUnnamedNameSafe(const std::string &Name, const char *Kind, const std::string &Prefix) checkIfUnnamedNameSafe() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DMangler.cpp34 const DataLayout &DL, char Prefix) { in getNameWithPrefixImpl()
47 Prefix = '\0'; in getNameWithPrefixImpl()
54 if (Prefix != '\0') in getNameWithPrefixImpl()
55 OS << Prefix; in getNameWithPrefixImpl() local
64 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefixImpl() local
65 return getNameWithPrefixImpl(OS, GVName, PrefixTy, DL, Prefix); in getNameWithPrefixImpl()
76 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefix() local
77 return getNameWithPrefixImpl(OS, GVName, Default, DL, Prefix); in getNameWithPrefix()
135 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefix() local
154 Prefix in getNameWithPrefix()
32 getNameWithPrefixImpl(raw_ostream &OS, const Twine &GVName, ManglerPrefixTy PrefixTy, const DataLayout &DL, char Prefix) getNameWithPrefixImpl() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/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.h77 const RecordPrefix *Prefix = in forEachCodeViewRecord() local
80 size_t RealLen = Prefix->RecordLen + 2; in forEachCodeViewRecord()
98 const RecordPrefix *Prefix = nullptr; in readCVRecordFromStream() local
102 if (auto EC = Reader.readObject(Prefix)) in readCVRecordFromStream()
104 if (Prefix->RecordLen < 2) in readCVRecordFromStream()
109 if (auto EC = Reader.readBytes(RawData, Prefix->RecordLen + sizeof(uint16_t))) in readCVRecordFromStream()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/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()
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()
175 CVType Type(&Prefix, sizeo in end()
[all...]
H A DSimpleTypeSerializer.cpp32 RecordPrefix *Prefix = reinterpret_cast<RecordPrefix *>(ScratchBuffer.data()); in serialize() local
33 CVType CVT(Prefix, sizeof(RecordPrefix)); in serialize()
42 Prefix->RecordKind = CVT.kind(); in serialize()
43 Prefix->RecordLen = Writer.getOffset() - sizeof(uint16_t); in serialize()
/third_party/skia/third_party/externals/dawn/generator/templates/
H A Ddawn_proc_table.h15 {% set Prefix = metadata.proc_table_prefix %} variable
16 #ifndef DAWN_{{Prefix.upper()}}_PROC_TABLE_H_
17 #define DAWN_{{Prefix.upper()}}_PROC_TABLE_H_
22 typedef struct {{Prefix}}ProcTable {
33 } {{Prefix}}ProcTable;
35 #endif // DAWN_{{Prefix.upper()}}_PROC_TABLE_H_
H A Ddawn_thread_dispatch_proc.cpp1 {% set Prefix = metadata.proc_table_prefix %} variable
2 {% set prefix = Prefix.lower() %}
7 static {{Prefix}}ProcTable nullProcs;
8 thread_local {{Prefix}}ProcTable perThreadProcs;
10 void {{prefix}}ProcSetPerThreadProcs(const {{Prefix}}ProcTable* procs) {
52 {{Prefix}}ProcTable {{prefix}}ThreadDispatchProcTable = {
H A Ddawn_proc.c15 {% set Prefix = metadata.proc_table_prefix %} variable
16 {% set prefix = Prefix.lower() %}
19 static {{Prefix}}ProcTable procs;
21 static {{Prefix}}ProcTable nullProcs;
23 void {{prefix}}ProcSetProcs(const {{Prefix}}ProcTable* procs_) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
H A DTapiFile.h46 StringRef Prefix; member
50 constexpr Symbol(StringRef Prefix, StringRef Name, uint32_t Flags) in Symbol()
51 : Prefix(Prefix), Name(Name), Flags(Flags) {} in Symbol()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DWithColor.h85 static raw_ostream &error(raw_ostream &OS, StringRef Prefix = "",
88 static raw_ostream &warning(raw_ostream &OS, StringRef Prefix = "",
91 static raw_ostream &note(raw_ostream &OS, StringRef Prefix = "",
94 static raw_ostream &remark(raw_ostream &OS, StringRef Prefix = "",
H A DTypeName.h46 for (StringRef Prefix : {"class ", "struct ", "union ", "enum "}) in getTypeName()
47 if (Name.startswith(Prefix)) { in getTypeName()
48 Name = Name.drop_front(Prefix.size()); in getTypeName()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/AssemblerX8632/
H A DOther.cpp60 #define TestImpl(Prefix) \ in TEST_F()
63 __ emitSegmentOverride(Prefix); \ in TEST_F()
64 ASSERT_EQ(ByteCount, codeBytesSize()) << Prefix; \ in TEST_F()
65 verifyBytes<ByteCount>(codeBytes(), Prefix); \ in TEST_F()
/third_party/icu/icu4c/source/i18n/
H A Dformattedval_impl.h258 #define UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL(CType, ImplType, HelperType, Prefix) \
260 Prefix ## _openResult (UErrorCode* ec) { \
272 Prefix ## _resultAsValue (const CType* uresult, UErrorCode* ec) { \
278 Prefix ## _closeResult (CType* uresult) { \
291 * @param Prefix The C API prefix, like ulistfmt
294 #define UPRV_FORMATTED_VALUE_CAPI_AUTO_IMPL(CPPType, CType, ImplType, HelperType, Prefix, MagicNumber) \
309 UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL(CType, ImplType, HelperType, Prefix)
/third_party/node/deps/icu-small/source/i18n/
H A Dformattedval_impl.h261 #define UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL(CType, ImplType, HelperType, Prefix) \
263 Prefix ## _openResult (UErrorCode* ec) { \
275 Prefix ## _resultAsValue (const CType* uresult, UErrorCode* ec) { \
281 Prefix ## _closeResult (CType* uresult) { \
294 * @param Prefix The C API prefix, like ulistfmt
297 #define UPRV_FORMATTED_VALUE_CAPI_AUTO_IMPL(CPPType, CType, ImplType, HelperType, Prefix, MagicNumber) \
312 UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL(CType, ImplType, HelperType, Prefix)
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dformattedval_impl.h257 #define UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL(CType, ImplType, HelperType, Prefix) \
259 Prefix ## _openResult (UErrorCode* ec) { \
271 Prefix ## _resultAsValue (const CType* uresult, UErrorCode* ec) { \
277 Prefix ## _closeResult (CType* uresult) { \
290 * @param Prefix The C API prefix, like ulistfmt
293 #define UPRV_FORMATTED_VALUE_CAPI_AUTO_IMPL(CPPType, CType, ImplType, HelperType, Prefix, MagicNumber) \
308 UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL(CType, ImplType, HelperType, Prefix)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp139 LLVMPerfJitRecordPrefix Prefix; member
157 LLVMPerfJitRecordPrefix Prefix; member
411 rec.Prefix.Id = JIT_CODE_LOAD; in NotifyCode()
412 rec.Prefix.TotalSize = sizeof(rec) + // debug record itself in NotifyCode()
415 rec.Prefix.Timestamp = perf_get_timestamp(); in NotifyCode()
442 rec.Prefix.Id = JIT_CODE_DEBUG_INFO; in NotifyDebug()
443 rec.Prefix.TotalSize = sizeof(rec); // will be increased further in NotifyDebug()
444 rec.Prefix.Timestamp = perf_get_timestamp(); in NotifyDebug()
453 rec.Prefix.TotalSize += sizeof(LLVMPerfJitDebugEntry); in NotifyDebug()
454 rec.Prefix in NotifyDebug()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfStringPool.cpp22 StringRef Prefix) in DwarfStringPool()
23 : Pool(A), Prefix(Prefix), in DwarfStringPool()
33 Entry.Symbol = ShouldCreateSymbols ? Asm.createTempSymbol(Prefix) : nullptr; in getEntryImpl()
21 DwarfStringPool(BumpPtrAllocator &A, AsmPrinter &Asm, StringRef Prefix) DwarfStringPool() argument
H A DAddressPool.cpp28 StringRef Prefix = "debug_addr_"; in emitHeader() local
29 MCSymbol *BeginLabel = Asm.createTempSymbol(Prefix + "start"); in emitHeader()
30 MCSymbol *EndLabel = Asm.createTempSymbol(Prefix + "end"); in emitHeader()

Completed in 11 milliseconds

1234567