Lines Matching refs:create_branch
205 return patch_instruction(addr, create_branch(addr, target, flags)); in patch_branch()
213 return patch_instruction(addr, create_branch(addr, target, flags)); in patch_branch_site()
268 unsigned int create_branch(const unsigned int *addr, in create_branch() function
393 return create_branch(dest, target, *src); in translate_branch()
468 instr = create_branch(&instr, addr, BRANCH_SET_LINK); in test_branch_iform()
472 instr = create_branch(&instr, addr - 0x100, BRANCH_SET_LINK); in test_branch_iform()
476 instr = create_branch(&instr, addr + 0x100, 0); in test_branch_iform()
480 instr = create_branch(&instr, addr - 0x2000000, BRANCH_SET_LINK); in test_branch_iform()
484 instr = create_branch(&instr, addr - 0x2000004, BRANCH_SET_LINK); in test_branch_iform()
488 instr = create_branch(&instr, addr + 0x2000000, BRANCH_SET_LINK); in test_branch_iform()
492 instr = create_branch(&instr, addr + 3, BRANCH_SET_LINK); in test_branch_iform()
496 instr = create_branch(&instr, addr, 0xFFFFFFFC); in test_branch_iform()
509 patch_instruction(iptr, create_branch(iptr, dest, BRANCH_SET_LINK)); in test_create_function_call()