• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/llvmCore-3425.0.33/utils/TableGen/

Lines Matching defs:OS

24 void Matcher::print(raw_ostream &OS, unsigned indent) const {
25 printImpl(OS, indent);
27 return Next->print(OS, indent);
30 void Matcher::printOne(raw_ostream &OS) const {
31 printImpl(OS, 0);
99 void ScopeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
100 OS.indent(indent) << "Scope\n";
103 OS.indent(indent+1) << "NULL POINTER\n";
105 getChild(i)->print(OS, indent+2);
109 void RecordMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
110 OS.indent(indent) << "Record\n";
113 void RecordChildMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
114 OS.indent(indent) << "RecordChild: " << ChildNo << '\n';
117 void RecordMemRefMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
118 OS.indent(indent) << "RecordMemRef\n";
121 void CaptureGlueInputMatcher::printImpl(raw_ostream &OS, unsigned indent) const{
122 OS.indent(indent) << "CaptureGlueInput\n";
125 void MoveChildMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
126 OS.indent(indent) << "MoveChild " << ChildNo << '\n';
129 void MoveParentMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
130 OS.indent(indent) << "MoveParent\n";
133 void CheckSameMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
134 OS.indent(indent) << "CheckSame " << MatchNumber << '\n';
138 printImpl(raw_ostream &OS, unsigned indent) const {
139 OS.indent(indent) << "CheckPatternPredicate " << Predicate << '\n';
142 void CheckPredicateMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
143 OS.indent(indent) << "CheckPredicate " << getPredicate().getFnName() << '\n';
146 void CheckOpcodeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
147 OS.indent(indent) << "CheckOpcode " << Opcode.getEnumName() << '\n';
150 void SwitchOpcodeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
151 OS.indent(indent) << "SwitchOpcode: {\n";
153 OS.indent(indent) << "case " << Cases[i].first->getEnumName() << ":\n";
154 Cases[i].second->print(OS, indent+2);
156 OS.indent(indent) << "}\n";
160 void CheckTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
161 OS.indent(indent) << "CheckType " << getEnumName(Type) << ", ResNo="
165 void SwitchTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
166 OS.indent(indent) << "SwitchType: {\n";
168 OS.indent(indent) << "case " << getEnumName(Cases[i].first) << ":\n";
169 Cases[i].second->print(OS, indent+2);
171 OS.indent(indent) << "}\n";
174 void CheckChildTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
175 OS.indent(indent) << "CheckChildType " << ChildNo << " "
180 void CheckIntegerMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
181 OS.indent(indent) << "CheckInteger " << Value << '\n';
184 void CheckCondCodeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
185 OS.indent(indent) << "CheckCondCode ISD::" << CondCodeName << '\n';
188 void CheckValueTypeMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
189 OS.indent(indent) << "CheckValueType MVT::" << TypeName << '\n';
192 void CheckComplexPatMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
193 OS.indent(indent) << "CheckComplexPat " << Pattern.getSelectFunc() << '\n';
196 void CheckAndImmMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
197 OS.indent(indent) << "CheckAndImm " << Value << '\n';
200 void CheckOrImmMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
201 OS.indent(indent) << "CheckOrImm " << Value << '\n';
204 void CheckFoldableChainNodeMatcher::printImpl(raw_ostream &OS,
206 OS.indent(indent) << "CheckFoldableChainNode\n";
209 void EmitIntegerMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
210 OS.indent(indent) << "EmitInteger " << Val << " VT=" << VT << '\n';
214 printImpl(raw_ostream &OS, unsigned indent) const {
215 OS.indent(indent) << "EmitStringInteger " << Val << " VT=" << VT << '\n';
218 void EmitRegisterMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
219 OS.indent(indent) << "EmitRegister ";
221 OS << Reg->getName();
223 OS << "zero_reg";
224 OS << " VT=" << VT << '\n';
228 printImpl(raw_ostream &OS, unsigned indent) const {
229 OS.indent(indent) << "EmitConvertToTarget " << Slot << '\n';
233 printImpl(raw_ostream &OS, unsigned indent) const {
234 OS.indent(indent) << "EmitMergeInputChains <todo: args>\n";
237 void EmitCopyToRegMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
238 OS.indent(indent) << "EmitCopyToReg <todo: args>\n";
241 void EmitNodeXFormMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
242 OS.indent(indent) << "EmitNodeXForm " << NodeXForm->getName()
247 void EmitNodeMatcherCommon::printImpl(raw_ostream &OS, unsigned indent) const {
248 OS.indent(indent);
249 OS << (isa<MorphNodeToMatcher>(this) ? "MorphNodeTo: " : "EmitNode: ")
253 OS << ' ' << getEnumName(VTs[i]);
254 OS << '(';
256 OS << Operands[i] << ' ';
257 OS << ")\n";
260 void MarkGlueResultsMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
261 OS.indent(indent) << "MarkGlueResults <todo: args>\n";
264 void CompleteMatchMatcher::printImpl(raw_ostream &OS, unsigned indent) const {
265 OS.indent(indent) << "CompleteMatch <todo args>\n";
266 OS.indent(indent) << "Src = " << *Pattern.getSrcPattern() << "\n";
267 OS.indent(indent) << "Dst = " << *Pattern.getDstPattern() << "\n";