Lines Matching refs:atomOp
1096 static void print(spirv::AtomicCompareExchangeWeakOp atomOp, in print() argument
1099 << stringifyScope(atomOp.memory_scope()) << "\" \"" in print()
1100 << stringifyMemorySemantics(atomOp.equal_semantics()) << "\" \"" in print()
1101 << stringifyMemorySemantics(atomOp.unequal_semantics()) << "\" " in print()
1102 << atomOp.getOperands() << " : " << atomOp.pointer().getType(); in print()
1105 static LogicalResult verify(spirv::AtomicCompareExchangeWeakOp atomOp) { in verify() argument
1110 if (atomOp.getType() != atomOp.value().getType()) in verify()
1111 return atomOp.emitOpError("value operand must have the same type as the op " in verify()
1113 << atomOp.value().getType() << " vs " << atomOp.getType(); in verify()
1115 if (atomOp.getType() != atomOp.comparator().getType()) in verify()
1116 return atomOp.emitOpError( in verify()
1119 << atomOp.comparator().getType() << " vs " << atomOp.getType(); in verify()
1122 atomOp.pointer().getType().cast<spirv::PointerType>().getPointeeType(); in verify()
1123 if (atomOp.getType() != pointeeType) in verify()
1124 return atomOp.emitOpError( in verify()
1127 << pointeeType << " vs " << atomOp.getType(); in verify()