Home
last modified time | relevance | path

Searched defs:MBB (Results 1 – 25 of 213) sorted by relevance

123456789

/NextBSD/contrib/llvm/lib/Target/AMDGPU/
HDSILowerControlFlow.cpp121 for (MachineBasicBlock *MBB = From; MBB != To && !MBB->succ_empty(); in shouldSkip() local
149 MachineBasicBlock &MBB = *MI.getParent(); in SkipIfDead() local
182 MachineBasicBlock &MBB = *MI.getParent(); in If() local
200 MachineBasicBlock &MBB = *MI.getParent(); in Else() local
219 MachineBasicBlock &MBB = *MI.getParent(); in Break() local
233 MachineBasicBlock &MBB = *MI.getParent(); in IfBreak() local
248 MachineBasicBlock &MBB = *MI.getParent(); in ElseBreak() local
263 MachineBasicBlock &MBB = *MI.getParent(); in Loop() local
279 MachineBasicBlock &MBB = *MI.getParent(); in EndCf() local
299 MachineBasicBlock &MBB = *MI.getParent(); in Kill() local
[all …]
HDAMDILCFGStructurizer.cpp471 void AMDGPUCFGStructurizer::insertInstrEnd(MachineBasicBlock *MBB, in insertInstrEnd()
480 MachineInstr *AMDGPUCFGStructurizer::insertInstrBefore(MachineBasicBlock *MBB, in insertInstrBefore()
495 MachineBasicBlock *MBB = OldMI->getParent(); in insertInstrBefore() local
507 MachineBasicBlock *MBB = OldMI->getParent(); in insertCondBranchBefore() local
528 void AMDGPUCFGStructurizer::insertCondBranchEnd(MachineBasicBlock *MBB, in insertCondBranchEnd()
583 MachineBasicBlock *MBB) { in setTrueBranch()
588 AMDGPUCFGStructurizer::getFalseBranch(MachineBasicBlock *MBB, in getFalseBranch()
620 DebugLoc AMDGPUCFGStructurizer::getLastDebugLocInBB(MachineBasicBlock *MBB) { in getLastDebugLocInBB()
633 MachineBasicBlock *MBB) { in getNormalBlockBranchInstr()
642 MachineBasicBlock *MBB) { in getLoopendBlockBranchInstr()
[all …]
/NextBSD/contrib/llvm/lib/Target/Mips/
HDMipsSEInstrInfo.cpp79 void MipsSEInstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg()
180 storeRegToStack(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in storeRegToStack()
223 loadRegFromStack(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in loadRegFromStack()
264 MachineBasicBlock &MBB = *MI->getParent(); in expandPostRAPseudo() local
360 MachineBasicBlock &MBB, in adjustStackPtr()
381 MipsSEInstrInfo::loadImmediate(int64_t Imm, MachineBasicBlock &MBB, in loadImmediate()
432 void MipsSEInstrInfo::expandRetRA(MachineBasicBlock &MBB, in expandRetRA()
453 void MipsSEInstrInfo::expandPseudoMFHiLo(MachineBasicBlock &MBB, in expandPseudoMFHiLo()
459 void MipsSEInstrInfo::expandPseudoMTLoHi(MachineBasicBlock &MBB, in expandPseudoMTLoHi()
488 void MipsSEInstrInfo::expandCvtFPInt(MachineBasicBlock &MBB, in expandCvtFPInt()
[all …]
HDMips16InstrInfo.cpp61 void Mips16InstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg()
93 void Mips16InstrInfo::storeRegToStack(MachineBasicBlock &MBB, in storeRegToStack()
111 void Mips16InstrInfo::loadRegFromStack(MachineBasicBlock &MBB, in loadRegFromStack()
130 MachineBasicBlock &MBB = *MI->getParent(); in expandPostRAPseudo() local
197 MachineBasicBlock &MBB, in makeFrame()
227 MachineBasicBlock &MBB, in restoreFrame()
263 MachineBasicBlock &MBB, in adjustStackPtrBig()
287 unsigned SP, int64_t Amount, MachineBasicBlock &MBB, in adjustStackPtrBigUnrestricted()
294 MachineBasicBlock &MBB, in adjustStackPtr()
308 MachineBasicBlock &MBB, in loadImmediate()
[all …]
HDMipsInstrInfo.cpp51 insertNoop(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI) const in insertNoop()
57 MachineMemOperand *MipsInstrInfo::GetMemOperand(MachineBasicBlock &MBB, int FI, in GetMemOperand()
86 bool MipsInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, in AnalyzeBranch()
98 MipsInstrInfo::BuildCondBr(MachineBasicBlock &MBB, MachineBasicBlock *TBB, in BuildCondBr()
116 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, in InsertBranch()
178 MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, in AnalyzeBranch()
HDMipsSEFrameLowering.cpp97 bool ExpandPseudo::expandInstr(MachineBasicBlock &MBB, Iter I) { in expandInstr()
149 void ExpandPseudo::expandLoadCCond(MachineBasicBlock &MBB, Iter I) { in expandLoadCCond()
164 void ExpandPseudo::expandStoreCCond(MachineBasicBlock &MBB, Iter I) { in expandStoreCCond()
179 void ExpandPseudo::expandLoadACC(MachineBasicBlock &MBB, Iter I, in expandLoadACC()
203 void ExpandPseudo::expandStoreACC(MachineBasicBlock &MBB, Iter I, in expandStoreACC()
226 bool ExpandPseudo::expandCopy(MachineBasicBlock &MBB, Iter I) { in expandCopy()
236 bool ExpandPseudo::expandCopyACC(MachineBasicBlock &MBB, Iter I, in expandCopyACC()
267 bool ExpandPseudo::expandBuildPairF64(MachineBasicBlock &MBB, in expandBuildPairF64()
319 bool ExpandPseudo::expandExtractElementF64(MachineBasicBlock &MBB, in expandExtractElementF64()
582 spillCalleeSavedRegisters(MachineBasicBlock &MBB, in spillCalleeSavedRegisters()
HDMipsDelaySlotFiller.cpp275 static void addLiveInRegs(Iter Filler, MachineBasicBlock &MBB) { in addLiveInRegs()
353 void RegDefsUses::addLiveOut(const MachineBasicBlock &MBB, in addLiveOut()
509 Iter Filler::replaceWithCompactBranch(MachineBasicBlock &MBB, in replaceWithCompactBranch()
532 Iter Filler::replaceWithCompactJump(MachineBasicBlock &MBB, in replaceWithCompactJump()
570 bool Filler::runOnMachineBasicBlock(MachineBasicBlock &MBB) { in runOnMachineBasicBlock()
651 bool Filler::searchRange(MachineBasicBlock &MBB, IterTy Begin, IterTy End, in searchRange()
712 bool Filler::searchBackward(MachineBasicBlock &MBB, Iter Slot) const { in searchBackward()
732 bool Filler::searchForward(MachineBasicBlock &MBB, Iter Slot) const { in searchForward()
752 bool Filler::searchSuccBBs(MachineBasicBlock &MBB, Iter Slot) const { in searchSuccBBs()
812 Filler::getBranch(MachineBasicBlock &MBB, const MachineBasicBlock &Dst) const { in getBranch()
/NextBSD/contrib/llvm/lib/Target/BPF/
HDBPFInstrInfo.cpp34 void BPFInstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg()
45 void BPFInstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB, in storeRegToStackSlot()
63 void BPFInstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB, in loadRegFromStackSlot()
78 bool BPFInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, in AnalyzeBranch()
133 unsigned BPFInstrInfo::InsertBranch(MachineBasicBlock &MBB, in InsertBranch()
/NextBSD/contrib/llvm/lib/Target/AArch64/
HDAArch64A53Fix835769.cpp114 for (auto &MBB : F) { in runOnMachineFunction() local
122 static MachineBasicBlock *getBBFallenThrough(MachineBasicBlock *MBB, in getBBFallenThrough()
147 static MachineInstr *getLastNonPseudo(MachineBasicBlock &MBB, in getLastNonPseudo()
164 static void insertNopBeforeInstruction(MachineBasicBlock &MBB, MachineInstr* MI, in insertNopBeforeInstruction()
183 AArch64A53Fix835769::runOnBasicBlock(MachineBasicBlock &MBB) { in runOnBasicBlock()
/NextBSD/contrib/llvm/lib/Target/Hexagon/
HDHexagonFrameLowering.h31 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const in emitEpilogue()
33 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB, in spillCalleeSavedRegisters()
38 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB, in restoreCalleeSavedRegisters()
/NextBSD/contrib/llvm/lib/CodeGen/
HDPHIElimination.cpp146 for (auto &MBB : MF) in runOnMachineFunction() local
154 for (auto &MBB : MF) in runOnMachineFunction() local
186 MachineBasicBlock &MBB) { in EliminatePHINodes()
224 void PHIElimination::LowerPHINode(MachineBasicBlock &MBB, in LowerPHINode()
538 for (const auto &MBB : MF) in analyzePHINodes() local
549 MachineBasicBlock &MBB, in SplitPHIEdges()
626 bool PHIElimination::isLiveIn(unsigned Reg, const MachineBasicBlock *MBB) { in isLiveIn()
636 const MachineBasicBlock *MBB) { in isLiveOutPastPHIs()
HDMachineTraceMetrics.cpp85 MachineTraceMetrics::getResources(const MachineBasicBlock *MBB) { in getResources()
164 computeDepthResources(const MachineBasicBlock *MBB) { in computeDepthResources()
197 computeHeightResources(const MachineBasicBlock *MBB) { in computeHeightResources()
313 MinInstrCountEnsemble::pickTracePred(const MachineBasicBlock *MBB) { in pickTracePred()
339 MinInstrCountEnsemble::pickTraceSucc(const MachineBasicBlock *MBB) { in pickTraceSucc()
380 void MachineTraceMetrics::invalidate(const MachineBasicBlock *MBB) { in invalidate()
453 void MachineTraceMetrics::Ensemble::computeTrace(const MachineBasicBlock *MBB) { in computeTrace()
507 const MachineBasicBlock *MBB = WorkList.pop_back_val(); in invalidate() local
532 const MachineBasicBlock *MBB = WorkList.pop_back_val(); in invalidate() local
568 const MachineBasicBlock *MBB = MTM.MF->getBlockNumbered(Num); in verify() local
[all …]
HDBranchFolding.cpp121 void BranchFolder::RemoveDeadBlock(MachineBasicBlock *MBB) { in RemoveDeadBlock()
146 bool BranchFolder::OptimizeImpDefsBlock(MachineBasicBlock *MBB) { in OptimizeImpDefsBlock()
212 MachineBasicBlock *MBB = I, *TBB = nullptr, *FBB = nullptr; in OptimizeFunction() local
308 static unsigned HashEndOfMBB(const MachineBasicBlock *MBB) { in HashEndOfMBB()
524 void BranchFolder::MBFIWrapper::setBlockFreq(const MachineBasicBlock *MBB, in setBlockFreq()
532 static unsigned CountTerminators(MachineBasicBlock *MBB, in CountTerminators()
702 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in CreateCommonTailOnlyBlock() local
748 MachineBasicBlock *MBB = MBBIStartPos->getParent(); in removeMMOsFromMemoryOperations() local
861 MachineBasicBlock *MBB = SameTails[i].getBlock(); in TryTailMergeBlocks() local
885 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in TryTailMergeBlocks() local
[all …]
HDLivePhysRegs.cpp130 static void addLiveIns(LivePhysRegs &LiveRegs, const MachineBasicBlock &MBB) { in addLiveIns()
149 void LivePhysRegs::addLiveOuts(const MachineBasicBlock *MBB, in addLiveOuts()
159 void LivePhysRegs::addLiveIns(const MachineBasicBlock *MBB, in addLiveIns()
/NextBSD/contrib/llvm/lib/Target/MSP430/
HDMSP430InstrInfo.cpp37 void MSP430InstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB, in storeRegToStackSlot()
65 void MSP430InstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB, in loadRegFromStackSlot()
91 void MSP430InstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg()
172 bool MSP430InstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, in AnalyzeBranch()
263 MSP430InstrInfo::InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, in InsertBranch()
/NextBSD/contrib/llvm/include/llvm/Target/
HDTargetFrameLowering.h159 virtual bool spillCalleeSavedRegisters(MachineBasicBlock &MBB, in spillCalleeSavedRegisters()
170 virtual bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB, in restoreCalleeSavedRegisters()
258 MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr()
272 virtual bool canUseAsPrologue(const MachineBasicBlock &MBB) const { in canUseAsPrologue()
284 virtual bool canUseAsEpilogue(const MachineBasicBlock &MBB) const { in canUseAsEpilogue()
/NextBSD/contrib/llvm/lib/Target/X86/
HDX86PadShortFunction.cpp114 MachineBasicBlock *MBB; in runOnMachineFunction() local
146 void PadShortFunc::findReturns(MachineBasicBlock *MBB, unsigned int Cycles) { in findReturns()
170 bool PadShortFunc::cyclesUntilReturn(MachineBasicBlock *MBB, in cyclesUntilReturn()
205 void PadShortFunc::addPadding(MachineBasicBlock *MBB, in addPadding()
/NextBSD/contrib/llvm/lib/Target/XCore/
HDXCoreInstrInfo.cpp194 XCoreInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, in AnalyzeBranch()
277 XCoreInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB, in InsertBranch()
332 void XCoreInstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg()
359 void XCoreInstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB, in storeRegToStackSlot()
383 void XCoreInstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB, in loadRegFromStackSlot()
432 MachineBasicBlock &MBB, in loadImmediate()
HDXCoreRegisterInfo.cpp66 MachineBasicBlock &MBB = *MI.getParent(); in InsertFPImmInst() local
99 MachineBasicBlock &MBB = *MI.getParent(); in InsertFPConstInst() local
133 MachineBasicBlock &MBB = *MI.getParent(); in InsertSPImmInst() local
167 MachineBasicBlock &MBB = *MI.getParent(); in InsertSPConstInst() local
321 MachineBasicBlock &MBB = *MI.getParent(); in eliminateFrameIndex() local
HDXCoreFrameLowering.cpp62 static void EmitDefCfaRegister(MachineBasicBlock &MBB, in EmitDefCfaRegister()
72 static void EmitDefCfaOffset(MachineBasicBlock &MBB, in EmitDefCfaOffset()
82 static void EmitCfiOffset(MachineBasicBlock &MBB, in EmitCfiOffset()
98 static void IfNeededExtSP(MachineBasicBlock &MBB, in IfNeededExtSP()
122 static void IfNeededLDAWSP(MachineBasicBlock &MBB, in IfNeededLDAWSP()
177 getFrameIndexMMO(MachineBasicBlock &MBB, int FrameIndex, unsigned flags) { in getFrameIndexMMO()
192 RestoreSpillList(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in RestoreSpillList()
409 spillCalleeSavedRegisters(MachineBasicBlock &MBB, in spillCalleeSavedRegisters()
445 restoreCalleeSavedRegisters(MachineBasicBlock &MBB, in restoreCalleeSavedRegisters()
480 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr()
/NextBSD/contrib/llvm/lib/Target/NVPTX/
HDNVPTXPeephole.cpp75 auto &MBB = *Root.getParent(); in isCVTAToLocalCombinationCandidate() local
106 auto &MBB = *Root.getParent(); in CombineCVTAToLocal() local
130 for (auto &MBB : MF) { in runOnMachineFunction() local
/NextBSD/contrib/llvm/lib/Target/Sparc/
HDSparcInstrInfo.cpp127 bool SparcInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, in AnalyzeBranch()
230 SparcInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB, in InsertBranch()
280 void SparcInstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg()
359 storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in storeRegToStackSlot()
397 loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in loadRegFromStackSlot()
/NextBSD/contrib/llvm/lib/Target/ARM/
HDThumb1InstrInfo.cpp40 void Thumb1InstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg()
71 storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in storeRegToStackSlot()
99 loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in loadRegFromStackSlot()
HDThumb2InstrInfo.cpp51 MachineBasicBlock *MBB = Tail->getParent(); in ReplaceTailWithBranchTo() local
100 Thumb2InstrInfo::isLegalToSplitMBBAt(MachineBasicBlock &MBB, in isLegalToSplitMBBAt()
112 void Thumb2InstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg()
125 storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in storeRegToStackSlot()
168 loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in loadRegFromStackSlot()
220 void llvm::emitT2RegPlusImmediate(MachineBasicBlock &MBB, in emitT2RegPlusImmediate()
/NextBSD/contrib/llvm/lib/Target/PowerPC/
HDPPCRegisterInfo.cpp324 MachineBasicBlock &MBB = *MI.getParent(); in lowerDynamicAlloc() local
446 MachineBasicBlock &MBB = *MI.getParent(); in lowerCRSpilling() local
491 MachineBasicBlock &MBB = *MI.getParent(); in lowerCRRestore() local
534 MachineBasicBlock &MBB = *MI.getParent(); in lowerCRBitSpilling() local
578 MachineBasicBlock &MBB = *MI.getParent(); in lowerCRBitRestore() local
626 MachineBasicBlock &MBB = *MI.getParent(); in lowerVRSAVESpilling() local
652 MachineBasicBlock &MBB = *MI.getParent(); in lowerVRSAVERestore() local
734 MachineBasicBlock &MBB = *MI.getParent(); in eliminateFrameIndex() local
945 MachineBasicBlock &MBB = *MI->getParent(); in needsFrameBaseReg() local
969 materializeFrameBaseRegister(MachineBasicBlock *MBB, in materializeFrameBaseRegister()
[all …]

123456789