• Home
  • Raw
  • Download

Lines Matching refs:indent

24 void Matcher::print(raw_ostream &OS, unsigned indent) const {  in print()
25 printImpl(OS, indent); in print()
27 return Next->print(OS, indent); in print()
108 void ScopeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
109 OS.indent(indent) << "Scope\n"; in printImpl()
112 OS.indent(indent+1) << "NULL POINTER\n"; in printImpl()
114 getChild(i)->print(OS, indent+2); in printImpl()
118 void RecordMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
119 OS.indent(indent) << "Record\n"; in printImpl()
122 void RecordChildMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
123 OS.indent(indent) << "RecordChild: " << ChildNo << '\n'; in printImpl()
126 void RecordMemRefMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
127 OS.indent(indent) << "RecordMemRef\n"; in printImpl()
130 void CaptureGlueInputMatcher::printImpl(raw_ostream &OS, unsigned indent) const{ in printImpl()
131 OS.indent(indent) << "CaptureGlueInput\n"; in printImpl()
134 void MoveChildMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
135 OS.indent(indent) << "MoveChild " << ChildNo << '\n'; in printImpl()
138 void MoveParentMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
139 OS.indent(indent) << "MoveParent\n"; in printImpl()
142 void CheckSameMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
143 OS.indent(indent) << "CheckSame " << MatchNumber << '\n'; in printImpl()
146 void CheckChildSameMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
147 OS.indent(indent) << "CheckChild" << ChildNo << "Same\n"; in printImpl()
151 printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
152 OS.indent(indent) << "CheckPatternPredicate " << Predicate << '\n'; in printImpl()
155 void CheckPredicateMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
156 OS.indent(indent) << "CheckPredicate " << getPredicate().getFnName() << '\n'; in printImpl()
159 void CheckOpcodeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
160 OS.indent(indent) << "CheckOpcode " << Opcode.getEnumName() << '\n'; in printImpl()
163 void SwitchOpcodeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
164 OS.indent(indent) << "SwitchOpcode: {\n"; in printImpl()
166 OS.indent(indent) << "case " << Cases[i].first->getEnumName() << ":\n"; in printImpl()
167 Cases[i].second->print(OS, indent+2); in printImpl()
169 OS.indent(indent) << "}\n"; in printImpl()
173 void CheckTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
174 OS.indent(indent) << "CheckType " << getEnumName(Type) << ", ResNo=" in printImpl()
178 void SwitchTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
179 OS.indent(indent) << "SwitchType: {\n"; in printImpl()
181 OS.indent(indent) << "case " << getEnumName(Cases[i].first) << ":\n"; in printImpl()
182 Cases[i].second->print(OS, indent+2); in printImpl()
184 OS.indent(indent) << "}\n"; in printImpl()
187 void CheckChildTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
188 OS.indent(indent) << "CheckChildType " << ChildNo << " " in printImpl()
193 void CheckIntegerMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
194 OS.indent(indent) << "CheckInteger " << Value << '\n'; in printImpl()
198 unsigned indent) const { in printImpl()
199 OS.indent(indent) << "CheckChildInteger " << ChildNo << " " << Value << '\n'; in printImpl()
202 void CheckCondCodeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
203 OS.indent(indent) << "CheckCondCode ISD::" << CondCodeName << '\n'; in printImpl()
206 void CheckValueTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
207 OS.indent(indent) << "CheckValueType MVT::" << TypeName << '\n'; in printImpl()
210 void CheckComplexPatMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
211 OS.indent(indent) << "CheckComplexPat " << Pattern.getSelectFunc() << '\n'; in printImpl()
214 void CheckAndImmMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
215 OS.indent(indent) << "CheckAndImm " << Value << '\n'; in printImpl()
218 void CheckOrImmMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
219 OS.indent(indent) << "CheckOrImm " << Value << '\n'; in printImpl()
223 unsigned indent) const { in printImpl()
224 OS.indent(indent) << "CheckFoldableChainNode\n"; in printImpl()
227 void EmitIntegerMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
228 OS.indent(indent) << "EmitInteger " << Val << " VT=" << getEnumName(VT) in printImpl()
233 printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
234 OS.indent(indent) << "EmitStringInteger " << Val << " VT=" << getEnumName(VT) in printImpl()
238 void EmitRegisterMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
239 OS.indent(indent) << "EmitRegister "; in printImpl()
248 printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
249 OS.indent(indent) << "EmitConvertToTarget " << Slot << '\n'; in printImpl()
253 printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
254 OS.indent(indent) << "EmitMergeInputChains <todo: args>\n"; in printImpl()
257 void EmitCopyToRegMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
258 OS.indent(indent) << "EmitCopyToReg <todo: args>\n"; in printImpl()
261 void EmitNodeXFormMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
262 OS.indent(indent) << "EmitNodeXForm " << NodeXForm->getName() in printImpl()
267 void EmitNodeMatcherCommon::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
268 OS.indent(indent); in printImpl()
280 void CompleteMatchMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl()
281 OS.indent(indent) << "CompleteMatch <todo args>\n"; in printImpl()
282 OS.indent(indent) << "Src = " << *Pattern.getSrcPattern() << "\n"; in printImpl()
283 OS.indent(indent) << "Dst = " << *Pattern.getDstPattern() << "\n"; in printImpl()