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.cpp725 bool IsCmpxchg = Call->Builtin->Name.contains("cmpxchg"); in buildAtomicCompareExchangeInst() local
738 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()