Lines Matching refs:AllocaInst

135                        AllocaInst *StackGuardSlot, Value *StackGuard);
140 void findInsts(Function &F, SmallVectorImpl<AllocaInst *> &StaticAllocas,
141 SmallVectorImpl<AllocaInst *> &DynamicAllocas,
148 uint64_t getStaticAllocaAllocationSize(const AllocaInst* AI);
157 ArrayRef<AllocaInst *> StaticAllocas,
161 AllocaInst *StackGuardSlot);
168 AllocaInst *
177 AllocaInst *DynamicTop,
178 ArrayRef<AllocaInst *> DynamicAllocas);
213 uint64_t SafeStack::getStaticAllocaAllocationSize(const AllocaInst* AI) { in getStaticAllocaAllocationSize()
239 << (isa<AllocaInst>(AllocaPtr) ? "Alloca " : "ByValArgument ") in IsAccessSafe()
406 SmallVectorImpl<AllocaInst *> &StaticAllocas, in findInsts()
407 SmallVectorImpl<AllocaInst *> &DynamicAllocas, in findInsts()
412 if (auto AI = dyn_cast<AllocaInst>(&I)) { in findInsts()
454 AllocaInst *
469 AllocaInst *DynamicTop = nullptr; in createStackRestorePoints()
491 AllocaInst *StackGuardSlot, Value *StackGuard) { in checkStackGuard()
514 IRBuilder<> &IRB, Function &F, ArrayRef<AllocaInst *> StaticAllocas, in moveStaticAllocasToUnsafeStack()
516 Instruction *BasePointer, AllocaInst *StackGuardSlot) { in moveStaticAllocasToUnsafeStack()
548 for (AllocaInst *AI : StaticAllocas) { in moveStaticAllocasToUnsafeStack()
612 for (AllocaInst *AI : StaticAllocas) { in moveStaticAllocasToUnsafeStack()
672 Function &F, Value *UnsafeStackPtr, AllocaInst *DynamicTop, in moveDynamicAllocasToUnsafeStack()
673 ArrayRef<AllocaInst *> DynamicAllocas) { in moveDynamicAllocasToUnsafeStack()
676 for (AllocaInst *AI : DynamicAllocas) { in moveDynamicAllocasToUnsafeStack()
760 SmallVector<AllocaInst *, 16> StaticAllocas; in runOnFunction()
761 SmallVector<AllocaInst *, 4> DynamicAllocas; in runOnFunction()
797 AllocaInst *StackGuardSlot = nullptr; in runOnFunction()
824 AllocaInst *DynamicTop = createStackRestorePoints( in runOnFunction()