Searched refs:IsCmpxchg (Results 1 – 1 of 1) sorted by relevance
725 bool IsCmpxchg = Call->Builtin->Name.contains("cmpxchg"); in buildAtomicCompareExchangeInst() local738 assert(IsCmpxchg ? ExpectedType == SPIRV::OpTypeInt in buildAtomicCompareExchangeInst()751 IsCmpxchg in buildAtomicCompareExchangeInst()755 IsCmpxchg in buildAtomicCompareExchangeInst()778 auto Scope = IsCmpxchg ? SPIRV::Scope::Workgroup : SPIRV::Scope::Device; in buildAtomicCompareExchangeInst()791 Register Expected = IsCmpxchg in buildAtomicCompareExchangeInst()796 Register Tmp = !IsCmpxchg ? MRI->createGenericVirtualRegister(DesiredLLT) in buildAtomicCompareExchangeInst()812 if (!IsCmpxchg) { in buildAtomicCompareExchangeInst()