Lines Matching refs:cti

687 	uint32_t cti = *instr, restore = *(instr + 1), rs1, dest;  in fbt_patch_return()  local
718 cti = FBT_RET; in fbt_patch_return()
734 if (FBT_FMT3_OP(cti) == FBT_OP_JMPL) { in fbt_patch_return()
735 uint32_t rs1 = FBT_FMT3_RS1(cti); in fbt_patch_return()
738 if (!FBT_FMT3_ISIMM(cti)) { in fbt_patch_return()
739 uint32_t rs2 = FBT_FMT3_RS2(cti); in fbt_patch_return()
755 if (FBT_FMT3_OP(cti) == FBT_OP_JMPL) { in fbt_patch_return()
756 uint32_t rs1 = FBT_FMT3_RS1(cti); in fbt_patch_return()
760 FBT_FMT3_RS1_SET(cti, local); in fbt_patch_return()
764 if (!FBT_FMT3_ISIMM(cti)) { in fbt_patch_return()
765 uint32_t rs2 = FBT_FMT3_RS2(cti); in fbt_patch_return()
769 FBT_FMT3_RS2_SET(cti, local); in fbt_patch_return()
827 if (FBT_FMT1_OP(cti) == FBT_OP_CALL) { in fbt_patch_return()
828 dest = (uintptr_t)instr + (FBT_FMT1_DISP30(cti) << 2); in fbt_patch_return()
832 *tinstr++ = cti; in fbt_patch_return()
849 uint32_t cti = *instr, dest; in fbt_patch_retl() local
867 if (FBT_FMT3_OP(cti) == FBT_OP_JMPL && in fbt_patch_retl()
868 FBT_FMT3_RD(cti) != FBT_REG_O7 && in fbt_patch_retl()
869 FBT_FMT3_RS1(cti) != FBT_REG_O7) { in fbt_patch_retl()
877 if (FBT_FMT3_OP(cti) == FBT_OP_JMPL) { in fbt_patch_retl()
886 rs1 = FBT_FMT3_RS1(cti); in fbt_patch_retl()
896 FBT_FMT3_RS1_SET(cti, rs1); in fbt_patch_retl()
898 if (!FBT_FMT3_ISIMM(cti)) { in fbt_patch_retl()
899 rs2 = FBT_FMT3_RS2(cti); in fbt_patch_retl()
909 FBT_FMT3_RS2_SET(cti, rs2); in fbt_patch_retl()
919 if (FBT_FMT3_RD(cti) != FBT_REG_O7 && rs1 != FBT_REG_I7) { in fbt_patch_retl()
925 if (FBT_FMT3_ISIMM(cti)) { in fbt_patch_retl()
927 FBT_FMT3_SIMM13(cti), FBT_REG_L2); in fbt_patch_retl()
941 *tinstr++ = cti; in fbt_patch_retl()
969 if (FBT_FMT1_OP(cti) == FBT_OP_CALL) { in fbt_patch_retl()
971 dest = (uintptr_t)instr + (FBT_FMT1_DISP30(cti) << 2); in fbt_patch_retl()
976 if (FBT_FMT3_OP(cti) == FBT_OP_JMPL) { in fbt_patch_retl()
977 *tinstr++ = cti; in fbt_patch_retl()
979 if (FBT_FMT3_RD(cti) == FBT_REG_O7) { in fbt_patch_retl()
1093 int have_ctf = 0, is_leaf = 0, nargs, cti = 0; in fbt_provide_module() local
1260 cti = 1; in fbt_provide_module()
1268 cti = 1; in fbt_provide_module()
1274 if (instr < limit && cti) { in fbt_provide_module()