Lines Matching refs:fp

167 void RegisterForm::output(FILE *fp) {          // Write info to output files
169 fprintf(fp,"\n");
170 fprintf(fp,"-------------------- Dump RegisterForm --------------------\n");
172 ((RegDef*)_regDef[name])->output(fp);
174 fprintf(fp,"\n");
176 ((RegClass*)_regClass[name])->output(fp);
178 fprintf(fp,"\n");
180 ((AllocClass*)_allocClass[name])->output(fp);
182 fprintf(fp,"-------------------- end RegisterForm --------------------\n");
218 void RegDef::output(FILE *fp) { // Write info to output files
219 fprintf(fp,"RegDef: %s (%s) encode as %s using number %d\n",
221 fprintf(fp,"\n");
299 void RegClass::output(FILE *fp) { // Write info to output files
300 fprintf(fp,"RegClass: %s\n",_classid);
303 ((RegDef*)_regDef[name])->output(fp);
305 fprintf(fp,"--- done with entries for reg_class %s\n\n",_classid);
326 void AllocClass::output(FILE *fp) { // Write info to output files
327 fprintf(fp,"AllocClass: %s \n",_classid);
330 ((RegDef*)_regDef[name])->output(fp);
332 fprintf(fp,"--- done with entries for alloc_class %s\n\n",_classid);
359 void FrameForm::output(FILE *fp) { // Write info to output files
360 fprintf(fp,"\nFrame:\n");
393 void PipelineForm::output(FILE *fp) { // Write info to output files
400 fprintf(fp,"\nPipeline:");
403 fprintf(fp," variable-sized instructions in %d byte units", _instrUnitSize);
405 fprintf(fp," variable-sized instructions");
408 fprintf(fp," fixed-sized instructions of %d bytes", _instrUnitSize);
410 fprintf(fp," fixed-sized bundles of %d bytes", _bundleUnitSize);
412 fprintf(fp," fixed-sized instructions");
414 fprintf(fp,", branch has delay slot");
416 fprintf(fp,", max of %d instruction%s in parallel",
419 fprintf(fp,", max of %d bundle%s in parallel",
422 fprintf(fp, ", fetch %d x % d bytes per cycle", _instrFetchUnits, _instrFetchUnitSize);
424 fprintf(fp,"\nResource:");
426 fprintf(fp," %s(0x%08x)", res, _resdict[res]->is_resource()->mask());
427 fprintf(fp,"\n");
429 fprintf(fp,"\nDescription:\n");
431 fprintf(fp," %s(%d)", stage, count++);
432 fprintf(fp,"\n");
434 fprintf(fp,"\nClasses:\n");
436 _classdict[cls]->is_pipeclass()->output(fp);
438 fprintf(fp,"\nNop Instructions:");
440 fprintf(fp, " \"%s\"", nop);
441 fprintf(fp,"\n");
460 void ResourceForm::output(FILE *fp) { // Write info to output files
461 fprintf(fp, "resource: 0x%08x;\n", mask());
471 void PipeClassOperandForm::output(FILE *fp) { // Write info to output files
478 fprintf(fp,"PipeClassOperandForm: %s", _stage);
480 fprintf(fp,"+%d", _more_instrs);
481 fprintf(fp," (%s)\n", _iswrite ? "write" : "read");
491 void PipeClassResourceForm::output(FILE *fp) { // Write info to output files
492 fprintf(fp,"PipeClassResourceForm: %s at stage %s for %d cycles\n",
523 void PipeClassForm::output(FILE *fp) { // Write info to output files
524 fprintf(fp,"PipeClassForm: #%03d", _num);
526 fprintf(fp," \"%s\":", _ident);
528 fprintf(fp," latency %d", _fixed_latency);
530 fprintf(fp, ", force serialization");
532 fprintf(fp, ", may have no code");
533 fprintf(fp, ", %d instruction%s\n", InstructionCount(), InstructionCount() != 1 ? "s" : "");
581 void Peephole::output(FILE *fp) { // Write info to output files
582 fprintf(fp,"Peephole:\n");
583 if( _match != NULL ) _match->output(fp);
584 if( _constraint != NULL ) _constraint->output(fp);
585 if( _replace != NULL ) _replace->output(fp);
587 if( _next ) _next->output(fp);
642 void PeepMatch::output(FILE *fp) { // Write info to output files
643 fprintf(fp,"PeepMatch:\n");
684 void PeepConstraint::output(FILE *fp) { // Write info to output files
685 fprintf(fp,"PeepConstraint:\n");
729 void PeepReplace::output(FILE *fp) { // Write info to output files
730 fprintf(fp,"PeepReplace:\n");