Lines Matching refs:LookThroughBitCast
112 static const Function *getCalledFunction(const Value *V, bool LookThroughBitCast, in getCalledFunction() argument
118 if (LookThroughBitCast) in getCalledFunction()
175 bool LookThroughBitCast = false) { in getAllocationData() argument
178 getCalledFunction(V, LookThroughBitCast, IsNoBuiltinCall)) in getAllocationData()
215 static bool hasNoAliasAttr(const Value *V, bool LookThroughBitCast) { in hasNoAliasAttr() argument
216 ImmutableCallSite CS(LookThroughBitCast ? V->stripPointerCasts() : V); in hasNoAliasAttr()
224 bool LookThroughBitCast) { in isAllocationFn() argument
225 return getAllocationData(V, AnyAlloc, TLI, LookThroughBitCast).hasValue(); in isAllocationFn()
231 bool LookThroughBitCast) { in isNoAliasFn() argument
234 return isAllocationFn(V, TLI, LookThroughBitCast) || in isNoAliasFn()
235 hasNoAliasAttr(V, LookThroughBitCast); in isNoAliasFn()
241 bool LookThroughBitCast) { in isMallocLikeFn() argument
242 return getAllocationData(V, MallocLike, TLI, LookThroughBitCast).hasValue(); in isMallocLikeFn()
248 bool LookThroughBitCast) { in isCallocLikeFn() argument
249 return getAllocationData(V, CallocLike, TLI, LookThroughBitCast).hasValue(); in isCallocLikeFn()
255 bool LookThroughBitCast) { in isMallocOrCallocLikeFn() argument
257 LookThroughBitCast).hasValue(); in isMallocOrCallocLikeFn()
263 bool LookThroughBitCast) { in isAllocLikeFn() argument
264 return getAllocationData(V, AllocLike, TLI, LookThroughBitCast).hasValue(); in isAllocLikeFn()