PageRenderTime 1288ms queryFilters 0ms Sphinxql 161ms GetByIds 634ms meta 0ms repositoryFilters 74ms languageFilters 0ms sourceFilters 2ms

591 results for 'import UniqFM' (1288 ms)

Source

Language

Repository

SpillClean.hs git://github.com/ilyasergey/GHC-XAppFix.git | Haskell | 595 lines
37
38import RegAlloc.Liveness
39import Instruction
39import Instruction
40import Reg
41
41
42import BlockId
43import OldCmm
44import UniqSet
45import UniqFM
46import Unique
46import Unique
47import State
48import Outputable
Stats.hs git://github.com/ilyasergey/GHC-XAppFix.git | Haskell | 295 lines
29import RegAlloc.Graph.Spill
30import RegAlloc.Graph.SpillCost
31import RegAlloc.Graph.TrivColorable
31import RegAlloc.Graph.TrivColorable
32import Instruction
33import RegClass
36
37import OldCmm
38import OldPprCmm()
39import Outputable
40import UniqFM
41import UniqSet
203
204binLifetimeCount :: UniqFM (VirtualReg, Int) -> UniqFM (Int, Int)
205binLifetimeCount fm
InterfaceFile.hs git://pkgs.fedoraproject.org/ghc | Haskell | 567 lines
21
22import Haddock.Types
23import Haddock.Utils hiding (out)
24
25import Data.List
26import Data.Word
26import Data.Word
27import Data.Array
28import Data.IORef
28import Data.IORef
29import qualified Data.Map as Map
30import Data.Map (Map)
36import UniqSupply
37import UniqFM
38import IfaceEnv
GraphColor.hs git://github.com/ghc/ghc.git | Haskell | 372 lines
14
15import GraphBase
16import GraphOps
16import GraphOps
17import GraphPpr
18
19import Unique
20import UniqFM
21import UniqSet
21import UniqSet
22import Outputable
23
23
24import Data.Maybe
25import Data.List
GraphColor.hs http://picorec.googlecode.com/svn/trunk/ | Haskell | 346 lines
16
17import GraphBase
18import GraphOps
18import GraphOps
19import GraphPpr
20
21import Unique
22import UniqFM
23import UniqSet
23import UniqSet
24import Outputable	
25
25
26import Data.Maybe
27import Data.List
GraphColor.hs git://github.com/ilyasergey/GHC-XAppFix.git | Haskell | 352 lines
23
24import GraphBase
25import GraphOps
25import GraphOps
26import GraphPpr
27
28import Unique
29import UniqFM
30import UniqSet
30import UniqSet
31import Outputable	
32
32
33import Data.Maybe
34import Data.List
Plugin.hs git://pkgs.fedoraproject.org/ghc | Haskell | 83 lines
4
5import UniqFM
6import GhcPlugins
6import GhcPlugins
7import qualified ErrUtils
8
9-- For annotation tests
10import Simple.DataStructures
11
11
12import Control.Monad
13import Data.Monoid
13import Data.Monoid
14import Data.Dynamic
15import qualified Language.Haskell.TH as TH
FastStringEnv.hs git://github.com/ghc/ghc.git | Haskell | 96 lines
29
30import UniqFM
31import UniqDFM
31import UniqDFM
32import Maybes
33import FastString
36-- | A non-deterministic set of FastStrings.
37-- See Note [Deterministic UniqFM] in UniqDFM for explanation why it's not
38-- deterministic and why it matters. Use DFastStringEnv if the set eventually
40-- changes the generated code.
41type FastStringEnv a = UniqFM a  -- Domain is FastString
42
82-- Deterministic FastStringEnv
83-- See Note [Deterministic UniqFM] in UniqDFM for explanation why we need
84-- DFastStringEnv.
GraphBase.hs https://github.com/dorchard/ghc.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
AsmCodeGen.lhs git://github.com/ghc/ghc.git | Haskell | 1,039 lines
59
60import UniqFM
61import UniqSupply
884instance Monad CmmOptM where
885  return x = CmmOptM $ \_ _ imports -> (# x, imports #)
886  (CmmOptM f) >>= g =
894    addImport = addImportCmmOpt
895    getThisModule = CmmOptM $ \_ this_mod imports -> (# this_mod, imports #)
896
897addImportCmmOpt :: CLabel -> CmmOptM ()
898addImportCmmOpt lbl = CmmOptM $ \_ _ imports -> (# (), lbl:imports #)
899
900instance HasDynFlags CmmOptM where
901    getDynFlags = CmmOptM $ \dflags _ imports -> (# dflags, imports #)
902
Packages.lhs git://github.com/ghc/ghc.git | Haskell | 1,077 lines
37
38import PackageConfig
39import DynFlags
39import DynFlags
40import Config           ( cProjectVersion )
41import Name             ( Name, nameModule_maybe )
41import Name             ( Name, nameModule_maybe )
42import UniqFM
43import Module
43import Module
44import Util
45import Panic
276    pkg {
277      importDirs  = munge_paths (importDirs pkg),
278      includeDirs = munge_paths (includeDirs pkg),
TcSMonad.lhs git://github.com/ghc/ghc.git | Haskell | 1,750 lines
103
104import HscTypes
105
106import Inst
107import InstEnv 
108import FamInst 
108import FamInst 
109import FamInstEnv
110
110
111import qualified TcRnMonad as TcM
112import qualified TcMType as TcM
138import Unique 
139import UniqFM
140import Maybes ( orElse, catMaybes, firstJust )
Packages.lhs http://picorec.googlecode.com/svn/trunk/ | Haskell | 978 lines
37
38import PackageConfig	
39import DynFlags		( dopt, DynFlag(..), DynFlags(..), PackageFlag(..) )
40import StaticFlags
41import Config		( cProjectVersion )
42import Name		( Name, nameModule_maybe )
42import Name		( Name, nameModule_maybe )
43import UniqFM
44import Module
44import Module
45import Util
46import Panic
265 where 
266  munge_pkg p = p{ importDirs  = munge_paths (importDirs p),
267		   includeDirs = munge_paths (includeDirs p),
Packages.lhs git://github.com/ilyasergey/GHC-XAppFix.git | Haskell | 1,058 lines
44
45import PackageConfig	
46import DynFlags
47import StaticFlags
48import Config		( cProjectVersion )
49import Name		( Name, nameModule_maybe )
49import Name		( Name, nameModule_maybe )
50import UniqFM
51import Module
51import Module
52import Util
53import Panic
288    pkg {
289      importDirs  = munge_paths (importDirs pkg),
290      includeDirs = munge_paths (includeDirs pkg),
TcSMonad.lhs git://github.com/ilyasergey/GHC-XAppFix.git | Haskell | 1,573 lines
94
95import HscTypes
96import BasicTypes 
97
98import Inst
99import InstEnv 
99import InstEnv 
100import FamInst 
101import FamInstEnv
102
103import qualified TcRnMonad as TcM
104import qualified TcMType as TcM
131import Unique 
132import UniqFM
133import Maybes ( orElse )
AsmCodeGen.lhs git://github.com/ilyasergey/GHC-XAppFix.git | Haskell | 977 lines
64
65import UniqFM
66import Unique		( Unique, getUnique )
831instance Monad CmmOptM where
832  return x = CmmOptM $ \(imports, _) -> (# x,imports #)
833  (CmmOptM f) >>= g =
840addImportCmmOpt :: CLabel -> CmmOptM ()
841addImportCmmOpt lbl = CmmOptM $ \(imports, _dflags) -> (# (), lbl:imports #)
842
843getDynFlagsCmmOpt :: CmmOptM DynFlags
844getDynFlagsCmmOpt = CmmOptM $ \(imports, dflags) -> (# dflags, imports #)
845
847runCmmOpt dflags (CmmOptM f) = case f ([], dflags) of
848                        (# result, imports #) -> (result, imports)
849
UniqSet.hs git://github.com/ghc/ghc.git | Haskell | 123 lines
6
7Based on @UniqFMs@ (as you would expect).
8
13        -- * Unique set type
14        UniqSet,    -- type synonym for UniqFM a
15
34
35import UniqFM
36import Unique
74*                                                                      *
75\subsection{Implementation using ``UniqFM''}
76*                                                                      *
88
89type UniqSet a = UniqFM a
90
UniqSet.lhs https://bitbucket.org/khibino/ghc-hack | 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
GraphBase.hs https://bitbucket.org/khibino/ghc-hack | Haskell | 119 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
VarEnv.lhs git://github.com/ghc/ghc.git | Haskell | 462 lines
59import OccName
60import Var
61import VarSet
61import VarSet
62import UniqFM
63import Unique
64import Util
65import Maybes
66import Outputable
66import Outputable
67import FastTypes
68import StaticFlags
455
456modifyVarEnv_Directly :: (a -> a) -> UniqFM a -> Unique -> UniqFM a
457modifyVarEnv_Directly mangle_fn env key
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21