Lines Matching refs:OldValRes
765 Register OldValRes, Register SuccessRes, Register Addr, Register CmpVal, in buildAtomicCmpXchgWithSuccess() argument
768 LLT OldValResTy = getMRI()->getType(OldValRes); in buildAtomicCmpXchgWithSuccess()
783 .addDef(OldValRes) in buildAtomicCmpXchgWithSuccess()
792 MachineIRBuilder::buildAtomicCmpXchg(Register OldValRes, Register Addr, in buildAtomicCmpXchg() argument
796 LLT OldValResTy = getMRI()->getType(OldValRes); in buildAtomicCmpXchg()
809 .addDef(OldValRes) in buildAtomicCmpXchg()
817 unsigned Opcode, const DstOp &OldValRes, in buildAtomicRMW() argument
822 LLT OldValResTy = OldValRes.getLLTTy(*getMRI()); in buildAtomicRMW()
833 OldValRes.addDefToMIB(*getMRI(), MIB); in buildAtomicRMW()
841 MachineIRBuilder::buildAtomicRMWXchg(Register OldValRes, Register Addr, in buildAtomicRMWXchg() argument
843 return buildAtomicRMW(TargetOpcode::G_ATOMICRMW_XCHG, OldValRes, Addr, Val, in buildAtomicRMWXchg()
847 MachineIRBuilder::buildAtomicRMWAdd(Register OldValRes, Register Addr, in buildAtomicRMWAdd() argument
849 return buildAtomicRMW(TargetOpcode::G_ATOMICRMW_ADD, OldValRes, Addr, Val, in buildAtomicRMWAdd()
853 MachineIRBuilder::buildAtomicRMWSub(Register OldValRes, Register Addr, in buildAtomicRMWSub() argument
855 return buildAtomicRMW(TargetOpcode::G_ATOMICRMW_SUB, OldValRes, Addr, Val, in buildAtomicRMWSub()
859 MachineIRBuilder::buildAtomicRMWAnd(Register OldValRes, Register Addr, in buildAtomicRMWAnd() argument
861 return buildAtomicRMW(TargetOpcode::G_ATOMICRMW_AND, OldValRes, Addr, Val, in buildAtomicRMWAnd()
865 MachineIRBuilder::buildAtomicRMWNand(Register OldValRes, Register Addr, in buildAtomicRMWNand() argument
867 return buildAtomicRMW(TargetOpcode::G_ATOMICRMW_NAND, OldValRes, Addr, Val, in buildAtomicRMWNand()
870 MachineInstrBuilder MachineIRBuilder::buildAtomicRMWOr(Register OldValRes, in buildAtomicRMWOr() argument
874 return buildAtomicRMW(TargetOpcode::G_ATOMICRMW_OR, OldValRes, Addr, Val, in buildAtomicRMWOr()
878 MachineIRBuilder::buildAtomicRMWXor(Register OldValRes, Register Addr, in buildAtomicRMWXor() argument
880 return buildAtomicRMW(TargetOpcode::G_ATOMICRMW_XOR, OldValRes, Addr, Val, in buildAtomicRMWXor()
884 MachineIRBuilder::buildAtomicRMWMax(Register OldValRes, Register Addr, in buildAtomicRMWMax() argument
886 return buildAtomicRMW(TargetOpcode::G_ATOMICRMW_MAX, OldValRes, Addr, Val, in buildAtomicRMWMax()
890 MachineIRBuilder::buildAtomicRMWMin(Register OldValRes, Register Addr, in buildAtomicRMWMin() argument
892 return buildAtomicRMW(TargetOpcode::G_ATOMICRMW_MIN, OldValRes, Addr, Val, in buildAtomicRMWMin()
896 MachineIRBuilder::buildAtomicRMWUmax(Register OldValRes, Register Addr, in buildAtomicRMWUmax() argument
898 return buildAtomicRMW(TargetOpcode::G_ATOMICRMW_UMAX, OldValRes, Addr, Val, in buildAtomicRMWUmax()
902 MachineIRBuilder::buildAtomicRMWUmin(Register OldValRes, Register Addr, in buildAtomicRMWUmin() argument
904 return buildAtomicRMW(TargetOpcode::G_ATOMICRMW_UMIN, OldValRes, Addr, Val, in buildAtomicRMWUmin()
910 const DstOp &OldValRes, const SrcOp &Addr, const SrcOp &Val, in buildAtomicRMWFAdd() argument
912 return buildAtomicRMW(TargetOpcode::G_ATOMICRMW_FADD, OldValRes, Addr, Val, in buildAtomicRMWFAdd()
917 MachineIRBuilder::buildAtomicRMWFSub(const DstOp &OldValRes, const SrcOp &Addr, const SrcOp &Val, in buildAtomicRMWFSub() argument
919 return buildAtomicRMW(TargetOpcode::G_ATOMICRMW_FSUB, OldValRes, Addr, Val, in buildAtomicRMWFSub()