Lines Matching refs:iptr
503 unsigned int *iptr; in test_create_function_call() local
507 iptr = (unsigned int *)ppc_function_entry(test_trampoline); in test_create_function_call()
509 patch_instruction(iptr, create_branch(iptr, dest, BRANCH_SET_LINK)); in test_create_function_call()
510 check(instr_is_branch_to_addr(iptr, dest)); in test_create_function_call()
516 unsigned int *iptr, instr, flags; in test_branch_bform() local
518 iptr = &instr; in test_branch_bform()
519 addr = (unsigned long)iptr; in test_branch_bform()
550 instr = create_cond_branch(iptr, addr, flags); in test_branch_bform()
554 instr = create_cond_branch(iptr, addr - 0x100, flags); in test_branch_bform()
558 instr = create_cond_branch(iptr, addr + 0x100, flags); in test_branch_bform()
562 instr = create_cond_branch(iptr, addr - 0x8000, flags); in test_branch_bform()
566 instr = create_cond_branch(iptr, addr - 0x8004, flags); in test_branch_bform()
570 instr = create_cond_branch(iptr, addr + 0x8000, flags); in test_branch_bform()
574 instr = create_cond_branch(iptr, addr + 3, flags); in test_branch_bform()
578 instr = create_cond_branch(iptr, addr, 0xFFFFFFFC); in test_branch_bform()