Lines Matching refs:BitCodeAbbrevOp
72 const BitCodeAbbrevOp &Op) {
77 case BitCodeAbbrevOp::Array:
78 case BitCodeAbbrevOp::Blob:
80 case BitCodeAbbrevOp::Fixed:
83 case BitCodeAbbrevOp::VBR:
86 case BitCodeAbbrevOp::Char6:
88 return BitCodeAbbrevOp::DecodeChar6(Res.get());
120 const BitCodeAbbrevOp &CodeOp = Abbv->getOperandInfo(0);
125 if (CodeOp.getEncoding() == BitCodeAbbrevOp::Array ||
126 CodeOp.getEncoding() == BitCodeAbbrevOp::Blob)
137 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i);
141 if (Op.getEncoding() != BitCodeAbbrevOp::Array &&
142 Op.getEncoding() != BitCodeAbbrevOp::Blob) {
149 if (Op.getEncoding() == BitCodeAbbrevOp::Array) {
158 const BitCodeAbbrevOp &EltEnc = Abbv->getOperandInfo(++i);
165 case BitCodeAbbrevOp::Fixed:
172 case BitCodeAbbrevOp::VBR:
181 case BitCodeAbbrevOp::Char6:
189 assert(Op.getEncoding() == BitCodeAbbrevOp::Blob);
247 const BitCodeAbbrevOp &CodeOp = Abbv->getOperandInfo(0);
252 if (CodeOp.getEncoding() == BitCodeAbbrevOp::Array ||
253 CodeOp.getEncoding() == BitCodeAbbrevOp::Blob)
262 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i);
268 if (Op.getEncoding() != BitCodeAbbrevOp::Array &&
269 Op.getEncoding() != BitCodeAbbrevOp::Blob) {
277 if (Op.getEncoding() == BitCodeAbbrevOp::Array) {
292 const BitCodeAbbrevOp &EltEnc = Abbv->getOperandInfo(++i);
301 case BitCodeAbbrevOp::Fixed:
309 case BitCodeAbbrevOp::VBR:
317 case BitCodeAbbrevOp::Char6:
320 Vals.push_back(BitCodeAbbrevOp::DecodeChar6(MaybeVal.get()));
327 assert(Op.getEncoding() == BitCodeAbbrevOp::Blob);
378 Abbv->Add(BitCodeAbbrevOp(MaybeOp.get()));
385 if (!BitCodeAbbrevOp::isValidEncoding(MaybeEncoding.get()))
388 BitCodeAbbrevOp::Encoding E =
389 (BitCodeAbbrevOp::Encoding)MaybeEncoding.get();
390 if (BitCodeAbbrevOp::hasEncodingData(E)) {
399 if ((E == BitCodeAbbrevOp::Fixed || E == BitCodeAbbrevOp::VBR) &&
401 Abbv->Add(BitCodeAbbrevOp(0));
405 if ((E == BitCodeAbbrevOp::Fixed || E == BitCodeAbbrevOp::VBR) &&
409 Abbv->Add(BitCodeAbbrevOp(E, Data));
411 Abbv->Add(BitCodeAbbrevOp(E));