Lines Matching refs:AllocaInst

138                        AllocaInst *StackGuardSlot, Value *StackGuard);
143 void findInsts(Function &F, SmallVectorImpl<AllocaInst *> &StaticAllocas,
144 SmallVectorImpl<AllocaInst *> &DynamicAllocas,
151 uint64_t getStaticAllocaAllocationSize(const AllocaInst* AI);
159 ArrayRef<AllocaInst *> StaticAllocas,
162 AllocaInst *StackGuardSlot);
169 AllocaInst *
178 AllocaInst *DynamicTop,
179 ArrayRef<AllocaInst *> DynamicAllocas);
206 uint64_t SafeStack::getStaticAllocaAllocationSize(const AllocaInst* AI) { in getStaticAllocaAllocationSize()
224 << (isa<AllocaInst>(AllocaPtr) ? "Alloca " : "ByValArgument ") in IsAccessSafe()
242 << (isa<AllocaInst>(AllocaPtr) ? "Alloca " : "ByValArgument ") in IsAccessSafe()
378 SmallVectorImpl<AllocaInst *> &StaticAllocas, in findInsts()
379 SmallVectorImpl<AllocaInst *> &DynamicAllocas, in findInsts()
384 if (auto AI = dyn_cast<AllocaInst>(&I)) { in findInsts()
428 AllocaInst *
443 AllocaInst *DynamicTop = nullptr; in createStackRestorePoints()
466 AllocaInst *StackGuardSlot, Value *StackGuard) { in checkStackGuard()
488 IRBuilder<> &IRB, Function &F, ArrayRef<AllocaInst *> StaticAllocas, in moveStaticAllocasToUnsafeStack()
490 AllocaInst *StackGuardSlot) { in moveStaticAllocasToUnsafeStack()
531 for (AllocaInst *AI : StaticAllocas) { in moveStaticAllocasToUnsafeStack()
596 for (AllocaInst *AI : StaticAllocas) { in moveStaticAllocasToUnsafeStack()
655 Function &F, Value *UnsafeStackPtr, AllocaInst *DynamicTop, in moveDynamicAllocasToUnsafeStack()
656 ArrayRef<AllocaInst *> DynamicAllocas) { in moveDynamicAllocasToUnsafeStack()
659 for (AllocaInst *AI : DynamicAllocas) { in moveDynamicAllocasToUnsafeStack()
759 SmallVector<AllocaInst *, 16> StaticAllocas; in run()
760 SmallVector<AllocaInst *, 4> DynamicAllocas; in run()
807 AllocaInst *StackGuardSlot = nullptr; in run()
833 AllocaInst *DynamicTop = createStackRestorePoints( in run()