Lines Matching refs:OS

24 void Matcher::print(raw_ostream &OS, unsigned indent) const {  in print()  argument
25 printImpl(OS, indent); in print()
27 return Next->print(OS, indent); in print()
30 void Matcher::printOne(raw_ostream &OS) const { in printOne()
31 printImpl(OS, 0); in printOne()
118 void ScopeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
119 OS.indent(indent) << "Scope\n"; in printImpl()
122 OS.indent(indent+1) << "NULL POINTER\n"; in printImpl()
124 C->print(OS, indent+2); in printImpl()
128 void RecordMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
129 OS.indent(indent) << "Record\n"; in printImpl()
132 void RecordChildMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
133 OS.indent(indent) << "RecordChild: " << ChildNo << '\n'; in printImpl()
136 void RecordMemRefMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
137 OS.indent(indent) << "RecordMemRef\n"; in printImpl()
140 void CaptureGlueInputMatcher::printImpl(raw_ostream &OS, unsigned indent) const{ in printImpl() argument
141 OS.indent(indent) << "CaptureGlueInput\n"; in printImpl()
144 void MoveChildMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
145 OS.indent(indent) << "MoveChild " << ChildNo << '\n'; in printImpl()
148 void MoveSiblingMatcher::printImpl(raw_ostream &OS, unsigned Indent) const { in printImpl() argument
149 OS.indent(Indent) << "MoveSibling " << SiblingNo << '\n'; in printImpl()
152 void MoveParentMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
153 OS.indent(indent) << "MoveParent\n"; in printImpl()
156 void CheckSameMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
157 OS.indent(indent) << "CheckSame " << MatchNumber << '\n'; in printImpl()
160 void CheckChildSameMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
161 OS.indent(indent) << "CheckChild" << ChildNo << "Same\n"; in printImpl()
165 printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
166 OS.indent(indent) << "CheckPatternPredicate " << Predicate << '\n'; in printImpl()
169 void CheckPredicateMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
170 OS.indent(indent) << "CheckPredicate " << getPredicate().getFnName() << '\n'; in printImpl()
173 void CheckOpcodeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
174 OS.indent(indent) << "CheckOpcode " << Opcode.getEnumName() << '\n'; in printImpl()
177 void SwitchOpcodeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
178 OS.indent(indent) << "SwitchOpcode: {\n"; in printImpl()
180 OS.indent(indent) << "case " << C.first->getEnumName() << ":\n"; in printImpl()
181 C.second->print(OS, indent+2); in printImpl()
183 OS.indent(indent) << "}\n"; in printImpl()
187 void CheckTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
188 OS.indent(indent) << "CheckType " << getEnumName(Type) << ", ResNo=" in printImpl()
192 void SwitchTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
193 OS.indent(indent) << "SwitchType: {\n"; in printImpl()
195 OS.indent(indent) << "case " << getEnumName(C.first) << ":\n"; in printImpl()
196 C.second->print(OS, indent+2); in printImpl()
198 OS.indent(indent) << "}\n"; in printImpl()
201 void CheckChildTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
202 OS.indent(indent) << "CheckChildType " << ChildNo << " " in printImpl()
207 void CheckIntegerMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
208 OS.indent(indent) << "CheckInteger " << Value << '\n'; in printImpl()
211 void CheckChildIntegerMatcher::printImpl(raw_ostream &OS, in printImpl() argument
213 OS.indent(indent) << "CheckChildInteger " << ChildNo << " " << Value << '\n'; in printImpl()
216 void CheckCondCodeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
217 OS.indent(indent) << "CheckCondCode ISD::" << CondCodeName << '\n'; in printImpl()
220 void CheckChild2CondCodeMatcher::printImpl(raw_ostream &OS, in printImpl() argument
222 OS.indent(indent) << "CheckChild2CondCode ISD::" << CondCodeName << '\n'; in printImpl()
225 void CheckValueTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
226 OS.indent(indent) << "CheckValueType MVT::" << TypeName << '\n'; in printImpl()
229 void CheckComplexPatMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
230 OS.indent(indent) << "CheckComplexPat " << Pattern.getSelectFunc() << '\n'; in printImpl()
233 void CheckAndImmMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
234 OS.indent(indent) << "CheckAndImm " << Value << '\n'; in printImpl()
237 void CheckOrImmMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
238 OS.indent(indent) << "CheckOrImm " << Value << '\n'; in printImpl()
241 void CheckFoldableChainNodeMatcher::printImpl(raw_ostream &OS, in printImpl() argument
243 OS.indent(indent) << "CheckFoldableChainNode\n"; in printImpl()
246 void CheckImmAllOnesVMatcher::printImpl(raw_ostream &OS, in printImpl() argument
248 OS.indent(indent) << "CheckAllOnesV\n"; in printImpl()
251 void CheckImmAllZerosVMatcher::printImpl(raw_ostream &OS, in printImpl() argument
253 OS.indent(indent) << "CheckAllZerosV\n"; in printImpl()
256 void EmitIntegerMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
257 OS.indent(indent) << "EmitInteger " << Val << " VT=" << getEnumName(VT) in printImpl()
262 printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
263 OS.indent(indent) << "EmitStringInteger " << Val << " VT=" << getEnumName(VT) in printImpl()
267 void EmitRegisterMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
268 OS.indent(indent) << "EmitRegister "; in printImpl()
270 OS << Reg->getName(); in printImpl()
272 OS << "zero_reg"; in printImpl()
273 OS << " VT=" << getEnumName(VT) << '\n'; in printImpl()
277 printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
278 OS.indent(indent) << "EmitConvertToTarget " << Slot << '\n'; in printImpl()
282 printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
283 OS.indent(indent) << "EmitMergeInputChains <todo: args>\n"; in printImpl()
286 void EmitCopyToRegMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
287 OS.indent(indent) << "EmitCopyToReg <todo: args>\n"; in printImpl()
290 void EmitNodeXFormMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
291 OS.indent(indent) << "EmitNodeXForm " << NodeXForm->getName() in printImpl()
296 void EmitNodeMatcherCommon::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
297 OS.indent(indent); in printImpl()
298 OS << (isa<MorphNodeToMatcher>(this) ? "MorphNodeTo: " : "EmitNode: ") in printImpl()
302 OS << ' ' << getEnumName(VTs[i]); in printImpl()
303 OS << '('; in printImpl()
305 OS << Operands[i] << ' '; in printImpl()
306 OS << ")\n"; in printImpl()
309 void CompleteMatchMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
310 OS.indent(indent) << "CompleteMatch <todo args>\n"; in printImpl()
311 OS.indent(indent) << "Src = " << *Pattern.getSrcPattern() << "\n"; in printImpl()
312 OS.indent(indent) << "Dst = " << *Pattern.getDstPattern() << "\n"; in printImpl()