reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
854 LLVM_DEBUG(dbgs() << "[SafeStack] Function: " << F.getName() << "\n"); 856 if (!F.hasFnAttribute(Attribute::SafeStack)) { 862 if (F.isDeclaration()) { 869 auto *TL = TM->getSubtargetImpl(F)->getTargetLowering(); 873 auto *DL = &F.getParent()->getDataLayout(); 874 auto &TLI = getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F); 875 auto &ACT = getAnalysis<AssumptionCacheTracker>().getAssumptionCache(F); 883 DominatorTree DT(F); 886 ScalarEvolution SE(F, TLI, ACT, DT, LI); 888 return SafeStack(F, *TL, *DL, SE).run();