Lines Matching refs:insn

139 struct insn;
142 bundle (const struct insn *insn) in bundle() argument
144 return (uint64_t) insn & ~0xfUL; in bundle()
148 slot (const struct insn *insn) in slot() argument
150 return (uint64_t) insn & 0x3; in slot()
154 apply_imm64 (struct module *mod, struct insn *insn, uint64_t val) in apply_imm64() argument
156 if (slot(insn) != 2) { in apply_imm64()
158 mod->name, slot(insn)); in apply_imm64()
161 ia64_patch_imm64((u64) insn, val); in apply_imm64()
166 apply_imm60 (struct module *mod, struct insn *insn, uint64_t val) in apply_imm60() argument
168 if (slot(insn) != 2) { in apply_imm60()
170 mod->name, slot(insn)); in apply_imm60()
178 ia64_patch_imm60((u64) insn, val); in apply_imm60()
183 apply_imm22 (struct module *mod, struct insn *insn, uint64_t val) in apply_imm22() argument
190 ia64_patch((u64) insn, 0x01fffcfe000UL, ( ((val & 0x200000UL) << 15) /* bit 21 -> 36 */ in apply_imm22()
198 apply_imm21b (struct module *mod, struct insn *insn, uint64_t val) in apply_imm21b() argument
205 ia64_patch((u64) insn, 0x11ffffe000UL, ( ((val & 0x100000UL) << 16) /* bit 20 -> 36 */ in apply_imm21b()
235 if (apply_imm64(mod, (struct insn *) (plt->bundle[0] + 2), target_gp) in patch_plt()
236 && apply_imm60(mod, (struct insn *) (plt->bundle[1] + 2), in patch_plt()
285 if (apply_imm64(mod, (struct insn *) (plt->bundle[0] + 2), target_ip) in patch_plt()
286 && apply_imm64(mod, (struct insn *) (plt->bundle[1] + 2), target_gp)) in patch_plt()
537 get_plt (struct module *mod, const struct insn *insn, uint64_t value, int *okp) in get_plt() argument
545 if (in_init(mod, (uint64_t) insn)) { in get_plt()