Home
last modified time | relevance | path

Searched refs:getFirstTerminator (Results 1 – 25 of 38) sorted by relevance

12

/external/llvm/lib/CodeGen/
DEarlyIfConversion.cpp197 E = MBB->getFirstTerminator(); I != E; ++I) { in canSpeculateInstrs()
275 MachineBasicBlock::iterator FirstTerm = Head->getFirstTerminator(); in findInsertionPoint()
455 MachineBasicBlock::iterator FirstTerm = Head->getFirstTerminator(); in replacePHIInstrs()
475 MachineBasicBlock::iterator FirstTerm = Head->getFirstTerminator(); in rewritePHIOperands()
528 Head->splice(InsertionPoint, TBB, TBB->begin(), TBB->getFirstTerminator()); in convertIf()
530 Head->splice(InsertionPoint, FBB, FBB->begin(), FBB->getFirstTerminator()); in convertIf()
549 DebugLoc HeadDL = Head->getFirstTerminator()->getDebugLoc(); in convertIf()
721 HeadTrace.getInstrCycles(IfConv.Head->getFirstTerminator()).Depth; in shouldConvertIf()
DPHIEliminationUtils.cpp32 return MBB->getFirstTerminator(); in findPHICopyInsertPoint()
DMachineSSAUpdater.cpp152 BB, BB->getFirstTerminator(), in GetValueInMiddleOfBlock()
289 BB, BB->getFirstTerminator(), in GetUndefVal()
DPHIElimination.cpp428 MachineBasicBlock::iterator FirstTerm = opBlock.getFirstTerminator(); in LowerPHINode()
488 MachineBasicBlock::iterator FirstTerm = opBlock.getFirstTerminator(); in LowerPHINode()
DTailDuplication.cpp843 MachineBasicBlock::iterator Loc = PredBB->getFirstTerminator(); in TailDuplicate()
904 MachineBasicBlock::iterator Loc = PrevBB->getFirstTerminator(); in TailDuplicate()
965 MachineBasicBlock::iterator Loc = PredBB->getFirstTerminator(); in TailDuplicate()
DMachineLICM.cpp477 MachineBasicBlock::iterator TI = Preheader->getFirstTerminator(); in HoistRegionPostRA()
560 Preheader->splice(Preheader->getFirstTerminator(), MBB, MI); in HoistPostRA()
1355 Preheader->splice(Preheader->getFirstTerminator(),MI->getParent(),MI); in Hoist()
DRegisterScavenging.cpp298 MachineBasicBlock::iterator ME = MBB->getFirstTerminator(); in findSurvivorReg()
DMachineBasicBlock.cpp162 MachineBasicBlock::iterator MachineBasicBlock::getFirstTerminator() { in getFirstTerminator() function in MachineBasicBlock
941 LIS->repairIntervalsInRange(this, getFirstTerminator(), end(), UsedRegs); in SplitCriticalEdge()
DAnalysis.cpp706 MachineBasicBlock::const_iterator MBBI = MBB.getFirstTerminator(); in getFuncletMembership()
/external/llvm/lib/Target/AArch64/
DAArch64ConditionalCompares.cpp299 MachineBasicBlock::iterator I = MBB->getFirstTerminator(); in findConvertibleCompare()
393 for (auto &I : make_range(MBB->begin(), MBB->getFirstTerminator())) { in canSpeculateInstrs()
573 DebugLoc TermDL = Head->getFirstTerminator()->getDebugLoc(); in convert()
852 Trace.getInstrCycles(CmpConv.Head->getFirstTerminator()).Depth; in shouldConvert()
854 Trace.getInstrCycles(CmpConv.CmpBB->getFirstTerminator()).Depth; in shouldConvert()
DAArch64ConditionOptimizer.cpp140 MachineBasicBlock::iterator I = MBB->getFirstTerminator(); in findSuitableCompare()
271 MachineInstr *BrMI = MBB->getFirstTerminator(); in modifyCmp()
DAArch64BranchRelaxation.cpp467 MachineInstr *MI = MBB.getFirstTerminator(); in relaxBranchInstructions()
DAArch64FrameLowering.cpp609 MachineBasicBlock::iterator LastPopI = MBB.getFirstTerminator(); in emitEpilogue()
/external/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp223 MachineBasicBlock::const_iterator T1I = B->getFirstTerminator(); in matchFlowPattern()
328 MachineBasicBlock::const_iterator I = B->getFirstTerminator(), E = B->end(); in hasUncondBranch()
502 TS = std::distance(FP.TrueB->begin(), FP.TrueB->getFirstTerminator()); in isProfitable()
507 FS = std::distance(FP.FalseB->begin(), FP.FalseB->getFirstTerminator()); in isProfitable()
761 MachineBasicBlock::iterator End = FromB->getFirstTerminator(); in predicateBlockNB()
809 MachineBasicBlock::iterator MuxAt = FP.SplitB->getFirstTerminator(); in updatePhiNodes()
827 MachineBasicBlock::iterator OldTI = FP.SplitB->getFirstTerminator(); in convert()
837 MachineBasicBlock::iterator At = FP.SplitB->getFirstTerminator(); in convert()
DHexagonCFGOptimizer.cpp108 MachineBasicBlock::iterator MII = MBB->getFirstTerminator(); in runOnMachineFunction()
DHexagonFrameLowering.cpp278 for (auto I = MBB.getFirstTerminator(), E = MBB.end(); I != E; ++I) in hasReturn()
521 MachineBasicBlock::iterator InsertPt = MBB.getFirstTerminator(); in insertEpilogueInBlock()
960 MachineBasicBlock::iterator MI = MBB.getFirstTerminator(); in insertCSRRestoresInBlock()
981 MachineBasicBlock::iterator It = MBB.getFirstTerminator(); in insertCSRRestoresInBlock()
DHexagonHardwareLoops.cpp790 MachineBasicBlock::iterator InsertPos = PH->getFirstTerminator(); in computeCount()
1144 MachineBasicBlock::iterator LastI = LastMBB->getFirstTerminator(); in convertToHardwareLoop()
1161 MachineBasicBlock::iterator InsertPos = Preheader->getFirstTerminator(); in convertToHardwareLoop()
/external/llvm/include/llvm/CodeGen/
DMachineBasicBlock.h275 return make_range(getFirstTerminator(), end());
278 return make_range(getFirstTerminator(), end());
532 iterator getFirstTerminator();
533 const_iterator getFirstTerminator() const {
534 return const_cast<MachineBasicBlock *>(this)->getFirstTerminator();
/external/llvm/lib/Target/AMDGPU/
DSIFixSGPRLiveRanges.cpp163 MachineBasicBlock::iterator NCDTerm = NCD->getFirstTerminator(); in runOnMachineFunction()
DSIInsertWaits.cpp490 Changes |= insertWait(MBB, MBB.getFirstTerminator(), LastIssued); in runOnMachineFunction()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyFrameLowering.cpp151 auto InsertPt = MBB.getFirstTerminator(); in emitEpilogue()
DWebAssemblyCFGStackify.cpp325 InsertPos = Header->getFirstTerminator(); in PlaceBlockMarker()
/external/llvm/lib/Target/ARM/
DThumb1FrameLowering.cpp325 MachineBasicBlock::iterator MBBI = MBB.getFirstTerminator(); in emitEpilogue()
433 auto MBBI = MBB.getFirstTerminator(); in emitPopSpecialFixUp()
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp685 for (MachineBasicBlock::iterator MII = MBB->getFirstTerminator(), in runOnMachineFunction()
DPPCFrameLowering.cpp579 MachineBasicBlock::iterator MBBI = MBB->getFirstTerminator(); in findScratchRegister()
982 MachineBasicBlock::iterator MBBI = MBB.getFirstTerminator(); in emitEpilogue()

12