Lines Matching refs:_cpp

3240   void definition()  { fprintf(_cpp, "const        int   reduceOp[] = {\n"); }
3241 void closing() { fprintf(_cpp, " 0 // no trailing comma\n");
3246 if( reduce ) fprintf(_cpp, " %s_rule", reduce);
3247 else fprintf(_cpp, " 0");
3254 if( reduce ) fprintf(_cpp, " %s_rule", reduce);
3255 else fprintf(_cpp, " 0");
3259 if( reduce ) fprintf(_cpp, " %s_rule", reduce);
3260 else fprintf(_cpp, " 0");
3263 if( reduce ) fprintf(_cpp, " %s_rule", reduce);
3264 else fprintf(_cpp, " 0");
3275 void definition() { fprintf(_cpp, "const int leftOp[] = {\n"); }
3276 void closing() { fprintf(_cpp, " 0 // no trailing comma\n");
3279 void map(OpClassForm &opc) { fprintf(_cpp, " 0"); }
3282 if( reduce ) fprintf(_cpp, " %s_rule", reduce);
3283 else fprintf(_cpp, " 0");
3287 if( reduce ) fprintf(_cpp, " %s_rule", reduce);
3288 else fprintf(_cpp, " 0");
3292 if( reduce ) fprintf(_cpp, " %s_rule", reduce);
3293 else fprintf(_cpp, " 0");
3305 void definition() { fprintf(_cpp, "const int rightOp[] = {\n"); }
3306 void closing() { fprintf(_cpp, " 0 // no trailing comma\n");
3309 void map(OpClassForm &opc) { fprintf(_cpp, " 0"); }
3312 if( reduce ) fprintf(_cpp, " %s_rule", reduce);
3313 else fprintf(_cpp, " 0");
3317 if( reduce ) fprintf(_cpp, " %s_rule", reduce);
3318 else fprintf(_cpp, " 0");
3322 if( reduce ) fprintf(_cpp, " %s_rule", reduce);
3323 else fprintf(_cpp, " 0");
3335 void definition() { fprintf(_cpp, "const char *ruleName[] = {\n"); }
3336 void closing() { fprintf(_cpp, " \"invalid rule name\" // no trailing comma\n");
3339 void map(OpClassForm &opc) { fprintf(_cpp, " \"%s\"", _AD.machOperEnum(opc._ident) ); }
3340 void map(OperandForm &oper) { fprintf(_cpp, " \"%s\"", _AD.machOperEnum(oper._ident) ); }
3341 void map(char *name) { fprintf(_cpp, " \"%s\"", name ? name : "0"); }
3342 void map(InstructForm &inst){ fprintf(_cpp, " \"%s\"", inst._ident ? inst._ident : "0"); }
3353 void definition() { fprintf(_cpp, "const bool swallowed[] = {\n"); }
3354 void closing() { fprintf(_cpp, " false // no trailing comma\n");
3359 fprintf(_cpp, " %s", swallowed);
3361 void map(OpClassForm &opc) { fprintf(_cpp, " false"); }
3362 void map(char *name) { fprintf(_cpp, " false"); }
3363 void map(InstructForm &inst){ fprintf(_cpp, " false"); }
3374 void definition() { fprintf(_cpp, "const bool instruction_chain_rule[] = {\n"); }
3375 void closing() { fprintf(_cpp, " false // no trailing comma\n");
3378 void map(OpClassForm &opc) { fprintf(_cpp, " false"); }
3379 void map(OperandForm &oper) { fprintf(_cpp, " false"); }
3380 void map(char *name) { fprintf(_cpp, " false"); }
3383 fprintf(_cpp, " %s", chain);