Home
last modified time | relevance | path

Searched refs:AltCon (Results 1 – 25 of 40) sorted by relevance

12

/dports/devel/hs-hlint/hlint-3.3.4/_cabal_deps/ghc-lib-parser-9.0.1.20210324/compiler/GHC/
H A DCore.hs15 Expr(..), Alt, Bind(..), AltCon(..), Arg,
280 type Alt b = (AltCon, [b], Expr b)
286 data AltCon type
301 instance Ord AltCon where
1651 mkOtherCon :: [AltCon] -> Unfolding
1678 otherCons :: Unfolding -> [AltCon]
1827 instance Outputable AltCon where
1832 cmpAlt :: (AltCon, a, b) -> (AltCon, a, b) -> Ordering
1835 ltAlt :: (AltCon, a, b) -> (AltCon, a, b) -> Bool
1838 cmpAltCon :: AltCon -> AltCon -> Ordering
[all …]
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/ghc-lib-parser-8.10.7.20210828/compiler/coreSyn/
H A DCoreSyn.hs13 Expr(..), Alt, Bind(..), AltCon(..), Arg,
278 type Alt b = (AltCon, [b], Expr b)
284 data AltCon type
299 instance Ord AltCon where
1641 mkOtherCon :: [AltCon] -> Unfolding
1668 otherCons :: Unfolding -> [AltCon]
1818 instance Outputable AltCon where
1823 cmpAlt :: (AltCon, a, b) -> (AltCon, a, b) -> Ordering
1826 ltAlt :: (AltCon, a, b) -> (AltCon, a, b) -> Bool
1829 cmpAltCon :: AltCon -> AltCon -> Ordering
[all …]
H A DCoreUtils.hs503 mkAltExpr :: AltCon -- ^ Case alternative constructor
521 mkSingleAltCase :: CoreExpr -> Id -> AltCon -> [Var] -> CoreExpr -> CoreExpr
570 findDefault :: [(AltCon, [a], b)] -> ([(AltCon, [a], b)], Maybe b)
574 addDefault :: [(AltCon, [a], b)] -> Maybe b -> [(AltCon, [a], b)]
578 isDefaultAlt :: (AltCon, a, b) -> Bool
584 findAlt :: AltCon -> [(AltCon, a, b)] -> Maybe (AltCon, a, b)
630 mergeAlts :: [(AltCon, a, b)] -> [(AltCon, a, b)] -> [(AltCon, a, b)]
643 trimConArgs :: AltCon -> [CoreArg] -> [CoreArg]
659 -> [(AltCon, [Var], a)] -- ^ Alternatives
660 -> ([AltCon], [(AltCon, [Var], a)])
[all …]
H A DPprCore.hs298 pprCoreAlt :: OutputableBndr a => (AltCon, [a] , Expr a) -> SDoc
302 ppr_case_pat :: OutputableBndr a => AltCon -> [a] -> SDoc
/dports/lang/ghc/ghc-8.10.7/compiler/coreSyn/
H A DCoreSyn.hs13 Expr(..), Alt, Bind(..), AltCon(..), Arg,
278 type Alt b = (AltCon, [b], Expr b)
284 data AltCon type
299 instance Ord AltCon where
1641 mkOtherCon :: [AltCon] -> Unfolding
1668 otherCons :: Unfolding -> [AltCon]
1818 instance Outputable AltCon where
1823 cmpAlt :: (AltCon, a, b) -> (AltCon, a, b) -> Ordering
1826 ltAlt :: (AltCon, a, b) -> (AltCon, a, b) -> Bool
1829 cmpAltCon :: AltCon -> AltCon -> Ordering
[all …]
H A DCoreUtils.hs503 mkAltExpr :: AltCon -- ^ Case alternative constructor
521 mkSingleAltCase :: CoreExpr -> Id -> AltCon -> [Var] -> CoreExpr -> CoreExpr
570 findDefault :: [(AltCon, [a], b)] -> ([(AltCon, [a], b)], Maybe b)
574 addDefault :: [(AltCon, [a], b)] -> Maybe b -> [(AltCon, [a], b)]
578 isDefaultAlt :: (AltCon, a, b) -> Bool
584 findAlt :: AltCon -> [(AltCon, a, b)] -> Maybe (AltCon, a, b)
630 mergeAlts :: [(AltCon, a, b)] -> [(AltCon, a, b)] -> [(AltCon, a, b)]
643 trimConArgs :: AltCon -> [CoreArg] -> [CoreArg]
659 -> [(AltCon, [Var], a)] -- ^ Alternatives
660 -> ([AltCon], [(AltCon, [Var], a)])
[all …]
H A DPprCore.hs298 pprCoreAlt :: OutputableBndr a => (AltCon, [a] , Expr a) -> SDoc
302 ppr_case_pat :: OutputableBndr a => AltCon -> [a] -> SDoc
/dports/devel/hs-hlint/hlint-3.3.4/_cabal_deps/ghc-lib-parser-9.0.1.20210324/compiler/GHC/Core/
H A DUtils.hs546 mkAltExpr :: AltCon -- ^ Case alternative constructor
564 mkSingleAltCase :: CoreExpr -> Id -> AltCon -> [Var] -> CoreExpr -> CoreExpr
613 findDefault :: [(AltCon, [a], b)] -> ([(AltCon, [a], b)], Maybe b)
617 addDefault :: [(AltCon, [a], b)] -> Maybe b -> [(AltCon, [a], b)]
621 isDefaultAlt :: (AltCon, a, b) -> Bool
627 findAlt :: AltCon -> [(AltCon, a, b)] -> Maybe (AltCon, a, b)
673 mergeAlts :: [(AltCon, a, b)] -> [(AltCon, a, b)] -> [(AltCon, a, b)]
686 trimConArgs :: AltCon -> [CoreArg] -> [CoreArg]
702 -> [(AltCon, [Var], a)] -- ^ Alternatives
703 -> ([AltCon], [(AltCon, [Var], a)])
[all …]
H A DPpr.hs299 pprCoreAlt :: OutputableBndr a => (AltCon, [a] , Expr a) -> SDoc
303 ppr_case_pat :: OutputableBndr a => AltCon -> [a] -> SDoc
/dports/devel/hs-ormolu/ormolu-0.4.0.0/_cabal_deps/ghc-lib-parser-9.2.1.20211101/compiler/GHC/
H A DCore.hs16 Expr(..), Alt(..), Bind(..), AltCon(..), Arg,
279 = Alt AltCon [b] (Expr b)
286 data AltCon type
301 instance Ord AltCon where
1191 | OtherCon [AltCon] -- ^ It ain't one of these constructors.
1379 mkOtherCon :: [AltCon] -> Unfolding
1406 otherCons :: Unfolding -> [AltCon]
1555 instance Outputable AltCon where
1566 cmpAltCon :: AltCon -> AltCon -> Ordering
2025 data AnnAlt bndr annot = AnnAlt AltCon [bndr] (AnnExpr bndr annot)
/dports/lang/ghc/ghc-8.10.7/compiler/simplCore/
H A DLiberateCase.hs247 libCaseAlt :: LibCaseEnv -> (AltCon, [CoreBndr], CoreExpr)
248 -> (AltCon, [CoreBndr], CoreExpr)
/dports/lang/ghc/ghc-8.10.7/compiler/GHC/StgToCmm/
H A DDataCon.hs23 import CoreSyn ( AltCon(..) )
275 bindConArgs :: AltCon -> LocalReg -> [NonVoid Id] -> FCode [LocalReg]
H A DExpr.hs874 -> FCode [(AltCon, CmmAGraphScoped)]
879 cg_alt :: CgStgAlt -> FCode (AltCon, CmmAGraphScoped)
/dports/devel/hs-ormolu/ormolu-0.4.0.0/_cabal_deps/ghc-lib-parser-9.2.1.20211101/compiler/GHC/Core/
H A DUtils.hs548 mkAltExpr :: AltCon -- ^ Case alternative constructor
566 mkSingleAltCase :: CoreExpr -> Id -> AltCon -> [Var] -> CoreExpr -> CoreExpr
629 findAlt :: AltCon -> [Alt b] -> Maybe (Alt b)
688 trimConArgs :: AltCon -> [CoreArg] -> [CoreArg]
703 …-> [AltCon] -- ^ 'imposs_cons': constructors known to be impossible due to the form of…
705 -> ([AltCon], [Alt b])
747 -> [AltCon] -- ^ Constructors that cannot match the DEFAULT (if any)
944 combineIdenticalAlts :: [AltCon] -- Constructors that cannot match DEFAULT
947 [AltCon], -- New constructors that cannot match DEFAULT
/dports/lang/ghc/ghc-8.10.7/compiler/stgSyn/
H A DStgLint.hs51 import CoreSyn ( AltCon(..) )
215 => (AltCon, [Id], GenStgExpr a) -> LintM ()
H A DStgSyn.hs64 import CoreSyn ( AltCon, Tickish )
573 = (AltCon, -- alts: data constructor,
/dports/devel/hs-hlint/hlint-3.3.4/_cabal_deps/ghc-lib-parser-9.0.1.20210324/compiler/GHC/Stg/
H A DSyntax.hs70 import GHC.Core ( AltCon, Tickish )
504 = (AltCon, -- alts: data constructor,
/dports/devel/hs-ormolu/ormolu-0.4.0.0/_cabal_deps/ghc-lib-parser-9.2.1.20211101/compiler/GHC/Stg/
H A DSyntax.hs72 import GHC.Core ( AltCon )
535 = (AltCon, -- alts: data constructor,
/dports/devel/hs-hlint/hlint-3.3.4/_cabal_deps/ghc-lib-parser-9.0.1.20210324/compiler/GHC/Core/Opt/
H A DConstantFold.hs2128 , AltCon -> Maybe AltCon -- How to fix up the alt pattern
2181 tx_lit_con :: Platform -> (Integer -> Integer) -> AltCon -> Maybe AltCon
2223 tx_con_tte :: Platform -> AltCon -> Maybe AltCon
2229 tx_con_dtt :: Type -> AltCon -> Maybe AltCon
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/ghc-lib-parser-8.10.7.20210828/compiler/prelude/
H A DPrelRules.hs2008 , AltCon -> Maybe AltCon -- How to fix up the alt pattern
2061 tx_lit_con :: DynFlags -> (Integer -> Integer) -> AltCon -> Maybe AltCon
2103 tx_con_tte :: DynFlags -> AltCon -> Maybe AltCon
2109 tx_con_dtt :: Type -> AltCon -> Maybe AltCon
/dports/lang/ghc/ghc-8.10.7/compiler/prelude/
H A DPrelRules.hs2008 , AltCon -> Maybe AltCon -- How to fix up the alt pattern
2061 tx_lit_con :: DynFlags -> (Integer -> Integer) -> AltCon -> Maybe AltCon
2103 tx_con_tte :: DynFlags -> AltCon -> Maybe AltCon
2109 tx_con_dtt :: Type -> AltCon -> Maybe AltCon
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/ghc-lib-parser-8.10.7.20210828/compiler/iface/
H A DToIface.hs567 toIfaceAlt :: (AltCon, [Var], CoreExpr)
572 toIfaceCon :: AltCon -> IfaceConAlt
/dports/lang/ghc/ghc-8.10.7/compiler/iface/
H A DToIface.hs567 toIfaceAlt :: (AltCon, [Var], CoreExpr)
572 toIfaceCon :: AltCon -> IfaceConAlt
/dports/lang/ghc/ghc-8.10.7/compiler/deSugar/
H A DDsCCall.hs281 -> DsM (Type, (AltCon, [Id], Expr Var))
/dports/devel/hs-ormolu/ormolu-0.4.0.0/_cabal_deps/ghc-lib-parser-9.2.1.20211101/compiler/GHC/Core/Opt/
H A DConstantFold.hs3009 , AltCon -> Maybe AltCon -- How to fix up the alt pattern
3062 tx_lit_con :: Platform -> (Integer -> Integer) -> AltCon -> Maybe AltCon
3104 tx_con_tte :: Platform -> AltCon -> Maybe AltCon
3110 tx_con_dtt :: Type -> AltCon -> Maybe AltCon

12