ghc-9.10.1: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.Core.LateCC.OverloadedCalls

Synopsis

Documentation

overloadedCallsCC :: CoreBind -> LateCCM OverloadedCallsCCState CoreBind Source #

Insert cost centres on function applications with dictionary arguments. The source locations attached to the cost centres is approximated based on the "closest" source note encountered in the traversal.