Lines Matching refs:SafeStack

112 class SafeStack {  class
192 SafeStack(Function &F, const TargetLoweringBase &TL, const DataLayout &DL, in SafeStack() function in __anon8ecd001f0111::SafeStack
204 constexpr Align SafeStack::StackAlignment;
206 uint64_t SafeStack::getStaticAllocaAllocationSize(const AllocaInst* AI) { in getStaticAllocaAllocationSize()
217 bool SafeStack::IsAccessSafe(Value *Addr, uint64_t AccessSize, in IsAccessSafe()
255 bool SafeStack::IsMemIntrinsicSafe(const MemIntrinsic *MI, const Use &U, in IsMemIntrinsicSafe()
275 bool SafeStack::IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize) { in IsSafeStackAlloca()
365 Value *SafeStack::getStackGuard(IRBuilder<> &IRB, Function &F) { in getStackGuard()
377 void SafeStack::findInsts(Function &F, in findInsts()
429 SafeStack::createStackRestorePoints(IRBuilder<> &IRB, Function &F, in createStackRestorePoints()
465 void SafeStack::checkStackGuard(IRBuilder<> &IRB, Function &F, Instruction &RI, in checkStackGuard()
487 Value *SafeStack::moveStaticAllocasToUnsafeStack( in moveStaticAllocasToUnsafeStack()
654 void SafeStack::moveDynamicAllocasToUnsafeStack( in moveDynamicAllocasToUnsafeStack()
722 bool SafeStack::ShouldInlinePointerAddress(CallInst &CI) { in ShouldInlinePointerAddress()
733 void SafeStack::TryInlinePointerAddress() { in TryInlinePointerAddress()
752 bool SafeStack::run() { in run()
753 assert(F.hasFnAttribute(Attribute::SafeStack) && in run()
872 if (!F.hasFnAttribute(Attribute::SafeStack)) { in runOnFunction()
921 return SafeStack(F, *TL, *DL, ShouldPreserveDominatorTree ? &DTU : nullptr, in runOnFunction()
933 if (!F.hasFnAttribute(Attribute::SafeStack)) { in run()
956 bool Changed = SafeStack(F, *TL, DL, &DTU, SE).run(); in run()