ΒΆbool shouldOptimizeForSize(
const llvm::MachineFunction* MF,
llvm::ProfileSummaryInfo* PSI,
const llvm::MachineBlockFrequencyInfo* BFI,
llvm::PGSOQueryType QueryType =
PGSOQueryType::Other)
bool shouldOptimizeForSize(
const llvm::MachineFunction* MF,
llvm::ProfileSummaryInfo* PSI,
const llvm::MachineBlockFrequencyInfo* BFI,
llvm::PGSOQueryType QueryType =
PGSOQueryType::Other)
Description
Returns true if machine function \p MF is suggested to be size-optimized based on the profile.
Declared at: llvm/include/llvm/CodeGen/MachineSizeOpts.h:27
Parameters
- const llvm::MachineFunction* MF
- llvm::ProfileSummaryInfo* PSI
- const llvm::MachineBlockFrequencyInfo* BFI
- llvm::PGSOQueryType QueryType = PGSOQueryType::Other