Lines Matching defs:oper

2315           OperandForm *oper      = local->is_operand();
2316 const RegDef* first = oper->get_RegClass()->find_first_elem();
2667 static void defineIn_RegMask(FILE *fp, FormDict &globals, OperandForm &oper) {
2668 uint num_edges = oper.num_edges(globals);
2672 oper._ident);
2679 const char* first_reg_class = oper.in_reg_class(0, globals);
2684 const char* some_reg_class = oper.in_reg_class(index, globals);
2705 const char *reg_class = oper.in_reg_class(index, globals);
2731 static void defineClone(FILE *fp, FormDict &globalNames, OperandForm &oper) {
2732 fprintf(fp,"MachOper *%sOper::clone(Compile* C) const {\n", oper._ident);
2734 const int num_consts = oper.num_consts(globalNames);
2735 const bool is_ideal_bool = oper.is_ideal_bool();
2737 fprintf(fp," return new (C) %sOper(", oper._ident);
2749 fprintf(fp," return new (C) %sOper();\n", oper._ident);
2757 OperandForm *rep_var_to_operand(const char *encoding, OperandForm &oper, FormDict &globals) {
2764 const Component *comp = oper._components.search(rep_var);
2777 int rep_var_to_constant_index(const char *encoding, OperandForm &oper, FormDict &globals) {
2784 const Component *comp = oper._components.search(rep_var);
2794 idx = oper.constant_position(globals, comp);
2801 bool is_regI(const char *encoding, OperandForm &oper, FormDict &globals ) {
2804 OperandForm *op = rep_var_to_operand(encoding, oper, globals);
2817 bool is_conP(const char *encoding, OperandForm &oper, FormDict &globals ) {
2820 OperandForm *op = rep_var_to_operand(encoding, oper, globals);
2835 void ArchDesc::define_oper_interface(FILE *fp, OperandForm &oper, FormDict &globals,
2857 const Component *comp = oper._components.search(rep_var);
2868 int idx_offset = oper.register_position( globals, rep_var);
2884 const int idx = oper.constant_position(globals, comp);
2888 oper.access_constant(fp, globals, (uint)idx /* , const_type */);
2902 if( emit_position && (position != -1) && (oper.num_edges(globals) > 0) ) {
2904 MemInterface *mem_interface = oper._interface->is_MemInterface();
2908 && base != NULL && is_regI(base, oper, globals)
2909 && disp != NULL && is_conP(disp, oper, globals) ) {
2918 int idx = rep_var_to_constant_index(disp, oper, globals);
2982 OperandForm *oper;
2983 for( ; (oper = (OperandForm*)_operands.iter()) != NULL; ) {
2985 if ( oper->ideal_only() ) continue;
2988 if ( strcmp(oper->_ident,"label") == 0 ) {
2989 defineIn_RegMask(_CPP_MISC_file._fp, _globalNames, *oper);
2991 fprintf(fp,"MachOper *%sOper::clone(Compile* C) const {\n", oper->_ident);
2992 fprintf(fp," return new (C) %sOper(_label, _block_num);\n", oper->_ident);
2996 oper->_ident, machOperEnum(oper->_ident));
2998 // define_hash(fp, oper->_ident);
3000 // define_cmp(fp, oper->_ident);
3007 if ( strcmp(oper->_ident,"method") == 0 ) {
3008 defineIn_RegMask(_CPP_MISC_file._fp, _globalNames, *oper);
3010 fprintf(fp,"MachOper *%sOper::clone(Compile* C) const {\n", oper->_ident);
3011 fprintf(fp," return new (C) %sOper(_method);\n", oper->_ident);
3015 oper->_ident, machOperEnum(oper->_ident));
3017 // define_hash(fp, oper->_ident);
3019 // define_cmp(fp, oper->_ident);
3025 defineIn_RegMask(fp, _globalNames, *oper);
3026 defineClone(_CPP_CLONE_file._fp, _globalNames, *oper);
3028 // define_hash(fp, oper->_ident);
3030 // define_cmp(fp, oper->_ident);
3033 extern void gen_oper_format(FILE *fp, FormDict &globals, OperandForm &oper, bool for_c_file);
3034 gen_oper_format(_CPP_FORMAT_file._fp, _globalNames, *oper, true);
3090 fprintf(fp," labelOper* oper = (labelOper*)(opnd_array(%d));\n",
3092 fprintf(fp," oper->_label = label;\n");
3093 fprintf(fp," oper->_block_num = block_num;\n");
3097 fprintf(fp," labelOper* oper = (labelOper*)(opnd_array(%d));\n",
3099 fprintf(fp," *label = oper->_label;\n");
3100 fprintf(fp," *block_num = oper->_block_num;\n");
3154 extern void gen_inst_format(FILE *fp, FormDict &globals, InstructForm &oper, bool for_c_file);
3249 void map(OperandForm &oper) {
3251 const char *reduce = (oper._matrule ? oper.reduce_result() : NULL);
3253 if( oper.is_user_name_for_sReg() != Form::none ) reduce = oper.reduce_result();
3280 void map(OperandForm &oper) {
3281 const char *reduce = oper.reduce_left(_globals);
3310 void map(OperandForm &oper) {
3311 const char *reduce = oper.reduce_right(_globals);
3340 void map(OperandForm &oper) { fprintf(_cpp, " \"%s\"", _AD.machOperEnum(oper._ident) ); }
3357 void map(OperandForm &oper) { // Generate the entry for this opcode
3358 const char *swallowed = oper.swallowed(_globals) ? "true" : "false";
3379 void map(OperandForm &oper) { fprintf(_cpp, " false"); }
4139 OperandForm *oper = form ? form->is_operand() : NULL;
4141 if( oper != NULL ) {
4143 if ( oper->_matrule != NULL ) {
4144 MatchRule &mrule = *oper->_matrule;
4155 set_cisc_spill_operand( oper );
4157 fprintf(stderr, "\n\nVerified CISC-spill operand %s\n\n", oper->_ident);