Lines Matching refs:Literals
54 // Complete constructor for decorations without literals
70 /// Compare kind, literals and target.
104 std::vector<SPIRVWord> Literals;
131 // Complete constructor for decorations without literals
144 assert(WordCount == Literals.size() + FixedWC);
156 Literals.push_back(I);
157 Literals.push_back(Kind);
158 WordCount += Literals.size();
164 return getString(Literals.cbegin(), Literals.cend() - 1);
167 return (SPIRVLinkageTypeKind)Literals.back();
171 const std::vector<SPIRVWord>& Literals) {
174 Encoder << getString(Literals.cbegin(), Literals.cend() - 1);
176 Encoder << (SPIRVLinkageTypeKind)Literals.back();
179 Encoder << Literals;
182 static void decodeLiterals(SPIRVDecoder& Decoder, std::vector<SPIRVWord>& Literals) {
189 std::copy_n(getVec(Name).begin(), Literals.size()-1, Literals.begin());
190 Literals.back() = Kind;
193 Decoder >> Literals;
201 // Complete constructor for decorations without literals
226 assert(WordCount == Literals.size() + FixedWC);