/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineSizeOpts.h | 30 PGSOQueryType QueryType = PGSOQueryType::Other); 36 PGSOQueryType QueryType = PGSOQueryType::Other); 42 PGSOQueryType QueryType = PGSOQueryType::Other);
|
/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | SizeOpts.h | 34 enum class PGSOQueryType { enum 52 BFIT *BFI, PGSOQueryType QueryType) { in shouldFuncOptimizeForSizeImpl() 74 PGSOQueryType QueryType) { in shouldOptimizeForSizeImpl() 95 PGSOQueryType QueryType = PGSOQueryType::Other); 101 PGSOQueryType QueryType = PGSOQueryType::Other);
|
/llvm-project/llvm/unittests/Transforms/Utils/ |
H A D | SizeOptsTest.cpp | 71 EXPECT_FALSE(shouldOptimizeForSize(F, &PSI, BFI_F, PGSOQueryType::Test)); in TEST_F() 72 EXPECT_TRUE(shouldOptimizeForSize(G, &PSI, BFI_G, PGSOQueryType::Test)); in TEST_F() 73 EXPECT_FALSE(shouldOptimizeForSize(H, &PSI, BFI_H, PGSOQueryType::Test)); in TEST_F() 74 EXPECT_FALSE(shouldOptimizeForSize(&BB0, &PSI, BFI_F, PGSOQueryType::Test)); in TEST_F() 75 EXPECT_FALSE(shouldOptimizeForSize(BB1, &PSI, BFI_F, PGSOQueryType::Test)); in TEST_F() 76 EXPECT_TRUE(shouldOptimizeForSize(BB2, &PSI, BFI_F, PGSOQueryType::Test)); in TEST_F() 77 EXPECT_FALSE(shouldOptimizeForSize(BB3, &PSI, BFI_F, PGSOQueryType::Test)); in TEST_F()
|
/llvm-project/llvm/unittests/Target/X86/ |
H A D | MachineSizeOptsTest.cpp | 118 EXPECT_FALSE(shouldOptimizeForSize(F, &PSI, MBFI_F, PGSOQueryType::Test)); in TEST_F() 119 EXPECT_TRUE(shouldOptimizeForSize(G, &PSI, MBFI_G, PGSOQueryType::Test)); in TEST_F() 120 EXPECT_FALSE(shouldOptimizeForSize(H, &PSI, MBFI_H, PGSOQueryType::Test)); in TEST_F() 121 EXPECT_FALSE(shouldOptimizeForSize(&BB0, &PSI, MBFI_F, PGSOQueryType::Test)); in TEST_F() 122 EXPECT_FALSE(shouldOptimizeForSize(BB1, &PSI, MBFI_F, PGSOQueryType::Test)); in TEST_F() 123 EXPECT_TRUE(shouldOptimizeForSize(BB2, &PSI, MBFI_F, PGSOQueryType::Test)); in TEST_F() 124 EXPECT_FALSE(shouldOptimizeForSize(BB3, &PSI, MBFI_F, PGSOQueryType::Test)); in TEST_F()
|
/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineSizeOpts.cpp | 30 PGSOQueryType QueryType) { in shouldOptimizeForSize() 39 PGSOQueryType QueryType) { in shouldOptimizeForSize() 49 PGSOQueryType QueryType) { in shouldOptimizeForSize()
|
/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SizeOpts.cpp | 101 PGSOQueryType QueryType) { in shouldOptimizeForSize() 109 PGSOQueryType QueryType) { in shouldOptimizeForSize()
|
H A D | SimplifyLibCalls.cpp | 1401 PGSOQueryType::IRPass); in optimizeMemChr() 3452 PGSOQueryType::IRPass)) in optimizeSnPrintFString() 3758 PGSOQueryType::IRPass)) in optimizeStringMemoryLibCall()
|
/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopLoadElimination.cpp | 588 PGSOQueryType::IRPass)) { in processLoop()
|
H A D | ConstantHoisting.cpp | 933 PGSOQueryType::IRPass); in emitBaseConstants()
|
H A D | LoopUnrollPass.cpp | 233 PGSOQueryType::IRPass)); in gatherUnrollingPreferences()
|
/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | FunctionSpecialization.cpp | 1020 if (shouldOptimizeForSize(F, nullptr, nullptr, PGSOQueryType::IRPass)) in getInliningBonus()
|
/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorizationLegality.cpp | 464 TheLoop->getHeader(), PSI, BFI, PGSOQueryType::IRPass); in isConsecutivePtr()
|
H A D | LoopVectorize.cpp | 497 OrigLoop->getHeader(), PSI, BFI, PGSOQueryType::IRPass); 9923 PGSOQueryType::IRPass) && in processLoop()
|