• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:OS

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