Lines Matching refs:Action

32   void EmitAction(Record *Action, unsigned Indent, raw_ostream &O);
81 void CallingConvEmitter::EmitAction(Record *Action, in EmitAction() argument
85 if (Action->isSubClassOf("CCPredicateAction")) { in EmitAction()
88 if (Action->isSubClassOf("CCIfType")) { in EmitAction()
89 ListInit *VTs = Action->getValueAsListInit("VTs"); in EmitAction()
96 } else if (Action->isSubClassOf("CCIf")) { in EmitAction()
97 O << Action->getValueAsString("Predicate"); in EmitAction()
99 Action->dump(); in EmitAction()
104 EmitAction(Action->getValueAsDef("SubAction"), Indent+2, O); in EmitAction()
107 if (Action->isSubClassOf("CCDelegateTo")) { in EmitAction()
108 Record *CC = Action->getValueAsDef("CC"); in EmitAction()
112 } else if (Action->isSubClassOf("CCAssignToReg")) { in EmitAction()
113 ListInit *RegList = Action->getValueAsListInit("RegList"); in EmitAction()
133 } else if (Action->isSubClassOf("CCAssignToRegWithShadow")) { in EmitAction()
134 ListInit *RegList = Action->getValueAsListInit("RegList"); in EmitAction()
135 ListInit *ShadowRegList = Action->getValueAsListInit("ShadowRegList"); in EmitAction()
174 } else if (Action->isSubClassOf("CCAssignToStack")) { in EmitAction()
175 int Size = Action->getValueAsInt("Size"); in EmitAction()
176 int Align = Action->getValueAsInt("Align"); in EmitAction()
198 } else if (Action->isSubClassOf("CCAssignToStackWithShadow")) { in EmitAction()
199 int Size = Action->getValueAsInt("Size"); in EmitAction()
200 int Align = Action->getValueAsInt("Align"); in EmitAction()
201 ListInit *ShadowRegList = Action->getValueAsListInit("ShadowRegList"); in EmitAction()
221 } else if (Action->isSubClassOf("CCPromoteToType")) { in EmitAction()
222 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
235 } else if (Action->isSubClassOf("CCPromoteToUpperBitsInType")) { in EmitAction()
236 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
250 } else if (Action->isSubClassOf("CCBitConvertToType")) { in EmitAction()
251 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
254 } else if (Action->isSubClassOf("CCPassIndirect")) { in EmitAction()
255 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
258 } else if (Action->isSubClassOf("CCPassByVal")) { in EmitAction()
259 int Size = Action->getValueAsInt("Size"); in EmitAction()
260 int Align = Action->getValueAsInt("Align"); in EmitAction()
265 } else if (Action->isSubClassOf("CCCustom")) { in EmitAction()
267 << "if (" << Action->getValueAsString("FuncName") << "(ValNo, ValVT, " in EmitAction()
271 Action->dump(); in EmitAction()