Lines Matching refs:lir
76 static void buildInsnString(const char *fmt, ArmLIR *lir, char* buf,
96 operand = lir->operands[nc-'0'];
199 (int) baseAddr + lir->generic.offset + 4 +
201 lir->generic.target);
204 int offset_1 = lir->operands[0];
205 int offset_2 = NEXT_LIR(lir)->operands[0];
207 ((((intptr_t) baseAddr + lir->generic.offset + 4) &
219 decodeRegList(lir->opcode, operand, tbuf);
241 void dvmDumpResourceMask(LIR *lir, u8 mask, const char *prefix)
245 ArmLIR *armLIR = (ArmLIR *) lir;
294 /* Pretty-print a LIR instruction */
295 void dvmDumpLIRInsn(LIR *arg, unsigned char *baseAddr)
297 ArmLIR *lir = (ArmLIR *) arg;
300 int offset = lir->generic.offset;
301 int dest = lir->operands[0];
305 switch(lir->opcode) {
319 LOGD("L%p:", lir);
323 LOGD("L%p:", lir);
327 LOGD("L%p:", lir);
331 LOGD("L%p:", lir);
337 LOGD("L%p:", lir);
348 (char *) lir->operands[1]);
357 LOGD("L%p:", lir);
359 lir->operands[1]);
369 LOGD("L%p:", lir);
372 if (lir->flags.isNop && !dumpNop) {
375 buildInsnString(EncodingMap[lir->opcode].name, lir, opName,
377 buildInsnString(EncodingMap[lir->opcode].fmt, lir, buf, baseAddr,
381 lir->flags.isNop ? "(nop)" : "");
385 if (lir->useMask && (!lir->flags.isNop || dumpNop)) {
386 DUMP_RESOURCE_MASK(dvmDumpResourceMask((LIR *) lir,
387 lir->useMask, "use"));
389 if (lir->defMask && (!lir->flags.isNop || dumpNop)) {
390 DUMP_RESOURCE_MASK(dvmDumpResourceMask((LIR *) lir,
391 lir->defMask, "def"));
398 LOGD("Dumping LIR insns");
399 LIR *lirInsn;