Lines Matching refs:Scratch

109   Register Scratch = I->getOperand(7).getReg();  in expandAtomicCmpSwapSubword()  local
145 BuildMI(loop1MBB, DL, TII->get(LL), Scratch).addReg(Ptr).addImm(0); in expandAtomicCmpSwapSubword()
147 .addReg(Scratch) in expandAtomicCmpSwapSubword()
157 BuildMI(loop2MBB, DL, TII->get(Mips::AND), Scratch) in expandAtomicCmpSwapSubword()
158 .addReg(Scratch, RegState::Kill) in expandAtomicCmpSwapSubword()
160 BuildMI(loop2MBB, DL, TII->get(Mips::OR), Scratch) in expandAtomicCmpSwapSubword()
161 .addReg(Scratch, RegState::Kill) in expandAtomicCmpSwapSubword()
163 BuildMI(loop2MBB, DL, TII->get(SC), Scratch) in expandAtomicCmpSwapSubword()
164 .addReg(Scratch, RegState::Kill) in expandAtomicCmpSwapSubword()
168 .addReg(Scratch, RegState::Kill) in expandAtomicCmpSwapSubword()
247 Register Scratch = I->getOperand(4).getReg(); in expandAtomicCmpSwap() local
286 BuildMI(loop2MBB, DL, TII->get(MOVE), Scratch).addReg(NewVal).addReg(ZERO); in expandAtomicCmpSwap()
287 BuildMI(loop2MBB, DL, TII->get(SC), Scratch) in expandAtomicCmpSwap()
288 .addReg(Scratch).addReg(Ptr).addImm(0); in expandAtomicCmpSwap()
290 .addReg(Scratch, RegState::Kill).addReg(ZERO).addMBB(loop1MBB); in expandAtomicCmpSwap()
635 Register Scratch = I->getOperand(3).getReg(); in expandAtomicBinOp() local
761 BuildMI(loopMBB, DL, TII->get(SELOldVal), Scratch) in expandAtomicBinOp()
767 BuildMI(loopMBB, DL, TII->get(OR), Scratch) in expandAtomicBinOp()
768 .addReg(Scratch) in expandAtomicBinOp()
775 BuildMI(loopMBB, DL, TII->get(OR), Scratch) in expandAtomicBinOp()
778 BuildMI(loopMBB, DL, TII->get(MOVIncr), Scratch) in expandAtomicBinOp()
781 .addReg(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()
798 .addReg(Scratch) in expandAtomicBinOp()
802 .addReg(Scratch) in expandAtomicBinOp()