Lines Matching refs:StackGuardSlot
157 AllocaInst *StackGuardSlot, Value *StackGuard);
181 AllocaInst *StackGuardSlot);
475 AllocaInst *StackGuardSlot, Value *StackGuard) { in checkStackGuard() argument
476 Value *V = IRB.CreateLoad(StackPtrTy, StackGuardSlot); in checkStackGuard()
499 AllocaInst *StackGuardSlot) { in moveStaticAllocasToUnsafeStack() argument
520 if (StackGuardSlot) { in moveStaticAllocasToUnsafeStack()
521 Type *Ty = StackGuardSlot->getAllocatedType(); in moveStaticAllocasToUnsafeStack()
523 std::max(DL.getPrefTypeAlignment(Ty), StackGuardSlot->getAlignment()); in moveStaticAllocasToUnsafeStack()
524 SSL.addObject(StackGuardSlot, getStaticAllocaAllocationSize(StackGuardSlot), in moveStaticAllocasToUnsafeStack()
571 if (StackGuardSlot) { in moveStaticAllocasToUnsafeStack()
572 unsigned Offset = SSL.getObjectOffset(StackGuardSlot); in moveStaticAllocasToUnsafeStack()
576 IRB.CreateBitCast(Off, StackGuardSlot->getType(), "StackGuardSlot"); in moveStaticAllocasToUnsafeStack()
579 StackGuardSlot->replaceAllUsesWith(NewAI); in moveStaticAllocasToUnsafeStack()
580 StackGuardSlot->eraseFromParent(); in moveStaticAllocasToUnsafeStack()
812 AllocaInst *StackGuardSlot = nullptr; in run() local
818 StackGuardSlot = IRB.CreateAlloca(StackPtrTy, nullptr); in run()
819 IRB.CreateStore(StackGuard, StackGuardSlot); in run()
823 checkStackGuard(IRBRet, F, *RI, StackGuardSlot, StackGuard); in run()
830 IRB, F, StaticAllocas, ByValArguments, BasePointer, StackGuardSlot); in run()