Lines Matching refs:loopMBB
389 MachineBasicBlock *loopMBB = MF->CreateMachineBasicBlock(LLVM_BB); in expandAtomicBinOpSubword() local
393 MF->insert(It, loopMBB); in expandAtomicBinOpSubword()
400 BB.addSuccessor(loopMBB, BranchProbability::getOne()); in expandAtomicBinOpSubword()
401 loopMBB->addSuccessor(sinkMBB); in expandAtomicBinOpSubword()
402 loopMBB->addSuccessor(loopMBB); in expandAtomicBinOpSubword()
403 loopMBB->normalizeSuccProbs(); in expandAtomicBinOpSubword()
405 BuildMI(loopMBB, DL, TII->get(LL), OldVal).addReg(Ptr).addImm(0); in expandAtomicBinOpSubword()
410 BuildMI(loopMBB, DL, TII->get(Mips::AND), BinOpRes) in expandAtomicBinOpSubword()
413 BuildMI(loopMBB, DL, TII->get(Mips::NOR), BinOpRes) in expandAtomicBinOpSubword()
416 BuildMI(loopMBB, DL, TII->get(Mips::AND), BinOpRes) in expandAtomicBinOpSubword()
422 BuildMI(loopMBB, DL, TII->get(Opcode), BinOpRes) in expandAtomicBinOpSubword()
425 BuildMI(loopMBB, DL, TII->get(Mips::AND), BinOpRes) in expandAtomicBinOpSubword()
430 BuildMI(loopMBB, DL, TII->get(Mips::AND), BinOpRes) in expandAtomicBinOpSubword()
439 BuildMI(loopMBB, DL, TII->get(Mips::AND), StoreVal) in expandAtomicBinOpSubword()
441 BuildMI(loopMBB, DL, TII->get(Mips::OR), StoreVal) in expandAtomicBinOpSubword()
443 BuildMI(loopMBB, DL, TII->get(SC), StoreVal) in expandAtomicBinOpSubword()
445 BuildMI(loopMBB, DL, TII->get(BEQ)) in expandAtomicBinOpSubword()
446 .addReg(StoreVal).addReg(Mips::ZERO).addMBB(loopMBB); in expandAtomicBinOpSubword()
473 computeAndAddLiveIns(LiveRegs, *loopMBB); in expandAtomicBinOpSubword()
579 MachineBasicBlock *loopMBB = MF->CreateMachineBasicBlock(LLVM_BB); in expandAtomicBinOp() local
582 MF->insert(It, loopMBB); in expandAtomicBinOp()
588 BB.addSuccessor(loopMBB, BranchProbability::getOne()); in expandAtomicBinOp()
589 loopMBB->addSuccessor(exitMBB); in expandAtomicBinOp()
590 loopMBB->addSuccessor(loopMBB); in expandAtomicBinOp()
591 loopMBB->normalizeSuccProbs(); in expandAtomicBinOp()
593 BuildMI(loopMBB, DL, TII->get(LL), OldVal).addReg(Ptr).addImm(0); in expandAtomicBinOp()
597 BuildMI(loopMBB, DL, TII->get(Opcode), Scratch).addReg(OldVal).addReg(Incr); in expandAtomicBinOp()
601 BuildMI(loopMBB, DL, TII->get(AND), Scratch).addReg(OldVal).addReg(Incr); in expandAtomicBinOp()
602 BuildMI(loopMBB, DL, TII->get(NOR), Scratch).addReg(ZERO).addReg(Scratch); in expandAtomicBinOp()
605 BuildMI(loopMBB, DL, TII->get(OR), Scratch).addReg(Incr).addReg(ZERO); in expandAtomicBinOp()
608 BuildMI(loopMBB, DL, TII->get(SC), Scratch).addReg(Scratch).addReg(Ptr).addImm(0); in expandAtomicBinOp()
609 BuildMI(loopMBB, DL, TII->get(BEQ)).addReg(Scratch).addReg(ZERO).addMBB(loopMBB); in expandAtomicBinOp()
615 computeAndAddLiveIns(LiveRegs, *loopMBB); in expandAtomicBinOp()