Home
last modified time | relevance | path

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

123456

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DEarlyIfConversion.cpp197 E = MBB->getFirstTerminator(); I != E; ++I) { in canSpeculateInstrs()
276 MachineBasicBlock::iterator FirstTerm = Head->getFirstTerminator(); in findInsertionPoint()
456 MachineBasicBlock::iterator FirstTerm = Head->getFirstTerminator(); in replacePHIInstrs()
476 MachineBasicBlock::iterator FirstTerm = Head->getFirstTerminator(); in rewritePHIOperands()
529 Head->splice(InsertionPoint, TBB, TBB->begin(), TBB->getFirstTerminator()); in convertIf()
531 Head->splice(InsertionPoint, FBB, FBB->begin(), FBB->getFirstTerminator()); in convertIf()
550 DebugLoc HeadDL = Head->getFirstTerminator()->getDebugLoc(); in convertIf()
722 HeadTrace.getInstrCycles(*IfConv.Head->getFirstTerminator()).Depth; in shouldConvertIf()
DPHIEliminationUtils.cpp32 return MBB->getFirstTerminator(); in findPHICopyInsertPoint()
DMachineSSAUpdater.cpp154 BB, BB->getFirstTerminator(), in GetValueInMiddleOfBlock()
296 BB, BB->getFirstTerminator(), in GetUndefVal()
DBranchRelaxation.cpp513 for (MachineBasicBlock::iterator J = MBB.getFirstTerminator(); in relaxBranchInstructions()
535 Next = MBB.getFirstTerminator(); in relaxBranchInstructions()
/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.cpp151 BB, BB->getFirstTerminator(), in GetValueInMiddleOfBlock()
288 BB, BB->getFirstTerminator(), in GetUndefVal()
/external/llvm/lib/Target/AArch64/
DAArch64ConditionalCompares.cpp296 MachineBasicBlock::iterator I = MBB->getFirstTerminator(); in findConvertibleCompare()
390 for (auto &I : make_range(MBB->begin(), MBB->getFirstTerminator())) { in canSpeculateInstrs()
570 DebugLoc TermDL = Head->getFirstTerminator()->getDebugLoc(); in convert()
847 Trace.getInstrCycles(*CmpConv.Head->getFirstTerminator()).Depth; in shouldConvert()
849 Trace.getInstrCycles(*CmpConv.CmpBB->getFirstTerminator()).Depth; in shouldConvert()
DAArch64ConditionOptimizer.cpp139 MachineBasicBlock::iterator I = MBB->getFirstTerminator(); in findSuitableCompare()
278 MachineInstr &BrMI = *MBB->getFirstTerminator(); in modifyCmp()
DAArch64FrameLowering.cpp716 MBB, std::prev(MBB.getFirstTerminator()), DL, TII, CSStackSize); in emitEpilogue()
719 MachineBasicBlock::iterator LastPopI = MBB.getFirstTerminator(); in emitEpilogue()
732 emitFrameOffset(MBB, MBB.getFirstTerminator(), DL, AArch64::SP, AArch64::SP, in emitEpilogue()
776 emitFrameOffset(MBB, MBB.getFirstTerminator(), DL, AArch64::SP, AArch64::SP, in emitEpilogue()
/external/llvm/include/llvm/CodeGen/
DMachineBasicBlock.h218 return make_range(getFirstTerminator(), end());
221 return make_range(getFirstTerminator(), end());
471 iterator getFirstTerminator();
472 const_iterator getFirstTerminator() const {
473 return const_cast<MachineBasicBlock *>(this)->getFirstTerminator();
/external/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp221 MachineBasicBlock::const_iterator T1I = B->getFirstTerminator(); in matchFlowPattern()
326 MachineBasicBlock::const_iterator I = B->getFirstTerminator(), E = B->end(); in hasUncondBranch()
500 TS = std::distance(FP.TrueB->begin(), FP.TrueB->getFirstTerminator()); in isProfitable()
505 FS = std::distance(FP.FalseB->begin(), FP.FalseB->getFirstTerminator()); in isProfitable()
759 MachineBasicBlock::iterator End = FromB->getFirstTerminator(); in predicateBlockNB()
807 MachineBasicBlock::iterator MuxAt = FP.SplitB->getFirstTerminator(); in updatePhiNodes()
825 MachineBasicBlock::iterator OldTI = FP.SplitB->getFirstTerminator(); in convert()
835 MachineBasicBlock::iterator At = FP.SplitB->getFirstTerminator(); in convert()
DHexagonCFGOptimizer.cpp112 MachineBasicBlock::iterator MII = MBB->getFirstTerminator(); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ConditionalCompares.cpp300 MachineBasicBlock::iterator I = MBB->getFirstTerminator(); in findConvertibleCompare()
396 for (auto &I : make_range(MBB->begin(), MBB->getFirstTerminator())) { in canSpeculateInstrs()
613 DebugLoc TermDL = Head->getFirstTerminator()->getDebugLoc(); in convert()
890 Trace.getInstrCycles(*CmpConv.Head->getFirstTerminator()).Depth; in shouldConvert()
892 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.cpp912 MachineBasicBlock::iterator Pop = std::prev(MBB.getFirstTerminator()); in emitEpilogue()
932 MachineBasicBlock::iterator LastPopI = MBB.getFirstTerminator(); in emitEpilogue()
945 emitFrameOffset(MBB, MBB.getFirstTerminator(), DL, AArch64::SP, AArch64::SP, in emitEpilogue()
972 adaptForLdStOpt(MBB, MBB.getFirstTerminator(), LastPopI); in emitEpilogue()
1001 auto FirstSPPopI = MBB.getFirstTerminator(); in emitEpilogue()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineBasicBlock.h227 return make_range(getFirstTerminator(), end());
230 return make_range(getFirstTerminator(), end());
543 iterator getFirstTerminator();
544 const_iterator getFirstTerminator() const {
545 return const_cast<MachineBasicBlock *>(this)->getFirstTerminator();
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DMachineBasicBlock.h322 iterator getFirstTerminator();
324 const_iterator getFirstTerminator() const {
325 return const_cast<MachineBasicBlock*>(this)->getFirstTerminator();
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp248 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()
766 MachineBasicBlock::iterator End = FromB->getFirstTerminator(); in predicateBlockNB()
845 MuxR = buildMux(FP.SplitB, FP.SplitB->getFirstTerminator(), RC, in updatePhiNodes()
863 MachineBasicBlock::iterator OldTI = FP.SplitB->getFirstTerminator(); in convert()
873 MachineBasicBlock::iterator At = FP.SplitB->getFirstTerminator(); in convert()
DHexagonCFGOptimizer.cpp126 MachineBasicBlock::iterator MII = MBB->getFirstTerminator(); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZMachineScheduler.cpp108 for (MachineBasicBlock::iterator I = SinglePredMBB->getFirstTerminator(); in enterMBB()
125 advanceTo(MBB->getFirstTerminator()); in leaveMBB()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DPHIEliminationUtils.cpp32 return MBB->getFirstTerminator(); in findPHICopyInsertPoint()
DMachineSSAUpdater.cpp150 BB, BB->getFirstTerminator(), in GetValueInMiddleOfBlock()
304 BB, BB->getFirstTerminator(), in GetUndefVal()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCBranchCoalescing.cpp659 SourceRegion.BranchBlock->getFirstTerminator(); in mergeCandidates()
668 : TargetRegion.BranchBlock->getFirstTerminator(); in mergeCandidates()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUMachineCFGStructurizer.cpp1870 ? SinglePred->findDebugLoc(SinglePred->getFirstTerminator()) in createIfBlock()
1909 const DebugLoc &DL = CodeBB->findDebugLoc(CodeBB->getFirstTerminator()); in rewriteCodeBBTerminator()
1914 TII->materializeImmediate(*CodeBB, CodeBB->getFirstTerminator(), DL, in rewriteCodeBBTerminator()
1929 TII->materializeImmediate(*CodeBB, CodeBB->getFirstTerminator(), DL, in rewriteCodeBBTerminator()
1935 TII->materializeImmediate(*CodeBB, CodeBB->getFirstTerminator(), DL, in rewriteCodeBBTerminator()
1937 TII->materializeImmediate(*CodeBB, CodeBB->getFirstTerminator(), DL, in rewriteCodeBBTerminator()
1940 TII->insertVectorSelect(*CodeBB, CodeBB->getFirstTerminator(), DL, in rewriteCodeBBTerminator()
2008 const DebugLoc &DL = IfBB->findDebugLoc(IfBB->getFirstTerminator()); in insertChainedPHI()
2009 TII->materializeImmediate(*IfBB, IfBB->getFirstTerminator(), DL, in insertChainedPHI()
2065 TII->materializeImmediate(*IfBB, IfBB->getFirstTerminator(), DebugLoc(), in rewriteLiveOutRegs()
[all …]

123456