Home | History | Annotate | Download | only in BitWriter_3_2

Lines Matching refs:BitCodeAbbrevOp

154     if (AbbrevToUse && !BitCodeAbbrevOp::isChar6(Str[i]))
199 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER));
200 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits));
201 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0
206 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION));
207 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg
208 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
209 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits));
215 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_ANON));
216 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // ispacked
217 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
218 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits));
224 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_NAME));
225 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
226 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6));
231 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_NAMED));
232 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // ispacked
233 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
234 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits));
240 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_ARRAY));
241 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // size
242 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits));
454 Abbv->Add(BitCodeAbbrevOp(bitc::MODULE_CODE_GLOBALVAR));
455 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed,
457 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // Constant.
458 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // Initializer.
459 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // Linkage.
461 Abbv->Add(BitCodeAbbrevOp(0));
464 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed,
468 Abbv->Add(BitCodeAbbrevOp(0));
470 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed,
616 Abbv->Add(BitCodeAbbrevOp(bitc::METADATA_STRING));
617 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
618 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8));
786 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_AGGREGATE));
787 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
788 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, Log2_32_Ceil(LastVal+1)));
793 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_STRING));
794 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
795 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8));
799 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CSTRING));
800 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
801 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7));
805 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CSTRING));
806 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
807 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6));
895 isCStrChar6 = BitCodeAbbrevOp::isChar6(V);
1418 isChar6 = BitCodeAbbrevOp::isChar6(*C);
1536 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 3));
1537 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8));
1538 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
1539 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8));
1547 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_ENTRY));
1548 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8));
1549 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
1550 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7));
1557 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_ENTRY));
1558 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8));
1559 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
1560 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6));
1567 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_BBENTRY));
1568 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8));
1569 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
1570 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6));
1580 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_SETTYPE));
1581 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed,
1590 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_INTEGER));
1591 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8));
1599 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CE_CAST));
1600 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // cast opc
1601 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // typeid
1603 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // value id
1611 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_NULL));
1621 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_LOAD));
1622 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // Ptr
1623 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 4)); // Align
1624 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // volatile
1631 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_BINOP));
1632 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // LHS
1633 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // RHS
1634 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc
1641 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_BINOP));
1642 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // LHS
1643 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // RHS
1644 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc
1645 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); // flags
1652 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_CAST));
1653 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // OpVal
1654 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // dest ty
1656 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc
1664 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_RET));
1671 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_RET));
1672 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // ValID
1679 BitCodeAbbrevOp(bitc::FUNC_CODE_INST_UNREACHABLE));