Lines Matching refs:REF
80 /* This flag is set if this ref occurs inside of a conditional
84 /* If this flag is set for an artificial use or def, that ref
86 for an artificial use or def, that ref logically happens at the
94 /* This bit is true if this ref can make regs_ever_live true for
99 /* This flag is set if this ref is a partial use or def of the
108 /* This flag is set if this ref, generally a def, may clobber the
115 /* This flag is set if this ref, generally a def, is a real
127 /* If the ref has one of the following two flags set, then the
131 /* This flag is set if the ref contains a SIGN_EXTRACT. */
134 /* This flag is set if the ref contains a ZERO_EXTRACT. */
137 /* This flag is set if the ref contains a STRICT_LOW_PART. */
140 /* This flag is set if the ref contains a SUBREG. */
144 /* This bit is true if this ref is part of a multiword hardreg. */
147 /* This flag is set if this ref is a usage of the stack pointer by
154 /* This flag is set if this ref is inside a pre/post modify. */
348 /* Used to see if the ref is read or write. */
366 /* Type of ref. */
370 union df_ref_d *next_loc; /* Next ref for same insn or bb. */
379 union df_ref_d *next_reg; /* Next ref with same regno and type. */
380 union df_ref_d *prev_reg; /* Prev ref with same regno and type. */
381 /* Location in the ref table. This is only valid after a call to
437 /* These links are used for ref-ref chains. Currently only DEF-USE and
441 df_ref ref;
494 df_ref *refs; /* Ref table, indexed by id. */
594 ref is a def, it cannot be a MAY_CLOBBER def. If the ref is a
604 addresses. It is incremented whenever a ref is created. */
648 /* Macros to access the elements within the ref structure. */
651 #define DF_REF_REAL_REG(REF) (GET_CODE ((REF)->base.reg) == SUBREG \
652 ? SUBREG_REG ((REF)->base.reg) : ((REF)->base.reg))
653 #define DF_REF_REGNO(REF) ((REF)->base.regno)
654 #define DF_REF_REAL_LOC(REF) (GET_CODE (*((REF)->regular_ref.loc)) == SUBREG \
655 ? &SUBREG_REG (*((REF)->regular_ref.loc)) : ((REF)->regular_ref.loc))
656 #define DF_REF_REG(REF) ((REF)->base.reg)
657 #define DF_REF_LOC(REF) (DF_REF_CLASS (REF) == DF_REF_REGULAR ? \
658 (REF)->regular_ref.loc : NULL)
659 #define DF_REF_BB(REF) (DF_REF_IS_ARTIFICIAL (REF) \
660 ? (REF)->artificial_ref.bb \
661 : BLOCK_FOR_INSN (DF_REF_INSN (REF)))
662 #define DF_REF_BBNO(REF) (DF_REF_BB (REF)->index)
663 #define DF_REF_INSN_INFO(REF) ((REF)->base.insn_info)
664 #define DF_REF_INSN(REF) ((REF)->base.insn_info->insn)
665 #define DF_REF_INSN_UID(REF) (INSN_UID (DF_REF_INSN(REF)))
666 #define DF_REF_CLASS(REF) ((REF)->base.cl)
667 #define DF_REF_TYPE(REF) ((REF)->base.type)
668 #define DF_REF_CHAIN(REF) ((REF)->base.chain)
669 #define DF_REF_ID(REF) ((REF)->base.id)
670 #define DF_REF_FLAGS(REF) ((REF)->base.flags)
671 #define DF_REF_FLAGS_IS_SET(REF, v) ((DF_REF_FLAGS (REF) & (v)) != 0)
672 #define DF_REF_FLAGS_SET(REF, v) (DF_REF_FLAGS (REF) |= (v))
673 #define DF_REF_FLAGS_CLEAR(REF, v) (DF_REF_FLAGS (REF) &= ~(v))
674 #define DF_REF_ORDER(REF) ((REF)->base.ref_order)
678 #define DF_REF_IS_ARTIFICIAL(REF) (DF_REF_CLASS (REF) == DF_REF_ARTIFICIAL)
679 #define DF_REF_REG_MARK(REF) (DF_REF_FLAGS_SET ((REF),DF_REF_REG_MARKER))
680 #define DF_REF_REG_UNMARK(REF) (DF_REF_FLAGS_CLEAR ((REF),DF_REF_REG_MARKER))
681 #define DF_REF_IS_REG_MARKED(REF) (DF_REF_FLAGS_IS_SET ((REF),DF_REF_REG_MARKER))
682 #define DF_REF_NEXT_LOC(REF) ((REF)->base.next_loc)
683 #define DF_REF_NEXT_REG(REF) ((REF)->base.next_reg)
684 #define DF_REF_PREV_REG(REF) ((REF)->base.prev_reg)
687 #define DF_REF_EXTRACT_WIDTH(REF) ((REF)->extract_ref.width)
688 #define DF_REF_EXTRACT_OFFSET(REF) ((REF)->extract_ref.offset)
689 #define DF_REF_EXTRACT_MODE(REF) ((REF)->extract_ref.mode)
692 #define DF_REF_REG_DEF_P(REF) (DF_REF_TYPE (REF) == DF_REF_REG_DEF)
693 #define DF_REF_REG_USE_P(REF) (!DF_REF_REG_DEF_P (REF))
694 #define DF_REF_REG_MEM_STORE_P(REF) (DF_REF_TYPE (REF) == DF_REF_REG_MEM_STORE)
695 #define DF_REF_REG_MEM_LOAD_P(REF) (DF_REF_TYPE (REF) == DF_REF_REG_MEM_LOAD)
696 #define DF_REF_REG_MEM_P(REF) (DF_REF_REG_MEM_STORE_P (REF) \
697 || DF_REF_REG_MEM_LOAD_P (REF))
832 the ref except sparse_kill which is indexed by regno. For the