Lines Matching refs:SafeStack

130 class SafeStack {  class
211 SafeStack(Function &F, const TargetLoweringBase &TL, const DataLayout &DL, in SafeStack() function in __anon2905dedd0111::SafeStack
224 uint64_t SafeStack::getStaticAllocaAllocationSize(const AllocaInst* AI) { in getStaticAllocaAllocationSize()
235 bool SafeStack::IsAccessSafe(Value *Addr, uint64_t AccessSize, in IsAccessSafe()
264 bool SafeStack::IsMemIntrinsicSafe(const MemIntrinsic *MI, const Use &U, in IsMemIntrinsicSafe()
284 bool SafeStack::IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize) { in IsSafeStackAlloca()
374 Value *SafeStack::getStackGuard(IRBuilder<> &IRB, Function &F) { in getStackGuard()
386 void SafeStack::findInsts(Function &F, in findInsts()
438 SafeStack::createStackRestorePoints(IRBuilder<> &IRB, Function &F, in createStackRestorePoints()
474 void SafeStack::checkStackGuard(IRBuilder<> &IRB, Function &F, Instruction &RI, in checkStackGuard()
496 Value *SafeStack::moveStaticAllocasToUnsafeStack( in moveStaticAllocasToUnsafeStack()
657 void SafeStack::moveDynamicAllocasToUnsafeStack( in moveDynamicAllocasToUnsafeStack()
727 bool SafeStack::ShouldInlinePointerAddress(CallInst &CI) { in ShouldInlinePointerAddress()
738 void SafeStack::TryInlinePointerAddress() { in TryInlinePointerAddress()
757 bool SafeStack::run() { in run()
758 assert(F.hasFnAttribute(Attribute::SafeStack) && in run()
877 if (!F.hasFnAttribute(Attribute::SafeStack)) { in runOnFunction()
926 return SafeStack(F, *TL, *DL, ShouldPreserveDominatorTree ? &DTU : nullptr, in runOnFunction()