Home
last modified time | relevance | path

Searched refs:PGSOQueryType (Results 1 – 13 of 13) sorted by relevance

/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineSizeOpts.h30 PGSOQueryType QueryType = PGSOQueryType::Other);
36 PGSOQueryType QueryType = PGSOQueryType::Other);
42 PGSOQueryType QueryType = PGSOQueryType::Other);
/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSizeOpts.h34 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 DSizeOptsTest.cpp71 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 DMachineSizeOptsTest.cpp118 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 DMachineSizeOpts.cpp30 PGSOQueryType QueryType) { in shouldOptimizeForSize()
39 PGSOQueryType QueryType) { in shouldOptimizeForSize()
49 PGSOQueryType QueryType) { in shouldOptimizeForSize()
/llvm-project/llvm/lib/Transforms/Utils/
H A DSizeOpts.cpp101 PGSOQueryType QueryType) { in shouldOptimizeForSize()
109 PGSOQueryType QueryType) { in shouldOptimizeForSize()
H A DSimplifyLibCalls.cpp1401 PGSOQueryType::IRPass); in optimizeMemChr()
3452 PGSOQueryType::IRPass)) in optimizeSnPrintFString()
3758 PGSOQueryType::IRPass)) in optimizeStringMemoryLibCall()
/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopLoadElimination.cpp588 PGSOQueryType::IRPass)) { in processLoop()
H A DConstantHoisting.cpp933 PGSOQueryType::IRPass); in emitBaseConstants()
H A DLoopUnrollPass.cpp233 PGSOQueryType::IRPass)); in gatherUnrollingPreferences()
/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp1020 if (shouldOptimizeForSize(F, nullptr, nullptr, PGSOQueryType::IRPass)) in getInliningBonus()
/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp464 TheLoop->getHeader(), PSI, BFI, PGSOQueryType::IRPass); in isConsecutivePtr()
H A DLoopVectorize.cpp497 OrigLoop->getHeader(), PSI, BFI, PGSOQueryType::IRPass);
9923 PGSOQueryType::IRPass) && in processLoop()