Lines Matching defs:fp_hpp
146 void ArchDesc::declare_register_masks(FILE *fp_hpp) {
151 defineRegClassEnum(fp_hpp, _register);
154 fprintf(fp_hpp,"\n");
155 fprintf(fp_hpp,"// Register masks, one for each register class.\n");
165 fprintf(fp_hpp, "extern const RegMask _%s%s_mask;\n", prefix, rc_name_to_upper);
166 fprintf(fp_hpp, "inline const RegMask &%s%s_mask() { return _%s%s_mask; }\n", prefix, rc_name_to_upper, prefix, rc_name_to_upper);
168 fprintf(fp_hpp, "inline const RegMask &%s%s_mask() { %s }\n", prefix, rc_name_to_upper, reg_class->_user_defined);
173 fprintf(fp_hpp, "extern const RegMask _%sSTACK_OR_%s_mask;\n", prefix, rc_name_to_upper);
174 fprintf(fp_hpp, "inline const RegMask &%sSTACK_OR_%s_mask() { return _%sSTACK_OR_%s_mask; }\n", prefix, rc_name_to_upper, prefix, rc_name_to_upper);
3392 FILE *fp_hpp = map.decl_file();
3530 void ArchDesc::addHeaderBlocks(FILE *fp_hpp) {
3532 _header.output(fp_hpp);
3535 void ArchDesc::addPreHeaderBlocks(FILE *fp_hpp) {
3537 globalDefs().print_defines(fp_hpp);
3540 _pre_header.output(fp_hpp);
3546 void ArchDesc::buildReduceMaps(FILE *fp_hpp, FILE *fp_cpp) {
3553 fprintf(fp_hpp, "\n");
3554 fprintf(fp_hpp, "extern const char register_save_policy[];\n");
3555 fprintf(fp_hpp, "extern const char c_reg_save_policy[];\n");
3556 fprintf(fp_hpp, "extern const int register_save_type[];\n");
3557 fprintf(fp_hpp, "\n");
3595 OutputReduceOp output_reduce_op(fp_hpp, fp_cpp, _globalNames, *this);
3598 OutputLeftOp output_left_op(fp_hpp, fp_cpp, _globalNames, *this);
3601 OutputRightOp output_right_op(fp_hpp, fp_cpp, _globalNames, *this);
3604 OutputRuleName output_rule_name(fp_hpp, fp_cpp, _globalNames, *this);
3607 OutputSwallowed output_swallowed(fp_hpp, fp_cpp, _globalNames, *this);
3611 //OutputInstChainRule output_inst_chain(fp_hpp, fp_cpp, _globalNames, *this);
3839 void InstructForm::declare_cisc_version(ArchDesc &AD, FILE *fp_hpp) {
3843 fprintf(fp_hpp, " virtual int cisc_operand() const { return %d; }\n", cisc_spill_operand());
3844 fprintf(fp_hpp, " virtual MachNode *cisc_version(int offset, Compile* C);\n");
3845 fprintf(fp_hpp, " virtual void use_cisc_RegMask();\n");
3846 fprintf(fp_hpp, " virtual const RegMask *cisc_RegMask() const { return _cisc_RegMask; }\n");
3906 void InstructForm::declare_short_branch_methods(FILE *fp_hpp) {
3908 fprintf(fp_hpp, " virtual MachNode *short_branch_version(Compile* C);\n");
4206 void ArchDesc::build_cisc_spill_instructions(FILE *fp_hpp, FILE *fp_cpp) {