| /external/llvm/lib/Target/AMDGPU/ |
| D | SILowerControlFlow.cpp | 125 for (MachineBasicBlock *MBB = From; MBB != To && !MBB->succ_empty(); in shouldSkip() local 152 MachineBasicBlock &MBB = *MI.getParent(); in SkipIfDead() local 184 MachineBasicBlock &MBB = *MI.getParent(); in If() local 202 MachineBasicBlock &MBB = *MI.getParent(); in Else() local 221 MachineBasicBlock &MBB = *MI.getParent(); in Break() local 235 MachineBasicBlock &MBB = *MI.getParent(); in IfBreak() local 250 MachineBasicBlock &MBB = *MI.getParent(); in ElseBreak() local 265 MachineBasicBlock &MBB = *MI.getParent(); in Loop() local 280 MachineBasicBlock &MBB = *MI.getParent(); in EndCf() local 300 MachineBasicBlock &MBB = *MI.getParent(); in Kill() local [all …]
|
| D | AMDILCFGStructurizer.cpp | 471 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 …]
|
| /external/llvm/lib/Target/WebAssembly/ |
| D | WebAssemblyCFGStackify.cpp | 106 MachineBasicBlock *MBB; member 115 const MachineBasicBlock *MBB) { in LoopContains() 119 POStackEntry::POStackEntry(MachineBasicBlock *MBB, MachineFunction &MF, in POStackEntry() 196 MachineBasicBlock &MBB = *Entry.MBB; in SortBlocks() local 224 for (auto &MBB : MF) { in SortBlocks() local 259 static bool ExplicitlyBranchesTo(MachineBasicBlock *Pred, MachineBasicBlock *MBB) { in ExplicitlyBranchesTo() 268 static void PlaceBlockMarker(MachineBasicBlock &MBB, MachineFunction &MF, in PlaceBlockMarker() 343 static void PlaceLoopMarker(MachineBasicBlock &MBB, MachineFunction &MF, in PlaceLoopMarker() 390 for (auto &MBB : MF) { in PlaceMarkers() local 402 const MachineBasicBlock *MBB) { in IsOnStack() [all …]
|
| D | WebAssemblyInstrInfo.cpp | 35 void WebAssemblyInstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() 63 bool WebAssemblyInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, in AnalyzeBranch() 123 unsigned WebAssemblyInstrInfo::InsertBranch(MachineBasicBlock &MBB, in InsertBranch()
|
| /external/llvm/lib/Target/BPF/ |
| D | BPFInstrInfo.cpp | 34 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()
|
| /external/llvm/lib/Target/Mips/ |
| D | MipsSEInstrInfo.cpp | 79 void MipsSEInstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() 180 storeRegToStack(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in storeRegToStack() 249 loadRegFromStack(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in loadRegFromStack() 329 MachineBasicBlock &MBB = *MI->getParent(); in expandPostRAPseudo() local 428 MachineBasicBlock &MBB, in adjustStackPtr() 449 MipsSEInstrInfo::loadImmediate(int64_t Imm, MachineBasicBlock &MBB, in loadImmediate() 500 void MipsSEInstrInfo::expandRetRA(MachineBasicBlock &MBB, in expandRetRA() 509 void MipsSEInstrInfo::expandERet(MachineBasicBlock &MBB, in expandERet() 526 void MipsSEInstrInfo::expandPseudoMFHiLo(MachineBasicBlock &MBB, in expandPseudoMFHiLo() 532 void MipsSEInstrInfo::expandPseudoMTLoHi(MachineBasicBlock &MBB, in expandPseudoMTLoHi() [all …]
|
| D | Mips16InstrInfo.cpp | 61 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 …]
|
| D | MipsInstrInfo.cpp | 51 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()
|
| /external/llvm/lib/Target/AArch64/ |
| D | AArch64A53Fix835769.cpp | 114 for (auto &MBB : F) { in runOnMachineFunction() local 122 static MachineBasicBlock *getBBFallenThrough(MachineBasicBlock *MBB, in getBBFallenThrough() 147 static MachineInstr *getLastNonPseudo(MachineBasicBlock &MBB, in getLastNonPseudo() 163 static void insertNopBeforeInstruction(MachineBasicBlock &MBB, MachineInstr* MI, in insertNopBeforeInstruction() 182 AArch64A53Fix835769::runOnBasicBlock(MachineBasicBlock &MBB) { in runOnBasicBlock()
|
| /external/llvm/lib/Target/Hexagon/ |
| D | HexagonFrameLowering.h | 31 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const in emitEpilogue() 33 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB, in spillCalleeSavedRegisters() 38 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB, in restoreCalleeSavedRegisters()
|
| /external/llvm/lib/CodeGen/ |
| D | PHIElimination.cpp | 146 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()
|
| D | MachineTraceMetrics.cpp | 85 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 …]
|
| D | BranchFolding.cpp | 123 void BranchFolder::RemoveDeadBlock(MachineBasicBlock *MBB) { in RemoveDeadBlock() 149 bool BranchFolder::OptimizeImpDefsBlock(MachineBasicBlock *MBB) { in OptimizeImpDefsBlock() 314 static unsigned HashEndOfMBB(const MachineBasicBlock *MBB) { in HashEndOfMBB() 535 void BranchFolder::MBFIWrapper::setBlockFreq(const MachineBasicBlock *MBB, in setBlockFreq() 543 static unsigned CountTerminators(MachineBasicBlock *MBB, in CountTerminators() 719 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in CreateCommonTailOnlyBlock() local 765 MachineBasicBlock *MBB = MBBIStartPos->getParent(); in removeMMOsFromMemoryOperations() local 878 MachineBasicBlock *MBB = SameTails[i].getBlock(); in TryTailMergeBlocks() local 902 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in TryTailMergeBlocks() local 1131 MachineBasicBlock *MBB = &*I++; in OptimizeBranches() local [all …]
|
| /external/llvm/lib/Target/MSP430/ |
| D | MSP430InstrInfo.cpp | 37 void MSP430InstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB, in storeRegToStackSlot() 64 void MSP430InstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB, in loadRegFromStackSlot() 89 void MSP430InstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() 170 bool MSP430InstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, in AnalyzeBranch() 261 MSP430InstrInfo::InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, in InsertBranch()
|
| /external/llvm/lib/Target/X86/ |
| D | X86PadShortFunction.cpp | 113 MachineBasicBlock *MBB; in runOnMachineFunction() local 145 void PadShortFunc::findReturns(MachineBasicBlock *MBB, unsigned int Cycles) { in findReturns() 169 bool PadShortFunc::cyclesUntilReturn(MachineBasicBlock *MBB, in cyclesUntilReturn() 204 void PadShortFunc::addPadding(MachineBasicBlock *MBB, in addPadding()
|
| D | X86OptimizeLEAs.cpp | 102 const MachineBasicBlock *MBB = First.getParent(); in calcInstrDist() local 220 void OptimizeLEAPass::findLEAs(const MachineBasicBlock &MBB, in findLEAs() 236 MachineBasicBlock *MBB = List[0]->getParent(); in removeRedundantAddrCalc() local 311 for (auto &MBB : MF) { in runOnMachineFunction() local
|
| /external/llvm/include/llvm/Target/ |
| D | TargetFrameLowering.h | 185 virtual bool spillCalleeSavedRegisters(MachineBasicBlock &MBB, in spillCalleeSavedRegisters() 196 virtual bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB, in restoreCalleeSavedRegisters() 285 MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr() 299 virtual bool canUseAsPrologue(const MachineBasicBlock &MBB) const { in canUseAsPrologue() 311 virtual bool canUseAsEpilogue(const MachineBasicBlock &MBB) const { in canUseAsEpilogue()
|
| /external/llvm/lib/Target/NVPTX/ |
| D | NVPTXPeephole.cpp | 75 auto &MBB = *Root.getParent(); in isCVTAToLocalCombinationCandidate() local 106 auto &MBB = *Root.getParent(); in CombineCVTAToLocal() local 130 for (auto &MBB : MF) { in runOnMachineFunction() local
|
| /external/llvm/lib/Target/PowerPC/ |
| D | PPCRegisterInfo.cpp | 324 MachineBasicBlock &MBB = *MI.getParent(); in lowerDynamicAlloc() local 438 MachineBasicBlock &MBB = *MI.getParent(); in lowerDynamicAreaOffset() local 467 MachineBasicBlock &MBB = *MI.getParent(); in lowerCRSpilling() local 512 MachineBasicBlock &MBB = *MI.getParent(); in lowerCRRestore() local 555 MachineBasicBlock &MBB = *MI.getParent(); in lowerCRBitSpilling() local 599 MachineBasicBlock &MBB = *MI.getParent(); in lowerCRBitRestore() local 649 MachineBasicBlock &MBB = *MI.getParent(); in lowerVRSAVESpilling() local 675 MachineBasicBlock &MBB = *MI.getParent(); in lowerVRSAVERestore() local 756 MachineBasicBlock &MBB = *MI.getParent(); in eliminateFrameIndex() local 955 MachineBasicBlock &MBB = *MI->getParent(); in needsFrameBaseReg() local [all …]
|
| /external/llvm/lib/Target/XCore/ |
| D | XCoreInstrInfo.cpp | 194 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() 382 void XCoreInstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB, in loadRegFromStackSlot() 430 MachineBasicBlock &MBB, in loadImmediate()
|
| D | XCoreRegisterInfo.cpp | 66 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
|
| D | XCoreFrameLowering.cpp | 62 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() 191 RestoreSpillList(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in RestoreSpillList() 415 spillCalleeSavedRegisters(MachineBasicBlock &MBB, in spillCalleeSavedRegisters() 451 restoreCalleeSavedRegisters(MachineBasicBlock &MBB, in restoreCalleeSavedRegisters() 486 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr()
|
| /external/llvm/lib/Target/ARM/ |
| D | Thumb1InstrInfo.cpp | 40 void Thumb1InstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() 71 storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in storeRegToStackSlot() 97 loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in loadRegFromStackSlot()
|
| D | Thumb2InstrInfo.cpp | 51 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() 166 loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in loadRegFromStackSlot() 216 void llvm::emitT2RegPlusImmediate(MachineBasicBlock &MBB, in emitT2RegPlusImmediate()
|
| /external/llvm/lib/Target/Sparc/ |
| D | SparcInstrInfo.cpp | 127 bool SparcInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, in AnalyzeBranch() 230 SparcInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB, in InsertBranch() 280 void SparcInstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() 370 storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in storeRegToStackSlot() 409 loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in loadRegFromStackSlot()
|