Lines Matching refs:indent
22 void Matcher::print(raw_ostream &OS, unsigned indent) const { in print()
23 printImpl(OS, indent); in print()
25 return Next->print(OS, indent); in print()
114 void ScopeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
115 OS.indent(indent) << "Scope\n"; in printImpl()
118 OS.indent(indent + 1) << "NULL POINTER\n"; in printImpl()
120 C->print(OS, indent + 2); in printImpl()
124 void RecordMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
125 OS.indent(indent) << "Record\n"; in printImpl()
128 void RecordChildMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
129 OS.indent(indent) << "RecordChild: " << ChildNo << '\n'; in printImpl()
132 void RecordMemRefMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
133 OS.indent(indent) << "RecordMemRef\n"; in printImpl()
137 unsigned indent) const { in printImpl()
138 OS.indent(indent) << "CaptureGlueInput\n"; in printImpl()
141 void MoveChildMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
142 OS.indent(indent) << "MoveChild " << ChildNo << '\n'; in printImpl()
146 OS.indent(Indent) << "MoveSibling " << SiblingNo << '\n'; in printImpl()
149 void MoveParentMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
150 OS.indent(indent) << "MoveParent\n"; in printImpl()
153 void CheckSameMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
154 OS.indent(indent) << "CheckSame " << MatchNumber << '\n'; in printImpl()
157 void CheckChildSameMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
158 OS.indent(indent) << "CheckChild" << ChildNo << "Same\n"; in printImpl()
162 unsigned indent) const { in printImpl()
163 OS.indent(indent) << "CheckPatternPredicate " << Predicate << '\n'; in printImpl()
166 void CheckPredicateMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
167 OS.indent(indent) << "CheckPredicate " << getPredicate().getFnName() << '\n'; in printImpl()
170 void CheckOpcodeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
171 OS.indent(indent) << "CheckOpcode " << Opcode.getEnumName() << '\n'; in printImpl()
174 void SwitchOpcodeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
175 OS.indent(indent) << "SwitchOpcode: {\n"; in printImpl()
177 OS.indent(indent) << "case " << C.first->getEnumName() << ":\n"; in printImpl()
178 C.second->print(OS, indent + 2); in printImpl()
180 OS.indent(indent) << "}\n"; in printImpl()
183 void CheckTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
184 OS.indent(indent) << "CheckType " << getEnumName(Type) << ", ResNo=" << ResNo in printImpl()
188 void SwitchTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
189 OS.indent(indent) << "SwitchType: {\n"; in printImpl()
191 OS.indent(indent) << "case " << getEnumName(C.first) << ":\n"; in printImpl()
192 C.second->print(OS, indent + 2); in printImpl()
194 OS.indent(indent) << "}\n"; in printImpl()
197 void CheckChildTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
198 OS.indent(indent) << "CheckChildType " << ChildNo << " " << getEnumName(Type) in printImpl()
202 void CheckIntegerMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
203 OS.indent(indent) << "CheckInteger " << Value << '\n'; in printImpl()
207 unsigned indent) const { in printImpl()
208 OS.indent(indent) << "CheckChildInteger " << ChildNo << " " << Value << '\n'; in printImpl()
211 void CheckCondCodeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
212 OS.indent(indent) << "CheckCondCode ISD::" << CondCodeName << '\n'; in printImpl()
216 unsigned indent) const { in printImpl()
217 OS.indent(indent) << "CheckChild2CondCode ISD::" << CondCodeName << '\n'; in printImpl()
220 void CheckValueTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
221 OS.indent(indent) << "CheckValueType " << getEnumName(VT) << '\n'; in printImpl()
224 void CheckComplexPatMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
225 OS.indent(indent) << "CheckComplexPat " << Pattern.getSelectFunc() << '\n'; in printImpl()
228 void CheckAndImmMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
229 OS.indent(indent) << "CheckAndImm " << Value << '\n'; in printImpl()
232 void CheckOrImmMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
233 OS.indent(indent) << "CheckOrImm " << Value << '\n'; in printImpl()
237 unsigned indent) const { in printImpl()
238 OS.indent(indent) << "CheckFoldableChainNode\n"; in printImpl()
242 unsigned indent) const { in printImpl()
243 OS.indent(indent) << "CheckAllOnesV\n"; in printImpl()
247 unsigned indent) const { in printImpl()
248 OS.indent(indent) << "CheckAllZerosV\n"; in printImpl()
251 void EmitIntegerMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
252 OS.indent(indent) << "EmitInteger " << Val << " VT=" << getEnumName(VT) in printImpl()
257 unsigned indent) const { in printImpl()
258 OS.indent(indent) << "EmitStringInteger " << Val << " VT=" << getEnumName(VT) in printImpl()
262 void EmitRegisterMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
263 OS.indent(indent) << "EmitRegister "; in printImpl()
272 unsigned indent) const { in printImpl()
273 OS.indent(indent) << "EmitConvertToTarget " << Slot << '\n'; in printImpl()
277 unsigned indent) const { in printImpl()
278 OS.indent(indent) << "EmitMergeInputChains <todo: args>\n"; in printImpl()
281 void EmitCopyToRegMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
282 OS.indent(indent) << "EmitCopyToReg <todo: args>\n"; in printImpl()
285 void EmitNodeXFormMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
286 OS.indent(indent) << "EmitNodeXForm " << NodeXForm->getName() in printImpl()
290 void EmitNodeMatcherCommon::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
291 OS.indent(indent); in printImpl()
303 void CompleteMatchMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
304 OS.indent(indent) << "CompleteMatch <todo args>\n"; in printImpl()
305 OS.indent(indent) << "Src = " << Pattern.getSrcPattern() << "\n"; in printImpl()
306 OS.indent(indent) << "Dst = " << Pattern.getDstPattern() << "\n"; in printImpl()