calcUnfoldingGuidance
        :: DynFlags
        -> CoreExpr    -- Expression to look at
        -> UnfoldingGuidance
calcUnfoldingGuidance dflags (Tick t expr)
  | not (tickishIsCode t)  -- non-code ticks don't matter for unfolding
  = calcUnfoldingGuidance dflags expr
calcUnfoldingGuidance
        :: DynFlags
        -> CoreExpr    -- Expression to look at
        -> UnfoldingGuidance
calcUnfoldingGuidance dflags (Tick t expr)
  | not (tickishIsCode t)  -- non-code ticks don't matter for unfolding
  = calcUnfoldingGuidance dflags expr
calcUnfoldingGuidance dflags (Tick t expr)
  | not (tickishIsCode t)  -- non-code ticks don't matter for unfolding
  = calcUnfoldingGuidance dflags expr