Lines Matching refs:StackGuardSlot
151 AllocaInst *StackGuardSlot, Value *StackGuard);
177 AllocaInst *StackGuardSlot);
464 AllocaInst *StackGuardSlot, Value *StackGuard) { in checkStackGuard() argument
465 Value *V = IRB.CreateLoad(StackGuardSlot); in checkStackGuard()
489 Instruction *BasePointer, AllocaInst *StackGuardSlot) { in moveStaticAllocasToUnsafeStack() argument
501 if (StackGuardSlot) { in moveStaticAllocasToUnsafeStack()
502 Type *Ty = StackGuardSlot->getAllocatedType(); in moveStaticAllocasToUnsafeStack()
504 std::max(DL.getPrefTypeAlignment(Ty), StackGuardSlot->getAlignment()); in moveStaticAllocasToUnsafeStack()
505 SSL.addObject(StackGuardSlot, getStaticAllocaAllocationSize(StackGuardSlot), in moveStaticAllocasToUnsafeStack()
551 if (StackGuardSlot) { in moveStaticAllocasToUnsafeStack()
552 unsigned Offset = SSL.getObjectOffset(StackGuardSlot); in moveStaticAllocasToUnsafeStack()
556 IRB.CreateBitCast(Off, StackGuardSlot->getType(), "StackGuardSlot"); in moveStaticAllocasToUnsafeStack()
559 StackGuardSlot->replaceAllUsesWith(NewAI); in moveStaticAllocasToUnsafeStack()
560 StackGuardSlot->eraseFromParent(); in moveStaticAllocasToUnsafeStack()
799 AllocaInst *StackGuardSlot = nullptr; in run() local
805 StackGuardSlot = IRB.CreateAlloca(StackPtrTy, nullptr); in run()
806 IRB.CreateStore(StackGuard, StackGuardSlot); in run()
810 checkStackGuard(IRBRet, F, *RI, StackGuardSlot, StackGuard); in run()
818 Returns, BasePointer, StackGuardSlot); in run()