| /llvm-project-15.0.7/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-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | SizeOpts.h | 34 enum class PGSOQueryType { enum 52 BFIT *BFI, PGSOQueryType QueryType) { in shouldFuncOptimizeForSizeImpl() 73 BFIT *BFI, PGSOQueryType QueryType) { in shouldOptimizeForSizeImpl() 95 PGSOQueryType QueryType = PGSOQueryType::Other); 101 PGSOQueryType QueryType = PGSOQueryType::Other);
|
| /llvm-project-15.0.7/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-15.0.7/llvm/unittests/Target/X86/ |
| H A D | MachineSizeOptsTest.cpp | 117 EXPECT_FALSE(shouldOptimizeForSize(F, &PSI, MBFI_F, PGSOQueryType::Test)); in TEST_F() 118 EXPECT_TRUE(shouldOptimizeForSize(G, &PSI, MBFI_G, PGSOQueryType::Test)); in TEST_F() 119 EXPECT_FALSE(shouldOptimizeForSize(H, &PSI, MBFI_H, PGSOQueryType::Test)); in TEST_F() 120 EXPECT_FALSE(shouldOptimizeForSize(&BB0, &PSI, MBFI_F, PGSOQueryType::Test)); in TEST_F() 121 EXPECT_FALSE(shouldOptimizeForSize(BB1, &PSI, MBFI_F, PGSOQueryType::Test)); in TEST_F() 122 EXPECT_TRUE(shouldOptimizeForSize(BB2, &PSI, MBFI_F, PGSOQueryType::Test)); in TEST_F() 123 EXPECT_FALSE(shouldOptimizeForSize(BB3, &PSI, MBFI_F, PGSOQueryType::Test)); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineSizeOpts.cpp | 186 PGSOQueryType QueryType) { in shouldOptimizeForSize() 194 PGSOQueryType QueryType) { in shouldOptimizeForSize() 203 PGSOQueryType QueryType) { in shouldOptimizeForSize()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SizeOpts.cpp | 100 PGSOQueryType QueryType) { in shouldOptimizeForSize() 107 PGSOQueryType QueryType) { in shouldOptimizeForSize()
|
| H A D | SimplifyLibCalls.cpp | 2858 PGSOQueryType::IRPass); in optimizeSPrintFString() 3124 PGSOQueryType::IRPass); in optimizeFPuts()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopLoadElimination.cpp | 553 PGSOQueryType::IRPass); in processLoop()
|
| H A D | ConstantHoisting.cpp | 581 PGSOQueryType::IRPass); in maximizeConstantsInRange()
|
| H A D | LoopUnrollPass.cpp | 224 PGSOQueryType::IRPass)); in gatherUnrollingPreferences()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | FunctionSpecialization.cpp | 500 shouldOptimizeForSize(F, nullptr, nullptr, PGSOQueryType::IRPass)) in isCandidateFunction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorizationLegality.cpp | 456 PGSOQueryType::IRPass); in isConsecutivePtr()
|
| H A D | LoopVectorize.cpp | 456 OrigLoop->getHeader(), PSI, BFI, PGSOQueryType::IRPass); in InnerLoopVectorizer() 9728 PGSOQueryType::IRPass) && in getScalarEpilogueLowering()
|