Lines Matching refs:StackProtector
1 //===- StackProtector.cpp - Stack Protector Insertion ---------------------===//
16 #include "llvm/CodeGen/StackProtector.h"
64 char StackProtector::ID = 0;
66 StackProtector::StackProtector() : FunctionPass(ID), SSPBufferSize(8) {
70 INITIALIZE_PASS_BEGIN(StackProtector, DEBUG_TYPE,
73 INITIALIZE_PASS_END(StackProtector, DEBUG_TYPE,
76 FunctionPass *llvm::createStackProtectorPass() { return new StackProtector(); }
78 void StackProtector::getAnalysisUsage(AnalysisUsage &AU) const {
83 bool StackProtector::runOnFunction(Function &Fn) {
118 bool StackProtector::ContainsProtectableArray(Type *Ty, bool &IsLarge,
165 bool StackProtector::HasAddressTaken(const Instruction *AI,
274 bool StackProtector::RequiresStackProtector() {
433 bool StackProtector::InsertStackProtectors() {
555 BasicBlock *StackProtector::CreateFailBB() {
576 bool StackProtector::shouldEmitSDCheck(const BasicBlock &BB) const {
580 void StackProtector::copyToMachineFrameInfo(MachineFrameInfo &MFI) const {