Home
last modified time | relevance | path

Searched refs:MatchTable (Results 1 – 9 of 9) sorted by relevance

/src/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DGlobalISelMatchTable.cpp164 const MatchTable &Table) const { in emit()
204 MatchTableRecord MatchTable::LineBreak = {
208 MatchTableRecord MatchTable::Comment(StringRef Comment) { in Comment()
213 MatchTableRecord MatchTable::Opcode(StringRef Opcode, int IndentAdjust) { in Opcode()
224 MatchTableRecord MatchTable::NamedValue(unsigned NumBytes, in NamedValue()
230 MatchTableRecord MatchTable::NamedValue(unsigned NumBytes, StringRef NamedValue, in NamedValue()
236 MatchTableRecord MatchTable::NamedValue(unsigned NumBytes, StringRef Namespace, in NamedValue()
242 MatchTableRecord MatchTable::NamedValue(unsigned NumBytes, StringRef Namespace, in NamedValue()
250 MatchTableRecord MatchTable::IntValue(unsigned NumBytes, int64_t IntValue) { in IntValue()
261 MatchTableRecord MatchTable::ULEB128Value(uint64_t IntValue) { in ULEB128Value()
[all …]
H A DGlobalISelMatchTable.h47 class MatchTable; variable
175 const MatchTable &Table) const;
181 class MatchTable {
215 static MatchTable buildTable(ArrayRef<Matcher *> Rules, bool WithCoverage,
218 MatchTable(bool WithCoverage, bool IsCombinerTable, unsigned ID = 0)
248 inline MatchTable &operator<<(MatchTable &Table,
310 inline MatchTable &operator<<(MatchTable &Table,
313 Table << MatchTable::NamedValue(1, Ty.getLLTCodeGen().getCxxEnumValue());
315 Table << MatchTable::IntValue(1, Ty.getTempTypeIdx());
324 virtual void emit(MatchTable &Table) = 0;
[all …]
H A DGlobalISelMatchTableExecutorEmitter.h30 class MatchTable; variable
58 void emitMatchTable(raw_ostream &OS, const gi::MatchTable &Table);
206 void emitExecutorImpl(raw_ostream &OS, const gi::MatchTable &Table,
H A DGlobalISelMatchTableExecutorEmitter.cpp164 raw_ostream &OS, const MatchTable &Table) { in emitMatchTable()
176 raw_ostream &OS, const MatchTable &Table, ArrayRef<LLTCodeGen> TypeObjects, in emitExecutorImpl()
/src/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DGIMatchTableExecutor.h657 MachineIRBuilder &Builder, const uint8_t *MatchTable,
710 template <typename Ty> static Ty readBytesAs(const uint8_t *MatchTable) { in readBytesAs() argument
712 memcpy(&Ret, MatchTable, sizeof(Ret)); in readBytesAs()
723 fastDecodeULEB128(const uint8_t *LLVM_ATTRIBUTE_RESTRICT MatchTable, in fastDecodeULEB128() argument
725 uint64_t Value = MatchTable[CurrentIdx++]; in fastDecodeULEB128()
730 uint64_t Slice = MatchTable[CurrentIdx] & 0x7f; in fastDecodeULEB128()
733 } while (MatchTable[CurrentIdx++] >= 128); in fastDecodeULEB128()
H A DGIMatchTableExecutorImpl.h50 MachineIRBuilder &Builder, const uint8_t *MatchTable, in executeMatchTable() argument
103 return fastDecodeULEB128(MatchTable, CurrentIdx); in executeMatchTable()
111 const auto readS8 = [&]() { return (int8_t)MatchTable[CurrentIdx++]; }; in executeMatchTable()
114 auto V = readBytesAs<uint16_t>(MatchTable + CurrentIdx); in executeMatchTable()
120 auto V = readBytesAs<uint32_t>(MatchTable + CurrentIdx); in executeMatchTable()
126 auto V = readBytesAs<uint64_t>(MatchTable + CurrentIdx); in executeMatchTable()
143 uint8_t MatcherOpcode = MatchTable[CurrentIdx++]; in executeMatchTable()
256 readBytesAs<uint32_t>(MatchTable + CurrentIdx + (EntryIdx * 4)); in executeMatchTable()
303 readBytesAs<uint32_t>(MatchTable + CurrentIdx + (NumEntry * 4)); in executeMatchTable()
493 auto Ordering = (AtomicOrdering)MatchTable[CurrentIdx++]; in executeMatchTable()
[all …]
/src/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp435 MatchTable buildMatchTable(MutableArrayRef<RuleMatcher> Rules, bool Optimize,
2228 MatchTable
2236 return MatchTable::buildTable(InputRules, WithCoverage); in buildMatchTable()
2267 return MatchTable::buildTable(OptRules, WithCoverage); in buildMatchTable()
2503 const MatchTable Table = in run()
H A DGlobalISelCombinerEmitter.cpp2285 MatchTable buildMatchTable(MutableArrayRef<RuleMatcher> Rules);
2542 MatchTable
2577 return MatchTable::buildTable(OptRules, /*WithCoverage*/ false, in buildMatchTable()
2648 const MatchTable Table = buildMatchTable(Rules); in run()
/src/contrib/llvm-project/llvm/include/llvm/Target/
H A DTarget.td754 /// instruction will be presented only in MatchTable for this variant. If