Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DEarlyIfConversion.cpp213 E = MBB->getFirstTerminator(); I != E; ++I) { in canSpeculateInstrs()
307 E = MBB->getFirstTerminator(); in canPredicateInstrs()
344 E = MBB->getFirstTerminator(); in PredicateBlock()
367 MachineBasicBlock::iterator FirstTerm = Head->getFirstTerminator(); in findInsertionPoint()
562 MachineBasicBlock::iterator FirstTerm = Head->getFirstTerminator(); in replacePHIInstrs()
582 MachineBasicBlock::iterator FirstTerm = Head->getFirstTerminator(); in rewritePHIOperands()
638 Head->splice(InsertionPoint, TBB, TBB->begin(), TBB->getFirstTerminator()); in convertIf()
643 Head->splice(InsertionPoint, FBB, FBB->begin(), FBB->getFirstTerminator()); in convertIf()
662 DebugLoc HeadDL = Head->getFirstTerminator()->getDebugLoc(); in convertIf()
835 HeadTrace.getInstrCycles(*IfConv.Head->getFirstTerminator()).Depth; in shouldConvertIf()
DPHIEliminationUtils.cpp31 return MBB->getFirstTerminator(); in findPHICopyInsertPoint()
DBranchRelaxation.cpp511 for (MachineBasicBlock::iterator J = MBB.getFirstTerminator(); in relaxBranchInstructions()
533 Next = MBB.getFirstTerminator(); in relaxBranchInstructions()
DPHIElimination.cpp443 MachineBasicBlock::iterator FirstTerm = opBlock.getFirstTerminator(); in LowerPHINode()
503 MachineBasicBlock::iterator FirstTerm = opBlock.getFirstTerminator(); in LowerPHINode()
DIfConversion.cpp1990 MachineBasicBlock::iterator BBI1T = MBB1.getFirstTerminator(); in IfConvertDiamondCommon()
1991 MachineBasicBlock::iterator BBI2T = MBB2.getFirstTerminator(); in IfConvertDiamondCommon()
2018 MachineBasicBlock::iterator TIE = TrueBBI.BB->getFirstTerminator(); in IfConvertForkedDiamond()
2083 MachineBasicBlock::const_iterator TI = BBI.BB->getFirstTerminator(); in IfConvertDiamond()
2251 MachineBasicBlock::iterator FromTI = FromMBB.getFirstTerminator(); in MergeBlocks()
2252 MachineBasicBlock::iterator ToTI = ToBBI.BB->getFirstTerminator(); in MergeBlocks()
DMachineLICM.cpp559 MachineBasicBlock::iterator TI = Preheader->getFirstTerminator(); in HoistRegionPostRA()
636 Preheader->splice(Preheader->getFirstTerminator(), MBB, MI); in HoistPostRA()
1517 Preheader->splice(Preheader->getFirstTerminator(),MI->getParent(),MI); in Hoist()
DMachineSSAUpdater.cpp153 BB, BB->getFirstTerminator(), in GetValueInMiddleOfBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ConditionalCompares.cpp300 MachineBasicBlock::iterator I = MBB->getFirstTerminator(); in findConvertibleCompare()
395 for (auto &I : make_range(MBB->begin(), MBB->getFirstTerminator())) { in canSpeculateInstrs()
612 DebugLoc TermDL = Head->getFirstTerminator()->getDebugLoc(); in convert()
889 Trace.getInstrCycles(*CmpConv.Head->getFirstTerminator()).Depth; in shouldConvert()
891 Trace.getInstrCycles(*CmpConv.CmpBB->getFirstTerminator()).Depth; in shouldConvert()
DAArch64ConditionOptimizer.cpp148 MachineBasicBlock::iterator I = MBB->getFirstTerminator(); in findSuitableCompare()
289 MachineInstr &BrMI = *MBB->getFirstTerminator(); in modifyCmp()
DAArch64FrameLowering.cpp1140 while (IsSVECalleeSave(MBBI) && MBBI != MBB.getFirstTerminator()) in emitPrologue()
1337 MachineBasicBlock::iterator MBBI = MBB.getFirstTerminator(); in InsertReturnAddressAuth()
1470 MachineBasicBlock::iterator Pop = std::prev(MBB.getFirstTerminator()); in emitEpilogue()
1492 MachineBasicBlock::iterator LastPopI = MBB.getFirstTerminator(); in emitEpilogue()
1516 emitFrameOffset(MBB, MBB.getFirstTerminator(), DL, AArch64::SP, AArch64::SP, in emitEpilogue()
1520 BuildMI(MBB, MBB.getFirstTerminator(), DL, in emitEpilogue()
1595 adaptForLdStOpt(MBB, MBB.getFirstTerminator(), LastPopI); in emitEpilogue()
1603 BuildMI(MBB, MBB.getFirstTerminator(), DL, in emitEpilogue()
1635 auto FirstSPPopI = MBB.getFirstTerminator(); in emitEpilogue()
1651 BuildMI(MBB, MBB.getFirstTerminator(), DL, TII->get(AArch64::SEH_EpilogEnd)) in emitEpilogue()
DAArch64CondBrTuning.cpp306 for (MachineBasicBlock::iterator I = MBB.getFirstTerminator(), in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineBasicBlock.h237 return make_range(getFirstTerminator(), end());
240 return make_range(getFirstTerminator(), end());
551 iterator getFirstTerminator();
552 const_iterator getFirstTerminator() const {
553 return const_cast<MachineBasicBlock *>(this)->getFirstTerminator();
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp247 MachineBasicBlock::const_iterator T1I = B->getFirstTerminator(); in matchFlowPattern()
352 MachineBasicBlock::const_iterator I = B->getFirstTerminator(), E = B->end(); in hasUncondBranch()
545 unsigned T = std::count_if(B->begin(), B->getFirstTerminator(), in isProfitable()
764 MachineBasicBlock::iterator End = FromB->getFirstTerminator(); in predicateBlockNB()
843 MuxR = buildMux(FP.SplitB, FP.SplitB->getFirstTerminator(), RC, in updatePhiNodes()
861 MachineBasicBlock::iterator OldTI = FP.SplitB->getFirstTerminator(); in convert()
871 MachineBasicBlock::iterator At = FP.SplitB->getFirstTerminator(); in convert()
DHexagonCFGOptimizer.cpp125 MachineBasicBlock::iterator MII = MBB->getFirstTerminator(); in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZMachineScheduler.cpp108 for (MachineBasicBlock::iterator I = SinglePredMBB->getFirstTerminator(); in enterMBB()
125 advanceTo(MBB->getFirstTerminator()); in leaveMBB()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyCFGStackify.cpp229 if (Pred->getFirstTerminator()->getOpcode() == WebAssembly::BR_ON_EXN) { in placeBlockMarker()
232 BrOnExn = &*Pred->getFirstTerminator(); in placeBlockMarker()
300 for (auto I = Header->getFirstTerminator(), E = Header->begin(); I != E; in placeBlockMarker()
537 auto TermPos = Header->getFirstTerminator(); in placeTryMarker()
564 : Header->getFirstTerminator(); in placeTryMarker()
DWebAssemblyFrameLowering.cpp232 auto InsertPt = MBB.getFirstTerminator(); in emitEpilogue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUMachineCFGStructurizer.cpp1872 ? SinglePred->findDebugLoc(SinglePred->getFirstTerminator()) in createIfBlock()
1911 const DebugLoc &DL = CodeBB->findDebugLoc(CodeBB->getFirstTerminator()); in rewriteCodeBBTerminator()
1916 TII->materializeImmediate(*CodeBB, CodeBB->getFirstTerminator(), DL, in rewriteCodeBBTerminator()
1931 TII->materializeImmediate(*CodeBB, CodeBB->getFirstTerminator(), DL, in rewriteCodeBBTerminator()
1937 TII->materializeImmediate(*CodeBB, CodeBB->getFirstTerminator(), DL, in rewriteCodeBBTerminator()
1939 TII->materializeImmediate(*CodeBB, CodeBB->getFirstTerminator(), DL, in rewriteCodeBBTerminator()
1942 TII->insertVectorSelect(*CodeBB, CodeBB->getFirstTerminator(), DL, in rewriteCodeBBTerminator()
2010 const DebugLoc &DL = IfBB->findDebugLoc(IfBB->getFirstTerminator()); in insertChainedPHI()
2011 TII->materializeImmediate(*IfBB, IfBB->getFirstTerminator(), DL, in insertChainedPHI()
2067 TII->materializeImmediate(*IfBB, IfBB->getFirstTerminator(), DebugLoc(), in rewriteLiveOutRegs()
[all …]
DSILowerSGPRSpills.cpp130 MachineBasicBlock::iterator I = RestoreBlock.getFirstTerminator(); in insertCSRRestores()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCBranchCoalescing.cpp656 SourceRegion.BranchBlock->getFirstTerminator(); in mergeCandidates()
665 : TargetRegion.BranchBlock->getFirstTerminator(); in mergeCandidates()
DPPCCTRLoops.cpp208 for (MachineBasicBlock::iterator MII = MBB->getFirstTerminator(), in runOnMachineFunction()
DPPCReduceCRLogicals.cpp231 auto FirstTerminator = NewMBB->getFirstTerminator(); in splitMBB()
665 auto FirstTerminator = MBB->getFirstTerminator(); in splitBlockOnBinaryCROp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMips16FrameLowering.cpp93 MachineBasicBlock::iterator MBBI = MBB.getFirstTerminator(); in emitEpilogue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DThumb1FrameLowering.cpp472 MachineBasicBlock::iterator MBBI = MBB.getFirstTerminator(); in emitEpilogue()
616 auto MBBI = MBB.getFirstTerminator(); in emitPopSpecialFixUp()
972 auto Terminator = MBB.getFirstTerminator(); in restoreCalleeSavedRegisters()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DRegBankSelect.h262 assert((Beginning || MBB.getFirstTerminator() == MBB.end()) && in InsertPoint()

123