Home
last modified time | relevance | path

Searched refs:MatchTableRecord (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DGlobalISelMatchTable.cpp165 void MatchTableRecord::emit(raw_ostream &OS, bool LineBreakIsNextAfterThis, in emit()
206 MatchTableRecord MatchTable::LineBreak = {
208 MatchTableRecord::MTRF_LineBreakFollows};
210 MatchTableRecord MatchTable::Comment(StringRef Comment) { in Comment()
211 return MatchTableRecord(std::nullopt, Comment, 0, in Comment()
212 MatchTableRecord::MTRF_Comment); in Comment()
215 MatchTableRecord MatchTable::Opcode(StringRef Opcode, int IndentAdjust) { in Opcode()
218 ExtraFlags |= MatchTableRecord::MTRF_Indent; in Opcode()
220 ExtraFlags |= MatchTableRecord::MTRF_Outdent; in Opcode()
222 return MatchTableRecord(std::nullopt, Opcode, 1, in Opcode()
[all …]
H A DGlobalISelMatchTable.h105 struct MatchTableRecord { struct
148 MatchTableRecord(std::optional<unsigned> LabelID_, StringRef EmitStr, in MatchTableRecord() argument
155 MatchTableRecord(const MatchTableRecord &Other) = default;
156 MatchTableRecord(MatchTableRecord &&Other) = default;
178 std::vector<MatchTableRecord> Contents; argument
191 static MatchTableRecord LineBreak;
192 static MatchTableRecord Comment(StringRef Comment);
193 static MatchTableRecord Opcode(StringRef Opcode, int IndentAdjust = 0);
194 static MatchTableRecord NamedValue(unsigned NumBytes, StringRef NamedValue);
195 static MatchTableRecord NamedValue(unsigned NumBytes, StringRef Namespace,
[all …]