LLVM  8.0.1
Macros | Functions | Variables
X86IndirectBranchTracking.cpp File Reference
#include "X86.h"
#include "X86InstrInfo.h"
#include "X86Subtarget.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
Include dependency graph for X86IndirectBranchTracking.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "x86-indirect-branch-tracking"
 

Functions

 STATISTIC (NumEndBranchAdded, "Number of ENDBR instructions added")
 

Variables

static cl::opt< boolIndirectBranchTracking ("x86-indirect-branch-tracking", cl::init(false), cl::Hidden, cl::desc("Enable X86 indirect branch tracking pass."))
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "x86-indirect-branch-tracking"

Definition at line 29 of file X86IndirectBranchTracking.cpp.

Function Documentation

◆ STATISTIC()

STATISTIC ( NumEndBranchAdded  ,
"Number of ENDBR instructions added"   
)

Variable Documentation

◆ IndirectBranchTracking

cl::opt<bool> IndirectBranchTracking("x86-indirect-branch-tracking", cl::init(false), cl::Hidden, cl::desc("Enable X86 indirect branch tracking pass."))
static