LLVM  9.0.0svn
Functions
ShadowCallStack.cpp File Reference
#include "X86.h"
#include "X86InstrBuilder.h"
#include "X86InstrInfo.h"
#include "X86Subtarget.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/Pass.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for ShadowCallStack.cpp:

Go to the source code of this file.

Functions

static void addProlog (MachineFunction &Fn, const TargetInstrInfo *TII, MachineBasicBlock &MBB, const DebugLoc &DL)
 
static void addPrologLeaf (MachineFunction &Fn, const TargetInstrInfo *TII, MachineBasicBlock &MBB, const DebugLoc &DL, MCPhysReg FreeRegister)
 
static void addEpilog (const TargetInstrInfo *TII, MachineBasicBlock &MBB, MachineInstr &MI, MachineBasicBlock &TrapBB)
 
static void addEpilogLeaf (const TargetInstrInfo *TII, MachineBasicBlock &MBB, MachineInstr &MI, MachineBasicBlock &TrapBB, MCPhysReg FreeRegister)
 
static void addEpilogOnlyR10 (const TargetInstrInfo *TII, MachineBasicBlock &MBB, MachineInstr &MI, MachineBasicBlock &TrapBB)
 
static const MachineInstrBuilderaddSegmentedMem (const MachineInstrBuilder &MIB, MCPhysReg Seg, MCPhysReg Reg, int Offset=0)
 
 INITIALIZE_PASS (ShadowCallStack, "shadow-call-stack", "Shadow Call Stack", false, false) FunctionPass *llvm
 

Function Documentation

◆ addEpilog()

static void addEpilog ( const TargetInstrInfo TII,
MachineBasicBlock MBB,
MachineInstr MI,
MachineBasicBlock TrapBB 
)
static

◆ addEpilogLeaf()

static void addEpilogLeaf ( const TargetInstrInfo TII,
MachineBasicBlock MBB,
MachineInstr MI,
MachineBasicBlock TrapBB,
MCPhysReg  FreeRegister 
)
static

◆ addEpilogOnlyR10()

static void addEpilogOnlyR10 ( const TargetInstrInfo TII,
MachineBasicBlock MBB,
MachineInstr MI,
MachineBasicBlock TrapBB 
)
static

◆ addProlog()

static void addProlog ( MachineFunction Fn,
const TargetInstrInfo TII,
MachineBasicBlock MBB,
const DebugLoc DL 
)
static

◆ addPrologLeaf()

static void addPrologLeaf ( MachineFunction Fn,
const TargetInstrInfo TII,
MachineBasicBlock MBB,
const DebugLoc DL,
MCPhysReg  FreeRegister 
)
static

◆ addSegmentedMem()

static const MachineInstrBuilder& addSegmentedMem ( const MachineInstrBuilder MIB,
MCPhysReg  Seg,
MCPhysReg  Reg,
int  Offset = 0 
)
inlinestatic

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( ShadowCallStack  ,
"shadow-call-stack"  ,
"Shadow Call Stack"  ,
false  ,
false   
)

Definition at line 316 of file ShadowCallStack.cpp.