PageRenderTime 760ms queryFilters 0ms Sphinxql 161ms GetByIds 459ms meta 0ms repositoryFilters 3ms languageFilters 0ms sourceFilters 0ms

591 results for 'import UniqFM' (760 ms)

Source

Language

Repository

TcRnTypes.lhs https://bitbucket.org/carter/ghc.git | Haskell | 1,556 lines
36	ErrCtxt, RecFieldEnv(..),
37	ImportAvails(..), emptyImportAvails, plusImportAvails, 
38	WhereFrom(..), mkModDeps,
113import ErrUtils
114import UniqFM
115import UniqSupply
773emptyImportAvails :: ImportAvails
774emptyImportAvails = ImportAvails { imp_mods          = emptyModuleEnv,
775                                   imp_dep_mods      = emptyUFM,
786-- and then union them all together with this function.
787plusImportAvails ::  ImportAvails ->  ImportAvails ->  ImportAvails
788plusImportAvails
820data WhereFrom 
821  = ImportByUser IsBootInterface	-- Ordinary user import (perhaps {-# SOURCE #-})
822  | ImportBySystem			-- Non user import.
TcRnTypes.lhs https://github.com/crdueck/ghc.git | Haskell | 1,670 lines
29        ErrCtxt, RecFieldEnv(..),
30        ImportAvails(..), emptyImportAvails, plusImportAvails,
31        WhereFrom(..), mkModDeps,
106import ErrUtils
107import UniqFM
108import UniqSupply
791emptyImportAvails :: ImportAvails
792emptyImportAvails = ImportAvails { imp_mods          = emptyModuleEnv,
793                                   imp_dep_mods      = emptyUFM,
804-- and then union them all together with this function.
805plusImportAvails ::  ImportAvails ->  ImportAvails ->  ImportAvails
806plusImportAvails
838data WhereFrom
839  = ImportByUser IsBootInterface        -- Ordinary user import (perhaps {-# SOURCE #-})
840  | ImportBySystem                      -- Non user import.
Stats.hs https://github.com/dorchard/ghc.git | Haskell | 345 lines
20import RegAlloc.Graph.Spill
21import RegAlloc.Graph.SpillCost
22import RegAlloc.Graph.TrivColorable
22import RegAlloc.Graph.TrivColorable
23import Instruction
24import RegClass
27
28import PprCmm()
29import Outputable
29import Outputable
30import UniqFM
31import UniqSet
237
238binLifetimeCount :: UniqFM (VirtualReg, Int) -> UniqFM (Int, Int)
239binLifetimeCount fm
Packages.hs git://github.com/ghc/ghc.git | Haskell | 1,531 lines
54
55import GHC.PackageDb
56import PackageConfig
56import PackageConfig
57import DynFlags
58import Name             ( Name, nameModule_maybe )
58import Name             ( Name, nameModule_maybe )
59import UniqFM
60import UniqDFM
60import UniqDFM
61import Module
62import Util
470    pkg {
471      importDirs  = munge_paths (importDirs pkg),
472      includeDirs = munge_paths (includeDirs pkg),
CoreMonad.lhs git://github.com/ghc/ghc.git | Haskell | 1,137 lines
68#ifdef GHCI
69import Name( Name )
70#endif
71import CoreSyn
72import PprCore
73import CoreUtils
73import CoreUtils
74import CoreLint		( lintCoreBindings, lintExpr )
75import HscTypes
75import HscTypes
76import Module
77import DynFlags
96import UniqSupply
97import UniqFM       ( UniqFM, mapUFM, filterUFM )
98import MonadUtils
CoreMonad.lhs http://picorec.googlecode.com/svn/trunk/ | Haskell | 1,119 lines
52#ifdef GHCI
53import Name( Name )
54#endif
55import CoreSyn
56import PprCore
57import CoreUtils
57import CoreUtils
58import CoreLint		( lintCoreBindings )
59import PrelNames        ( iNTERACTIVE )
59import PrelNames        ( iNTERACTIVE )
60import HscTypes
61import Module           ( PackageId, Module )
79import UniqSupply
80import UniqFM       ( UniqFM, mapUFM, filterUFM )
81
CoreMonad.lhs git://github.com/ilyasergey/GHC-XAppFix.git | Haskell | 1,061 lines
67#ifdef GHCI
68import Name( Name )
69#endif
70import CoreSyn
71import PprCore
72import CoreUtils
72import CoreUtils
73import CoreLint		( lintCoreBindings )
74import PrelNames        ( iNTERACTIVE )
74import PrelNames        ( iNTERACTIVE )
75import HscTypes
76import Module           ( Module )
94import UniqSupply
95import UniqFM       ( UniqFM, mapUFM, filterUFM )
96import MonadUtils
UniqSet.lhs https://bitbucket.org/carter/ghc.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
GraphBase.hs https://bitbucket.org/carter/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
JoinToTargets.hs https://bitbucket.org/carter/ghc.git | Haskell | 358 lines
11
12import RegAlloc.Linear.State
13import RegAlloc.Linear.Base
13import RegAlloc.Linear.Base
14import RegAlloc.Linear.FreeRegs
15import RegAlloc.Liveness
15import RegAlloc.Liveness
16import Instruction
17import Reg
18
19import BlockId
20import OldCmm  hiding (RegSet)
24import Unique
25import UniqFM
26import UniqSet
SpillCost.hs https://bitbucket.org/carter/ghc.git | Haskell | 285 lines
25
26import RegAlloc.Liveness
27import Instruction
27import Instruction
28import RegClass
29import Reg
30
31import GraphBase
32
32
33import BlockId
34import OldCmm
34import OldCmm
35import UniqFM
36import UniqSet
Main.hs https://bitbucket.org/carter/ghc.git | Haskell | 420 lines
11
12import qualified GraphColor as Color
13import RegAlloc.Liveness
13import RegAlloc.Liveness
14import RegAlloc.Graph.Spill
15import RegAlloc.Graph.SpillClean
15import RegAlloc.Graph.SpillClean
16import RegAlloc.Graph.SpillCost
17import RegAlloc.Graph.Stats
17import RegAlloc.Graph.Stats
18import RegAlloc.Graph.TrivColorable
19import Instruction
26import UniqSet
27import UniqFM
28import Bag
TrieMap.lhs https://bitbucket.org/carter/ghc.git | Haskell | 804 lines
23
24import CoreSyn
25import Coercion
25import Coercion
26import Literal
27import Name
27import Name
28import Type
29import TypeRep
30import Var
31import UniqFM
32import Unique( Unique )
32import Unique( Unique )
33import FastString(FastString)
34
Module.lhs https://bitbucket.org/carter/ghc.git | Haskell | 470 lines
75
76import Config
77import Outputable
78import Unique
79import UniqFM
80import FastString
80import FastString
81import Binary
82import Util
83
84import Data.Data
85import Data.Map (Map)
85import Data.Map (Map)
86import qualified Data.Map as Map
87import qualified FiniteMap as Map
Literal.lhs https://bitbucket.org/carter/ghc.git | Haskell | 495 lines
44
45import TysPrim
46import PrelNames
46import PrelNames
47import Type
48import TyCon
48import TyCon
49import Outputable
50import FastTypes
50import FastTypes
51import FastString
52import BasicTypes
55import DynFlags
56import UniqFM
57import Util
Sinker.hs git://github.com/ghcjs/ghcjs.git | Haskell | 168 lines
4
5import UniqSet
6import VarSet
6import VarSet
7import UniqFM
8import StgSyn
8import StgSyn
9import Id
10import Name
10import Name
11import Module
12import Literal
12import Literal
13import Gen2.GHC.Digraph
14
Base.hs https://github.com/crdueck/ghc.git | Haskell | 480 lines
37
38import Llvm
39import LlvmCodeGen.Regs
40
41import CLabel
42import CodeGen.Platform ( activeStgRegs )
42import CodeGen.Platform ( activeStgRegs )
43import DynFlags
44import FastString
44import FastString
45import Cmm
46import qualified Outputable as Outp
48import Platform
49import UniqFM
50import Unique
TrieMap.lhs https://github.com/crdueck/ghc.git | Haskell | 813 lines
23
24import CoreSyn
25import Coercion
25import Coercion
26import Literal
27import Name
27import Name
28import Type
29import TypeRep
30import Var
31import UniqFM
32import Unique( Unique )
32import Unique( Unique )
33import FastString(FastString)
34
GraphColor.hs https://github.com/dorchard/ghc.git | Haskell | 369 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
VarEnv.hs git://github.com/ghc/ghc.git | Haskell | 588 lines
73
74import OccName
75import Var
76import VarSet
77import UniqFM
78import UniqDFM
78import UniqDFM
79import Unique
80import Util
80import Util
81import Maybes
82import Outputable
509
510modifyVarEnv_Directly :: (a -> a) -> UniqFM a -> Unique -> UniqFM a
511modifyVarEnv_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