Lines Matching refs:LookThroughBitCast
118 static const Function *getCalledFunction(const Value *V, bool LookThroughBitCast, in getCalledFunction() argument
124 if (LookThroughBitCast) in getCalledFunction()
180 bool LookThroughBitCast = false) { in getAllocationData() argument
183 getCalledFunction(V, LookThroughBitCast, IsNoBuiltinCall)) in getAllocationData()
192 bool LookThroughBitCast = false) { in getAllocationData() argument
195 getCalledFunction(V, LookThroughBitCast, IsNoBuiltinCall)) in getAllocationData()
233 static bool hasNoAliasAttr(const Value *V, bool LookThroughBitCast) { in hasNoAliasAttr() argument
235 dyn_cast<CallBase>(LookThroughBitCast ? V->stripPointerCasts() : V); in hasNoAliasAttr()
243 bool LookThroughBitCast) { in isAllocationFn() argument
244 return getAllocationData(V, AnyAlloc, TLI, LookThroughBitCast).hasValue(); in isAllocationFn()
248 bool LookThroughBitCast) { in isAllocationFn() argument
249 return getAllocationData(V, AnyAlloc, GetTLI, LookThroughBitCast).hasValue(); in isAllocationFn()
255 bool LookThroughBitCast) { in isNoAliasFn() argument
258 return isAllocationFn(V, TLI, LookThroughBitCast) || in isNoAliasFn()
259 hasNoAliasAttr(V, LookThroughBitCast); in isNoAliasFn()
265 bool LookThroughBitCast) { in isMallocLikeFn() argument
266 return getAllocationData(V, MallocLike, TLI, LookThroughBitCast).hasValue(); in isMallocLikeFn()
270 bool LookThroughBitCast) { in isMallocLikeFn() argument
271 return getAllocationData(V, MallocLike, GetTLI, LookThroughBitCast) in isMallocLikeFn()
278 bool LookThroughBitCast) { in isAlignedAllocLikeFn() argument
279 return getAllocationData(V, AlignedAllocLike, TLI, LookThroughBitCast) in isAlignedAllocLikeFn()
284 bool LookThroughBitCast) { in isAlignedAllocLikeFn() argument
285 return getAllocationData(V, AlignedAllocLike, GetTLI, LookThroughBitCast) in isAlignedAllocLikeFn()
292 bool LookThroughBitCast) { in isCallocLikeFn() argument
293 return getAllocationData(V, CallocLike, TLI, LookThroughBitCast).hasValue(); in isCallocLikeFn()
299 bool LookThroughBitCast) { in isMallocOrCallocLikeFn() argument
301 LookThroughBitCast).hasValue(); in isMallocOrCallocLikeFn()
307 bool LookThroughBitCast) { in isAllocLikeFn() argument
308 return getAllocationData(V, AllocLike, TLI, LookThroughBitCast).hasValue(); in isAllocLikeFn()
314 bool LookThroughBitCast) { in isReallocLikeFn() argument
315 return getAllocationData(V, ReallocLike, TLI, LookThroughBitCast).hasValue(); in isReallocLikeFn()
327 bool LookThroughBitCast) { in isOpNewLikeFn() argument
328 return getAllocationData(V, OpNewLike, TLI, LookThroughBitCast).hasValue(); in isOpNewLikeFn()
334 bool LookThroughBitCast) { in isStrdupLikeFn() argument
335 return getAllocationData(V, StrDupLike, TLI, LookThroughBitCast).hasValue(); in isStrdupLikeFn()