Home
last modified time | relevance | path

Searched refs:mbb (Results 1 – 25 of 60) sorted by relevance

123

/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DLiveIntervalAnalysis.h205 SlotIndex getMBBStartIdx(const MachineBasicBlock *mbb) const { in getMBBStartIdx() argument
206 return indexes_->getMBBStartIdx(mbb); in getMBBStartIdx()
210 SlotIndex getMBBEndIdx(const MachineBasicBlock *mbb) const { in getMBBEndIdx() argument
211 return indexes_->getMBBEndIdx(mbb); in getMBBEndIdx()
215 const MachineBasicBlock *mbb) const { in isLiveInToMBB() argument
216 return li.liveAt(getMBBStartIdx(mbb)); in isLiveInToMBB()
220 const MachineBasicBlock *mbb) { in findEnteringRange() argument
221 return li.getLiveRangeContaining(getMBBStartIdx(mbb)); in findEnteringRange()
225 const MachineBasicBlock *mbb) const { in isLiveOutOfMBB() argument
226 return li.liveAt(getMBBEndIdx(mbb).getPrevSlot()); in isLiveOutOfMBB()
[all …]
DSlotIndexes.h569 SlotIndex getMBBStartIdx(const MachineBasicBlock *mbb) const {
570 return getMBBRange(mbb).first;
579 SlotIndex getMBBEndIdx(const MachineBasicBlock *mbb) const {
580 return getMBBRange(mbb).second;
715 void insertMBBInMaps(MachineBasicBlock *mbb) {
717 llvm::next(MachineFunction::iterator(mbb));
722 if (nextMBB == mbb->getParent()->end()) {
734 assert(unsigned(mbb->getNumber()) == MBBRanges.size() &&
738 idx2MBBMap.push_back(IdxMBBPair(startIdx, mbb));
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DSlotIndexes.cpp76 MachineBasicBlock *mbb = &*mbbItr; in runOnMachineFunction() local
81 for (MachineBasicBlock::iterator miItr = mbb->begin(), miEnd = mbb->end(); in runOnMachineFunction()
99 MBBRanges[mbb->getNumber()].first = blockStartIndex; in runOnMachineFunction()
100 MBBRanges[mbb->getNumber()].second = SlotIndex(back(), SlotIndex::LOAD); in runOnMachineFunction()
101 idx2MBBMap.push_back(IdxMBBPair(blockStartIndex, mbb)); in runOnMachineFunction()
DCalcSpillWeights.cpp92 MachineBasicBlock *mbb = 0; in CalculateWeightAndHint() local
119 if (mi->getParent() != mbb) { in CalculateWeightAndHint()
120 mbb = mi->getParent(); in CalculateWeightAndHint()
121 loop = Loops.getLoopFor(mbb); in CalculateWeightAndHint()
123 isExiting = loop ? loop->isLoopExiting(mbb) : false; in CalculateWeightAndHint()
132 if (writes && isExiting && LIS.isLiveOutOfMBB(li, mbb)) in CalculateWeightAndHint()
DSplitter.cpp346 MachineBasicBlock *mbb = &*bbItr; in dumpOddTerminators() local
349 if (tii->AnalyzeBranch(*mbb, a, b, c)) { in dumpOddTerminators()
350 dbgs() << "MBB#" << mbb->getNumber() << " has multiway terminator.\n"; in dumpOddTerminators()
352 for (MachineBasicBlock::iterator iItr = mbb->begin(), iEnd = mbb->end(); in dumpOddTerminators()
358 for (MachineBasicBlock::succ_iterator sItr = mbb->succ_begin(), sEnd = mbb->succ_end(); in dumpOddTerminators()
401 void LoopSplitter::updateTerminators(MachineBasicBlock &mbb) { in updateTerminators() argument
402 mbb.updateTerminator(); in updateTerminators()
404 for (MachineBasicBlock::iterator miItr = mbb.begin(), miEnd = mbb.end(); in updateTerminators()
DRegisterScavenging.cpp79 void RegScavenger::enterBasicBlock(MachineBasicBlock *mbb) { in enterBasicBlock() argument
80 MachineFunction &MF = *mbb->getParent(); in enterBasicBlock()
105 MBB = mbb; in enterBasicBlock()
DLiveIntervalAnalysis.cpp284 void LiveIntervals::handleVirtualRegisterDef(MachineBasicBlock *mbb, in handleVirtualRegisterDef() argument
333 if (vi.Kills.size() == 1 && vi.Kills[0]->getParent() == mbb) { in handleVirtualRegisterDef()
357 LiveRange NewLR(defIndex, getMBBEndIdx(mbb), ValNo); in handleVirtualRegisterDef()
480 SlotIndex killIndex = getMBBEndIdx(mbb); in handleVirtualRegisterDef()
895 MachineBasicBlock *mbb) const { in getLastSplitPoint()
896 const MachineBasicBlock *lpad = mbb->getLandingPadSuccessor(); in getLastSplitPoint()
901 return mbb->getFirstTerminator(); in getLastSplitPoint()
905 MachineBasicBlock::iterator I = mbb->end(), B = mbb->begin(); in getLastSplitPoint()
912 return mbb->getFirstTerminator(); in getLastSplitPoint()
1151 MachineBasicBlock *mbb = indexes_->getMBBCoveringRange(itr->start, itr->end); in intervalIsInOneMBB() local
[all …]
/external/llvm/include/llvm/CodeGen/
DLiveIntervalAnalysis.h212 SlotIndex getMBBStartIdx(const MachineBasicBlock *mbb) const { in getMBBStartIdx() argument
213 return Indexes->getMBBStartIdx(mbb); in getMBBStartIdx()
217 SlotIndex getMBBEndIdx(const MachineBasicBlock *mbb) const { in getMBBEndIdx() argument
218 return Indexes->getMBBEndIdx(mbb); in getMBBEndIdx()
222 const MachineBasicBlock *mbb) const { in isLiveInToMBB() argument
223 return LR.liveAt(getMBBStartIdx(mbb)); in isLiveInToMBB()
227 const MachineBasicBlock *mbb) const { in isLiveOutOfMBB() argument
228 return LR.liveAt(getMBBEndIdx(mbb).getPrevSlot()); in isLiveOutOfMBB()
DSlotIndexes.h499 SlotIndex getMBBStartIdx(const MachineBasicBlock *mbb) const {
500 return getMBBRange(mbb).first;
509 SlotIndex getMBBEndIdx(const MachineBasicBlock *mbb) const {
510 return getMBBRange(mbb).second;
650 void insertMBBInMaps(MachineBasicBlock *mbb) {
652 std::next(MachineFunction::iterator(mbb));
657 if (nextMBB == mbb->getParent()->end()) {
670 MachineFunction::iterator prevMBB(mbb);
671 assert(prevMBB != mbb->getParent()->end() &&
676 assert(unsigned(mbb->getNumber()) == MBBRanges.size() &&
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DLiveIntervals.h236 SlotIndex getMBBStartIdx(const MachineBasicBlock *mbb) const { in getMBBStartIdx() argument
237 return Indexes->getMBBStartIdx(mbb); in getMBBStartIdx()
241 SlotIndex getMBBEndIdx(const MachineBasicBlock *mbb) const { in getMBBEndIdx() argument
242 return Indexes->getMBBEndIdx(mbb); in getMBBEndIdx()
246 const MachineBasicBlock *mbb) const { in isLiveInToMBB() argument
247 return LR.liveAt(getMBBStartIdx(mbb)); in isLiveInToMBB()
251 const MachineBasicBlock *mbb) const { in isLiveOutOfMBB() argument
252 return LR.liveAt(getMBBEndIdx(mbb).getPrevSlot()); in isLiveOutOfMBB()
DSlotIndexes.h492 SlotIndex getMBBStartIdx(const MachineBasicBlock *mbb) const {
493 return getMBBRange(mbb).first;
502 SlotIndex getMBBEndIdx(const MachineBasicBlock *mbb) const {
503 return getMBBRange(mbb).second;
645 void insertMBBInMaps(MachineBasicBlock *mbb) {
647 std::next(MachineFunction::iterator(mbb));
652 if (nextMBB == mbb->getParent()->end()) {
665 MachineFunction::iterator prevMBB(mbb);
666 assert(prevMBB != mbb->getParent()->end() &&
671 assert(unsigned(mbb->getNumber()) == MBBRanges.size() &&
[all …]
/external/llvm/lib/CodeGen/
DCalcSpillWeights.cpp134 MachineBasicBlock *mbb = nullptr; in calculateSpillWeightAndHint() local
164 if (mi->getParent() != mbb) { in calculateSpillWeightAndHint()
165 mbb = mi->getParent(); in calculateSpillWeightAndHint()
166 loop = Loops.getLoopFor(mbb); in calculateSpillWeightAndHint()
167 isExiting = loop ? loop->isLoopExiting(mbb) : false; in calculateSpillWeightAndHint()
176 if (writes && isExiting && LIS.isLiveOutOfMBB(li, mbb)) in calculateSpillWeightAndHint()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCalcSpillWeights.cpp164 MachineBasicBlock *mbb = nullptr; in weightCalcHelper() local
247 if (mi->getParent() != mbb) { in weightCalcHelper()
248 mbb = mi->getParent(); in weightCalcHelper()
249 loop = Loops.getLoopFor(mbb); in weightCalcHelper()
250 isExiting = loop ? loop->isLoopExiting(mbb) : false; in weightCalcHelper()
259 if (writes && isExiting && LIS.isLiveOutOfMBB(li, mbb)) in weightCalcHelper()
/external/llvm/lib/Target/ARM/
DARMConstantPoolValue.cpp234 const MachineBasicBlock *mbb, in ARMConstantPoolMBB() argument
240 MBB(mbb) {} in ARMConstantPoolMBB()
243 const MachineBasicBlock *mbb, in Create() argument
246 return new ARMConstantPoolMBB(C, mbb, ID, PCAdj, ARMCP::no_modifier, false); in Create()
DARMConstantPoolValue.h224 ARMConstantPoolMBB(LLVMContext &C, const MachineBasicBlock *mbb, unsigned id,
230 const MachineBasicBlock *mbb,
/external/clang/test/CodeGenCXX/
Dmangle-ms-back-references.cpp27 void mbb(bool a, bool b) {} in mbb() function
41 b->mbb(false, false); in g4()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMConstantPoolValue.cpp264 const MachineBasicBlock *mbb, in ARMConstantPoolMBB() argument
270 MBB(mbb) {} in ARMConstantPoolMBB()
273 const MachineBasicBlock *mbb, in Create() argument
276 return new ARMConstantPoolMBB(C, mbb, ID, PCAdj, ARMCP::no_modifier, false); in Create()
DARMConstantPoolValue.h251 ARMConstantPoolMBB(LLVMContext &C, const MachineBasicBlock *mbb, unsigned id,
257 const MachineBasicBlock *mbb,
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMConstantPoolValue.cpp271 const MachineBasicBlock *mbb, in ARMConstantPoolMBB() argument
277 MBB(mbb) {} in ARMConstantPoolMBB()
280 const MachineBasicBlock *mbb, in Create() argument
283 return new ARMConstantPoolMBB(C, mbb, ID, PCAdj, ARMCP::no_modifier, false); in Create()
DARMConstantPoolValue.h203 ARMConstantPoolMBB(LLVMContext &C, const MachineBasicBlock *mbb, unsigned id,
209 const MachineBasicBlock *mbb,
/external/swiftshader/third_party/llvm-7.0/llvm/test/Demangle/
Dms-back-references.test40 ?mbb@S@@QAEX_N0@Z
41 ; CHECK: void __thiscall S::mbb(bool, bool)
/external/libunwind/tests/
Dia64-test-stack-asm.S95 { .mbb
168 { .mbb
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Hexagon/
Dunreachable-mbb-phi-subreg.mir1 # RUN: llc -march=hexagon -run-pass unreachable-mbb-elimination %s -o - | FileCheck %s
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DREADME-X86-64.txt107 JMP mbb<bb2,0x203afb0>
117 %reg1027<def> = PHI %reg1025, mbb<bb,0x203af10>,
118 %reg1026, mbb<bb1,0x203af60>
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DREADME-X86-64.txt107 JMP mbb<bb2,0x203afb0>
117 %reg1027 = PHI %reg1025, mbb<bb,0x203af10>,
118 %reg1026, mbb<bb1,0x203af60>

123