Searched refs:ExpectedArg (Results 1 – 1 of 1) sorted by relevance
687 Register ExpectedArg = Call->Arguments[1]; // Comparator (C* expected). in buildAtomicCompareExchangeInst() local690 MRI->setRegClass(ExpectedArg, &SPIRV::IDRegClass); in buildAtomicCompareExchangeInst()697 unsigned ExpectedType = GR->getSPIRVTypeForVReg(ExpectedArg)->getOpcode(); in buildAtomicCompareExchangeInst()756 ? ExpectedArg in buildAtomicCompareExchangeInst()757 : buildLoadInst(SpvDesiredTy, ExpectedArg, MIRBuilder, in buildAtomicCompareExchangeInst()777 MIRBuilder.buildInstr(SPIRV::OpStore).addUse(ExpectedArg).addUse(Tmp); in buildAtomicCompareExchangeInst()