Lines Matching defs:CC
30 void EmitCallingConv(Record *CC, raw_ostream &O);
39 // Emit prototypes for all of the non-custom CC's so that they can forward ref
41 for (Record *CC : CCs) {
42 if (!CC->getValueAsBit("Custom")) {
43 unsigned Pad = CC->getName().size();
44 if (CC->getValueAsBit("Entry")) {
51 O << CC->getName() << "(unsigned ValNo, MVT ValVT,\n"
59 for (Record *CC : CCs) {
60 if (!CC->getValueAsBit("Custom"))
61 EmitCallingConv(CC, O);
66 void CallingConvEmitter::EmitCallingConv(Record *CC, raw_ostream &O) {
67 ListInit *CCActions = CC->getValueAsListInit("Actions");
71 unsigned Pad = CC->getName().size();
72 if (CC->getValueAsBit("Entry")) {
79 O << CC->getName() << "(unsigned ValNo, MVT ValVT,\n"
88 O << "\n return true; // CC didn't match.\n";
119 Record *CC = Action->getValueAsDef("CC");
120 O << IndentStr << "if (!" << CC->getName()