Lines Matching full:indent
22 void Matcher::print(raw_ostream &OS, unsigned indent) const {
23 printImpl(OS, indent);
25 return Next->print(OS, indent);
97 void ScopeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
98 OS.indent(indent) << "Scope\n";
101 OS.indent(indent+1) << "NULL POINTER\n";
103 getChild(i)->print(OS, indent+2);
107 void RecordMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
108 OS.indent(indent) << "Record\n";
111 void RecordChildMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
112 OS.indent(indent) << "RecordChild: " << ChildNo << '\n';
115 void RecordMemRefMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
116 OS.indent(indent) << "RecordMemRef\n";
119 void CaptureGlueInputMatcher::printImpl(raw_ostream &OS, unsigned indent) const{
120 OS.indent(indent) << "CaptureGlueInput\n";
123 void MoveChildMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
124 OS.indent(indent) << "MoveChild " << ChildNo << '\n';
127 void MoveParentMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
128 OS.indent(indent) << "MoveParent\n";
131 void CheckSameMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
132 OS.indent(indent) << "CheckSame " << MatchNumber << '\n';
136 printImpl(raw_ostream &OS, unsigned indent) const {
137 OS.indent(indent) << "CheckPatternPredicate " << Predicate << '\n';
140 void CheckPredicateMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
141 OS.indent(indent) << "CheckPredicate " << getPredicate().getFnName() << '\n';
144 void CheckOpcodeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
145 OS.indent(indent) << "CheckOpcode " << Opcode.getEnumName() << '\n';
148 void SwitchOpcodeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
149 OS.indent(indent) << "SwitchOpcode: {\n";
151 OS.indent(indent) << "case " << Cases[i].first->getEnumName() << ":\n";
152 Cases[i].second->print(OS, indent+2);
154 OS.indent(indent) << "}\n";
158 void CheckTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
159 OS.indent(indent) << "CheckType " << getEnumName(Type) << ", ResNo="
163 void SwitchTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
164 OS.indent(indent) << "SwitchType: {\n";
166 OS.indent(indent) << "case " << getEnumName(Cases[i].first) << ":\n";
167 Cases[i].second->print(OS, indent+2);
169 OS.indent(indent) << "}\n";
172 void CheckChildTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
173 OS.indent(indent) << "CheckChildType " << ChildNo << " "
178 void CheckIntegerMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
179 OS.indent(indent) << "CheckInteger " << Value << '\n';
182 void CheckCondCodeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
183 OS.indent(indent) << "CheckCondCode ISD::" << CondCodeName << '\n';
186 void CheckValueTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
187 OS.indent(indent) << "CheckValueType MVT::" << TypeName << '\n';
190 void CheckComplexPatMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
191 OS.indent(indent) << "CheckComplexPat " << Pattern.getSelectFunc() << '\n';
194 void CheckAndImmMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
195 OS.indent(indent) << "CheckAndImm " << Value << '\n';
198 void CheckOrImmMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
199 OS.indent(indent) << "CheckOrImm " << Value << '\n';
203 unsigned indent) const {
204 OS.indent(indent) << "CheckFoldableChainNode\n";
207 void EmitIntegerMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
208 OS.indent(indent) << "EmitInteger " << Val << " VT=" << VT << '\n';
212 printImpl(raw_ostream &OS, unsigned indent) const {
213 OS.indent(indent) << "EmitStringInteger " << Val << " VT=" << VT << '\n';
216 void EmitRegisterMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
217 OS.indent(indent) << "EmitRegister ";
226 printImpl(raw_ostream &OS, unsigned indent) const {
227 OS.indent(indent) << "EmitConvertToTarget " << Slot << '\n';
231 printImpl(raw_ostream &OS, unsigned indent) const {
232 OS.indent(indent) << "EmitMergeInputChains <todo: args>\n";
235 void EmitCopyToRegMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
236 OS.indent(indent) << "EmitCopyToReg <todo: args>\n";
239 void EmitNodeXFormMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
240 OS.indent(indent) << "EmitNodeXForm " << NodeXForm->getName()
245 void EmitNodeMatcherCommon::printImpl(raw_ostream &OS, unsigned indent) const {
246 OS.indent(indent);
258 void MarkGlueResultsMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
259 OS.indent(indent) << "MarkGlueResults <todo: args>\n";
262 void CompleteMatchMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
263 OS.indent(indent) << "CompleteMatch <todo args>\n";
264 OS.indent(indent) << "Src = " << *Pattern.getSrcPattern() << "\n";
265 OS.indent(indent) << "Dst = " << *Pattern.getDstPattern() << "\n";