LLVM 20.0.0git
Functions
X86DynAllocaExpander.cpp File Reference
#include "X86.h"
#include "X86InstrBuilder.h"
#include "X86InstrInfo.h"
#include "X86MachineFunctionInfo.h"
#include "X86Subtarget.h"
#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/raw_ostream.h"

Go to the source code of this file.

Functions

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()

static int64_t getDynAllocaAmount ( MachineInstr MI,
MachineRegisterInfo MRI 
)
static

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

Definition at line 80 of file X86DynAllocaExpander.cpp.

References assert(), MI, and MRI.

◆ getSubOpcode()

static unsigned getSubOpcode ( bool  Is64Bit)
static

Definition at line 190 of file X86DynAllocaExpander.cpp.

◆ isPushPop()

static bool isPushPop ( const MachineInstr MI)
static

Definition at line 111 of file X86DynAllocaExpander.cpp.

References MI.