Moduleghc-10.0.0.20260917GHC2024
GHC.CmmToAsm.Format
Formats on this architecture A Format is a combination of width and class
TODO: Signed vs unsigned?
TODO: This module is currently shared by all architectures because NCGMonad need to know about it to make a VReg. It would be better to have architecture specific formats, and do the overloading properly. eg SPARC doesn't care about FF80.
- 4 types
- 18 values
- Packageghc-10.0.0.20260917
- Exports23
- LanguageGHC2024
- LicenceBSD-3-Clause
- SourceFormat.hs
Instances3Eq, Ord, Show
Eq ScalarFormatDefined in ghc-10.0.0.20260917 · GHC.CmmToAsm.FormatOrd ScalarFormatDefined in ghc-10.0.0.20260917 · GHC.CmmToAsm.FormatShow ScalarFormatDefined in ghc-10.0.0.20260917 · GHC.CmmToAsm.Format
Get the integer format of this width.
Get the float format of this width.
Check if a format represent an integer value.
Check if a format represents a floating point value.
Check if a format represents a vector
Convert a Cmm type to a Format.
Get the Width of a Format.
A typed virtual register: a virtual register, together with the specific format we are using it at.
Constructors
Instances1Outputable
Outputable VirtualRegWithFormatDefined in ghc-10.0.0.20260917 · GHC.CmmToAsm.Format
A typed register: a register, together with the specific format we are using it at.
Constructors
Instances3Show, Outputable, Uniquable
Show RegWithFormatDefined in ghc-10.0.0.20260917 · GHC.CmmToAsm.FormatOutputable RegWithFormatDefined in ghc-10.0.0.20260917 · GHC.CmmToAsm.FormatUniquable RegWithFormatDefined in ghc-10.0.0.20260917 · GHC.CmmToAsm.Format
Take all the virtual registers from this set.
Take all the real registers from this set.