LLVM: lib/CodeGen/MachineFunction.cpp File Reference (original) (raw)

Go to the source code of this file.

Namespaces
namespace llvm
This is an optimization pass for GlobalISel generic memory operations.
Functions
static const char * getPropertyName (MachineFunctionProperties::Property Prop)
void setUnsafeStackSize (const Function &F, MachineFrameInfo &FrameInfo)
static Align getFnStackAlignment (const TargetSubtargetInfo *STI, const Function &F)
static bool CanShareConstantPoolEntry (const Constant *A, const Constant *B, const DataLayout &DL)
Test whether the given two constants can be allocated the same constant pool entry referenced by.
template<>
std::optional< Function::ProfileCount > ProfileSummaryInfo::getEntryCount< llvm::MachineFunction > (const llvm::MachineFunction *F) const
Exception Handling
static const MachineInstr * getCallInstr (const MachineInstr *MI)
Return the call machine instruction or find a call within bundle.

DEBUG_TYPE

#define DEBUG_TYPE "codegen"

CanShareConstantPoolEntry()

getCallInstr()

getFnStackAlignment()

getPropertyName()

ProfileSummaryInfo::getEntryCount< llvm::MachineFunction >()

setUnsafeStackSize()

AlignAllFunctions

cl::opt< unsigned > AlignAllFunctions("align-all-functions", cl::desc("Force the alignment of all functions in log2 format (e.g. 4 " "means align on 16B boundaries)."), cl::init(0), cl::Hidden) ( "align-all-functions" , cl::desc("Force the alignment of all functions in log2 format (e.g. 4 " "means align on 16B boundaries).") , cl::init(0) , cl::Hidden ) static