LLVM: lib/Target/AArch64/AArch64SpeculationHardening.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define DEBUG_TYPE "aarch64-speculation-hardening"
#define AARCH64_SPECULATION_HARDENING_NAME "AArch64 speculation hardening pass"
Functions

AARCH64_SPECULATION_HARDENING_NAME

#define AARCH64_SPECULATION_HARDENING_NAME "AArch64 speculation hardening pass"

DEBUG_TYPE

#define DEBUG_TYPE "aarch64-speculation-hardening"

INITIALIZE_PASS()

INITIALIZE_PASS ( AArch64SpeculationHardening ,
"aarch64-speculation-hardening" ,
AARCH64_SPECULATION_HARDENING_NAME ,
false ,
false )

Definition at line 178 of file AArch64SpeculationHardening.cpp.

References AARCH64_SPECULATION_HARDENING_NAME, assert(), llvm::SmallVectorTemplateCommon< T, typename >::empty(), llvm::getImm(), if(), MBB, llvm::SmallVectorTemplateCommon< T, typename >::size(), TBB, and TII.

HardenLoads

cl::opt< bool > HardenLoads("aarch64-slh-loads", cl::Hidden, cl::desc("Sanitize loads from memory."), cl::init(true)) ( "aarch64-slh-loads" , cl::Hidden , cl::desc("Sanitize loads from memory.") , cl::init(true) ) static