Lines Matching refs:SafeStack
125 class SafeStack { class
207 SafeStack(Function &F, const TargetLoweringBase &TL, const DataLayout &DL, in SafeStack() function in __anona08a2d6e0111::SafeStack
220 uint64_t SafeStack::getStaticAllocaAllocationSize(const AllocaInst* AI) { in getStaticAllocaAllocationSize()
231 bool SafeStack::IsAccessSafe(Value *Addr, uint64_t AccessSize, in IsAccessSafe()
260 bool SafeStack::IsMemIntrinsicSafe(const MemIntrinsic *MI, const Use &U, in IsMemIntrinsicSafe()
280 bool SafeStack::IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize) { in IsSafeStackAlloca()
370 Value *SafeStack::getStackGuard(IRBuilder<> &IRB, Function &F) { in getStackGuard()
378 void SafeStack::findInsts(Function &F, in findInsts()
428 SafeStack::createStackRestorePoints(IRBuilder<> &IRB, Function &F, in createStackRestorePoints()
463 void SafeStack::checkStackGuard(IRBuilder<> &IRB, Function &F, ReturnInst &RI, in checkStackGuard()
486 Value *SafeStack::moveStaticAllocasToUnsafeStack( in moveStaticAllocasToUnsafeStack()
646 void SafeStack::moveDynamicAllocasToUnsafeStack( in moveDynamicAllocasToUnsafeStack()
716 bool SafeStack::ShouldInlinePointerAddress(CallSite &CS) { in ShouldInlinePointerAddress()
726 void SafeStack::TryInlinePointerAddress() { in TryInlinePointerAddress()
745 bool SafeStack::run() { in run()
746 assert(F.hasFnAttribute(Attribute::SafeStack) && in run()
864 if (!F.hasFnAttribute(Attribute::SafeStack)) { in runOnFunction()
896 return SafeStack(F, *TL, *DL, SE).run(); in runOnFunction()