LLVM 22.0.0git
X86DynAllocaExpander.cpp File Reference

Go to the source code of this file.

Functions

 INITIALIZE_PASS (X86DynAllocaExpander, "x86-dyn-alloca-expander", "X86 DynAlloca Expander", false, false) FunctionPass *llvm
static int64_t getDynAllocaAmount (MachineInstr *MI, MachineRegisterInfo *MRI)
 Return the allocation amount for a DynAlloca instruction, or -1 if unknown.
static bool isPushPop (const MachineInstr &MI)
static unsigned getSubOpcode (bool Is64Bit)

Function Documentation

◆ getDynAllocaAmount()

int64_t getDynAllocaAmount ( MachineInstr * MI,
MachineRegisterInfo * MRI )
static

Return the allocation amount for a DynAlloca instruction, or -1 if unknown.

Definition at line 83 of file X86DynAllocaExpander.cpp.

References assert(), MI, and MRI.

◆ getSubOpcode()

unsigned getSubOpcode ( bool Is64Bit)
static

Definition at line 193 of file X86DynAllocaExpander.cpp.

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( X86DynAllocaExpander ,
"x86-dyn-alloca-expander" ,
"X86 DynAlloca Expander" ,
false ,
false  )

Definition at line 75 of file X86DynAllocaExpander.cpp.

References llvm::createX86DynAllocaExpander().

◆ isPushPop()

bool isPushPop ( const MachineInstr & MI)
static

Definition at line 114 of file X86DynAllocaExpander.cpp.

References MI.