| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
GHC.CmmToAsm.PIC
Documentation
cmmMakeDynamicReference :: CmmMakeDynamicReferenceM m => NCGConfig -> ReferenceKind -> CLabel -> m CmmExpr #
class Monad m => CmmMakeDynamicReferenceM (m :: Type -> Type) where #
Instances
| CmmMakeDynamicReferenceM NatM # | |
Defined in GHC.CmmToAsm.PIC | |
data ReferenceKind #
Constructors
| DataReference | |
| CallReference | |
| JumpReference |
Instances
| Eq ReferenceKind # | |
Defined in GHC.CmmToAsm.PIC Methods (==) :: ReferenceKind -> ReferenceKind -> Bool Source # (/=) :: ReferenceKind -> ReferenceKind -> Bool Source # | |
needImportedSymbols :: NCGConfig -> Bool #
pprImportedSymbol :: NCGConfig -> CLabel -> HDoc #
pprGotDeclaration :: NCGConfig -> HDoc #
initializePicBase_ppc :: Arch -> OS -> Reg -> [NatCmmDecl RawCmmStatics Instr] -> NatM [NatCmmDecl RawCmmStatics Instr] #
initializePicBase_x86 :: OS -> Reg -> [NatCmmDecl (Alignment, RawCmmStatics) Instr] -> NatM [NatCmmDecl (Alignment, RawCmmStatics) Instr] #