Lines Matching refs:_pipeline
614 if (!_pipeline) {
629 for (int s = 0; s < _pipeline->_stagecnt; s++)
630 fprintf(fp_cpp, ", \"%s\"", _pipeline->_stages.name(s));
634 _pipeline->_stagecnt);
683 _pipeline->_maxcycleused+1);
778 if (!_pipeline)
781 else if (_pipeline->_maxcycleused <=
797 uint masklen = (_pipeline->_maxcycleused + 31) >> 5;
817 for (_pipeline->_reslist.reset(), resourcenamelen = 0;
818 (resourcename = _pipeline->_reslist.iter()) != NULL;
826 fprintf(fp_cpp, "const Pipeline_Use_Element Pipeline_Use::elaborated_elements[%d] = {\n", _pipeline->_rescount);
827 for (int i1 = 0; i1 < _pipeline->_rescount; i1++) {
829 uint masklen = (_pipeline->_maxcycleused + 31) >> 5;
832 fprintf(fp_cpp, "))%s\n", i1 < (_pipeline->_rescount-1) ? "," : "");
837 _pipeline->_rescount);
839 for (_pipeline->_classlist.reset(); (classname = _pipeline->_classlist.iter()) != NULL; ) {
842 PipeClassForm *pipeclass = _pipeline->_classdict[classname]->is_pipeclass();
848 int resource_count = (_pipeline->_rescount + 3) >> 2;
856 int stagenum = _pipeline->_stages.index(pipeopnd->_stage);
875 fp_cpp, _pipeline, pipeline_res_stages, pipeclass);
878 fp_cpp, _pipeline, pipeline_res_cycles, pipeclass);
881 fp_cpp, _pipeline, pipeline_res_masks, pipeline_res_args, pipeclass);
892 int used_mask = _pipeline->_resdict[piperesource->_resource]->is_resource()->mask();
906 int used_mask = _pipeline->_resdict[piperesource->_resource]->is_resource()->mask();
921 fprintf(fp_cpp, "(uint)stage_%s", _pipeline->_stages.name(maxWriteStage));
923 fprintf(fp_cpp, "((uint)stage_%s)+%d", _pipeline->_stages.name(maxWriteStage), maxMoreInstrs);
953 // Generate the Node::latency method if _pipeline defined
957 if (_pipeline) {
1010 for ( _pipeline->_noplist.reset(); (nop = _pipeline->_noplist.iter()) != NULL; nopcnt++ );
1014 for ( _pipeline->_noplist.reset(); (nop = _pipeline->_noplist.iter()) != NULL; i++ ) {
1030 fprintf(fp_cpp, " static const char *resource_names[%d] = {", _pipeline->_rescount);
1031 for (i = 0; i < _pipeline->_rescount; i++)
1032 fprintf(fp_cpp, " \"%s\"%c", _pipeline->_reslist.name(i), i < _pipeline->_rescount-1 ? ',' : ' ');
1048 fprintf(fp_cpp, " for (uint i = 0; i < %d; i++)\n", _pipeline->_rescount);
3186 if (instr->_ins_pipe && _pipeline->_classlist.search(instr->_ins_pipe)) {
3195 max_ident_len, "Node", _pipeline ? "(&pipeline_class_Zero_Instructions)" : "NULL");
3197 max_ident_len, "Node", _pipeline ? "(&pipeline_class_Zero_Instructions)" : "NULL");
3201 max_ident_len, "MachNode", _pipeline ? "(&pipeline_class_Unknown_Instructions)" : "NULL");
3211 machnode->_ident, ((class PipeClassForm *)_pipeline->_classdict[machnode->_machnode_pipe])->_num);
3220 if (instr->_ins_pipe && _pipeline->_classlist.search(instr->_ins_pipe)) {
3223 max_ident_len, instr->_ident, ((class PipeClassForm *)_pipeline->_classdict[instr->_ins_pipe])->_num);
3225 max_ident_len, instr->_ident, ((class PipeClassForm *)_pipeline->_classdict[instr->_ins_pipe])->_num);