Lines Matching defs:wordIndex
827 /// position `wordIndex` and adds the deserialized attribute into `attrList`.
831 StringRef words, StringRef wordIndex,
840 baseEnum.getEnumClassName(), words, wordIndex);
849 baseEnum.getEnumClassName(), words, wordIndex);
852 os << tabs << formatv("while ({0} < {1}.size()) {{\n", wordIndex, words);
858 words, wordIndex);
868 attrList, attrName, words, wordIndex);
873 attrList, attrName, words, wordIndex);
884 /// `words`[`wordIndex`], the SSA ID for the result at position `wordIndex` + 1
889 StringRef wordIndex,
895 os << tabs << formatv(" if ({0} >= {1}.size()) {{\n", wordIndex, words);
902 os << tabs << formatv(" auto ty = getType({0}[{1}]);\n", words, wordIndex);
908 words, wordIndex);
911 os << tabs << formatv(" {0}++;\n", wordIndex);
912 os << tabs << formatv(" if ({0} >= {1}.size()) {{\n", wordIndex, words);
920 os << tabs << formatv("{0} = {1}[{2}++];\n", valueID, words, wordIndex);
928 /// position `wordIndex` to the end, and either gets the Value corresponding to
933 StringRef wordIndex, StringRef operands,
946 << formatv("for (; {0} < {1}.size(); ++{0})", wordIndex, words);
948 os << tabs << formatv("if ({0} < {1}.size())", wordIndex, words);
952 << formatv(" auto arg = getValue({0}[{1}]);\n", words, wordIndex);
958 words, wordIndex);
962 os << tabs << formatv(" {0}++;\n", wordIndex);
966 os << tabs << formatv("if ({0} < {1}.size()) {{\n", wordIndex, words);
971 loc, newtabs, attributes, attr->name, words, wordIndex, os);
976 os << tabs << formatv("if ({0} != {1}.size()) {{\n", wordIndex, words);
982 op.getQualCppClassName(), wordIndex, words);
1013 wordIndex("wordIndex"), opVar("op"), operands("operands"),
1032 os << formatv(" size_t {0} = 0; (void){0};\n", wordIndex);
1036 emitResultDeserialization(op, record->getLoc(), " ", words, wordIndex,
1042 emitOperandDeserialization(op, record->getLoc(), " ", words, wordIndex,