67 assert((ri_gp_value & 0xffffffff) == ri_gp_value);
80 unsigned CurrentSubReg = *SubRegIt;
85 if (GPR32RegClass->
contains(CurrentSubReg) ||
86 GPR64RegClass->
contains(CurrentSubReg))
88 else if (COP0RegClass->
contains(CurrentSubReg))
89 ri_cprmask[0] |= Value;
91 else if (FGR32RegClass->
contains(CurrentSubReg) ||
92 FGR64RegClass->
contains(CurrentSubReg) ||
93 AFGR64RegClass->
contains(CurrentSubReg) ||
94 MSA128BRegClass->
contains(CurrentSubReg))
95 ri_cprmask[1] |= Value;
96 else if (COP2RegClass->
contains(CurrentSubReg))
97 ri_cprmask[2] |= Value;
98 else if (COP3RegClass->
contains(CurrentSubReg))
99 ri_cprmask[3] |= Value;
This class represents lattice values for constants.
void setAlignment(unsigned Value)
void PushSection()
Save the current and previous section on the section stack.
const MipsABIInfo & getABI() const
bool contains(unsigned Reg) const
contains - Return true if the specified register is included in this register class.
bool registerSection(MCSection &Section)
void EmitMipsOptionRecord() override
void SetPhysRegUsed(unsigned Reg, const MCRegisterInfo *MCRegInfo)
MCRegisterInfo base class - We assume that the target defines a static array of MCRegisterDesc object...
MCTargetStreamer * getTargetStreamer()
MCAssembler & getAssembler()
void SwitchSection(MCSection *Section, const MCExpr *Subsection=nullptr) override
Overriding this function allows us to dismiss all labels that are candidates for marking as microMIPS...
MCSubRegIterator enumerates all sub-registers of Reg.
void EmitIntValue(uint64_t Value, unsigned Size) override
Special case of EmitValue that avoids the client having to pass in a MCExpr for constant integers...
bool isValid() const
isValid - returns true if this iterator is not yet at the end.
uint16_t getEncodingValue(unsigned RegNo) const
Returns the encoding for RegNo.
This represents a section on linux, lots of unix variants and some bare metal systems.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
bool PopSection()
Restore the current and previous section from the section stack.
MCSectionELF * getELFSection(const Twine &Section, unsigned Type, unsigned Flags)
LLVM Value Representation.