Lines Matching defs:map

1119   fprintf(fp, "      // Build map to register info\n");
3244 void map(OpClassForm &opc) {
3249 void map(OperandForm &oper) {
3257 void map(InstructForm &inst) {
3262 void map(char *reduce) {
3279 void map(OpClassForm &opc) { fprintf(_cpp, " 0"); }
3280 void map(OperandForm &oper) {
3285 void map(char *name) {
3290 void map(InstructForm &inst) {
3309 void map(OpClassForm &opc) { fprintf(_cpp, " 0"); }
3310 void map(OperandForm &oper) {
3315 void map(char *name) {
3320 void map(InstructForm &inst) {
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"); }
3357 void map(OperandForm &oper) { // Generate the entry for this opcode
3361 void map(OpClassForm &opc) { fprintf(_cpp, " false"); }
3362 void map(char *name) { fprintf(_cpp, " false"); }
3363 void map(InstructForm &inst){ fprintf(_cpp, " false"); }
3378 void map(OpClassForm &opc) { fprintf(_cpp, " false"); }
3379 void map(OperandForm &oper) { fprintf(_cpp, " false"); }
3380 void map(char *name) { fprintf(_cpp, " false"); }
3381 void map(InstructForm &inst) { // Check for simple chain rule
3391 void ArchDesc::build_map(OutputMap &map) {
3392 FILE *fp_hpp = map.decl_file();
3393 FILE *fp_cpp = map.def_file();
3400 map.declaration();
3402 map.definition();
3405 map.record_position(OutputMap::BEGIN_OPERANDS, idx );
3412 fprintf(fp_cpp, " /* %4d */", idx); map.map(*op); fprintf(fp_cpp, ",\n");
3418 map.record_position(OutputMap::BEGIN_OPCLASSES, idx );
3421 fprintf(fp_cpp, " /* %4d */", idx); map.map(*opc); fprintf(fp_cpp, ",\n");
3427 map.record_position(OutputMap::BEGIN_INTERNALS, idx );
3431 fprintf(fp_cpp, " /* %4d */", idx); map.map(name); fprintf(fp_cpp, ",\n");
3437 if( map.do_instructions() ) {
3438 map.record_position(OutputMap::BEGIN_INSTRUCTIONS, idx );
3440 map.record_position(OutputMap::BEGIN_INST_CHAIN_RULES, idx );
3449 fprintf(fp_cpp, " /* %4d */", idx); map.map(*inst); fprintf(fp_cpp, ",\n");
3452 map.record_position(OutputMap::BEGIN_REMATERIALIZE, idx );
3460 fprintf(fp_cpp, " /* %4d */", idx); map.map(*inst); fprintf(fp_cpp, ",\n");
3463 map.record_position(OutputMap::END_INST_CHAIN_RULES, idx );
3474 fprintf(fp_cpp, " /* %4d */", idx); map.map(*inst); fprintf(fp_cpp, ",\n");
3477 map.record_position(OutputMap::END_REMATERIALIZE, idx );
3485 fprintf(fp_cpp, " /* %4d */", idx); map.map(*inst); fprintf(fp_cpp, ",\n");
3490 map.record_position(OutputMap::END_INSTRUCTIONS, idx );
3493 map.closing();