Lines Matching refs:am
558 TILEGXAMode *am = LibVEX_Alloc(sizeof(TILEGXAMode));
559 am->tag = GXam_IR;
560 am->GXam.IR.base = base;
561 am->GXam.IR.index = idx;
563 return am;
566 TILEGXAMode *nextTILEGXAModeInt ( TILEGXAMode * am )
568 if (am->tag == GXam_IR)
569 return TILEGXAMode_IR(am->GXam.IR.index + 4, am->GXam.IR.base);
574 void ppTILEGXAMode ( const TILEGXAMode * am )
576 if (am->tag == GXam_IR)
578 if (am->GXam.IR.index == 0)
581 vex_printf("%d(", (Int) am->GXam.IR.index);
582 ppHRegTILEGX(am->GXam.IR.base);
589 static void addRegUsage_TILEGXAMode ( HRegUsage * u, TILEGXAMode * am )
591 if (am->tag == GXam_IR)
593 addHRegUse(u, HRmRead, am->GXam.IR.base);
600 static void mapRegs_TILEGXAMode ( HRegRemap * m, TILEGXAMode * am )
602 if (am->tag == GXam_IR)
604 am->GXam.IR.base = lookupHRegRemap(m, am->GXam.IR.base);
1204 TILEGXAMode *am;
1208 am = TILEGXAMode_IR(offsetB, TILEGXGuestStatePointer());
1212 *i1 = TILEGXInstr_Store(8, am, rreg);
1215 *i1 = TILEGXInstr_Store(4, am, rreg);
1226 TILEGXAMode *am;
1228 am = TILEGXAMode_IR(offsetB, TILEGXGuestStatePointer());
1232 *i1 = TILEGXInstr_Load(8, rreg, am);
1235 *i1 = TILEGXInstr_Load(4, rreg, am);
1349 static UChar *doAMode_IR ( UChar * p, UInt opc1, UInt rSD, TILEGXAMode * am )
1352 vassert(am->tag == GXam_IR);
1354 rA = iregNo(am->GXam.IR.base);
1358 if ( am->GXam.IR.index ) {
1361 51, rA, am->GXam.IR.index));
1369 if ( am->GXam.IR.index ) {
1372 51, rA, am->GXam.IR.index));
1386 TILEGXAMode* am )
1388 UInt rA = iregNo(am->GXam.IR.base);
1390 if (am->tag != GXam_IR)
1396 51, rA, am->GXam.IR.index));
1402 51, rA, am->GXam.IR.index));