LLVM 20.0.0git
Namespaces | Functions
MachineSizeOpts.h File Reference
#include "llvm/Transforms/Utils/SizeOpts.h"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Functions

bool llvm::shouldOptimizeForSize (const MachineFunction *MF, ProfileSummaryInfo *PSI, const MachineBlockFrequencyInfo *BFI, PGSOQueryType QueryType=PGSOQueryType::Other)
 Returns true if machine function MF is suggested to be size-optimized based on the profile.
 
bool llvm::shouldOptimizeForSize (const MachineBasicBlock *MBB, ProfileSummaryInfo *PSI, const MachineBlockFrequencyInfo *MBFI, PGSOQueryType QueryType=PGSOQueryType::Other)
 Returns true if machine basic block MBB is suggested to be size-optimized based on the profile.
 
bool llvm::shouldOptimizeForSize (const MachineBasicBlock *MBB, ProfileSummaryInfo *PSI, MBFIWrapper *MBFIWrapper, PGSOQueryType QueryType=PGSOQueryType::Other)
 Returns true if machine basic block MBB is suggested to be size-optimized based on the profile.