Lines Matching refs:indent

24 void Matcher::print(raw_ostream &OS, unsigned indent) const {
25 printImpl(OS, indent);
27 return Next->print(OS, indent);
99 void ScopeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
100 OS.indent(indent) << "Scope\n";
103 OS.indent(indent+1) << "NULL POINTER\n";
105 getChild(i)->print(OS, indent+2);
109 void RecordMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
110 OS.indent(indent) << "Record\n";
113 void RecordChildMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
114 OS.indent(indent) << "RecordChild: " << ChildNo << '\n';
117 void RecordMemRefMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
118 OS.indent(indent) << "RecordMemRef\n";
121 void CaptureGlueInputMatcher::printImpl(raw_ostream &OS, unsigned indent) const{
122 OS.indent(indent) << "CaptureGlueInput\n";
125 void MoveChildMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
126 OS.indent(indent) << "MoveChild " << ChildNo << '\n';
129 void MoveParentMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
130 OS.indent(indent) << "MoveParent\n";
133 void CheckSameMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
134 OS.indent(indent) << "CheckSame " << MatchNumber << '\n';
137 void CheckChildSameMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
138 OS.indent(indent) << "CheckChild" << ChildNo << "Same\n";
142 printImpl(raw_ostream &OS, unsigned indent) const {
143 OS.indent(indent) << "CheckPatternPredicate " << Predicate << '\n';
146 void CheckPredicateMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
147 OS.indent(indent) << "CheckPredicate " << getPredicate().getFnName() << '\n';
150 void CheckOpcodeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
151 OS.indent(indent) << "CheckOpcode " << Opcode.getEnumName() << '\n';
154 void SwitchOpcodeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
155 OS.indent(indent) << "SwitchOpcode: {\n";
157 OS.indent(indent) << "case " << Cases[i].first->getEnumName() << ":\n";
158 Cases[i].second->print(OS, indent+2);
160 OS.indent(indent) << "}\n";
164 void CheckTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
165 OS.indent(indent) << "CheckType " << getEnumName(Type) << ", ResNo="
169 void SwitchTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
170 OS.indent(indent) << "SwitchType: {\n";
172 OS.indent(indent) << "case " << getEnumName(Cases[i].first) << ":\n";
173 Cases[i].second->print(OS, indent+2);
175 OS.indent(indent) << "}\n";
178 void CheckChildTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
179 OS.indent(indent) << "CheckChildType " << ChildNo << " "
184 void CheckIntegerMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
185 OS.indent(indent) << "CheckInteger " << Value << '\n';
188 void CheckCondCodeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
189 OS.indent(indent) << "CheckCondCode ISD::" << CondCodeName << '\n';
192 void CheckValueTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
193 OS.indent(indent) << "CheckValueType MVT::" << TypeName << '\n';
196 void CheckComplexPatMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
197 OS.indent(indent) << "CheckComplexPat " << Pattern.getSelectFunc() << '\n';
200 void CheckAndImmMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
201 OS.indent(indent) << "CheckAndImm " << Value << '\n';
204 void CheckOrImmMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
205 OS.indent(indent) << "CheckOrImm " << Value << '\n';
209 unsigned indent) const {
210 OS.indent(indent) << "CheckFoldableChainNode\n";
213 void EmitIntegerMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
214 OS.indent(indent) << "EmitInteger " << Val << " VT=" << VT << '\n';
218 printImpl(raw_ostream &OS, unsigned indent) const {
219 OS.indent(indent) << "EmitStringInteger " << Val << " VT=" << VT << '\n';
222 void EmitRegisterMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
223 OS.indent(indent) << "EmitRegister ";
232 printImpl(raw_ostream &OS, unsigned indent) const {
233 OS.indent(indent) << "EmitConvertToTarget " << Slot << '\n';
237 printImpl(raw_ostream &OS, unsigned indent) const {
238 OS.indent(indent) << "EmitMergeInputChains <todo: args>\n";
241 void EmitCopyToRegMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
242 OS.indent(indent) << "EmitCopyToReg <todo: args>\n";
245 void EmitNodeXFormMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
246 OS.indent(indent) << "EmitNodeXForm " << NodeXForm->getName()
251 void EmitNodeMatcherCommon::printImpl(raw_ostream &OS, unsigned indent) const {
252 OS.indent(indent);
264 void MarkGlueResultsMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
265 OS.indent(indent) << "MarkGlueResults <todo: args>\n";
268 void CompleteMatchMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
269 OS.indent(indent) << "CompleteMatch <todo args>\n";
270 OS.indent(indent) << "Src = " << *Pattern.getSrcPattern() << "\n";
271 OS.indent(indent) << "Dst = " << *Pattern.getDstPattern() << "\n";