Lines Matching refs:loopMBB
421 MachineBasicBlock *loopMBB = MF->CreateMachineBasicBlock(LLVM_BB); in expandAtomicBinOpSubword() local
425 MF->insert(It, loopMBB); in expandAtomicBinOpSubword()
432 BB.addSuccessor(loopMBB, BranchProbability::getOne()); in expandAtomicBinOpSubword()
433 loopMBB->addSuccessor(sinkMBB); in expandAtomicBinOpSubword()
434 loopMBB->addSuccessor(loopMBB); in expandAtomicBinOpSubword()
435 loopMBB->normalizeSuccProbs(); in expandAtomicBinOpSubword()
437 BuildMI(loopMBB, DL, TII->get(LL), OldVal).addReg(Ptr).addImm(0); in expandAtomicBinOpSubword()
442 BuildMI(loopMBB, DL, TII->get(Mips::AND), BinOpRes) in expandAtomicBinOpSubword()
445 BuildMI(loopMBB, DL, TII->get(Mips::NOR), BinOpRes) in expandAtomicBinOpSubword()
448 BuildMI(loopMBB, DL, TII->get(Mips::AND), BinOpRes) in expandAtomicBinOpSubword()
466 BuildMI(loopMBB, DL, TII->get(Mips::AND), OldVal) in expandAtomicBinOpSubword()
469 BuildMI(loopMBB, DL, TII->get(Mips::AND), Incr).addReg(Incr).addReg(Mask); in expandAtomicBinOpSubword()
474 BuildMI(loopMBB, DL, TII->get(SLTScratch4), Scratch4) in expandAtomicBinOpSubword()
485 BuildMI(loopMBB, DL, TII->get(SELOldVal), BinOpRes) in expandAtomicBinOpSubword()
488 BuildMI(loopMBB, DL, TII->get(SELIncr), Scratch4) in expandAtomicBinOpSubword()
491 BuildMI(loopMBB, DL, TII->get(OR), BinOpRes) in expandAtomicBinOpSubword()
499 BuildMI(loopMBB, DL, TII->get(OR), BinOpRes) in expandAtomicBinOpSubword()
502 BuildMI(loopMBB, DL, TII->get(MOVIncr), BinOpRes) in expandAtomicBinOpSubword()
509 BuildMI(loopMBB, DL, TII->get(Mips::AND), BinOpRes) in expandAtomicBinOpSubword()
516 BuildMI(loopMBB, DL, TII->get(Opcode), BinOpRes) in expandAtomicBinOpSubword()
519 BuildMI(loopMBB, DL, TII->get(Mips::AND), BinOpRes) in expandAtomicBinOpSubword()
524 BuildMI(loopMBB, DL, TII->get(Mips::AND), BinOpRes) in expandAtomicBinOpSubword()
533 BuildMI(loopMBB, DL, TII->get(Mips::AND), StoreVal) in expandAtomicBinOpSubword()
535 BuildMI(loopMBB, DL, TII->get(Mips::OR), StoreVal) in expandAtomicBinOpSubword()
537 BuildMI(loopMBB, DL, TII->get(SC), StoreVal) in expandAtomicBinOpSubword()
539 BuildMI(loopMBB, DL, TII->get(BEQ)) in expandAtomicBinOpSubword()
540 .addReg(StoreVal).addReg(Mips::ZERO).addMBB(loopMBB); in expandAtomicBinOpSubword()
567 computeAndAddLiveIns(LiveRegs, *loopMBB); in expandAtomicBinOpSubword()
715 MachineBasicBlock *loopMBB = MF->CreateMachineBasicBlock(LLVM_BB); in expandAtomicBinOp() local
718 MF->insert(It, loopMBB); in expandAtomicBinOp()
724 BB.addSuccessor(loopMBB, BranchProbability::getOne()); in expandAtomicBinOp()
725 loopMBB->addSuccessor(exitMBB); in expandAtomicBinOp()
726 loopMBB->addSuccessor(loopMBB); in expandAtomicBinOp()
727 loopMBB->normalizeSuccProbs(); in expandAtomicBinOp()
729 BuildMI(loopMBB, DL, TII->get(LL), OldVal).addReg(Ptr).addImm(0); in expandAtomicBinOp()
750 BuildMI(loopMBB, DL, TII->get(SLTScratch2), Scratch2_32) in expandAtomicBinOp()
761 BuildMI(loopMBB, DL, TII->get(SELOldVal), Scratch) in expandAtomicBinOp()
764 BuildMI(loopMBB, DL, TII->get(SELIncr), Scratch2) in expandAtomicBinOp()
767 BuildMI(loopMBB, DL, TII->get(OR), Scratch) in expandAtomicBinOp()
775 BuildMI(loopMBB, DL, TII->get(OR), Scratch) in expandAtomicBinOp()
778 BuildMI(loopMBB, DL, TII->get(MOVIncr), Scratch) in expandAtomicBinOp()
785 BuildMI(loopMBB, DL, TII->get(Opcode), Scratch).addReg(OldVal).addReg(Incr); in expandAtomicBinOp()
789 BuildMI(loopMBB, DL, TII->get(AND), Scratch).addReg(OldVal).addReg(Incr); in expandAtomicBinOp()
790 BuildMI(loopMBB, DL, TII->get(NOR), Scratch).addReg(ZERO).addReg(Scratch); in expandAtomicBinOp()
794 BuildMI(loopMBB, DL, TII->get(OR), Scratch).addReg(Incr).addReg(ZERO); in expandAtomicBinOp()
797 BuildMI(loopMBB, DL, TII->get(SC), Scratch) in expandAtomicBinOp()
801 BuildMI(loopMBB, DL, TII->get(BEQ)) in expandAtomicBinOp()
804 .addMBB(loopMBB); in expandAtomicBinOp()
810 computeAndAddLiveIns(LiveRegs, *loopMBB); in expandAtomicBinOp()