# Functions
DirectCallee takes a function-typed expression and returns the underlying function that it refers to if statically known.
New generates a profile-graph from the profile.
NodeLineOffset returns the line offset of n in fn.
WeightInPercentage converts profile weights to a percentage.
# Variables
LookupFunc looks up a function or method in export data.
# Structs
CallSiteInfo captures call-site information and its caller/callee.
IREdge represents a call edge in the IRGraph with source, destination, weight, callsite, and line number information.
IRGraph is a call graph with nodes pointing to IRs of functions and edges carrying weights and callsite information.
IRNode represents a node (function) in the IRGraph.
NamedCallEdge identifies a call edge by linker symbol names and call site offset.
NamedEdgeMap contains all unique call edges in the profile and their edge weight.
Profile contains the processed PGO profile and weighted call graph used for PGO optimizations.