Lines Matching refs:MatchTableRecord

163 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()
221 MatchTableRecord::MTRF_CommaFollows | ExtraFlags); in Opcode()
224 MatchTableRecord MatchTable::NamedValue(unsigned NumBytes, in NamedValue()
226 return MatchTableRecord(std::nullopt, NamedValue, NumBytes, in NamedValue()
227 MatchTableRecord::MTRF_CommaFollows); in NamedValue()
230 MatchTableRecord MatchTable::NamedValue(unsigned NumBytes, StringRef NamedValue, in NamedValue()
232 return MatchTableRecord(std::nullopt, NamedValue, NumBytes, in NamedValue()
233 MatchTableRecord::MTRF_CommaFollows, RawValue); in NamedValue()
236 MatchTableRecord MatchTable::NamedValue(unsigned NumBytes, StringRef Namespace, in NamedValue()
238 return MatchTableRecord(std::nullopt, (Namespace + "::" + NamedValue).str(), in NamedValue()
239 NumBytes, MatchTableRecord::MTRF_CommaFollows); in NamedValue()
242 MatchTableRecord MatchTable::NamedValue(unsigned NumBytes, StringRef Namespace, in NamedValue()
245 return MatchTableRecord(std::nullopt, (Namespace + "::" + NamedValue).str(), in NamedValue()
246 NumBytes, MatchTableRecord::MTRF_CommaFollows, in NamedValue()
250 MatchTableRecord MatchTable::IntValue(unsigned NumBytes, int64_t IntValue) { in IntValue()
257 return MatchTableRecord(std::nullopt, Str, NumBytes, in IntValue()
258 MatchTableRecord::MTRF_CommaFollows); in IntValue()
261 MatchTableRecord MatchTable::ULEB128Value(uint64_t IntValue) { in ULEB128Value()
267 return MatchTableRecord(std::nullopt, llvm::to_string((unsigned)Buffer[0]), in ULEB128Value()
268 1, MatchTableRecord::MTRF_CommaFollows); in ULEB128Value()
281 return MatchTableRecord(std::nullopt, Str, Len, in ULEB128Value()
282 MatchTableRecord::MTRF_CommaFollows | in ULEB128Value()
283 MatchTableRecord::MTRF_PreEncoded); in ULEB128Value()
286 MatchTableRecord MatchTable::Label(unsigned LabelID) { in Label()
287 return MatchTableRecord(LabelID, "Label " + llvm::to_string(LabelID), 0, in Label()
288 MatchTableRecord::MTRF_Label | in Label()
289 MatchTableRecord::MTRF_Comment | in Label()
290 MatchTableRecord::MTRF_LineBreakFollows); in Label()
293 MatchTableRecord MatchTable::JumpTarget(unsigned LabelID) { in JumpTarget()
294 return MatchTableRecord(LabelID, "Label " + llvm::to_string(LabelID), 4, in JumpTarget()
295 MatchTableRecord::MTRF_JumpTarget | in JumpTarget()
296 MatchTableRecord::MTRF_Comment | in JumpTarget()
297 MatchTableRecord::MTRF_CommaFollows); in JumpTarget()
314 NextI->Flags == MatchTableRecord::MTRF_LineBreakFollows) in emitDeclaration()
318 if (I->Flags & MatchTableRecord::MTRF_Indent) in emitDeclaration()
322 if (I->Flags & MatchTableRecord::MTRF_LineBreakFollows) in emitDeclaration()
325 if (I->Flags & MatchTableRecord::MTRF_Outdent) in emitDeclaration()
1133 MatchTableRecord LLTOperandMatcher::getValue() const { in getValue()
1389 MatchTableRecord
1407 MatchTableRecord InstructionOpcodeMatcher::getValue() const { in getValue()