comparison gcc/regset.h @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents b7f97abdc517
children 84e7813d76e9
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* Define regsets. 1 /* Define regsets.
2 Copyright (C) 1987, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2 Copyright (C) 1987-2017 Free Software Foundation, Inc.
3 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
4 3
5 This file is part of GCC. 4 This file is part of GCC.
6 5
7 GCC is free software; you can redistribute it and/or modify it under 6 GCC is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free 7 the terms of the GNU General Public License as published by the Free
29 This should be cleaned up, either by just dropping the regset type, or 28 This should be cleaned up, either by just dropping the regset type, or
30 by changing all bitmaps that are really regsets to the regset type. For 29 by changing all bitmaps that are really regsets to the regset type. For
31 the latter option, a good start would be to change everything allocated 30 the latter option, a good start would be to change everything allocated
32 on the reg_obstack to regset. */ 31 on the reg_obstack to regset. */
33 32
34 #include "bitmap.h" /* For bitmap_iterator. */
35 #include "hard-reg-set.h"
36 33
37 /* Head of register set linked list. */ 34 /* Head of register set linked list. */
38 typedef bitmap_head regset_head; 35 typedef bitmap_head regset_head;
39 36
40 /* A pointer to a regset_head. */ 37 /* A pointer to a regset_head. */
113 /* Same information as REGS_INVALIDATED_BY_CALL but in regset form to be used 110 /* Same information as REGS_INVALIDATED_BY_CALL but in regset form to be used
114 in dataflow more conveniently. */ 111 in dataflow more conveniently. */
115 112
116 extern regset regs_invalidated_by_call_regset; 113 extern regset regs_invalidated_by_call_regset;
117 114
115 /* Same information as FIXED_REG_SET but in regset form. */
116 extern regset fixed_reg_set_regset;
117
118 /* An obstack for regsets. */ 118 /* An obstack for regsets. */
119 extern bitmap_obstack reg_obstack; 119 extern bitmap_obstack reg_obstack;
120 120
121 /* In cfg.c */ 121 /* In df-core.c (which should use regset consistently instead of bitmap...) */
122 extern void dump_regset (regset, FILE *); 122 extern void dump_regset (regset, FILE *);
123 extern void debug_regset (regset);
124 123
125 #endif /* GCC_REGSET_H */ 124 #endif /* GCC_REGSET_H */