Lines Matching refs:BitCodeAbbrevOp
154 if (AbbrevToUse && !BitCodeAbbrevOp::isChar6(Str[i]))
209 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER));
210 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits));
211 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0
216 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION));
217 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg
218 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
219 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits));
225 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_ANON));
226 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // ispacked
227 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
228 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits));
234 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_NAME));
235 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
236 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6));
241 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_NAMED));
242 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // ispacked
243 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
244 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits));
250 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_ARRAY));
251 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // size
252 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits));
456 Abbv->Add(BitCodeAbbrevOp(bitc::MODULE_CODE_GLOBALVAR));
457 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed,
459 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // Constant.
460 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // Initializer.
461 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // Linkage.
463 Abbv->Add(BitCodeAbbrevOp(0));
466 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed,
470 Abbv->Add(BitCodeAbbrevOp(0));
472 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed,
602 Abbv->Add(BitCodeAbbrevOp(bitc::METADATA_STRING));
603 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
604 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8));
737 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_AGGREGATE));
738 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
739 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, Log2_32_Ceil(LastVal+1)));
744 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_STRING));
745 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
746 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8));
750 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CSTRING));
751 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
752 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7));
756 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CSTRING));
757 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
758 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6));
868 isCStrChar6 = BitCodeAbbrevOp::isChar6(V);
1343 isChar6 = BitCodeAbbrevOp::isChar6(*C);
1460 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 3));
1461 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8));
1462 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
1463 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8));
1471 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_ENTRY));
1472 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8));
1473 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
1474 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7));
1481 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_ENTRY));
1482 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8));
1483 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
1484 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6));
1491 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_BBENTRY));
1492 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8));
1493 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
1494 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6));
1504 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_SETTYPE));
1505 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed,
1514 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_INTEGER));
1515 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8));
1523 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CE_CAST));
1524 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // cast opc
1525 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // typeid
1527 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // value id
1535 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_NULL));
1545 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_LOAD));
1546 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // Ptr
1547 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 4)); // Align
1548 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // volatile
1555 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_BINOP));
1556 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // LHS
1557 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // RHS
1558 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc
1565 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_BINOP));
1566 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // LHS
1567 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // RHS
1568 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc
1569 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); // flags
1576 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_CAST));
1577 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // OpVal
1578 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // dest ty
1580 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc
1588 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_RET));
1595 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_RET));
1596 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // ValID
1603 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_UNREACHABLE));