Lines Matching refs:Add
99 case Instruction::Add: in GetEncodedBinaryOpcode()
166 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_ENTRY)); in WriteTypeSymbolTable()
167 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteTypeSymbolTable()
169 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeSymbolTable()
170 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); in WriteTypeSymbolTable()
223 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER)); in WriteTypeTable()
224 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
225 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in WriteTypeTable()
230 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION_OLD)); in WriteTypeTable()
231 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg in WriteTypeTable()
232 Abbv->Add(BitCodeAbbrevOp(0)); // FIXME: DEAD value, remove in LLVM 3.0 in WriteTypeTable()
233 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable()
234 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
240 Abbv->Add(BitCodeAbbrevOp(TYPE_CODE_STRUCT_OLD_3_0)); in WriteTypeTable()
241 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // ispacked in WriteTypeTable()
242 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable()
243 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
248 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_ARRAY)); in WriteTypeTable()
249 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // size in WriteTypeTable()
250 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
443 Abbv->Add(BitCodeAbbrevOp(bitc::MODULE_CODE_GLOBALVAR)); in WriteModuleInfo()
444 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteModuleInfo()
446 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // Constant. in WriteModuleInfo()
447 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // Initializer. in WriteModuleInfo()
448 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // Linkage. in WriteModuleInfo()
450 Abbv->Add(BitCodeAbbrevOp(0)); in WriteModuleInfo()
453 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteModuleInfo()
457 Abbv->Add(BitCodeAbbrevOp(0)); in WriteModuleInfo()
459 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteModuleInfo()
612 Abbv->Add(BitCodeAbbrevOp(bitc::METADATA_STRING_OLD)); in WriteModuleMetadata()
613 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteModuleMetadata()
614 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in WriteModuleMetadata()
626 Abbv->Add(BitCodeAbbrevOp(bitc::METADATA_LOCATION)); in WriteModuleMetadata()
627 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); in WriteModuleMetadata()
628 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in WriteModuleMetadata()
629 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteModuleMetadata()
630 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in WriteModuleMetadata()
631 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in WriteModuleMetadata()
639 Abbv->Add(BitCodeAbbrevOp(bitc::METADATA_NAME)); in WriteModuleMetadata()
640 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteModuleMetadata()
641 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in WriteModuleMetadata()
784 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_AGGREGATE)); in WriteConstants()
785 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteConstants()
786 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, Log2_32_Ceil(LastVal+1))); in WriteConstants()
791 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_STRING)); in WriteConstants()
792 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteConstants()
793 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in WriteConstants()
797 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CSTRING)); in WriteConstants()
798 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteConstants()
799 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); in WriteConstants()
803 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CSTRING)); in WriteConstants()
804 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteConstants()
805 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in WriteConstants()
1434 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 3)); in WriteBlockInfo()
1435 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteBlockInfo()
1436 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteBlockInfo()
1437 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in WriteBlockInfo()
1445 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_ENTRY)); in WriteBlockInfo()
1446 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteBlockInfo()
1447 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteBlockInfo()
1448 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); in WriteBlockInfo()
1455 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_ENTRY)); in WriteBlockInfo()
1456 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteBlockInfo()
1457 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteBlockInfo()
1458 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in WriteBlockInfo()
1465 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_BBENTRY)); in WriteBlockInfo()
1466 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteBlockInfo()
1467 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteBlockInfo()
1468 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in WriteBlockInfo()
1478 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_SETTYPE)); in WriteBlockInfo()
1479 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteBlockInfo()
1488 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_INTEGER)); in WriteBlockInfo()
1489 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteBlockInfo()
1497 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CE_CAST)); in WriteBlockInfo()
1498 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // cast opc in WriteBlockInfo()
1499 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // typeid in WriteBlockInfo()
1501 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // value id in WriteBlockInfo()
1509 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_NULL)); in WriteBlockInfo()
1519 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_LOAD)); in WriteBlockInfo()
1520 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // Ptr in WriteBlockInfo()
1521 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 4)); // Align in WriteBlockInfo()
1522 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // volatile in WriteBlockInfo()
1529 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_BINOP)); in WriteBlockInfo()
1530 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // LHS in WriteBlockInfo()
1531 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // RHS in WriteBlockInfo()
1532 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc in WriteBlockInfo()
1539 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_BINOP)); in WriteBlockInfo()
1540 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // LHS in WriteBlockInfo()
1541 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // RHS in WriteBlockInfo()
1542 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc in WriteBlockInfo()
1543 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); // flags in WriteBlockInfo()
1550 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_CAST)); in WriteBlockInfo()
1551 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // OpVal in WriteBlockInfo()
1552 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // dest ty in WriteBlockInfo()
1554 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc in WriteBlockInfo()
1562 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_RET)); in WriteBlockInfo()
1569 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_RET)); in WriteBlockInfo()
1570 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // ValID in WriteBlockInfo()
1577 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_UNREACHABLE)); in WriteBlockInfo()