/external/llvm/lib/Target/R600/ |
D | SILowerControlFlow.cpp | 119 for (MachineBasicBlock *MBB = From; MBB != To && !MBB->succ_empty(); in shouldSkip() local 147 MachineBasicBlock &MBB = *MI.getParent(); in SkipIfDead() local 180 MachineBasicBlock &MBB = *MI.getParent(); in If() local 198 MachineBasicBlock &MBB = *MI.getParent(); in Else() local 217 MachineBasicBlock &MBB = *MI.getParent(); in Break() local 231 MachineBasicBlock &MBB = *MI.getParent(); in IfBreak() local 246 MachineBasicBlock &MBB = *MI.getParent(); in ElseBreak() local 261 MachineBasicBlock &MBB = *MI.getParent(); in Loop() local 277 MachineBasicBlock &MBB = *MI.getParent(); in EndCf() local 297 MachineBasicBlock &MBB = *MI.getParent(); in Kill() local [all …]
|
D | AMDILCFGStructurizer.cpp | 468 void AMDGPUCFGStructurizer::insertInstrEnd(MachineBasicBlock *MBB, in insertInstrEnd() 477 MachineInstr *AMDGPUCFGStructurizer::insertInstrBefore(MachineBasicBlock *MBB, in insertInstrBefore() 492 MachineBasicBlock *MBB = OldMI->getParent(); in insertInstrBefore() local 504 MachineBasicBlock *MBB = OldMI->getParent(); in insertCondBranchBefore() local 525 void AMDGPUCFGStructurizer::insertCondBranchEnd(MachineBasicBlock *MBB, in insertCondBranchEnd() 580 MachineBasicBlock *MBB) { in setTrueBranch() 585 AMDGPUCFGStructurizer::getFalseBranch(MachineBasicBlock *MBB, in getFalseBranch() 617 DebugLoc AMDGPUCFGStructurizer::getLastDebugLocInBB(MachineBasicBlock *MBB) { in getLastDebugLocInBB() 630 MachineBasicBlock *MBB) { in getNormalBlockBranchInstr() 639 MachineBasicBlock *MBB) { in getLoopendBlockBranchInstr() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsSEInstrInfo.cpp | 82 void MipsSEInstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() 183 storeRegToStack(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in storeRegToStack() 226 loadRegFromStack(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in loadRegFromStack() 267 MachineBasicBlock &MBB = *MI->getParent(); in expandPostRAPseudo() local 361 MachineBasicBlock &MBB, in adjustStackPtr() 379 MipsSEInstrInfo::loadImmediate(int64_t Imm, MachineBasicBlock &MBB, in loadImmediate() 430 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 …]
|
D | Mips16InstrInfo.cpp | 64 void Mips16InstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() 97 storeRegToStack(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in storeRegToStack() 114 loadRegFromStack(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in loadRegFromStack() 130 MachineBasicBlock &MBB = *MI->getParent(); in expandPostRAPseudo() local 198 MachineBasicBlock &MBB, in makeFrame() 228 MachineBasicBlock &MBB, in restoreFrame() 264 MachineBasicBlock &MBB, in adjustStackPtrBig() 291 MachineBasicBlock &MBB, in adjustStackPtrBigUnrestricted() 298 MachineBasicBlock &MBB, in adjustStackPtr() 310 int64_t Imm, 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() 97 void MipsInstrInfo::BuildCondBr(MachineBasicBlock &MBB, in BuildCondBr() 117 InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, in InsertBranch() 184 AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, in AnalyzeBranch()
|
D | MipsSEFrameLowering.cpp | 87 bool ExpandPseudo::expandInstr(MachineBasicBlock &MBB, Iter I) { in expandInstr() 123 void ExpandPseudo::expandLoadCCond(MachineBasicBlock &MBB, Iter I) { in expandLoadCCond() 143 void ExpandPseudo::expandStoreCCond(MachineBasicBlock &MBB, Iter I) { in expandStoreCCond() 163 void ExpandPseudo::expandLoadACC(MachineBasicBlock &MBB, Iter I, in expandLoadACC() 192 void ExpandPseudo::expandStoreACC(MachineBasicBlock &MBB, Iter I, in expandStoreACC() 220 bool ExpandPseudo::expandCopy(MachineBasicBlock &MBB, Iter I) { in expandCopy() 230 bool ExpandPseudo::expandCopyACC(MachineBasicBlock &MBB, Iter I, in expandCopyACC() 276 MachineBasicBlock &MBB = MF.front(); in emitPrologue() local 449 spillCalleeSavedRegisters(MachineBasicBlock &MBB, in spillCalleeSavedRegisters() 493 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr()
|
D | Mips16FrameLowering.cpp | 36 MachineBasicBlock &MBB = MF.front(); in emitPrologue() local 104 spillCalleeSavedRegisters(MachineBasicBlock &MBB, in spillCalleeSavedRegisters() 132 bool Mips16FrameLowering::restoreCalleeSavedRegisters(MachineBasicBlock &MBB, in restoreCalleeSavedRegisters() 148 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64A53Fix835769.cpp | 117 for (auto &MBB : F) { in runOnMachineFunction() local 126 static MachineBasicBlock *getBBFallenThrough(MachineBasicBlock *MBB, in getBBFallenThrough() 151 static MachineInstr *getLastNonPseudo(MachineBasicBlock &MBB, in getLastNonPseudo() 168 static void insertNopBeforeInstruction(MachineBasicBlock &MBB, MachineInstr* MI, in insertNopBeforeInstruction() 187 AArch64A53Fix835769::runOnBasicBlock(MachineBasicBlock &MBB) { in runOnBasicBlock()
|
D | AArch64BranchRelaxation.cpp | 131 static bool BBHasFallthrough(MachineBasicBlock *MBB) { in BBHasFallthrough() 165 void AArch64BranchRelaxation::computeBlockSize(const MachineBasicBlock &MBB) { in computeBlockSize() 176 MachineBasicBlock *MBB = MI->getParent(); in getInstrOffset() local 193 for (auto &MBB : make_range(MachineFunction::iterator(Start), MF->end())) { in adjustBlockOffsets() local 368 MachineBasicBlock *MBB = MI->getParent(); in fixupConditionalBranch() local
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430InstrInfo.cpp | 37 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()
|
D | MSP430FrameLowering.cpp | 42 MachineBasicBlock &MBB = MF.front(); // Prolog goes in entry BB in emitPrologue() local 180 MSP430FrameLowering::spillCalleeSavedRegisters(MachineBasicBlock &MBB, in spillCalleeSavedRegisters() 206 MSP430FrameLowering::restoreCalleeSavedRegisters(MachineBasicBlock &MBB, in restoreCalleeSavedRegisters() 226 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr()
|
/external/llvm/lib/Target/ARM/ |
D | Thumb1InstrInfo.cpp | 40 void Thumb1InstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() 51 storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in storeRegToStackSlot() 79 loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in loadRegFromStackSlot()
|
D | Thumb2InstrInfo.cpp | 52 MachineBasicBlock *MBB = Tail->getParent(); in ReplaceTailWithBranchTo() local 101 Thumb2InstrInfo::isLegalToSplitMBBAt(MachineBasicBlock &MBB, in isLegalToSplitMBBAt() 113 void Thumb2InstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() 126 storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in storeRegToStackSlot() 169 loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in loadRegFromStackSlot() 212 void llvm::emitT2RegPlusImmediate(MachineBasicBlock &MBB, in emitT2RegPlusImmediate()
|
/external/llvm/lib/Target/X86/ |
D | X86PadShortFunction.cpp | 117 MachineBasicBlock *MBB; in runOnMachineFunction() local 149 void PadShortFunc::findReturns(MachineBasicBlock *MBB, unsigned int Cycles) { in findReturns() 173 bool PadShortFunc::cyclesUntilReturn(MachineBasicBlock *MBB, in cyclesUntilReturn() 208 void PadShortFunc::addPadding(MachineBasicBlock *MBB, in addPadding()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreFrameLowering.cpp | 61 static void EmitDefCfaRegister(MachineBasicBlock &MBB, in EmitDefCfaRegister() 71 static void EmitDefCfaOffset(MachineBasicBlock &MBB, in EmitDefCfaOffset() 81 static void EmitCfiOffset(MachineBasicBlock &MBB, in EmitCfiOffset() 97 static void IfNeededExtSP(MachineBasicBlock &MBB, in IfNeededExtSP() 121 static void IfNeededLDAWSP(MachineBasicBlock &MBB, in IfNeededLDAWSP() 176 getFrameIndexMMO(MachineBasicBlock &MBB, int FrameIndex, unsigned flags) { in getFrameIndexMMO() 191 RestoreSpillList(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in RestoreSpillList() 223 MachineBasicBlock &MBB = MF.front(); // Prolog goes in entry BB in emitPrologue() local 408 spillCalleeSavedRegisters(MachineBasicBlock &MBB, in spillCalleeSavedRegisters() 444 restoreCalleeSavedRegisters(MachineBasicBlock &MBB, in restoreCalleeSavedRegisters() [all …]
|
D | XCoreInstrInfo.cpp | 194 XCoreInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, in AnalyzeBranch() 282 XCoreInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB, in InsertBranch() 341 void XCoreInstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() 368 void XCoreInstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB, in storeRegToStackSlot() 392 void XCoreInstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB, in loadRegFromStackSlot() 441 MachineBasicBlock &MBB, in loadImmediate()
|
D | XCoreRegisterInfo.cpp | 65 MachineBasicBlock &MBB = *MI.getParent(); in InsertFPImmInst() local 98 MachineBasicBlock &MBB = *MI.getParent(); in InsertFPConstInst() local 132 MachineBasicBlock &MBB = *MI.getParent(); in InsertSPImmInst() local 166 MachineBasicBlock &MBB = *MI.getParent(); in InsertSPConstInst() local 320 MachineBasicBlock &MBB = *MI.getParent(); in eliminateFrameIndex() local
|
/external/llvm/lib/Target/Sparc/ |
D | SparcInstrInfo.cpp | 128 bool SparcInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, in AnalyzeBranch() 231 SparcInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB, in InsertBranch() 281 void SparcInstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() 351 storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in storeRegToStackSlot() 389 loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in loadRegFromStackSlot()
|
D | SparcFrameLowering.cpp | 41 MachineBasicBlock &MBB, in emitSPAdjustment() 88 MachineBasicBlock &MBB = MF.front(); in emitPrologue() local 136 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr() 236 for (MachineFunction::iterator MBB = MF.begin(), E = MF.end(); in remapRegsForLeafProc() local
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonFixupHwLoops.cpp | 111 for (MachineFunction::iterator MBB = MF.begin(), MBBe = MF.end(); in fixupLoopInstrs() local 124 for (MachineFunction::iterator MBB = MF.begin(), MBBe = MF.end(); in fixupLoopInstrs() local 164 MachineBasicBlock *MBB = MII->getParent(); in convertLoopInstr() local
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCRegisterInfo.cpp | 275 MachineBasicBlock &MBB = *MI.getParent(); in lowerDynamicAlloc() local 395 MachineBasicBlock &MBB = *MI.getParent(); in lowerCRSpilling() local 439 MachineBasicBlock &MBB = *MI.getParent(); in lowerCRRestore() local 512 MachineBasicBlock &MBB = *MI.getParent(); in lowerCRBitSpilling() local 555 MachineBasicBlock &MBB = *MI.getParent(); in lowerCRBitRestore() local 602 MachineBasicBlock &MBB = *MI.getParent(); in lowerVRSAVESpilling() local 627 MachineBasicBlock &MBB = *MI.getParent(); in lowerVRSAVERestore() local 705 MachineBasicBlock &MBB = *MI.getParent(); in eliminateFrameIndex() local 916 MachineBasicBlock &MBB = *MI->getParent(); in needsFrameBaseReg() local 943 materializeFrameBaseRegister(MachineBasicBlock *MBB, in materializeFrameBaseRegister() [all …]
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXFrameLowering.cpp | 37 MachineBasicBlock &MBB = MF.front(); in emitPrologue() local 76 MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr()
|
/external/llvm/lib/CodeGen/ |
D | BranchFolding.cpp | 114 void BranchFolder::RemoveDeadBlock(MachineBasicBlock *MBB) { in RemoveDeadBlock() 139 bool BranchFolder::OptimizeImpDefsBlock(MachineBasicBlock *MBB) { in OptimizeImpDefsBlock() 205 MachineBasicBlock *MBB = I, *TBB = nullptr, *FBB = nullptr; in OptimizeFunction() local 294 static unsigned HashEndOfMBB(const MachineBasicBlock *MBB) { in HashEndOfMBB() 510 static unsigned CountTerminators(MachineBasicBlock *MBB, in CountTerminators() 681 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in CreateCommonTailOnlyBlock() local 784 MachineBasicBlock *MBB = SameTails[i].getBlock(); in TryTailMergeBlocks() local 808 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in TryTailMergeBlocks() local 983 MachineBasicBlock *MBB = I++; in OptimizeBranches() local 998 static bool IsEmptyBlock(MachineBasicBlock *MBB) { in IsEmptyBlock() [all …]
|
D | MachineTraceMetrics.cpp | 86 MachineTraceMetrics::getResources(const MachineBasicBlock *MBB) { in getResources() 166 computeDepthResources(const MachineBasicBlock *MBB) { in computeDepthResources() 199 computeHeightResources(const MachineBasicBlock *MBB) { in computeHeightResources() 317 MinInstrCountEnsemble::pickTracePred(const MachineBasicBlock *MBB) { in pickTracePred() 345 MinInstrCountEnsemble::pickTraceSucc(const MachineBasicBlock *MBB) { in pickTraceSucc() 388 void MachineTraceMetrics::invalidate(const MachineBasicBlock *MBB) { in invalidate() 461 void MachineTraceMetrics::Ensemble::computeTrace(const MachineBasicBlock *MBB) { in computeTrace() 519 const MachineBasicBlock *MBB = WorkList.pop_back_val(); in invalidate() local 545 const MachineBasicBlock *MBB = WorkList.pop_back_val(); in invalidate() local 582 const MachineBasicBlock *MBB = MTM.MF->getBlockNumbered(Num); in verify() local [all …]
|
D | LiveRangeCalc.cpp | 113 MachineBasicBlock *MBB = I->DomNode->getBlock(); in updateLiveIns() local 182 MachineBasicBlock *MBB = MF->getBlockNumbered(WorkList[i]); in findReachingDefs() local 266 MachineBasicBlock *MBB = MF->getBlockNumbered(*I); in findReachingDefs() local 294 MachineBasicBlock *MBB = Node->getBlock(); in updateSSA() local
|