ΒΆbool shouldOptimizeForSize(
    const llvm::MachineBasicBlock* MBB,
    llvm::ProfileSummaryInfo* PSI,
    llvm::MBFIWrapper* MBFIWrapper,
    llvm::PGSOQueryType QueryType =
        PGSOQueryType::Other)

Description

Returns true if machine basic block \p MBB is suggested to be size-optimized based on the profile.

Declared at: llvm/include/llvm/CodeGen/MachineSizeOpts.h:39

Parameters

const llvm::MachineBasicBlock* MBB
llvm::ProfileSummaryInfo* PSI
llvm::MBFIWrapper* MBFIWrapper
llvm::PGSOQueryType QueryType = PGSOQueryType::Other