Searched refs:isRemovableAlloc (Results 1 – 7 of 7) sorted by relevance
97 bool isRemovableAlloc(const CallBase *V, const TargetLibraryInfo *TLI);
355 bool llvm::isRemovableAlloc(const CallBase *CB, const TargetLibraryInfo *TLI) { in isRemovableAlloc() function in llvm
1042 if (!isRemovableAlloc(CI, TLI)) in tryToOptimizeStoreOfAllocationToGlobal()
5860 if (isRemovableAlloc(CB, TLI)) { in initialize()
443 if (isRemovableAlloc(CB, TLI)) in wouldInstructionBeTriviallyDead()
3081 if (isRemovableAlloc(&Call, &TLI)) in visitCallBase()
2836 assert(isa<AllocaInst>(MI) || isRemovableAlloc(&cast<CallBase>(MI), &TLI)); in visitAllocSite()