Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:StackProtector

1 //===-- StackProtector.cpp - Stack Protector Insertion --------------------===//
44 class StackProtector : public FunctionPass {
93 StackProtector() : FunctionPass(ID), TM(0), TLI(0), SSPBufferSize(0) {
96 StackProtector(const TargetMachine *TM)
110 char StackProtector::ID = 0;
111 INITIALIZE_PASS(StackProtector, "stack-protector",
115 return new StackProtector(TM);
118 bool StackProtector::runOnFunction(Function &Fn) {
139 bool StackProtector::ContainsProtectableArray(Type *Ty, bool Strong,
171 bool StackProtector::HasAddressTaken(const Instruction *AI) {
218 bool StackProtector::RequiresStackProtector() {
304 Create(Intrinsic::getDeclaration(M, Intrinsic::stackprotector),
314 bool StackProtector::InsertStackProtectors() {
387 BasicBlock *StackProtector::CreateFailBB() {