reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Transforms/Utils/SizeOpts.h
   80 bool shouldOptimizeForSize(const BasicBlock *BB, ProfileSummaryInfo *PSI,

References

lib/Transforms/Scalar/LoopLoadElimination.cpp
  547                         llvm::shouldOptimizeForSize(HeaderBB, PSI, BFI);
lib/Transforms/Scalar/LoopUnrollPass.cpp
  215                     llvm::shouldOptimizeForSize(L->getHeader(), PSI, BFI);
lib/Transforms/Utils/SimplifyLibCalls.cpp
 2719                     llvm::shouldOptimizeForSize(CI->getParent(), PSI, BFI);
lib/Transforms/Vectorize/LoopVectorize.cpp
 7447        llvm::shouldOptimizeForSize(L->getHeader(), PSI, BFI)))
unittests/Transforms/Utils/SizeOptsTest.cpp
   74   EXPECT_FALSE(shouldOptimizeForSize(&BB0, &PSI, BFI_F));
   75   EXPECT_FALSE(shouldOptimizeForSize(BB1, &PSI, BFI_F));
   76   EXPECT_TRUE(shouldOptimizeForSize(BB2, &PSI, BFI_F));
   77   EXPECT_FALSE(shouldOptimizeForSize(BB3, &PSI, BFI_F));