Lines Matching defs:wordIndex
175 unsigned wordIndex = 0;
176 StringRef extName = decodeStringLiteral(words, wordIndex);
177 if (wordIndex != words.size())
196 unsigned wordIndex = 1;
197 extendedInstSets[words[0]] = decodeStringLiteral(words, wordIndex);
198 if (wordIndex != words.size()) {
321 unsigned wordIndex = 2;
322 auto linkageName = spirv::decodeStringLiteral(words, wordIndex).str();
324 static_cast<::mlir::spirv::LinkageType>(words[wordIndex++]));
414 unsigned wordIndex = 2;
415 auto name = decodeStringLiteral(words, wordIndex);
416 if (wordIndex != words.size()) {
705 unsigned wordIndex = 0;
713 auto type = getType(operands[wordIndex]);
716 << operands[wordIndex];
724 wordIndex++;
727 auto variableID = operands[wordIndex];
732 wordIndex++;
735 auto storageClass = static_cast<spirv::StorageClass>(operands[wordIndex]);
741 wordIndex++;
746 if (wordIndex < operands.size()) {
749 if (auto initOp = getGlobalVariable(operands[wordIndex]))
751 else if (auto initOp = getSpecConstant(operands[wordIndex]))
753 else if (auto initOp = getSpecConstantComposite(operands[wordIndex]))
757 << operands[wordIndex] << "used as initializer";
760 wordIndex++;
762 if (wordIndex != operands.size()) {
766 << wordIndex << " of " << operands.size() << " processed";
798 unsigned wordIndex = 1;
799 StringRef name = decodeStringLiteral(operands, wordIndex);
800 if (wordIndex != operands.size()) {
2257 unsigned wordIndex = 1;
2258 StringRef debugString = decodeStringLiteral(operands, wordIndex);
2259 if (wordIndex != operands.size())