Lines Matching refs:StackProtector
1 //===-- StackProtector.cpp - Stack Protector Insertion --------------------===//
17 #include "llvm/CodeGen/StackProtector.h"
51 char StackProtector::ID = 0;
52 INITIALIZE_PASS(StackProtector, "stack-protector", "Insert stack protectors",
56 return new StackProtector(TM);
59 StackProtector::SSPLayoutKind
60 StackProtector::getSSPLayout(const AllocaInst *AI) const {
64 void StackProtector::adjustForColoring(const AllocaInst *From,
85 bool StackProtector::runOnFunction(Function &Fn) {
108 bool StackProtector::ContainsProtectableArray(Type *Ty, bool &IsLarge,
155 bool StackProtector::HasAddressTaken(const Instruction *AI) {
200 bool StackProtector::RequiresStackProtector() {
356 B.CreateCall(Intrinsic::getDeclaration(M, Intrinsic::stackprotector),
368 bool StackProtector::InsertStackProtectors() {
473 BasicBlock *StackProtector::CreateFailBB() {