/external/llvm-project/llvm/lib/Target/RISCV/ |
D | RISCVExpandAtomicPseudoInsts.cpp | 219 MachineBasicBlock *DoneMBB, in doAtomicBinOpExpansion() argument 281 MachineBasicBlock *DoneMBB, AtomicRMWInst::BinOp BinOp, int Width) { in doMaskedAtomicBinOpExpansion() argument 350 auto DoneMBB = MF->CreateMachineBasicBlock(MBB.getBasicBlock()); in expandAtomicBinOp() local 354 MF->insert(++LoopMBB->getIterator(), DoneMBB); in expandAtomicBinOp() 358 LoopMBB->addSuccessor(DoneMBB); in expandAtomicBinOp() 359 DoneMBB->splice(DoneMBB->end(), &MBB, MI, MBB.end()); in expandAtomicBinOp() 360 DoneMBB->transferSuccessors(&MBB); in expandAtomicBinOp() 364 doAtomicBinOpExpansion(TII, MI, DL, &MBB, LoopMBB, DoneMBB, BinOp, Width); in expandAtomicBinOp() 366 doMaskedAtomicBinOpExpansion(TII, MI, DL, &MBB, LoopMBB, DoneMBB, BinOp, in expandAtomicBinOp() 374 computeAndAddLiveIns(LiveRegs, *DoneMBB); in expandAtomicBinOp() [all …]
|
D | RISCVISelLowering.cpp | 1681 MachineBasicBlock *DoneMBB = MF.CreateMachineBasicBlock(LLVM_BB); in emitReadCycleWidePseudo() local 1682 MF.insert(It, DoneMBB); in emitReadCycleWidePseudo() 1685 DoneMBB->splice(DoneMBB->begin(), BB, in emitReadCycleWidePseudo() 1687 DoneMBB->transferSuccessorsAndUpdatePHIs(BB); in emitReadCycleWidePseudo() 1714 LoopMBB->addSuccessor(DoneMBB); in emitReadCycleWidePseudo() 1718 return DoneMBB; in emitReadCycleWidePseudo()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
D | RISCVExpandPseudoInsts.cpp | 236 MachineBasicBlock *DoneMBB, in doAtomicBinOpExpansion() argument 298 MachineBasicBlock *DoneMBB, AtomicRMWInst::BinOp BinOp, int Width) { in doMaskedAtomicBinOpExpansion() argument 367 auto DoneMBB = MF->CreateMachineBasicBlock(MBB.getBasicBlock()); in expandAtomicBinOp() local 371 MF->insert(++LoopMBB->getIterator(), DoneMBB); in expandAtomicBinOp() 375 LoopMBB->addSuccessor(DoneMBB); in expandAtomicBinOp() 376 DoneMBB->splice(DoneMBB->end(), &MBB, MI, MBB.end()); in expandAtomicBinOp() 377 DoneMBB->transferSuccessors(&MBB); in expandAtomicBinOp() 381 doAtomicBinOpExpansion(TII, MI, DL, &MBB, LoopMBB, DoneMBB, BinOp, Width); in expandAtomicBinOp() 383 doMaskedAtomicBinOpExpansion(TII, MI, DL, &MBB, LoopMBB, DoneMBB, BinOp, in expandAtomicBinOp() 391 computeAndAddLiveIns(LiveRegs, *DoneMBB); in expandAtomicBinOp() [all …]
|
D | RISCVISelLowering.cpp | 1123 MachineBasicBlock *DoneMBB = MF.CreateMachineBasicBlock(LLVM_BB); in emitReadCycleWidePseudo() local 1124 MF.insert(It, DoneMBB); in emitReadCycleWidePseudo() 1127 DoneMBB->splice(DoneMBB->begin(), BB, in emitReadCycleWidePseudo() 1129 DoneMBB->transferSuccessorsAndUpdatePHIs(BB); in emitReadCycleWidePseudo() 1156 LoopMBB->addSuccessor(DoneMBB); in emitReadCycleWidePseudo() 1160 return DoneMBB; in emitReadCycleWidePseudo()
|
/external/llvm-project/llvm/test/CodeGen/SystemZ/ |
D | memcmp-02.ll | 2 ; and the DoneMBB becomes empty. It will not pass the mischeduling verifiers 3 ; if DoneMBB does not have CC in its live-in list.
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyISelLowering.cpp | 371 MachineBasicBlock *DoneMBB = F->CreateMachineBasicBlock(LLVMBB); in LowerFPToInt() local 376 F->insert(It, DoneMBB); in LowerFPToInt() 379 DoneMBB->splice(DoneMBB->begin(), BB, std::next(MI.getIterator()), BB->end()); in LowerFPToInt() 380 DoneMBB->transferSuccessorsAndUpdatePHIs(BB); in LowerFPToInt() 384 TrueMBB->addSuccessor(DoneMBB); in LowerFPToInt() 385 FalseMBB->addSuccessor(DoneMBB); in LowerFPToInt() 426 BuildMI(FalseMBB, DL, TII.get(WebAssembly::BR)).addMBB(DoneMBB); in LowerFPToInt() 428 BuildMI(*DoneMBB, DoneMBB->begin(), DL, TII.get(TargetOpcode::PHI), OutReg) in LowerFPToInt() 434 return DoneMBB; in LowerFPToInt()
|
/external/llvm-project/llvm/lib/Target/SystemZ/ |
D | SystemZFrameLowering.cpp | 687 MachineBasicBlock *DoneMBB = SystemZ::splitBlockBefore(MBBI, MBB); in inlineStackProbe() local 691 LoopMBB->addSuccessor(DoneMBB); in inlineStackProbe() 700 MBB = DoneMBB; in inlineStackProbe() 701 MBBI = DoneMBB->begin(); in inlineStackProbe() 704 recomputeLiveIns(*DoneMBB); in inlineStackProbe()
|
D | SystemZISelLowering.cpp | 7370 MachineBasicBlock *DoneMBB = SystemZ::splitBlockBefore(MI, MBB); in emitAtomicLoadBinary() local 7434 MBB->addSuccessor(DoneMBB); in emitAtomicLoadBinary() 7437 return DoneMBB; in emitAtomicLoadBinary() 7488 MachineBasicBlock *DoneMBB = SystemZ::splitBlockBefore(MI, MBB); in emitAtomicLoadMinMax() local 7552 MBB->addSuccessor(DoneMBB); in emitAtomicLoadMinMax() 7555 return DoneMBB; in emitAtomicLoadMinMax() 7599 MachineBasicBlock *DoneMBB = SystemZ::splitBlockBefore(MI, MBB); in emitAtomicCmpSwapW() local 7646 .addImm(SystemZ::CCMASK_CMP_NE).addMBB(DoneMBB); in emitAtomicCmpSwapW() 7647 MBB->addSuccessor(DoneMBB); in emitAtomicCmpSwapW() 7672 MBB->addSuccessor(DoneMBB); in emitAtomicCmpSwapW() [all …]
|
/external/llvm-project/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyISelLowering.cpp | 361 MachineBasicBlock *DoneMBB = F->CreateMachineBasicBlock(LLVMBB); in LowerFPToInt() local 366 F->insert(It, DoneMBB); in LowerFPToInt() 369 DoneMBB->splice(DoneMBB->begin(), BB, std::next(MI.getIterator()), BB->end()); in LowerFPToInt() 370 DoneMBB->transferSuccessorsAndUpdatePHIs(BB); in LowerFPToInt() 374 TrueMBB->addSuccessor(DoneMBB); in LowerFPToInt() 375 FalseMBB->addSuccessor(DoneMBB); in LowerFPToInt() 416 BuildMI(FalseMBB, DL, TII.get(WebAssembly::BR)).addMBB(DoneMBB); in LowerFPToInt() 418 BuildMI(*DoneMBB, DoneMBB->begin(), DL, TII.get(TargetOpcode::PHI), OutReg) in LowerFPToInt() 424 return DoneMBB; in LowerFPToInt()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 5354 MachineBasicBlock *DoneMBB = splitBlockBefore(MI, MBB); in emitAtomicLoadBinary() local 5416 MBB->addSuccessor(DoneMBB); in emitAtomicLoadBinary() 5419 return DoneMBB; in emitAtomicLoadBinary() 5470 MachineBasicBlock *DoneMBB = splitBlockBefore(MI, MBB); in emitAtomicLoadMinMax() local 5532 MBB->addSuccessor(DoneMBB); in emitAtomicLoadMinMax() 5535 return DoneMBB; in emitAtomicLoadMinMax() 5579 MachineBasicBlock *DoneMBB = splitBlockBefore(MI, MBB); in emitAtomicCmpSwapW() local 5624 .addImm(SystemZ::CCMASK_CMP_NE).addMBB(DoneMBB); in emitAtomicCmpSwapW() 5625 MBB->addSuccessor(DoneMBB); in emitAtomicCmpSwapW() 5647 MBB->addSuccessor(DoneMBB); in emitAtomicCmpSwapW() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 7073 MachineBasicBlock *DoneMBB = splitBlockBefore(MI, MBB); in emitAtomicLoadBinary() local 7137 MBB->addSuccessor(DoneMBB); in emitAtomicLoadBinary() 7140 return DoneMBB; in emitAtomicLoadBinary() 7191 MachineBasicBlock *DoneMBB = splitBlockBefore(MI, MBB); in emitAtomicLoadMinMax() local 7255 MBB->addSuccessor(DoneMBB); in emitAtomicLoadMinMax() 7258 return DoneMBB; in emitAtomicLoadMinMax() 7302 MachineBasicBlock *DoneMBB = splitBlockBefore(MI, MBB); in emitAtomicCmpSwapW() local 7349 .addImm(SystemZ::CCMASK_CMP_NE).addMBB(DoneMBB); in emitAtomicCmpSwapW() 7350 MBB->addSuccessor(DoneMBB); in emitAtomicCmpSwapW() 7375 MBB->addSuccessor(DoneMBB); in emitAtomicCmpSwapW() [all …]
|