Lines Matching refs:Instr

593   static const int kInstrSize = sizeof(Instr);
952 static Instr instr_at(byte* pc) { return *reinterpret_cast<Instr*>(pc); }
953 static void instr_at_put(byte* pc, Instr instr) {
954 *reinterpret_cast<Instr*>(pc) = instr;
956 Instr instr_at(int pos) { return *reinterpret_cast<Instr*>(buffer_ + pos); }
957 void instr_at_put(int pos, Instr instr) {
958 *reinterpret_cast<Instr*>(buffer_ + pos) = instr;
962 static bool IsBranch(Instr instr);
963 static bool IsBeq(Instr instr);
964 static bool IsBne(Instr instr);
966 static bool IsJump(Instr instr);
967 static bool IsJ(Instr instr);
968 static bool IsLui(Instr instr);
969 static bool IsOri(Instr instr);
971 static bool IsJal(Instr instr);
972 static bool IsJr(Instr instr);
973 static bool IsJalr(Instr instr);
975 static bool IsNop(Instr instr, unsigned int type);
976 static bool IsPop(Instr instr);
977 static bool IsPush(Instr instr);
978 static bool IsLwRegFpOffset(Instr instr);
979 static bool IsSwRegFpOffset(Instr instr);
980 static bool IsLwRegFpNegOffset(Instr instr);
981 static bool IsSwRegFpNegOffset(Instr instr);
983 static Register GetRtReg(Instr instr);
984 static Register GetRsReg(Instr instr);
985 static Register GetRdReg(Instr instr);
987 static uint32_t GetRt(Instr instr);
988 static uint32_t GetRtField(Instr instr);
989 static uint32_t GetRs(Instr instr);
990 static uint32_t GetRsField(Instr instr);
991 static uint32_t GetRd(Instr instr);
992 static uint32_t GetRdField(Instr instr);
993 static uint32_t GetSa(Instr instr);
994 static uint32_t GetSaField(Instr instr);
995 static uint32_t GetOpcodeField(Instr instr);
996 static uint32_t GetFunction(Instr instr);
997 static uint32_t GetFunctionField(Instr instr);
998 static uint32_t GetImmediate16(Instr instr);
999 static uint32_t GetLabelConst(Instr instr);
1001 static int32_t GetBranchOffset(Instr instr);
1002 static bool IsLw(Instr instr);
1003 static int16_t GetLwOffset(Instr instr);
1004 static Instr SetLwOffset(Instr instr, int16_t offset);
1006 static bool IsSw(Instr instr);
1007 static Instr SetSwOffset(Instr instr, int16_t offset);
1008 static bool IsAddImmediate(Instr instr);
1009 static Instr SetAddImmediateOffset(Instr instr, int16_t offset);
1011 static bool IsAndImmediate(Instr instr);
1130 inline void emit(Instr x);