LLVM  16.0.0git
Macros | Functions
CFIFixup.cpp File Reference
#include "llvm/CodeGen/CFIFixup.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/ADT/SmallBitVector.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetFrameLowering.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCDwarf.h"
#include "llvm/Target/TargetMachine.h"
Include dependency graph for CFIFixup.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "cfi-fixup"
 

Functions

 INITIALIZE_PASS (CFIFixup, "cfi-fixup", "Insert CFI remember/restore state instructions", false, false) FunctionPass *llvm
 
static bool isPrologueCFIInstruction (const MachineInstr &MI)
 
static bool containsPrologue (const MachineBasicBlock &MBB)
 
static bool containsEpilogue (const MachineBasicBlock &MBB)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "cfi-fixup"

Definition at line 75 of file CFIFixup.cpp.

Function Documentation

◆ containsEpilogue()

static bool containsEpilogue ( const MachineBasicBlock MBB)
static

◆ containsPrologue()

static bool containsPrologue ( const MachineBasicBlock MBB)
static

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( CFIFixup  ,
"cfi-fixup"  ,
"Insert CFI remember/restore state instructions ,
false  ,
false   
)

Definition at line 79 of file CFIFixup.cpp.

◆ isPrologueCFIInstruction()

static bool isPrologueCFIInstruction ( const MachineInstr MI)
static

Definition at line 83 of file CFIFixup.cpp.

References llvm::MachineInstr::FrameSetup, and MI.

Referenced by containsPrologue(), and llvm::CFIFixup::runOnMachineFunction().