Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVBuiltins.cpp683 bool IsCmpxchg = Call->Builtin->Name.contains("cmpxchg"); in buildAtomicCompareExchangeInst() local
699 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()