Lines Matching defs:Action

32   void EmitAction(Record *Action, unsigned Indent, raw_ostream &O);
78 void CallingConvEmitter::EmitAction(Record *Action,
82 if (Action->isSubClassOf("CCPredicateAction")) {
85 if (Action->isSubClassOf("CCIfType")) {
86 ListInit *VTs = Action->getValueAsListInit("VTs");
93 } else if (Action->isSubClassOf("CCIf")) {
94 O << Action->getValueAsString("Predicate");
96 Action->dump();
101 EmitAction(Action->getValueAsDef("SubAction"), Indent+2, O);
104 if (Action->isSubClassOf("CCDelegateTo")) {
105 Record *CC = Action->getValueAsDef("CC");
109 } else if (Action->isSubClassOf("CCAssignToReg")) {
110 ListInit *RegList = Action->getValueAsListInit("RegList");
130 } else if (Action->isSubClassOf("CCAssignToRegWithShadow")) {
131 ListInit *RegList = Action->getValueAsListInit("RegList");
132 ListInit *ShadowRegList = Action->getValueAsListInit("ShadowRegList");
172 } else if (Action->isSubClassOf("CCAssignToStack")) {
173 int Size = Action->getValueAsInt("Size");
174 int Align = Action->getValueAsInt("Align");
188 if (Action->isSubClassOf("CCAssignToStackWithShadow"))
189 O << ", " << getQualifiedName(Action->getValueAsDef("ShadowReg"));
194 } else if (Action->isSubClassOf("CCPromoteToType")) {
195 Record *DestTy = Action->getValueAsDef("DestTy");
203 } else if (Action->isSubClassOf("CCBitConvertToType")) {
204 Record *DestTy = Action->getValueAsDef("DestTy");
207 } else if (Action->isSubClassOf("CCPassIndirect")) {
208 Record *DestTy = Action->getValueAsDef("DestTy");
211 } else if (Action->isSubClassOf("CCPassByVal")) {
212 int Size = Action->getValueAsInt("Size");
213 int Align = Action->getValueAsInt("Align");
218 } else if (Action->isSubClassOf("CCCustom")) {
220 << "if (" << Action->getValueAsString("FuncName") << "(ValNo, ValVT, "
224 Action->dump();