ghc-9.12: 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.