Home
last modified time | relevance | path

Searched refs:VerySimplCount (Results 1 – 4 of 4) sorted by relevance

/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/ghc-lib-parser-8.10.7.20210828/compiler/simplCore/
H A DCoreMonad.hs255 = VerySimplCount !Int -- Used when don't want detailed stats constructor
272 simplCountN (VerySimplCount n) = n
282 = VerySimplCount 0
284 isZeroSimplCount (VerySimplCount n) = n==0
287 hasDetailedCounts (VerySimplCount {}) = False
301 doSimplTick _ _ (VerySimplCount n) = VerySimplCount (n+1)
317 plusSimplCount (VerySimplCount n) (VerySimplCount m) = VerySimplCount (n+m)
327 pprSimplCount (VerySimplCount n) = text "Total ticks:" <+> int n
/dports/lang/ghc/ghc-8.10.7/compiler/simplCore/
H A DCoreMonad.hs255 = VerySimplCount !Int -- Used when don't want detailed stats constructor
272 simplCountN (VerySimplCount n) = n
282 = VerySimplCount 0
284 isZeroSimplCount (VerySimplCount n) = n==0
287 hasDetailedCounts (VerySimplCount {}) = False
301 doSimplTick _ _ (VerySimplCount n) = VerySimplCount (n+1)
317 plusSimplCount (VerySimplCount n) (VerySimplCount m) = VerySimplCount (n+m)
327 pprSimplCount (VerySimplCount n) = text "Total ticks:" <+> int n
/dports/devel/hs-hlint/hlint-3.3.4/_cabal_deps/ghc-lib-parser-9.0.1.20210324/compiler/GHC/Core/Opt/
H A DMonad.hs257 = VerySimplCount !Int -- Used when don't want detailed stats constructor
274 simplCountN (VerySimplCount n) = n
284 = VerySimplCount 0
286 isZeroSimplCount (VerySimplCount n) = n==0
289 hasDetailedCounts (VerySimplCount {}) = False
303 doSimplTick _ _ (VerySimplCount n) = VerySimplCount (n+1)
319 plusSimplCount (VerySimplCount n) (VerySimplCount m) = VerySimplCount (n+m)
329 pprSimplCount (VerySimplCount n) = text "Total ticks:" <+> int n
/dports/devel/hs-ormolu/ormolu-0.4.0.0/_cabal_deps/ghc-lib-parser-9.2.1.20211101/compiler/GHC/Core/Opt/
H A DMonad.hs277 = VerySimplCount !Int -- Used when don't want detailed stats constructor
294 simplCountN (VerySimplCount n) = n
304 = VerySimplCount 0
306 isZeroSimplCount (VerySimplCount n) = n==0
309 hasDetailedCounts (VerySimplCount {}) = False
323 doSimplTick _ _ (VerySimplCount n) = VerySimplCount (n+1)
339 plusSimplCount (VerySimplCount n) (VerySimplCount m) = VerySimplCount (n+m)
349 pprSimplCount (VerySimplCount n) = text "Total ticks:" <+> int n