20 #ifndef GCC_INSN_ADDR_H
21 #define GCC_INSN_ADDR_H
26 #define INSN_ADDRESSES(id) (insn_addresses_[id])
27 #define INSN_ADDRESSES_ALLOC(size) \
30 insn_addresses_.create (size); \
31 insn_addresses_.safe_grow_cleared (size); \
32 memset (insn_addresses_.address (), \
33 0, sizeof (int) * size); \
36 #define INSN_ADDRESSES_FREE() (insn_addresses_.release ())
37 #define INSN_ADDRESSES_SET_P() (insn_addresses_.exists ())
38 #define INSN_ADDRESSES_SIZE() (insn_addresses_.length ())
43 unsigned insn_uid = INSN_UID ((insn));
45 if (INSN_ADDRESSES_SET_P ())
47 size_t size = INSN_ADDRESSES_SIZE ();
51 insn_addresses_.safe_grow (insn_uid + 1);
52 p = insn_addresses_.address ();
54 0,
sizeof (
int) * (insn_uid + 1 - size));
56 INSN_ADDRESSES (insn_uid) = insn_addr;
60 #define INSN_ADDRESSES_NEW(insn, addr) \
61 (insn_addresses_new (insn, addr))