Searched refs:IsCmpxchg (Results 1 – 1 of 1) sorted by relevance
683 bool IsCmpxchg = Call->Builtin->Name.contains("cmpxchg"); in buildAtomicCompareExchangeInst() local699 assert(IsCmpxchg ? ExpectedType == SPIRV::OpTypeInt in buildAtomicCompareExchangeInst()712 IsCmpxchg in buildAtomicCompareExchangeInst()716 IsCmpxchg in buildAtomicCompareExchangeInst()741 auto Scope = IsCmpxchg ? SPIRV::Scope::Workgroup : SPIRV::Scope::Device; in buildAtomicCompareExchangeInst()755 Register Expected = IsCmpxchg in buildAtomicCompareExchangeInst()760 Register Tmp = !IsCmpxchg ? MRI->createGenericVirtualRegister(DesiredLLT) in buildAtomicCompareExchangeInst()776 if (!IsCmpxchg) { in buildAtomicCompareExchangeInst()