Lines Matching refs:loopMBB

438   MachineBasicBlock *loopMBB = MF->CreateMachineBasicBlock(LLVM_BB);  in expandAtomicBinOpSubword()  local
442 MF->insert(It, loopMBB); in expandAtomicBinOpSubword()
449 BB.addSuccessor(loopMBB, BranchProbability::getOne()); in expandAtomicBinOpSubword()
450 loopMBB->addSuccessor(sinkMBB); in expandAtomicBinOpSubword()
451 loopMBB->addSuccessor(loopMBB); in expandAtomicBinOpSubword()
452 loopMBB->normalizeSuccProbs(); in expandAtomicBinOpSubword()
454 BuildMI(loopMBB, DL, TII->get(LL), OldVal).addReg(Ptr).addImm(0); in expandAtomicBinOpSubword()
459 BuildMI(loopMBB, DL, TII->get(Mips::AND), BinOpRes) in expandAtomicBinOpSubword()
462 BuildMI(loopMBB, DL, TII->get(Mips::NOR), BinOpRes) in expandAtomicBinOpSubword()
465 BuildMI(loopMBB, DL, TII->get(Mips::AND), BinOpRes) in expandAtomicBinOpSubword()
479 BuildMI(loopMBB, DL, TII->get(Mips::SRAV), StoreVal) in expandAtomicBinOpSubword()
484 BuildMI(loopMBB, DL, TII->get(Mips::ANDi), StoreVal) in expandAtomicBinOpSubword()
488 BuildMI(loopMBB, DL, TII->get(SEOp), StoreVal).addReg(StoreVal); in expandAtomicBinOpSubword()
492 BuildMI(loopMBB, DL, TII->get(Mips::SLL), StoreVal) in expandAtomicBinOpSubword()
495 BuildMI(loopMBB, DL, TII->get(SROp), StoreVal) in expandAtomicBinOpSubword()
499 BuildMI(loopMBB, DL, TII->get(Mips::OR), Dest) in expandAtomicBinOpSubword()
503 BuildMI(loopMBB, DL, TII->get(Mips::SLLV), StoreVal) in expandAtomicBinOpSubword()
509 BuildMI(loopMBB, DL, TII->get(SLTScratch4), Scratch4) in expandAtomicBinOpSubword()
520 BuildMI(loopMBB, DL, TII->get(SELOldVal), BinOpRes) in expandAtomicBinOpSubword()
523 BuildMI(loopMBB, DL, TII->get(SELIncr), Scratch4) in expandAtomicBinOpSubword()
526 BuildMI(loopMBB, DL, TII->get(OR), BinOpRes) in expandAtomicBinOpSubword()
534 BuildMI(loopMBB, DL, TII->get(OR), BinOpRes) in expandAtomicBinOpSubword()
537 BuildMI(loopMBB, DL, TII->get(MOVIncr), BinOpRes) in expandAtomicBinOpSubword()
544 BuildMI(loopMBB, DL, TII->get(Mips::AND), BinOpRes) in expandAtomicBinOpSubword()
551 BuildMI(loopMBB, DL, TII->get(Opcode), BinOpRes) in expandAtomicBinOpSubword()
554 BuildMI(loopMBB, DL, TII->get(Mips::AND), BinOpRes) in expandAtomicBinOpSubword()
559 BuildMI(loopMBB, DL, TII->get(Mips::AND), BinOpRes) in expandAtomicBinOpSubword()
568 BuildMI(loopMBB, DL, TII->get(Mips::AND), StoreVal) in expandAtomicBinOpSubword()
570 BuildMI(loopMBB, DL, TII->get(Mips::OR), StoreVal) in expandAtomicBinOpSubword()
572 BuildMI(loopMBB, DL, TII->get(SC), StoreVal) in expandAtomicBinOpSubword()
574 BuildMI(loopMBB, DL, TII->get(BEQ)) in expandAtomicBinOpSubword()
575 .addReg(StoreVal).addReg(Mips::ZERO).addMBB(loopMBB); in expandAtomicBinOpSubword()
603 computeAndAddLiveIns(LiveRegs, *loopMBB); in expandAtomicBinOpSubword()
751 MachineBasicBlock *loopMBB = MF->CreateMachineBasicBlock(LLVM_BB); in expandAtomicBinOp() local
754 MF->insert(It, loopMBB); in expandAtomicBinOp()
760 BB.addSuccessor(loopMBB, BranchProbability::getOne()); in expandAtomicBinOp()
761 loopMBB->addSuccessor(exitMBB); in expandAtomicBinOp()
762 loopMBB->addSuccessor(loopMBB); in expandAtomicBinOp()
763 loopMBB->normalizeSuccProbs(); in expandAtomicBinOp()
765 BuildMI(loopMBB, DL, TII->get(LL), OldVal).addReg(Ptr).addImm(0); in expandAtomicBinOp()
786 BuildMI(loopMBB, DL, TII->get(SLTScratch2), Scratch2_32) in expandAtomicBinOp()
797 BuildMI(loopMBB, DL, TII->get(SELOldVal), Scratch) in expandAtomicBinOp()
800 BuildMI(loopMBB, DL, TII->get(SELIncr), Scratch2) in expandAtomicBinOp()
803 BuildMI(loopMBB, DL, TII->get(OR), Scratch) in expandAtomicBinOp()
811 BuildMI(loopMBB, DL, TII->get(OR), Scratch) in expandAtomicBinOp()
814 BuildMI(loopMBB, DL, TII->get(MOVIncr), Scratch) in expandAtomicBinOp()
821 BuildMI(loopMBB, DL, TII->get(Opcode), Scratch).addReg(OldVal).addReg(Incr); in expandAtomicBinOp()
825 BuildMI(loopMBB, DL, TII->get(AND), Scratch).addReg(OldVal).addReg(Incr); in expandAtomicBinOp()
826 BuildMI(loopMBB, DL, TII->get(NOR), Scratch).addReg(ZERO).addReg(Scratch); in expandAtomicBinOp()
830 BuildMI(loopMBB, DL, TII->get(OR), Scratch).addReg(Incr).addReg(ZERO); in expandAtomicBinOp()
833 BuildMI(loopMBB, DL, TII->get(SC), Scratch) in expandAtomicBinOp()
837 BuildMI(loopMBB, DL, TII->get(BEQ)) in expandAtomicBinOp()
840 .addMBB(loopMBB); in expandAtomicBinOp()
846 computeAndAddLiveIns(LiveRegs, *loopMBB); in expandAtomicBinOp()