26 Streamer->pushSection();
39 Streamer->switchSection(Sec);
42 Streamer->emitInt8(40);
43 Streamer->emitInt16(0);
44 Streamer->emitInt32(0);
45 Streamer->emitInt32(ri_gprmask);
46 Streamer->emitInt32(0);
47 Streamer->emitInt32(ri_cprmask[0]);
48 Streamer->emitInt32(ri_cprmask[1]);
49 Streamer->emitInt32(ri_cprmask[2]);
50 Streamer->emitInt32(ri_cprmask[3]);
51 Streamer->emitIntValue(ri_gp_value, 8);
56 Streamer->switchSection(Sec);
58 Streamer->emitInt32(ri_gprmask);
59 Streamer->emitInt32(ri_cprmask[0]);
60 Streamer->emitInt32(ri_cprmask[1]);
61 Streamer->emitInt32(ri_cprmask[2]);
62 Streamer->emitInt32(ri_cprmask[3]);
63 assert((ri_gp_value & 0xffffffff) == ri_gp_value);
64 Streamer->emitInt32(ri_gp_value);
67 Streamer->popSection();
78 if (GPR32RegClass->contains(SubReg) || GPR64RegClass->contains(SubReg))
80 else if (COP0RegClass->contains(SubReg))
81 ri_cprmask[0] |=
Value;
83 else if (FGR32RegClass->contains(SubReg) ||
84 FGR64RegClass->contains(SubReg) ||
85 AFGR64RegClass->contains(SubReg) ||
86 MSA128BRegClass->contains(SubReg))
87 ri_cprmask[1] |=
Value;
88 else if (COP2RegClass->contains(SubReg))
89 ri_cprmask[2] |=
Value;
90 else if (COP3RegClass->contains(SubReg))
91 ri_cprmask[3] |=
Value;