Lines Matching refs:Instr
436 int BranchOffset(Instr instr);
512 static const int kInstrSize = sizeof(Instr);
1147 static Instr instr_at(byte* pc) { return *reinterpret_cast<Instr*>(pc); } in instr_at()
1148 static void instr_at_put(byte* pc, Instr instr) { in instr_at_put()
1149 *reinterpret_cast<Instr*>(pc) = instr; in instr_at_put()
1151 Instr instr_at(int pos) { return *reinterpret_cast<Instr*>(buffer_ + pos); } in instr_at()
1152 void instr_at_put(int pos, Instr instr) { in instr_at_put()
1153 *reinterpret_cast<Instr*>(buffer_ + pos) = instr; in instr_at_put()
1157 static bool IsBranch(Instr instr);
1158 static bool IsBc(Instr instr);
1159 static bool IsBzc(Instr instr);
1161 static bool IsBeq(Instr instr);
1162 static bool IsBne(Instr instr);
1163 static bool IsBeqzc(Instr instr);
1164 static bool IsBnezc(Instr instr);
1165 static bool IsBeqc(Instr instr);
1166 static bool IsBnec(Instr instr);
1169 static bool IsJump(Instr instr);
1170 static bool IsJ(Instr instr);
1171 static bool IsLui(Instr instr);
1172 static bool IsOri(Instr instr);
1174 static bool IsJal(Instr instr);
1175 static bool IsJr(Instr instr);
1176 static bool IsJalr(Instr instr);
1178 static bool IsNop(Instr instr, unsigned int type);
1179 static bool IsPop(Instr instr);
1180 static bool IsPush(Instr instr);
1181 static bool IsLwRegFpOffset(Instr instr);
1182 static bool IsSwRegFpOffset(Instr instr);
1183 static bool IsLwRegFpNegOffset(Instr instr);
1184 static bool IsSwRegFpNegOffset(Instr instr);
1186 static Register GetRtReg(Instr instr);
1187 static Register GetRsReg(Instr instr);
1188 static Register GetRdReg(Instr instr);
1190 static uint32_t GetRt(Instr instr);
1191 static uint32_t GetRtField(Instr instr);
1192 static uint32_t GetRs(Instr instr);
1193 static uint32_t GetRsField(Instr instr);
1194 static uint32_t GetRd(Instr instr);
1195 static uint32_t GetRdField(Instr instr);
1196 static uint32_t GetSa(Instr instr);
1197 static uint32_t GetSaField(Instr instr);
1198 static uint32_t GetOpcodeField(Instr instr);
1199 static uint32_t GetFunction(Instr instr);
1200 static uint32_t GetFunctionField(Instr instr);
1201 static uint32_t GetImmediate16(Instr instr);
1202 static uint32_t GetLabelConst(Instr instr);
1204 static int32_t GetBranchOffset(Instr instr);
1205 static bool IsLw(Instr instr);
1206 static int16_t GetLwOffset(Instr instr);
1207 static Instr SetLwOffset(Instr instr, int16_t offset);
1209 static bool IsSw(Instr instr);
1210 static Instr SetSwOffset(Instr instr, int16_t offset);
1211 static bool IsAddImmediate(Instr instr);
1212 static Instr SetAddImmediateOffset(Instr instr, int16_t offset);
1214 static bool IsAndImmediate(Instr instr);
1215 static bool IsEmittedConstant(Instr instr);
1358 inline void emit(Instr x,
1364 inline void EmitHelper(Instr x, CompactBranchType is_compact_branch);