/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LowerMemIntrinsics.cpp | 52 BasicBlock *LoopBB = in createMemCpyLoopKnownSize() local 54 PreLoopBB->getTerminator()->setSuccessor(0, LoopBB); in createMemCpyLoopKnownSize() 69 IRBuilder<> LoopBuilder(LoopBB); in createMemCpyLoopKnownSize() 82 LoopIndex->addIncoming(NewIndex, LoopBB); in createMemCpyLoopKnownSize() 87 LoopBB, PostLoopBB); in createMemCpyLoopKnownSize() 176 BasicBlock *LoopBB = in createMemCpyLoopUnknownSize() local 178 IRBuilder<> LoopBuilder(LoopBB); in createMemCpyLoopUnknownSize() 190 LoopIndex->addIncoming(NewIndex, LoopBB); in createMemCpyLoopUnknownSize() 212 LoopBB, ResHeaderBB); in createMemCpyLoopUnknownSize() 216 LoopBuilder.CreateICmpULT(NewIndex, RuntimeLoopCount), LoopBB, in createMemCpyLoopUnknownSize() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ExpandPseudoInsts.cpp | 361 auto LoopBB = MF->CreateMachineBasicBlock(MBB.getBasicBlock()); in expandSetTagLoop() local 364 MF->insert(++MBB.getIterator(), LoopBB); in expandSetTagLoop() 365 MF->insert(++LoopBB->getIterator(), DoneBB); in expandSetTagLoop() 367 BuildMI(LoopBB, DL, TII->get(OpCode)) in expandSetTagLoop() 374 BuildMI(LoopBB, DL, TII->get(AArch64::SUBXri)) in expandSetTagLoop() 379 BuildMI(LoopBB, DL, TII->get(AArch64::CBNZX)).addUse(SizeReg).addMBB(LoopBB); in expandSetTagLoop() 381 LoopBB->addSuccessor(LoopBB); in expandSetTagLoop() 382 LoopBB->addSuccessor(DoneBB); in expandSetTagLoop() 387 MBB.addSuccessor(LoopBB); in expandSetTagLoop() 394 computeAndAddLiveIns(LiveRegs, *LoopBB); in expandSetTagLoop() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/ |
D | MSP430ISelLowering.cpp | 1483 MachineBasicBlock *LoopBB = F->CreateMachineBasicBlock(LLVM_BB); in EmitShiftInstr() local 1486 F->insert(I, LoopBB); in EmitShiftInstr() 1496 BB->addSuccessor(LoopBB); in EmitShiftInstr() 1498 LoopBB->addSuccessor(RemBB); in EmitShiftInstr() 1499 LoopBB->addSuccessor(LoopBB); in EmitShiftInstr() 1523 BuildMI(LoopBB, dl, TII.get(MSP430::PHI), ShiftReg) in EmitShiftInstr() 1525 .addReg(ShiftReg2).addMBB(LoopBB); in EmitShiftInstr() 1526 BuildMI(LoopBB, dl, TII.get(MSP430::PHI), ShiftAmtReg) in EmitShiftInstr() 1528 .addReg(ShiftAmtReg2).addMBB(LoopBB); in EmitShiftInstr() 1530 BuildMI(LoopBB, dl, TII.get(MSP430::BIC16rc), MSP430::SR) in EmitShiftInstr() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/ |
D | AVRISelLowering.cpp | 1499 MachineBasicBlock *LoopBB = F->CreateMachineBasicBlock(LLVM_BB); in insertShift() local 1502 F->insert(I, LoopBB); in insertShift() 1512 BB->addSuccessor(LoopBB); in insertShift() 1514 LoopBB->addSuccessor(RemBB); in insertShift() 1515 LoopBB->addSuccessor(LoopBB); in insertShift() 1536 BuildMI(LoopBB, dl, TII.get(AVR::PHI), ShiftReg) in insertShift() 1540 .addMBB(LoopBB); in insertShift() 1541 BuildMI(LoopBB, dl, TII.get(AVR::PHI), ShiftAmtReg) in insertShift() 1545 .addMBB(LoopBB); in insertShift() 1547 auto ShiftMI = BuildMI(LoopBB, dl, TII.get(Opc), ShiftReg2).addReg(ShiftReg); in insertShift() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 861 auto LoopBB = BasicBlock::Create(Ctx, "partword.cmpxchg.loop", F, FailureBB); in expandPartwordCmpXchg() local 882 Builder.CreateBr(LoopBB); in expandPartwordCmpXchg() 885 Builder.SetInsertPoint(LoopBB); in expandPartwordCmpXchg() 918 Builder.CreateCondBr(ShouldContinue, LoopBB, EndBB); in expandPartwordCmpXchg() 1025 BasicBlock *LoopBB = BasicBlock::Create(Ctx, "atomicrmw.start", F, ExitBB); in insertRMWLLSCLoop() local 1031 Builder.CreateBr(LoopBB); in insertRMWLLSCLoop() 1034 Builder.SetInsertPoint(LoopBB); in insertRMWLLSCLoop() 1043 Builder.CreateCondBr(TryAgain, LoopBB, ExitBB); in insertRMWLLSCLoop() 1371 BasicBlock *LoopBB = BasicBlock::Create(Ctx, "atomicrmw.start", F, ExitBB); in insertRMWCmpXchgLoop() local 1381 Builder.CreateBr(LoopBB); in insertRMWCmpXchgLoop() [all …]
|
D | MachineBlockPlacement.cpp | 2505 for (MachineBasicBlock *LoopBB : L.getBlocks()) { in collectLoopBlockSet() 2506 auto Freq = MBFI->getBlockFreq(LoopBB).getFrequency(); in collectLoopBlockSet() 2509 LoopBlockSet.insert(LoopBB); in collectLoopBlockSet() 2569 for (const MachineBasicBlock *LoopBB : LoopBlockSet) in buildLoopChains() local 2570 fillWorkLists(LoopBB, UpdatedPreds, &LoopBlockSet); in buildLoopChains() 2603 for (const MachineBasicBlock *LoopBB : LoopBlockSet) in buildLoopChains() 2607 << " Bad block: " << getBlockName(LoopBB) << "\n"; in buildLoopChains()
|
D | ModuloSchedule.cpp | 52 static unsigned getInitPhiReg(MachineInstr &Phi, MachineBasicBlock *LoopBB) { in getInitPhiReg() argument 54 if (Phi.getOperand(i + 1).getMBB() != LoopBB) in getInitPhiReg() 60 static unsigned getLoopPhiReg(MachineInstr &Phi, MachineBasicBlock *LoopBB) { in getLoopPhiReg() argument 62 if (Phi.getOperand(i + 1).getMBB() == LoopBB) in getLoopPhiReg()
|
D | MachinePipeliner.cpp | 597 static unsigned getLoopPhiReg(MachineInstr &Phi, MachineBasicBlock *LoopBB) { in getLoopPhiReg() argument 599 if (Phi.getOperand(i + 1).getMBB() == LoopBB) in getLoopPhiReg()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPURegisterBankInfo.cpp | 784 MachineBasicBlock *LoopBB = MF->CreateMachineBasicBlock(); in executeInWaterfallLoop() local 789 MF->insert(MBBI, LoopBB); in executeInWaterfallLoop() 793 LoopBB->addSuccessor(RestoreExecBB); in executeInWaterfallLoop() 794 LoopBB->addSuccessor(LoopBB); in executeInWaterfallLoop() 800 MBB.addSuccessor(LoopBB); in executeInWaterfallLoop() 803 B.setInsertPt(*LoopBB, LoopBB->end()); in executeInWaterfallLoop() 810 .addMBB(LoopBB); in executeInWaterfallLoop() 818 .addMBB(LoopBB); in executeInWaterfallLoop() 824 auto NewBegin = std::prev(LoopBB->end()); in executeInWaterfallLoop() 828 LoopBB->splice(LoopBB->end(), &MBB, Range.begin(), MBB.end()); in executeInWaterfallLoop() [all …]
|
D | SIInstrInfo.cpp | 4329 MachineBasicBlock &OrigBB, MachineBasicBlock &LoopBB, in emitLoadSRsrcFromVGPRLoop() argument 4343 MachineBasicBlock::iterator I = LoopBB.begin(); in emitLoadSRsrcFromVGPRLoop() 4359 BuildMI(LoopBB, I, DL, TII.get(AMDGPU::V_READFIRSTLANE_B32), SRsrcSub0) in emitLoadSRsrcFromVGPRLoop() 4361 BuildMI(LoopBB, I, DL, TII.get(AMDGPU::V_READFIRSTLANE_B32), SRsrcSub1) in emitLoadSRsrcFromVGPRLoop() 4363 BuildMI(LoopBB, I, DL, TII.get(AMDGPU::V_READFIRSTLANE_B32), SRsrcSub2) in emitLoadSRsrcFromVGPRLoop() 4365 BuildMI(LoopBB, I, DL, TII.get(AMDGPU::V_READFIRSTLANE_B32), SRsrcSub3) in emitLoadSRsrcFromVGPRLoop() 4368 BuildMI(LoopBB, I, DL, TII.get(AMDGPU::REG_SEQUENCE), SRsrc) in emitLoadSRsrcFromVGPRLoop() 4383 BuildMI(LoopBB, I, DL, TII.get(AMDGPU::V_CMP_EQ_U64_e64), CondReg0) in emitLoadSRsrcFromVGPRLoop() 4386 BuildMI(LoopBB, I, DL, TII.get(AMDGPU::V_CMP_EQ_U64_e64), CondReg1) in emitLoadSRsrcFromVGPRLoop() 4389 BuildMI(LoopBB, I, DL, TII.get(AndOpc), AndCond) in emitLoadSRsrcFromVGPRLoop() [all …]
|
D | SIISelLowering.cpp | 3075 MachineBasicBlock *LoopBB = MF->CreateMachineBasicBlock(); in splitBlockForLoop() local 3080 MF->insert(MBBI, LoopBB); in splitBlockForLoop() 3083 LoopBB->addSuccessor(LoopBB); in splitBlockForLoop() 3084 LoopBB->addSuccessor(RemainderBB); in splitBlockForLoop() 3093 LoopBB->splice(LoopBB->begin(), &MBB, I, Next); in splitBlockForLoop() 3101 MBB.addSuccessor(LoopBB); in splitBlockForLoop() 3103 return std::make_pair(LoopBB, RemainderBB); in splitBlockForLoop() 3127 MachineBasicBlock *LoopBB; in emitGWSMemViolTestLoop() local 3135 std::tie(LoopBB, RemainderBB) = splitBlockForLoop(MI, *BB, true); in emitGWSMemViolTestLoop() 3137 MachineBasicBlock::iterator I = LoopBB->end(); in emitGWSMemViolTestLoop() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SimpleLoopUnswitch.cpp | 1022 for (auto *LoopBB : L.blocks()) in buildClonedLoopBlocks() local 1023 if (!SkipBlock(LoopBB)) in buildClonedLoopBlocks() 1024 CloneBlock(LoopBB); in buildClonedLoopBlocks() 1094 for (auto *LoopBB : L.blocks()) in buildClonedLoopBlocks() local 1095 if (SkipBlock(LoopBB)) in buildClonedLoopBlocks() 1096 for (auto *SuccBB : successors(LoopBB)) in buildClonedLoopBlocks() 1099 PN.removeIncomingValue(LoopBB, /*DeletePHIIfEmpty*/ false); in buildClonedLoopBlocks()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.h | 503 analyzeLoopForPipelining(MachineBasicBlock *LoopBB) const override;
|
D | PPCInstrInfo.cpp | 4224 PPCInstrInfo::analyzeLoopForPipelining(MachineBasicBlock *LoopBB) const { in analyzeLoopForPipelining() 4226 MachineBasicBlock::iterator I = LoopBB->getFirstTerminator(); in analyzeLoopForPipelining() 4227 MachineBasicBlock *Preheader = *LoopBB->pred_begin(); in analyzeLoopForPipelining() 4228 if (Preheader == LoopBB) in analyzeLoopForPipelining() 4229 Preheader = *std::next(LoopBB->pred_begin()); in analyzeLoopForPipelining() 4232 if (I != LoopBB->end() && isBDNZ(I->getOpcode())) { in analyzeLoopForPipelining()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonInstrInfo.h | 135 analyzeLoopForPipelining(MachineBasicBlock *LoopBB) const override;
|
D | HexagonInstrInfo.cpp | 755 HexagonInstrInfo::analyzeLoopForPipelining(MachineBasicBlock *LoopBB) const { in analyzeLoopForPipelining() 757 MachineBasicBlock::iterator I = LoopBB->getFirstTerminator(); in analyzeLoopForPipelining() 759 if (I != LoopBB->end() && isEndLoopN(I->getOpcode())) { in analyzeLoopForPipelining() 762 LoopBB, I->getOpcode(), I->getOperand(0).getMBB(), VisitedBBs); in analyzeLoopForPipelining()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | TargetInstrInfo.h | 725 analyzeLoopForPipelining(MachineBasicBlock *LoopBB) const { in analyzeLoopForPipelining() argument
|