Home | History | Annotate | Download | only in mips

Lines Matching refs:Instr

520   static const int kInstrSize = sizeof(Instr);
886 static Instr instr_at(byte* pc) { return *reinterpret_cast<Instr*>(pc); }
887 static void instr_at_put(byte* pc, Instr instr) {
888 *reinterpret_cast<Instr*>(pc) = instr;
890 Instr instr_at(int pos) { return *reinterpret_cast<Instr*>(buffer_ + pos); }
891 void instr_at_put(int pos, Instr instr) {
892 *reinterpret_cast<Instr*>(buffer_ + pos) = instr;
896 static bool IsBranch(Instr instr);
897 static bool IsBeq(Instr instr);
898 static bool IsBne(Instr instr);
900 static bool IsJump(Instr instr);
901 static bool IsJ(Instr instr);
902 static bool IsLui(Instr instr);
903 static bool IsOri(Instr instr);
905 static bool IsJal(Instr instr);
906 static bool IsJr(Instr instr);
907 static bool IsJalr(Instr instr);
909 static bool IsNop(Instr instr, unsigned int type);
910 static bool IsPop(Instr instr);
911 static bool IsPush(Instr instr);
912 static bool IsLwRegFpOffset(Instr instr);
913 static bool IsSwRegFpOffset(Instr instr);
914 static bool IsLwRegFpNegOffset(Instr instr);
915 static bool IsSwRegFpNegOffset(Instr instr);
917 static Register GetRtReg(Instr instr);
918 static Register GetRsReg(Instr instr);
919 static Register GetRdReg(Instr instr);
921 static uint32_t GetRt(Instr instr);
922 static uint32_t GetRtField(Instr instr);
923 static uint32_t GetRs(Instr instr);
924 static uint32_t GetRsField(Instr instr);
925 static uint32_t GetRd(Instr instr);
926 static uint32_t GetRdField(Instr instr);
927 static uint32_t GetSa(Instr instr);
928 static uint32_t GetSaField(Instr instr);
929 static uint32_t GetOpcodeField(Instr instr);
930 static uint32_t GetFunction(Instr instr);
931 static uint32_t GetFunctionField(Instr instr);
932 static uint32_t GetImmediate16(Instr instr);
933 static uint32_t GetLabelConst(Instr instr);
935 Instr instr);
936 static bool IsLw(Instr instr);
937 static int16_t GetLwOffset(Instr instr);
938 static Instr SetLwOffset(Instr instr, int16_t offset);
940 static bool IsSw(Instr instr);
941 static Instr SetSwOffset(Instr instr, int16_t offset);
942 static bool IsAddImmediate(Instr instr);
943 static Instr SetAddImmediateOffset(Instr instr, int16_t offset);
945 static bool IsAndImmediate(Instr instr);
946 static bool IsEmittedConstant(Instr instr);
1055 inline void emit(Instr x);