Hi I want to tune callsite Thresholds if the callsite is being evaluated during link time, how do I detect that? within InlineCost.cpp or Pass that information somehow to InlineCost.cpp?
InlineParams
should be what you’re customizing when calling the inliner/inline cost APIs depending on link vs compile time.