Home
last modified time | relevance | path

Searched refs:BlockSizes (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Target/MSP430/
DMSP430BranchSelector.cpp38 std::vector<unsigned> BlockSizes; member
66 BlockSizes.resize(Fn.getNumBlockIDs()); in runOnMachineFunction()
75 BlockSizes[MBB.getNumber()] = BlockSize; in runOnMachineFunction()
83 BlockSizes.clear(); in runOnMachineFunction()
126 BranchSize += BlockSizes[i]; in runOnMachineFunction()
133 BranchSize += BlockSizes[i]; in runOnMachineFunction()
171 BlockSizes[MBB.getNumber()] += NewSize-2; in runOnMachineFunction()
181 BlockSizes.clear(); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCBranchSelector.cpp45 std::vector<std::pair<unsigned, unsigned>> BlockSizes; member
129 auto &BS = BlockSizes[MBB->getNumber()-1]; in ComputeBlockSizes()
143 BlockSizes[MBB->getNumber()].first = BlockSize; in ComputeBlockSizes()
158 auto &BS = BlockSizes[MBB->getNumber()-1]; in modifyAdjustment()
170 Offset += BlockSizes[MBB->getNumber()].first; in modifyAdjustment()
191 BranchSize += BlockSizes[DestBlock].first; in computeBranchSize()
193 BranchSize += BlockSizes[i].first; in computeBranchSize()
203 BranchSize = BlockSizes[StartBlock].first - BrOffset; in computeBranchSize()
207 BranchSize += BlockSizes[i].first; in computeBranchSize()
268 BlockSizes.resize(Fn.getNumBlockIDs()); in runOnMachineFunction()
[all …]
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCBranchSelector.cpp48 std::vector<std::pair<unsigned, unsigned>> BlockSizes; member
132 auto &BS = BlockSizes[MBB->getNumber()-1]; in ComputeBlockSizes()
174 BlockSizes[MBB->getNumber()].first = BlockSize; in ComputeBlockSizes()
189 auto &BS = BlockSizes[MBB->getNumber()-1]; in modifyAdjustment()
201 Offset += BlockSizes[MBB->getNumber()].first; in modifyAdjustment()
222 BranchSize += BlockSizes[DestBlock].first; in computeBranchSize()
224 BranchSize += BlockSizes[i].first; in computeBranchSize()
234 BranchSize = BlockSizes[StartBlock].first - BrOffset; in computeBranchSize()
238 BranchSize += BlockSizes[i].first; in computeBranchSize()
299 BlockSizes.resize(Fn.getNumBlockIDs()); in runOnMachineFunction()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCBranchSelector.cpp45 std::vector<unsigned> BlockSizes; member
76 BlockSizes.resize(Fn.getNumBlockIDs()); in runOnMachineFunction()
105 BlockSizes[MBB->getNumber()-1] += AlignExtra; in runOnMachineFunction()
113 BlockSizes[MBB->getNumber()] = BlockSize; in runOnMachineFunction()
121 BlockSizes.clear(); in runOnMachineFunction()
172 BranchSize += BlockSizes[i]; in runOnMachineFunction()
179 BranchSize += BlockSizes[i]; in runOnMachineFunction()
229 BlockSizes[MBB.getNumber()] += 4; in runOnMachineFunction()
238 BlockSizes.clear(); in runOnMachineFunction()