Lines Matching defs:operands
103 ArrayRef<uint32_t> operands)>;
118 llvm::ArrayRef<uint32_t> operands(begin + currOffset + 1,
120 if (handleFn(opcode, operands))
145 ArrayRef<uint32_t> operands) {
146 return opcode == spirv::Opcode::OpDecorate && operands.size() == 2 &&
147 operands[1] == static_cast<uint32_t>(spirv::Decoration::Block);
163 ArrayRef<uint32_t> operands) {
164 if (opcode == spirv::Opcode::OpDecorate && operands.size() == 2 &&
165 operands[1] == static_cast<uint32_t>(spirv::Decoration::Block))
188 auto hasSignlessVal = [&](spirv::Opcode opcode, ArrayRef<uint32_t> operands) {
189 return opcode == spirv::Opcode::OpConstant && operands.size() == 3 &&
190 operands[2] == 65535;
194 auto hasSignedVal = [&](spirv::Opcode opcode, ArrayRef<uint32_t> operands) {
195 return opcode == spirv::Opcode::OpConstant && operands.size() == 3 &&
196 operands[2] == 4294967295;
209 auto hasVarName = [](spirv::Opcode opcode, ArrayRef<uint32_t> operands) {
212 spirv::decodeStringLiteral(operands, index) == "var0";
225 auto hasVarName = [](spirv::Opcode opcode, ArrayRef<uint32_t> operands) {
228 spirv::decodeStringLiteral(operands, index) == "var0";