13#ifndef LLVM_TABLEGEN_STRINGMATCHER_H
14#define LLVM_TABLEGEN_STRINGMATCHER_H
42 : StrVariableName(StrVariableName), Matches(Matches), OS(OS) {}
44 void Emit(
unsigned Indent = 0,
bool IgnoreDuplicates =
false)
const;
48 unsigned CharNo,
unsigned IndentCount,
49 bool IgnoreDuplicates)
const;
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
StringMatcher(StringRef StrVariableName, ArrayRef< StringPair > Matches, raw_ostream &OS)
void Emit(unsigned Indent=0, bool IgnoreDuplicates=false) const
Emit - Top level entry point.
std::pair< std::string, std::string > StringPair
StringRef - Represent a constant reference to a string, i.e.
This class implements an extremely fast bulk output stream that can only output to a stream.
This is an optimization pass for GlobalISel generic memory operations.