Constructors
ProfNoteAn
{-# SCC #-}profiling annotation, either automatically added by the desugarer as a result of -auto-all, or added by the user.profNoteCC :: CostCentrethe cost centre
profNoteCount :: !Boolbump the entry count?
profNoteScope :: !Boolscopes over the enclosed expression (i.e. not just a tick) Invariant: the False/False case never happens
HpcTickA "tick" used by HPC to track the execution of each subexpression in the original source code.
tickModule :: ModuletickId :: !Int
BreakpointA breakpoint for the GHCi debugger. This behaves like an HPC tick, but has a list of free variables which will be available for inspection in GHCi when the program stops at the breakpoint.
NB. we must take account of these Ids when (a) counting free variables, and (b) substituting (don't substitute for them)
breakpointExt :: XBreakpoint passbreakpointId :: !BreakpointIdbreakpointFVs :: [XTickishId pass]the order of this list is important: it matches the order of the lists in the appropriate entry in
GHC.ByteCode.Types.ModBreaks.Careful about substitution! See Note [substTickish] in GHC.Core.Subst.
SourceNoteA source note.
See Note [Source notes and debug information]
sourceSpan :: RealSrcSpanSource covered
sourceName :: LexicalFastStringName for source location (uses same names as CCs)
Instances8Eq, Data, Ord, Outputable, …
Eq (GenTickish 'TickishPassCmm)Defined in ghc-10.0.0.20260917 · GHC.Types.TickishEq (GenTickish 'TickishPassCore)Defined in ghc-10.0.0.20260917 · GHC.Types.TickishData (GenTickish 'TickishPassCmm)Defined in ghc-10.0.0.20260917 · GHC.Types.TickishData (GenTickish 'TickishPassCore)Defined in ghc-10.0.0.20260917 · GHC.Types.TickishData (GenTickish 'TickishPassStg)Defined in ghc-10.0.0.20260917 · GHC.Types.TickishOrd (GenTickish 'TickishPassCmm)Defined in ghc-10.0.0.20260917 · GHC.Types.TickishOrd (GenTickish 'TickishPassCore)Defined in ghc-10.0.0.20260917 · GHC.Types.TickishOutputable (XTickishId pass) => Outputable (GenTickish pass)Defined in ghc-10.0.0.20260917 · GHC.Core.Ppr · orphan