Searched refs:AllocaPtr (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/CodeGen/ |
D | SafeStack.cpp | 88 const Value *AllocaPtr; member in __anon825189cb0111::AllocaOffsetRewriter 91 AllocaOffsetRewriter(ScalarEvolution &SE, const Value *AllocaPtr) in AllocaOffsetRewriter() argument 92 : SCEVRewriteVisitor(SE), AllocaPtr(AllocaPtr) {} in AllocaOffsetRewriter() 95 if (Expr->getValue() == AllocaPtr) in visitUnknown() 180 bool IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize); 183 const Value *AllocaPtr, uint64_t AllocaSize); 184 bool IsAccessSafe(Value *Addr, uint64_t Size, const Value *AllocaPtr, 225 const Value *AllocaPtr, uint64_t AllocaSize) { in IsAccessSafe() argument 226 AllocaOffsetRewriter Rewriter(*SE, AllocaPtr); in IsAccessSafe() 239 << (isa<AllocaInst>(AllocaPtr) ? "Alloca " : "ByValArgument ") in IsAccessSafe() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | SafeStack.cpp | 107 const Value *AllocaPtr; member in __anonaf4797030111::AllocaOffsetRewriter 110 AllocaOffsetRewriter(ScalarEvolution &SE, const Value *AllocaPtr) in AllocaOffsetRewriter() argument 111 : SCEVRewriteVisitor(SE), AllocaPtr(AllocaPtr) {} in AllocaOffsetRewriter() 114 if (Expr->getValue() == AllocaPtr) in visitUnknown() 196 bool IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize); 199 const Value *AllocaPtr, uint64_t AllocaSize); 200 bool IsAccessSafe(Value *Addr, uint64_t Size, const Value *AllocaPtr, 232 const Value *AllocaPtr, uint64_t AllocaSize) { in IsAccessSafe() argument 233 AllocaOffsetRewriter Rewriter(SE, AllocaPtr); in IsAccessSafe() 247 << (isa<AllocaInst>(AllocaPtr) ? "Alloca " : "ByValArgument ") in IsAccessSafe() [all …]
|