Lines Matching defs:globals
198 static void declareConstStorage(FILE *fp, FormDict &globals, OperandForm *oper) {
202 if (oper->num_consts(globals) == 0) return;
206 assert(oper->num_consts(globals) == 1, "Bad component list detected.\n");
207 const char *type = oper->ideal_type(globals);
244 if (!strcmp(comp->base_type(globals), "ConI")) {
248 else if (!strcmp(comp->base_type(globals), "ConP")) {
252 else if (!strcmp(comp->base_type(globals), "ConN")) {
256 else if (!strcmp(comp->base_type(globals), "ConL")) {
260 else if (!strcmp(comp->base_type(globals), "ConF")) {
264 else if (!strcmp(comp->base_type(globals), "ConD")) {
281 Form::DataType constant_type, FormDict &globals) {
314 if (!strcmp(comp->base_type(globals), "ConI")) {
319 else if (!strcmp(comp->base_type(globals), "ConP")) {
324 else if (!strcmp(comp->base_type(globals), "ConN")) {
329 else if (!strcmp(comp->base_type(globals), "ConL")) {
334 else if (!strcmp(comp->base_type(globals), "ConF")) {
339 else if (!strcmp(comp->base_type(globals), "ConD")) {
344 else if (!strcmp(comp->base_type(globals), "Bool")) {
420 void gen_oper_format(FILE *fp, FormDict &globals, OperandForm &oper, bool for_c_file = false) {
463 if ( op->_matrule && op->_matrule->is_base_register(globals) ) {
464 idx = oper.register_position( globals, rep_var);
466 else if (op->_matrule && op->_matrule->is_base_constant(globals)) {
467 idx = oper.constant_position( globals, rep_var);
473 if ( op != NULL ) op->int_format(fp, globals, idx);
484 oper.int_format(fp, globals, 0);
534 if ( op->_matrule && op->_matrule->is_base_register(globals) ) {
535 idx = oper.register_position( globals, rep_var);
537 else if (op->_matrule && op->_matrule->is_base_constant(globals)) {
538 idx = oper.constant_position( globals, rep_var);
543 if ( op != NULL ) op->ext_format(fp, globals, idx);
557 oper.ext_format(fp, globals, 0);
576 void gen_inst_format(FILE *fp, FormDict &globals, InstructForm &inst, bool for_c_file = false) {
593 inst.index_temps(fp, globals);
630 Form::DataType constant_type = form->is_operand()->is_base_constant(globals);
2035 OutputMachOperands(FILE *hpp, FILE *cpp, FormDict &globals, ArchDesc &AD)
2036 : OutputMap(hpp, cpp, globals, AD, "MachOperands") {};
2082 OutputMachOpcodes(FILE *hpp, FILE *cpp, FormDict &globals, ArchDesc &AD)
2083 : OutputMap(hpp, cpp, globals, AD, "MachOpcodes"),