Lines Matching refs:Op
55 const BitCodeAbbrevOp &Op) {
56 assert(!Op.isLiteral() && "Not to be used with literals!");
59 switch (Op.getEncoding()) {
64 assert((unsigned)Op.getEncodingData() <= Cursor.MaxChunkSize);
65 return Cursor.Read((unsigned)Op.getEncodingData());
67 assert((unsigned)Op.getEncodingData() <= Cursor.MaxChunkSize);
68 return Cursor.ReadVBR64((unsigned)Op.getEncodingData());
76 const BitCodeAbbrevOp &Op) {
77 assert(!Op.isLiteral() && "Not to be used with literals!");
80 switch (Op.getEncoding()) {
85 assert((unsigned)Op.getEncodingData() <= Cursor.MaxChunkSize);
86 Cursor.Read((unsigned)Op.getEncodingData());
89 assert((unsigned)Op.getEncodingData() <= Cursor.MaxChunkSize);
90 Cursor.ReadVBR64((unsigned)Op.getEncodingData());
115 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i);
116 if (Op.isLiteral())
119 if (Op.getEncoding() != BitCodeAbbrevOp::Array &&
120 Op.getEncoding() != BitCodeAbbrevOp::Blob) {
121 skipAbbreviatedField(*this, Op);
125 if (Op.getEncoding() == BitCodeAbbrevOp::Array) {
130 assert(i+2 == e && "array op not second to last?");
139 assert((unsigned)Op.getEncodingData() <= MaxChunkSize);
144 assert((unsigned)Op.getEncodingData() <= MaxChunkSize);
156 assert(Op.getEncoding() == BitCodeAbbrevOp::Blob);
203 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i);
204 if (Op.isLiteral()) {
205 Vals.push_back(Op.getLiteralValue());
209 if (Op.getEncoding() != BitCodeAbbrevOp::Array &&
210 Op.getEncoding() != BitCodeAbbrevOp::Blob) {
211 Vals.push_back(readAbbreviatedField(*this, Op));
215 if (Op.getEncoding() == BitCodeAbbrevOp::Array) {
221 report_fatal_error("Array op not second to last");
246 assert(Op.getEncoding() == BitCodeAbbrevOp::Blob);