• Home
  • Raw
  • Download

Lines Matching refs:Add

84   case Instruction::Add:  in GetEncodedBinaryOpcode()
109 case AtomicRMWInst::Add: return bitc::RMW_ADD; in GetEncodedRMWOperation()
194 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER)); in WriteTypeTable()
195 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
196 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in WriteTypeTable()
201 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION)); in WriteTypeTable()
202 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg in WriteTypeTable()
203 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable()
204 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
210 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_ANON)); in WriteTypeTable()
211 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // ispacked in WriteTypeTable()
212 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable()
213 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
219 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_NAME)); in WriteTypeTable()
220 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable()
221 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in WriteTypeTable()
226 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_NAMED)); in WriteTypeTable()
227 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // ispacked in WriteTypeTable()
228 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable()
229 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
235 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_ARRAY)); in WriteTypeTable()
236 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // size in WriteTypeTable()
237 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
454 Abbv->Add(BitCodeAbbrevOp(bitc::MODULE_CODE_GLOBALVAR)); in WriteModuleInfo()
455 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteModuleInfo()
457 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // Constant. in WriteModuleInfo()
458 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // Initializer. in WriteModuleInfo()
459 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // Linkage. in WriteModuleInfo()
461 Abbv->Add(BitCodeAbbrevOp(0)); in WriteModuleInfo()
464 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteModuleInfo()
468 Abbv->Add(BitCodeAbbrevOp(0)); in WriteModuleInfo()
470 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteModuleInfo()
640 Abbv->Add(BitCodeAbbrevOp(bitc::METADATA_STRING_OLD)); in WriteModuleMetadata()
641 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteModuleMetadata()
642 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in WriteModuleMetadata()
654 Abbv->Add(BitCodeAbbrevOp(bitc::METADATA_LOCATION)); in WriteModuleMetadata()
655 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); in WriteModuleMetadata()
656 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in WriteModuleMetadata()
657 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteModuleMetadata()
658 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in WriteModuleMetadata()
659 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in WriteModuleMetadata()
667 Abbv->Add(BitCodeAbbrevOp(bitc::METADATA_NAME)); in WriteModuleMetadata()
668 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteModuleMetadata()
669 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in WriteModuleMetadata()
819 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_AGGREGATE)); in WriteConstants()
820 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteConstants()
821 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, Log2_32_Ceil(LastVal+1))); in WriteConstants()
826 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_STRING)); in WriteConstants()
827 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteConstants()
828 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in WriteConstants()
832 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CSTRING)); in WriteConstants()
833 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteConstants()
834 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); in WriteConstants()
838 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CSTRING)); in WriteConstants()
839 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteConstants()
840 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in WriteConstants()
1567 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 3)); in WriteBlockInfo()
1568 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteBlockInfo()
1569 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteBlockInfo()
1570 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in WriteBlockInfo()
1578 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_ENTRY)); in WriteBlockInfo()
1579 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteBlockInfo()
1580 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteBlockInfo()
1581 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); in WriteBlockInfo()
1588 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_ENTRY)); in WriteBlockInfo()
1589 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteBlockInfo()
1590 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteBlockInfo()
1591 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in WriteBlockInfo()
1598 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_BBENTRY)); in WriteBlockInfo()
1599 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteBlockInfo()
1600 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteBlockInfo()
1601 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in WriteBlockInfo()
1611 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_SETTYPE)); in WriteBlockInfo()
1612 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteBlockInfo()
1621 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_INTEGER)); in WriteBlockInfo()
1622 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteBlockInfo()
1630 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CE_CAST)); in WriteBlockInfo()
1631 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // cast opc in WriteBlockInfo()
1632 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // typeid in WriteBlockInfo()
1634 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // value id in WriteBlockInfo()
1642 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_NULL)); in WriteBlockInfo()
1652 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_LOAD)); in WriteBlockInfo()
1653 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // Ptr in WriteBlockInfo()
1654 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 4)); // Align in WriteBlockInfo()
1655 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // volatile in WriteBlockInfo()
1662 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_BINOP)); in WriteBlockInfo()
1663 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // LHS in WriteBlockInfo()
1664 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // RHS in WriteBlockInfo()
1665 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc in WriteBlockInfo()
1672 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_BINOP)); in WriteBlockInfo()
1673 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // LHS in WriteBlockInfo()
1674 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // RHS in WriteBlockInfo()
1675 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc in WriteBlockInfo()
1676 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); // flags in WriteBlockInfo()
1683 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_CAST)); in WriteBlockInfo()
1684 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // OpVal in WriteBlockInfo()
1685 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // dest ty in WriteBlockInfo()
1687 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc in WriteBlockInfo()
1695 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_RET)); in WriteBlockInfo()
1702 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_RET)); in WriteBlockInfo()
1703 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // ValID in WriteBlockInfo()
1710 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_UNREACHABLE)); in WriteBlockInfo()