Return inferred weight info for function FuncName, if available.

Synopsis

Declared in <llvm/CodeGen/BasicBlockMatchingAndInference.h>

std::optional<WeightInfo>
getWeightInfo(StringRef FuncName) const;

Return Value

Weight info for FuncName, or std::nullopt if none was computed.

Parameters

Name

Description

FuncName

Name of the function whose weights are requested.

Created with MrDocs