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.cpp163 void MatchTableRecord::emit(raw_ostream &OS, bool LineBreakIsNextAfterThis, in emit()
204 MatchTableRecord MatchTable::LineBreak = {
206 MatchTableRecord::MTRF_LineBreakFollows};
208 MatchTableRecord MatchTable::Comment(StringRef Comment) { in Comment()
209 return MatchTableRecord(std::nullopt, Comment, 0, in Comment()
210 MatchTableRecord::MTRF_Comment); in Comment()
213 MatchTableRecord MatchTable::Opcode(StringRef Opcode, int IndentAdjust) { in Opcode()
216 ExtraFlags |= MatchTableRecord::MTRF_Indent; in Opcode()
218 ExtraFlags |= MatchTableRecord::MTRF_Outdent; in Opcode()
220 return MatchTableRecord(std::nullopt, Opcode, 1, in Opcode()
[all …]
H A DGlobalISelMatchTable.h104 struct MatchTableRecord { struct
150 MatchTableRecord(std::optional<unsigned> LabelID_, StringRef EmitStr, argument
158 MatchTableRecord(const MatchTableRecord &Other) = default;
159 MatchTableRecord(MatchTableRecord &&Other) = default;
169 bool operator<(const MatchTableRecord &Other) const { argument
187 std::vector<MatchTableRecord> Contents; argument
200 static MatchTableRecord LineBreak;
201 static MatchTableRecord Comment(StringRef Comment);
202 static MatchTableRecord Opcode(StringRef Opcode, int IndentAdjust = 0);
203 static MatchTableRecord NamedValue(unsigned NumBytes, StringRef NamedValue);
[all …]