Home
last modified time | relevance | path

Searched refs:isAllocationFn (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DMemoryBuiltinsTest.cpp43 EXPECT_FALSE(isAllocationFn(Caller.get(), TLI)); in TEST()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h55 bool isAllocationFn(const Value *V, const TargetLibraryInfo *TLI);
56 bool isAllocationFn(const Value *V,
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp295 bool llvm::isAllocationFn(const Value *V, const TargetLibraryInfo *TLI) { in isAllocationFn() function in llvm
299 bool llvm::isAllocationFn( in isAllocationFn() function in llvm
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp172 if (isAllocationFn(V, GetTLI)) in IsSafeComputationToRemove()
259 if (isAllocationFn(I, GetTLI)) in CleanupPointerRootUsers()
1108 } else if (isAllocationFn(StoredOnceVal, GetTLI)) { in optimizeOnceStoredGlobal()
H A DAttributor.cpp365 !(IsLoad ? isAllocationFn(Obj, TLI) : isNoAliasCall(Obj))) { in getPotentialCopiesOfMemoryValue()
H A DAttributorAttributes.cpp4852 if (isAllocationFn(Ptr, TLI) && AA::isDynamicallyUnique(A, *this, *Ptr)) in updateImpl()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2220 !isAllocationFn(SrcOp, &TLI)) { in visitGEPOfBitcast()