• Home
  • Raw
  • Download

Lines Matching refs:Add

92   case Instruction::Add:  in GetEncodedBinaryOpcode()
169 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_ENTRY)); in WriteTypeSymbolTable()
170 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteTypeSymbolTable()
172 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeSymbolTable()
173 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); in WriteTypeSymbolTable()
243 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER)); in WriteTypeTable()
244 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteTypeTable()
246 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in WriteTypeTable()
251 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION)); in WriteTypeTable()
252 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg in WriteTypeTable()
253 Abbv->Add(BitCodeAbbrevOp(0)); // FIXME: DEAD value, remove in LLVM 3.0 in WriteTypeTable()
254 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable()
255 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteTypeTable()
262 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_ANON)); in WriteTypeTable()
263 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // ispacked in WriteTypeTable()
264 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable()
265 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteTypeTable()
271 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_NAME)); in WriteTypeTable()
272 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable()
273 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in WriteTypeTable()
278 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_NAMED)); in WriteTypeTable()
279 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // ispacked in WriteTypeTable()
280 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable()
281 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteTypeTable()
288 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_OLD)); in WriteTypeTable()
289 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // ispacked in WriteTypeTable()
290 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable()
291 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteTypeTable()
297 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_ARRAY)); in WriteTypeTable()
298 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // size in WriteTypeTable()
299 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteTypeTable()
488 Abbv->Add(BitCodeAbbrevOp(bitc::MODULE_CODE_GLOBALVAR)); in WriteModuleInfo()
489 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteModuleInfo()
491 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // Constant. in WriteModuleInfo()
492 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // Initializer. in WriteModuleInfo()
493 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // Linkage. in WriteModuleInfo()
495 Abbv->Add(BitCodeAbbrevOp(0)); in WriteModuleInfo()
498 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteModuleInfo()
502 Abbv->Add(BitCodeAbbrevOp(0)); in WriteModuleInfo()
504 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteModuleInfo()
633 Abbv->Add(BitCodeAbbrevOp(bitc::METADATA_STRING)); in WriteModuleMetadata()
634 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteModuleMetadata()
635 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in WriteModuleMetadata()
768 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_AGGREGATE)); in WriteConstants()
769 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteConstants()
770 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, Log2_32_Ceil(LastVal+1))); in WriteConstants()
775 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_STRING)); in WriteConstants()
776 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteConstants()
777 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in WriteConstants()
781 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CSTRING)); in WriteConstants()
782 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteConstants()
783 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); in WriteConstants()
787 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CSTRING)); in WriteConstants()
788 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteConstants()
789 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in WriteConstants()
1401 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 3)); in WriteBlockInfo()
1402 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteBlockInfo()
1403 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteBlockInfo()
1404 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in WriteBlockInfo()
1412 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_ENTRY)); in WriteBlockInfo()
1413 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteBlockInfo()
1414 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteBlockInfo()
1415 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); in WriteBlockInfo()
1422 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_ENTRY)); in WriteBlockInfo()
1423 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteBlockInfo()
1424 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteBlockInfo()
1425 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in WriteBlockInfo()
1432 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_BBENTRY)); in WriteBlockInfo()
1433 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteBlockInfo()
1434 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteBlockInfo()
1435 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in WriteBlockInfo()
1445 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_SETTYPE)); in WriteBlockInfo()
1446 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteBlockInfo()
1455 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_INTEGER)); in WriteBlockInfo()
1456 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteBlockInfo()
1464 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CE_CAST)); in WriteBlockInfo()
1465 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // cast opc in WriteBlockInfo()
1466 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // typeid in WriteBlockInfo()
1468 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // value id in WriteBlockInfo()
1476 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_NULL)); in WriteBlockInfo()
1486 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_LOAD)); in WriteBlockInfo()
1487 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // Ptr in WriteBlockInfo()
1488 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 4)); // Align in WriteBlockInfo()
1489 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // volatile in WriteBlockInfo()
1496 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_BINOP)); in WriteBlockInfo()
1497 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // LHS in WriteBlockInfo()
1498 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // RHS in WriteBlockInfo()
1499 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc in WriteBlockInfo()
1506 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_BINOP)); in WriteBlockInfo()
1507 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // LHS in WriteBlockInfo()
1508 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // RHS in WriteBlockInfo()
1509 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc in WriteBlockInfo()
1510 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); // flags in WriteBlockInfo()
1517 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_CAST)); in WriteBlockInfo()
1518 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // OpVal in WriteBlockInfo()
1519 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // dest ty in WriteBlockInfo()
1521 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc in WriteBlockInfo()
1529 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_RET)); in WriteBlockInfo()
1536 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_RET)); in WriteBlockInfo()
1537 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // ValID in WriteBlockInfo()
1544 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_UNREACHABLE)); in WriteBlockInfo()