Home
last modified time | relevance | path

Searched refs:shouldOptimizeForSize (Results 1 – 25 of 45) sorted by relevance

12

/external/llvm-project/llvm/unittests/Transforms/Utils/
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()
/external/llvm-project/llvm/unittests/Target/X86/
DMachineSizeOptsTest.cpp116 EXPECT_FALSE(shouldOptimizeForSize(F, &PSI, MBFI_F, PGSOQueryType::Test)); in TEST_F()
117 EXPECT_TRUE(shouldOptimizeForSize(G, &PSI, MBFI_G, PGSOQueryType::Test)); in TEST_F()
118 EXPECT_FALSE(shouldOptimizeForSize(H, &PSI, MBFI_H, PGSOQueryType::Test)); in TEST_F()
119 EXPECT_FALSE(shouldOptimizeForSize(&BB0, &PSI, MBFI_F, PGSOQueryType::Test)); in TEST_F()
120 EXPECT_FALSE(shouldOptimizeForSize(BB1, &PSI, MBFI_F, PGSOQueryType::Test)); in TEST_F()
121 EXPECT_TRUE(shouldOptimizeForSize(BB2, &PSI, MBFI_F, PGSOQueryType::Test)); in TEST_F()
122 EXPECT_FALSE(shouldOptimizeForSize(BB3, &PSI, MBFI_F, PGSOQueryType::Test)); in TEST_F()
/external/llvm-project/llvm/include/llvm/CodeGen/
DMachineSizeOpts.h28 bool shouldOptimizeForSize(const MachineFunction *MF, ProfileSummaryInfo *PSI,
33 bool shouldOptimizeForSize(const MachineBasicBlock *MBB,
39 bool shouldOptimizeForSize(const MachineBasicBlock *MBB,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineSizeOpts.h27 bool shouldOptimizeForSize(const MachineFunction *MF, ProfileSummaryInfo *PSI,
32 bool shouldOptimizeForSize(const MachineBasicBlock *MBB,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSizeOpts.cpp77 bool llvm::shouldOptimizeForSize(const Function *F, ProfileSummaryInfo *PSI, in shouldOptimizeForSize() function in llvm
84 bool llvm::shouldOptimizeForSize(const BasicBlock *BB, ProfileSummaryInfo *PSI, in shouldOptimizeForSize() function in llvm
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DSizeOpts.h93 bool shouldOptimizeForSize(const Function *F, ProfileSummaryInfo *PSI,
99 bool shouldOptimizeForSize(const BasicBlock *BB, ProfileSummaryInfo *PSI,
/external/llvm-project/llvm/lib/CodeGen/
DMachineSizeOpts.cpp183 bool llvm::shouldOptimizeForSize(const MachineFunction *MF, in shouldOptimizeForSize() function in llvm
191 bool llvm::shouldOptimizeForSize(const MachineBasicBlock *MBB, in shouldOptimizeForSize() function in llvm
200 bool llvm::shouldOptimizeForSize(const MachineBasicBlock *MBB, in shouldOptimizeForSize() function in llvm
DBranchFolding.cpp647 (llvm::shouldOptimizeForSize(MBB1, PSI, &MBBFreqInfo) && in ProfitableToMerge()
648 llvm::shouldOptimizeForSize(MBB2, PSI, &MBBFreqInfo)); in ProfitableToMerge()
1509 llvm::shouldOptimizeForSize(MBB, PSI, &MBBFreqInfo); in OptimizeBlock()
DMachineCombiner.cpp523 bool OptForSize = OptSize || llvm::shouldOptimizeForSize(MBB, PSI, MBFI); in combineInstructions()
DMachineBlockPlacement.cpp2118 llvm::shouldOptimizeForSize(L.getHeader(), PSI, MBFI.get()); in findBestLoopTop()
2892 if (llvm::shouldOptimizeForSize(ChainBB, PSI, MBFI.get()) && in alignBlocks()
3336 llvm::shouldOptimizeForSize(&MF, PSI, &MBFI->getMBFI()); in runOnMachineFunction()
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DSizeOpts.h95 bool shouldOptimizeForSize(const Function *F, ProfileSummaryInfo *PSI,
101 bool shouldOptimizeForSize(const BasicBlock *BB, ProfileSummaryInfo *PSI,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineSizeOpts.cpp108 bool llvm::shouldOptimizeForSize(const MachineFunction *MF, in shouldOptimizeForSize() function in llvm
116 bool llvm::shouldOptimizeForSize(const MachineBasicBlock *MBB, in shouldOptimizeForSize() function in llvm
DBranchFolding.cpp694 (llvm::shouldOptimizeForSize(MBB1, PSI, &MBBFreqInfo.getMBFI()) && in ProfitableToMerge()
695 llvm::shouldOptimizeForSize(MBB2, PSI, &MBBFreqInfo.getMBFI())); in ProfitableToMerge()
1550 llvm::shouldOptimizeForSize(MBB, PSI, &MBBFreqInfo.getMBFI()); in OptimizeBlock()
DMachineCombiner.cpp519 bool OptForSize = OptSize || llvm::shouldOptimizeForSize(MBB, PSI, MBFI); in combineInstructions()
DMachineBlockPlacement.cpp2085 llvm::shouldOptimizeForSize(L.getHeader(), PSI, in findBestLoopTop()
2844 if (llvm::shouldOptimizeForSize(ChainBB, PSI, &MBFI->getMBFI()) && in alignBlocks()
3087 llvm::shouldOptimizeForSize(&MF, PSI, &MBFI->getMBFI()); in runOnMachineFunction()
/external/llvm-project/llvm/lib/Transforms/Utils/
DSizeOpts.cpp98 bool llvm::shouldOptimizeForSize(const Function *F, ProfileSummaryInfo *PSI, in shouldOptimizeForSize() function in llvm
105 bool llvm::shouldOptimizeForSize(const BasicBlock *BB, ProfileSummaryInfo *PSI, in shouldOptimizeForSize() function in llvm
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86PadShortFunction.cpp137 bool OptForSize = llvm::shouldOptimizeForSize(MBB, PSI, MBFI); in runOnMachineFunction()
DX86FixupBWInsts.cpp441 llvm::shouldOptimizeForSize(&MBB, PSI, MBFI); in processBasicBlock()
DX86OptimizeLEAs.cpp717 llvm::shouldOptimizeForSize(&MBB, PSI, MBFI); in runOnMachineFunction()
/external/llvm-project/llvm/lib/Target/X86/
DX86PadShortFunction.cpp138 bool OptForSize = llvm::shouldOptimizeForSize(MBB, PSI, MBFI); in runOnMachineFunction()
DX86FixupBWInsts.cpp440 llvm::shouldOptimizeForSize(&MBB, PSI, MBFI); in processBasicBlock()
DX86OptimizeLEAs.cpp717 llvm::shouldOptimizeForSize(&MBB, PSI, MBFI); in runOnMachineFunction()
DX86FixupLEAs.cpp226 OptIncDec || llvm::shouldOptimizeForSize(&MBB, PSI, MBFI); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp548 llvm::shouldOptimizeForSize(HeaderBB, PSI, BFI, in processLoop()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp555 llvm::shouldOptimizeForSize(HeaderBB, PSI, BFI, in processLoop()

12