PageRenderTime 1222ms queryFilters 0ms Sphinxql 121ms GetByIds 161ms meta 0ms repositoryFilters 638ms languageFilters 0ms sourceFilters 1ms

591 results for 'import UniqFM' (1222 ms)

Source

Language

Repository

FloatIn.lhs https://bitbucket.org/carter/ghc.git | Haskell | 536 lines
25
26import CoreSyn
27import MkCore
27import MkCore
28import CoreUtils	( exprIsDupable, exprIsExpandable, exprOkForSideEffects )
29import CoreFVs		( CoreExprWithFVs, freeVars, freeVarsOf, idRuleAndUnfoldingVars )
29import CoreFVs		( CoreExprWithFVs, freeVars, freeVarsOf, idRuleAndUnfoldingVars )
30import Id		( isOneShotBndr, idType )
31import Var
31import Var
32import Type		( isUnLiftedType )
33import VarSet
34import Util
35import UniqFM
36import DynFlags
CSE.lhs https://bitbucket.org/carter/ghc.git | Haskell | 397 lines
27#ifdef OLD_CSENV_REP
28import CoreUtils        ( exprIsBig, hashExpr, eqExpr )
29import StaticFlags	( opt_PprStyle_Debug )
30import Util		( lengthExceeds )
31import UniqFM
32import FastString
33#else
34import TrieMap
35#endif
36
37import CoreSubst
38import Var		( Var )
38import Var		( Var )
39import Id		( Id, idType, idInlineActivation, zapIdOccInfo )
40import CoreUtils	( mkAltExpr
Base.hs https://bitbucket.org/carter/ghc.git | Haskell | 261 lines
28
29import Llvm
30import LlvmCodeGen.Regs
31
32import CLabel
33import CgUtils ( activeStgRegs )
33import CgUtils ( activeStgRegs )
34import DynFlags
35import FastString
35import FastString
36import OldCmm
37import qualified Outputable as Outp
38import Platform
39import UniqFM
40import Unique
StgCmmExtCode.hs https://bitbucket.org/carter/ghc.git | Haskell | 224 lines
22        newFunctionName,
23        newImport,
24        lookupLabel,
36import qualified StgCmmMonad as F
37import StgCmmMonad (FCode, newUnique)
38
38
39import Cmm
40import CLabel
40import CLabel
41import MkGraph
42
47import Module
48import UniqFM
49import Unique
OccName.lhs https://bitbucket.org/carter/ghc.git | Haskell | 919 lines
108
109import Util
110import Unique
110import Unique
111import BasicTypes
112import DynFlags
112import DynFlags
113import UniqFM
114import UniqSet
114import UniqSet
115import FastString
116import Outputable
116import Outputable
117import Binary
118import Data.Char
Classify.hs https://github.com/crdueck/ghc.git | Haskell | 138 lines
20
21import NameSet
22import UniqSet
22import UniqSet
23import UniqFM
24import DataCon
24import DataCon
25import TyCon
26import TypeRep
26import TypeRep
27import Type
28import PrelNames
28import PrelNames
29import Digraph
30
StgCmmExtCode.hs https://github.com/crdueck/ghc.git | Haskell | 226 lines
22        newFunctionName,
23        newImport,
24        lookupLabel,
36import qualified StgCmmMonad as F
37import StgCmmMonad (FCode, newUnique)
38
38
39import Cmm
40import CLabel
40import CLabel
41import MkGraph
42
47import Module
48import UniqFM
49import Unique
NameEnv.hs git://github.com/ghc/ghc.git | Haskell | 152 lines
35
36import Digraph
37import Name
37import Name
38import UniqFM
39import UniqDFM
39import UniqDFM
40import Maybes
41
85-- | Name Environment
86type NameEnv a = UniqFM a       -- Domain is Name
87
136--
137-- See Note [Deterministic UniqFM] in UniqDFM for explanation why we need
138-- DNameEnv.
Classify.hs https://bitbucket.org/carter/ghc.git | Haskell | 118 lines
20import UniqSet
21import UniqFM
22import DataCon
22import DataCon
23import TyCon
24import TypeRep
24import TypeRep
25import Type
26import PrelNames
26import PrelNames
27import Digraph
28
41--
42classifyTyCons :: UniqFM Bool                     -- ^type constructor conversion status
43               -> [TyCon]                         -- ^type constructors that need to be classified
RegInfo.hs https://bitbucket.org/carter/ghc.git | Haskell | 75 lines
18
19import Size
20import Reg
21
22import Outputable
23import Platform
23import Platform
24import Unique
25
25
26import UniqFM
27import X86.Regs
42
43regColors :: Platform -> UniqFM [Char]
44regColors platform = listToUFM (normalRegColors platform ++ fpRegColors)
Stats.hs https://bitbucket.org/carter/ghc.git | Haskell | 95 lines
15
16import RegAlloc.Linear.Base
17import RegAlloc.Liveness
17import RegAlloc.Liveness
18import Instruction
19
19
20import OldCmm  (GenBasicBlock(..))
21
21
22import UniqFM
23import Outputable
24
25import Data.List
26import State
Base.hs https://bitbucket.org/carter/ghc.git | Haskell | 132 lines
20import RegAlloc.Linear.StackMap
21import RegAlloc.Liveness
22import Reg
23
24import DynFlags
25import Outputable
26import Unique
27import UniqFM
28import UniqSupply
98        = RegAllocStats
99        { ra_spillInstrs        :: UniqFM [Int] }
100
UniqSet.lhs git://github.com/ghc/ghc.git | Haskell | 119 lines
6
7Based on @UniqFMs@ (as you would expect).
8
13        -- * Unique set type
14        UniqSet,    -- type synonym for UniqFM a
15
36
37import UniqFM
38import Unique
79%*                                                                      *
80\subsection{Implementation using ``UniqFM''}
81%*                                                                      *
85
86type UniqSet a = UniqFM a
87
GraphBase.hs git://github.com/ghc/ghc.git | Haskell | 106 lines
15import UniqSet
16import UniqFM
17
45        -- | All active nodes in the graph.
46          graphMap              :: UniqFM (Node k cls color)  }
47
57graphMapModify
58        :: (UniqFM (Node k cls color) -> UniqFM (Node k cls color))
59        -> Graph k cls color -> Graph k cls color
TcRnTypes.lhs git://github.com/ghc/ghc.git | Haskell | 1,702 lines
29        ErrCtxt, RecFieldEnv(..),
30        ImportAvails(..), emptyImportAvails, plusImportAvails,
31        WhereFrom(..), mkModDeps,
106import ErrUtils
107import UniqFM
108import UniqSupply
822emptyImportAvails :: ImportAvails
823emptyImportAvails = ImportAvails { imp_mods          = emptyModuleEnv,
824                                   imp_dep_mods      = emptyUFM,
835-- and then union them all together with this function.
836plusImportAvails ::  ImportAvails ->  ImportAvails ->  ImportAvails
837plusImportAvails
869data WhereFrom
870  = ImportByUser IsBootInterface        -- Ordinary user import (perhaps {-# SOURCE #-})
871  | ImportBySystem                      -- Non user import.
TcRnTypes.lhs http://picorec.googlecode.com/svn/trunk/ | Haskell | 1,161 lines
16	ErrCtxt, RecFieldEnv(..),
17	ImportAvails(..), emptyImportAvails, plusImportAvails, 
18	WhereFrom(..), mkModDeps,
81import ErrUtils
82import UniqFM
83import UniqSupply
626emptyImportAvails :: ImportAvails
627emptyImportAvails = ImportAvails { imp_mods   	= emptyModuleEnv,
628				   imp_dep_mods = emptyUFM,
632
633plusImportAvails ::  ImportAvails ->  ImportAvails ->  ImportAvails
634plusImportAvails
663  = ImportByUser IsBootInterface	-- Ordinary user import (perhaps {-# SOURCE #-})
664  | ImportBySystem			-- Non user import.
665
UniqSet.lhs http://picorec.googlecode.com/svn/trunk/ | Haskell | 116 lines
6
7Based on @UniqFMs@ (as you would expect).
8
13        -- * Unique set type
14        UniqSet,    -- type synonym for UniqFM a
15
35
36import UniqFM
37import Unique
77%*                                                                      *
78\subsection{Implementation using ``UniqFM''}
79%*                                                                      *
83
84type UniqSet a = UniqFM a
85
TcRnTypes.lhs git://github.com/ilyasergey/GHC-XAppFix.git | Haskell | 1,481 lines
36	ErrCtxt, RecFieldEnv(..),
37	ImportAvails(..), emptyImportAvails, plusImportAvails, 
38	WhereFrom(..), mkModDeps,
111import ErrUtils
112import UniqFM
113import UniqSupply
759emptyImportAvails :: ImportAvails
760emptyImportAvails = ImportAvails { imp_mods          = emptyModuleEnv,
761                                   imp_dep_mods      = emptyUFM,
772-- and then union them all together with this function.
773plusImportAvails ::  ImportAvails ->  ImportAvails ->  ImportAvails
774plusImportAvails
806data WhereFrom 
807  = ImportByUser IsBootInterface	-- Ordinary user import (perhaps {-# SOURCE #-})
808  | ImportBySystem			-- Non user import.
GraphBase.hs git://github.com/ilyasergey/GHC-XAppFix.git | Haskell | 118 lines
23import UniqSet
24import UniqFM
25
53	-- | All active nodes in the graph.
54	  graphMap		:: UniqFM (Node k cls color)  }
55
65graphMapModify 
66	:: (UniqFM (Node k cls color) -> UniqFM (Node k cls color))
67	-> Graph k cls color -> Graph k cls color
UniqSet.lhs git://github.com/ilyasergey/GHC-XAppFix.git | Haskell | 123 lines
6
7Based on @UniqFMs@ (as you would expect).
8
20        -- * Unique set type
21        UniqSet,    -- type synonym for UniqFM a
22
42
43import UniqFM
44import Unique
84%*                                                                      *
85\subsection{Implementation using ``UniqFM''}
86%*                                                                      *
90
91type UniqSet a = UniqFM a
92
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21