Home
last modified time | relevance | path

Searched refs:CmpSwap (Results 1 – 12 of 12) sorted by relevance

/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp1376 MachineSDNode *CmpSwap = nullptr; in SelectATOMIC_CMP_SWAP() local
1391 CmpSwap = CurDAG->getMachineNode(Opcode, SL, Mem->getVTList(), Ops); in SelectATOMIC_CMP_SWAP()
1395 if (!CmpSwap) { in SelectATOMIC_CMP_SWAP()
1406 CmpSwap = CurDAG->getMachineNode(Opcode, SL, Mem->getVTList(), Ops); in SelectATOMIC_CMP_SWAP()
1410 if (!CmpSwap) { in SelectATOMIC_CMP_SWAP()
1417 CmpSwap->setMemRefs(MMOs, MMOs + 1); in SelectATOMIC_CMP_SWAP()
1421 = CurDAG->getTargetExtractSubreg(SubReg, SL, VT, SDValue(CmpSwap, 0)); in SelectATOMIC_CMP_SWAP()
1424 ReplaceUses(SDValue(N, 1), SDValue(CmpSwap, 1)); in SelectATOMIC_CMP_SWAP()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp1780 MachineSDNode *CmpSwap = nullptr; in SelectATOMIC_CMP_SWAP() local
1795 CmpSwap = CurDAG->getMachineNode(Opcode, SL, Mem->getVTList(), Ops); in SelectATOMIC_CMP_SWAP()
1799 if (!CmpSwap) { in SelectATOMIC_CMP_SWAP()
1810 CmpSwap = CurDAG->getMachineNode(Opcode, SL, Mem->getVTList(), Ops); in SelectATOMIC_CMP_SWAP()
1814 if (!CmpSwap) { in SelectATOMIC_CMP_SWAP()
1821 CmpSwap->setMemRefs(MMOs, MMOs + 1); in SelectATOMIC_CMP_SWAP()
1825 = CurDAG->getTargetExtractSubreg(SubReg, SL, VT, SDValue(CmpSwap, 0)); in SelectATOMIC_CMP_SWAP()
1828 ReplaceUses(SDValue(N, 1), SDValue(CmpSwap, 1)); in SelectATOMIC_CMP_SWAP()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp2750 SDNode *CmpSwap = CurDAG->getMachineNode( in SelectCMP_SWAP() local
2756 cast<MachineSDNode>(CmpSwap)->setMemRefs(MemOp, MemOp + 1); in SelectCMP_SWAP()
2758 ReplaceUses(SDValue(N, 0), SDValue(CmpSwap, 0)); in SelectCMP_SWAP()
2759 ReplaceUses(SDValue(N, 1), SDValue(CmpSwap, 2)); in SelectCMP_SWAP()
DAArch64ISelLowering.cpp11223 MachineSDNode *CmpSwap = DAG.getMachineNode( in ReplaceCMP_SWAP_128Results() local
11225 CmpSwap->setMemRefs(MemOp, MemOp + 1); in ReplaceCMP_SWAP_128Results()
11231 SDValue(CmpSwap, 0))); in ReplaceCMP_SWAP_128Results()
11233 SDValue(CmpSwap, 0))); in ReplaceCMP_SWAP_128Results()
11234 Results.push_back(SDValue(CmpSwap, 1)); // Chain out in ReplaceCMP_SWAP_128Results()
11242 SDNode *CmpSwap = DAG.getMachineNode( in ReplaceCMP_SWAP_128Results() local
11249 cast<MachineSDNode>(CmpSwap)->setMemRefs(MemOp, MemOp + 1); in ReplaceCMP_SWAP_128Results()
11251 Results.push_back(SDValue(CmpSwap, 0)); in ReplaceCMP_SWAP_128Results()
11252 Results.push_back(SDValue(CmpSwap, 1)); in ReplaceCMP_SWAP_128Results()
11253 Results.push_back(SDValue(CmpSwap, 3)); in ReplaceCMP_SWAP_128Results()
/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp2642 SDNode *CmpSwap = CurDAG->getMachineNode( in SelectCMP_SWAP() local
2648 cast<MachineSDNode>(CmpSwap)->setMemRefs(MemOp, MemOp + 1); in SelectCMP_SWAP()
2650 ReplaceUses(SDValue(N, 0), SDValue(CmpSwap, 0)); in SelectCMP_SWAP()
2651 ReplaceUses(SDValue(N, 1), SDValue(CmpSwap, 2)); in SelectCMP_SWAP()
DARMISelLowering.cpp7124 SDNode *CmpSwap = DAG.getMachineNode( in ReplaceCMP_SWAP_64Results() local
7131 cast<MachineSDNode>(CmpSwap)->setMemRefs(MemOp, MemOp + 1); in ReplaceCMP_SWAP_64Results()
7134 SDValue(CmpSwap, 0))); in ReplaceCMP_SWAP_64Results()
7136 SDValue(CmpSwap, 0))); in ReplaceCMP_SWAP_64Results()
7137 Results.push_back(SDValue(CmpSwap, 2)); in ReplaceCMP_SWAP_64Results()
/external/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp2542 SDNode *CmpSwap = CurDAG->getMachineNode( in SelectCMP_SWAP() local
2548 cast<MachineSDNode>(CmpSwap)->setMemRefs(MemOp, MemOp + 1); in SelectCMP_SWAP()
2550 ReplaceUses(SDValue(N, 0), SDValue(CmpSwap, 0)); in SelectCMP_SWAP()
2551 ReplaceUses(SDValue(N, 1), SDValue(CmpSwap, 2)); in SelectCMP_SWAP()
DAArch64ISelLowering.cpp10095 SDNode *CmpSwap = DAG.getMachineNode( in ReplaceCMP_SWAP_128Results() local
10102 cast<MachineSDNode>(CmpSwap)->setMemRefs(MemOp, MemOp + 1); in ReplaceCMP_SWAP_128Results()
10104 Results.push_back(SDValue(CmpSwap, 0)); in ReplaceCMP_SWAP_128Results()
10105 Results.push_back(SDValue(CmpSwap, 1)); in ReplaceCMP_SWAP_128Results()
10106 Results.push_back(SDValue(CmpSwap, 3)); in ReplaceCMP_SWAP_128Results()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp2475 SDNode *CmpSwap = CurDAG->getMachineNode( in SelectCMP_SWAP() local
2481 cast<MachineSDNode>(CmpSwap)->setMemRefs(MemOp, MemOp + 1); in SelectCMP_SWAP()
2483 ReplaceUses(SDValue(N, 0), SDValue(CmpSwap, 0)); in SelectCMP_SWAP()
2484 ReplaceUses(SDValue(N, 1), SDValue(CmpSwap, 2)); in SelectCMP_SWAP()
DARMISelLowering.cpp7989 SDNode *CmpSwap = DAG.getMachineNode( in ReplaceCMP_SWAP_64Results() local
7996 cast<MachineSDNode>(CmpSwap)->setMemRefs(MemOp, MemOp + 1); in ReplaceCMP_SWAP_64Results()
8002 SDLoc(N), MVT::i32, SDValue(CmpSwap, 0))); in ReplaceCMP_SWAP_64Results()
8005 SDLoc(N), MVT::i32, SDValue(CmpSwap, 0))); in ReplaceCMP_SWAP_64Results()
8006 Results.push_back(SDValue(CmpSwap, 2)); in ReplaceCMP_SWAP_64Results()
/external/llvm/lib/Target/SystemZ/
DSystemZInstrFormats.td1018 // CmpSwap:
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZInstrFormats.td1947 // CmpSwap: