Lines Matching defs:instr
181 int BranchOffset(Instr instr);
765 static void instr_at_put(Address pc, Instr instr) {
766 *reinterpret_cast<Instr*>(pc) = instr;
771 void instr_at_put(int pos, Instr instr) {
772 *reinterpret_cast<Instr*>(buffer_start_ + pos) = instr;
776 static bool IsBranch(Instr instr);
777 static bool IsB(Instr instr);
778 static bool IsBz(Instr instr);
779 static bool IsNal(Instr instr);
781 static bool IsBeq(Instr instr);
782 static bool IsBne(Instr instr);
784 static bool IsJump(Instr instr);
785 static bool IsMov(Instr instr, Register rd, Register rs);
786 static bool IsPcAddi(Instr instr, Register rd, int32_t si20);
788 static bool IsJ(Instr instr);
789 static bool IsLu12i_w(Instr instr);
790 static bool IsOri(Instr instr);
791 static bool IsLu32i_d(Instr instr);
792 static bool IsLu52i_d(Instr instr);
794 static bool IsNop(Instr instr, unsigned int type);
796 static Register GetRjReg(Instr instr);
797 static Register GetRkReg(Instr instr);
798 static Register GetRdReg(Instr instr);
800 static uint32_t GetRj(Instr instr);
801 static uint32_t GetRjField(Instr instr);
802 static uint32_t GetRk(Instr instr);
803 static uint32_t GetRkField(Instr instr);
804 static uint32_t GetRd(Instr instr);
805 static uint32_t GetRdField(Instr instr);
806 static uint32_t GetSa2(Instr instr);
807 static uint32_t GetSa3(Instr instr);
808 static uint32_t GetSa2Field(Instr instr);
809 static uint32_t GetSa3Field(Instr instr);
810 static uint32_t GetOpcodeField(Instr instr);
811 static uint32_t GetFunction(Instr instr);
812 static uint32_t GetFunctionField(Instr instr);
813 static uint32_t GetImmediate16(Instr instr);
814 static uint32_t GetLabelConst(Instr instr);
816 static bool IsAddImmediate(Instr instr);
817 static Instr SetAddImmediateOffset(Instr instr, int16_t offset);
819 static bool IsAndImmediate(Instr instr);
820 static bool IsEmittedConstant(Instr instr);