Lines Matching refs:Abbv
348 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteTypeTable() local
349 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER)); in WriteTypeTable()
350 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
351 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in WriteTypeTable()
352 unsigned PtrAbbrev = Stream.EmitAbbrev(Abbv); in WriteTypeTable()
355 Abbv = new BitCodeAbbrev(); in WriteTypeTable()
356 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION)); in WriteTypeTable()
357 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg in WriteTypeTable()
358 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable()
359 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
361 unsigned FunctionAbbrev = Stream.EmitAbbrev(Abbv); in WriteTypeTable()
364 Abbv = new BitCodeAbbrev(); in WriteTypeTable()
365 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_ANON)); in WriteTypeTable()
366 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // ispacked in WriteTypeTable()
367 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable()
368 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
370 unsigned StructAnonAbbrev = Stream.EmitAbbrev(Abbv); in WriteTypeTable()
373 Abbv = new BitCodeAbbrev(); in WriteTypeTable()
374 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_NAME)); in WriteTypeTable()
375 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable()
376 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in WriteTypeTable()
377 unsigned StructNameAbbrev = Stream.EmitAbbrev(Abbv); in WriteTypeTable()
380 Abbv = new BitCodeAbbrev(); in WriteTypeTable()
381 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_NAMED)); in WriteTypeTable()
382 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // ispacked in WriteTypeTable()
383 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable()
384 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
386 unsigned StructNamedAbbrev = Stream.EmitAbbrev(Abbv); in WriteTypeTable()
389 Abbv = new BitCodeAbbrev(); in WriteTypeTable()
390 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_ARRAY)); in WriteTypeTable()
391 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // size in WriteTypeTable()
392 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
394 unsigned ArrayAbbrev = Stream.EmitAbbrev(Abbv); in WriteTypeTable()
599 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteValueSymbolTableForwardDecl() local
600 Abbv->Add(BitCodeAbbrevOp(bitc::MODULE_CODE_VSTOFFSET)); in WriteValueSymbolTableForwardDecl()
604 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); in WriteValueSymbolTableForwardDecl()
605 unsigned VSTOffsetAbbrev = Stream.EmitAbbrev(Abbv); in WriteValueSymbolTableForwardDecl()
678 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteModuleInfo() local
679 Abbv->Add(BitCodeAbbrevOp(bitc::MODULE_CODE_GLOBALVAR)); in WriteModuleInfo()
680 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteModuleInfo()
682 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // AddrSpace << 2 in WriteModuleInfo()
685 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // Initializer. in WriteModuleInfo()
686 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 5)); // Linkage. in WriteModuleInfo()
688 Abbv->Add(BitCodeAbbrevOp(0)); in WriteModuleInfo()
691 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteModuleInfo()
695 Abbv->Add(BitCodeAbbrevOp(0)); in WriteModuleInfo()
697 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteModuleInfo()
700 SimpleGVarAbbrev = Stream.EmitAbbrev(Abbv); in WriteModuleInfo()
790 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteModuleInfo() local
791 Abbv->Add(BitCodeAbbrevOp(bitc::MODULE_CODE_METADATA_VALUES)); in WriteModuleInfo()
792 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in WriteModuleInfo()
793 unsigned MDValsAbbrev = Stream.EmitAbbrev(Abbv); in WriteModuleInfo()
1264 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteModuleMetadata() local
1265 Abbv->Add(BitCodeAbbrevOp(bitc::METADATA_STRING)); in WriteModuleMetadata()
1266 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteModuleMetadata()
1267 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in WriteModuleMetadata()
1268 MDSAbbrev = Stream.EmitAbbrev(Abbv); in WriteModuleMetadata()
1280 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteModuleMetadata() local
1281 Abbv->Add(BitCodeAbbrevOp(bitc::METADATA_LOCATION)); in WriteModuleMetadata()
1282 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); in WriteModuleMetadata()
1283 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in WriteModuleMetadata()
1284 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteModuleMetadata()
1285 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in WriteModuleMetadata()
1286 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in WriteModuleMetadata()
1287 DILocationAbbrev = Stream.EmitAbbrev(Abbv); in WriteModuleMetadata()
1295 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteModuleMetadata() local
1296 Abbv->Add(BitCodeAbbrevOp(bitc::METADATA_GENERIC_DEBUG)); in WriteModuleMetadata()
1297 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); in WriteModuleMetadata()
1298 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in WriteModuleMetadata()
1299 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); in WriteModuleMetadata()
1300 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in WriteModuleMetadata()
1301 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteModuleMetadata()
1302 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in WriteModuleMetadata()
1303 GenericDINodeAbbrev = Stream.EmitAbbrev(Abbv); in WriteModuleMetadata()
1309 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteModuleMetadata() local
1310 Abbv->Add(BitCodeAbbrevOp(bitc::METADATA_NAME)); in WriteModuleMetadata()
1311 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteModuleMetadata()
1312 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in WriteModuleMetadata()
1313 NameAbbrev = Stream.EmitAbbrev(Abbv); in WriteModuleMetadata()
1495 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteConstants() local
1496 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_AGGREGATE)); in WriteConstants()
1497 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteConstants()
1498 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, Log2_32_Ceil(LastVal+1))); in WriteConstants()
1499 AggregateAbbrev = Stream.EmitAbbrev(Abbv); in WriteConstants()
1502 Abbv = new BitCodeAbbrev(); in WriteConstants()
1503 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_STRING)); in WriteConstants()
1504 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteConstants()
1505 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in WriteConstants()
1506 String8Abbrev = Stream.EmitAbbrev(Abbv); in WriteConstants()
1508 Abbv = new BitCodeAbbrev(); in WriteConstants()
1509 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CSTRING)); in WriteConstants()
1510 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteConstants()
1511 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); in WriteConstants()
1512 CString7Abbrev = Stream.EmitAbbrev(Abbv); in WriteConstants()
1514 Abbv = new BitCodeAbbrev(); in WriteConstants()
1515 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CSTRING)); in WriteConstants()
1516 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteConstants()
1517 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in WriteConstants()
1518 CString6Abbrev = Stream.EmitAbbrev(Abbv); in WriteConstants()
2250 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteValueSymbolTable() local
2251 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_FNENTRY)); in WriteValueSymbolTable()
2252 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // value id in WriteValueSymbolTable()
2253 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // funcoffset in WriteValueSymbolTable()
2254 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteValueSymbolTable()
2255 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in WriteValueSymbolTable()
2256 FnEntry8BitAbbrev = Stream.EmitAbbrev(Abbv); in WriteValueSymbolTable()
2259 Abbv = new BitCodeAbbrev(); in WriteValueSymbolTable()
2260 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_FNENTRY)); in WriteValueSymbolTable()
2261 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // value id in WriteValueSymbolTable()
2262 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // funcoffset in WriteValueSymbolTable()
2263 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteValueSymbolTable()
2264 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); in WriteValueSymbolTable()
2265 FnEntry7BitAbbrev = Stream.EmitAbbrev(Abbv); in WriteValueSymbolTable()
2268 Abbv = new BitCodeAbbrev(); in WriteValueSymbolTable()
2269 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_FNENTRY)); in WriteValueSymbolTable()
2270 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // value id in WriteValueSymbolTable()
2271 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // funcoffset in WriteValueSymbolTable()
2272 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteValueSymbolTable()
2273 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in WriteValueSymbolTable()
2274 FnEntry6BitAbbrev = Stream.EmitAbbrev(Abbv); in WriteValueSymbolTable()
2352 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteCombinedValueSymbolTable() local
2353 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_COMBINED_FNENTRY)); in WriteCombinedValueSymbolTable()
2354 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // funcoffset in WriteCombinedValueSymbolTable()
2355 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteCombinedValueSymbolTable()
2356 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in WriteCombinedValueSymbolTable()
2357 unsigned FnEntry8BitAbbrev = Stream.EmitAbbrev(Abbv); in WriteCombinedValueSymbolTable()
2360 Abbv = new BitCodeAbbrev(); in WriteCombinedValueSymbolTable()
2361 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_COMBINED_FNENTRY)); in WriteCombinedValueSymbolTable()
2362 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // funcoffset in WriteCombinedValueSymbolTable()
2363 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteCombinedValueSymbolTable()
2364 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); in WriteCombinedValueSymbolTable()
2365 unsigned FnEntry7BitAbbrev = Stream.EmitAbbrev(Abbv); in WriteCombinedValueSymbolTable()
2368 Abbv = new BitCodeAbbrev(); in WriteCombinedValueSymbolTable()
2369 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_COMBINED_FNENTRY)); in WriteCombinedValueSymbolTable()
2370 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // funcoffset in WriteCombinedValueSymbolTable()
2371 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteCombinedValueSymbolTable()
2372 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in WriteCombinedValueSymbolTable()
2373 unsigned FnEntry6BitAbbrev = Stream.EmitAbbrev(Abbv); in WriteCombinedValueSymbolTable()
2552 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteBlockInfo() local
2553 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 3)); in WriteBlockInfo()
2554 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteBlockInfo()
2555 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteBlockInfo()
2556 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in WriteBlockInfo()
2558 Abbv) != VST_ENTRY_8_ABBREV) in WriteBlockInfo()
2563 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteBlockInfo() local
2564 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_ENTRY)); in WriteBlockInfo()
2565 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteBlockInfo()
2566 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteBlockInfo()
2567 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); in WriteBlockInfo()
2569 Abbv) != VST_ENTRY_7_ABBREV) in WriteBlockInfo()
2573 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteBlockInfo() local
2574 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_ENTRY)); in WriteBlockInfo()
2575 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteBlockInfo()
2576 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteBlockInfo()
2577 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in WriteBlockInfo()
2579 Abbv) != VST_ENTRY_6_ABBREV) in WriteBlockInfo()
2583 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteBlockInfo() local
2584 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_BBENTRY)); in WriteBlockInfo()
2585 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteBlockInfo()
2586 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteBlockInfo()
2587 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in WriteBlockInfo()
2589 Abbv) != VST_BBENTRY_6_ABBREV) in WriteBlockInfo()
2596 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteBlockInfo() local
2597 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_SETTYPE)); in WriteBlockInfo()
2598 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteBlockInfo()
2601 Abbv) != CONSTANTS_SETTYPE_ABBREV) in WriteBlockInfo()
2606 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteBlockInfo() local
2607 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_INTEGER)); in WriteBlockInfo()
2608 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteBlockInfo()
2610 Abbv) != CONSTANTS_INTEGER_ABBREV) in WriteBlockInfo()
2615 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteBlockInfo() local
2616 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CE_CAST)); in WriteBlockInfo()
2617 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // cast opc in WriteBlockInfo()
2618 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // typeid in WriteBlockInfo()
2620 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // value id in WriteBlockInfo()
2623 Abbv) != CONSTANTS_CE_CAST_Abbrev) in WriteBlockInfo()
2627 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteBlockInfo() local
2628 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_NULL)); in WriteBlockInfo()
2630 Abbv) != CONSTANTS_NULL_Abbrev) in WriteBlockInfo()
2637 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteBlockInfo() local
2638 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_LOAD)); in WriteBlockInfo()
2639 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // Ptr in WriteBlockInfo()
2640 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // dest ty in WriteBlockInfo()
2642 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 4)); // Align in WriteBlockInfo()
2643 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // volatile in WriteBlockInfo()
2645 Abbv) != FUNCTION_INST_LOAD_ABBREV) in WriteBlockInfo()
2649 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteBlockInfo() local
2650 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_BINOP)); in WriteBlockInfo()
2651 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // LHS in WriteBlockInfo()
2652 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // RHS in WriteBlockInfo()
2653 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc in WriteBlockInfo()
2655 Abbv) != FUNCTION_INST_BINOP_ABBREV) in WriteBlockInfo()
2659 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteBlockInfo() local
2660 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_BINOP)); in WriteBlockInfo()
2661 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // LHS in WriteBlockInfo()
2662 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // RHS in WriteBlockInfo()
2663 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc in WriteBlockInfo()
2664 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); // flags in WriteBlockInfo()
2666 Abbv) != FUNCTION_INST_BINOP_FLAGS_ABBREV) in WriteBlockInfo()
2670 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteBlockInfo() local
2671 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_CAST)); in WriteBlockInfo()
2672 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // OpVal in WriteBlockInfo()
2673 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // dest ty in WriteBlockInfo()
2675 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc in WriteBlockInfo()
2677 Abbv) != FUNCTION_INST_CAST_ABBREV) in WriteBlockInfo()
2682 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteBlockInfo() local
2683 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_RET)); in WriteBlockInfo()
2685 Abbv) != FUNCTION_INST_RET_VOID_ABBREV) in WriteBlockInfo()
2689 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteBlockInfo() local
2690 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_RET)); in WriteBlockInfo()
2691 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // ValID in WriteBlockInfo()
2693 Abbv) != FUNCTION_INST_RET_VAL_ABBREV) in WriteBlockInfo()
2697 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteBlockInfo() local
2698 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_UNREACHABLE)); in WriteBlockInfo()
2700 Abbv) != FUNCTION_INST_UNREACHABLE_ABBREV) in WriteBlockInfo()
2704 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteBlockInfo() local
2705 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_GEP)); in WriteBlockInfo()
2706 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); in WriteBlockInfo()
2707 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // dest ty in WriteBlockInfo()
2709 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteBlockInfo()
2710 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in WriteBlockInfo()
2711 if (Stream.EmitBlockInfoAbbrev(bitc::FUNCTION_BLOCK_ID, Abbv) != in WriteBlockInfo()
2728 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteModStrings() local
2729 Abbv->Add(BitCodeAbbrevOp(bitc::MST_CODE_ENTRY)); in WriteModStrings()
2730 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteModStrings()
2731 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteModStrings()
2732 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in WriteModStrings()
2733 unsigned Abbrev8Bit = Stream.EmitAbbrev(Abbv); in WriteModStrings()
2736 Abbv = new BitCodeAbbrev(); in WriteModStrings()
2737 Abbv->Add(BitCodeAbbrevOp(bitc::MST_CODE_ENTRY)); in WriteModStrings()
2738 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteModStrings()
2739 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteModStrings()
2740 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); in WriteModStrings()
2741 unsigned Abbrev7Bit = Stream.EmitAbbrev(Abbv); in WriteModStrings()
2744 Abbv = new BitCodeAbbrev(); in WriteModStrings()
2745 Abbv->Add(BitCodeAbbrevOp(bitc::MST_CODE_ENTRY)); in WriteModStrings()
2746 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in WriteModStrings()
2747 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteModStrings()
2748 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in WriteModStrings()
2749 unsigned Abbrev6Bit = Stream.EmitAbbrev(Abbv); in WriteModStrings()
2795 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WritePerModuleFunctionSummary() local
2796 Abbv->Add(BitCodeAbbrevOp(bitc::FS_CODE_PERMODULE_ENTRY)); in WritePerModuleFunctionSummary()
2797 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // valueid in WritePerModuleFunctionSummary()
2798 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // islocal in WritePerModuleFunctionSummary()
2799 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // instcount in WritePerModuleFunctionSummary()
2800 unsigned FSAbbrev = Stream.EmitAbbrev(Abbv); in WritePerModuleFunctionSummary()
2839 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteCombinedFunctionSummary() local
2840 Abbv->Add(BitCodeAbbrevOp(bitc::FS_CODE_COMBINED_ENTRY)); in WriteCombinedFunctionSummary()
2841 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // modid in WriteCombinedFunctionSummary()
2842 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // instcount in WriteCombinedFunctionSummary()
2843 unsigned FSAbbrev = Stream.EmitAbbrev(Abbv); in WriteCombinedFunctionSummary()
2874 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteIdentificationBlock() local
2875 Abbv->Add(BitCodeAbbrevOp(bitc::IDENTIFICATION_CODE_STRING)); in WriteIdentificationBlock()
2876 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteIdentificationBlock()
2877 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in WriteIdentificationBlock()
2878 auto StringAbbrev = Stream.EmitAbbrev(Abbv); in WriteIdentificationBlock()
2883 Abbv = new BitCodeAbbrev(); in WriteIdentificationBlock()
2884 Abbv->Add(BitCodeAbbrevOp(bitc::IDENTIFICATION_CODE_EPOCH)); in WriteIdentificationBlock()
2885 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in WriteIdentificationBlock()
2886 auto EpochAbbrev = Stream.EmitAbbrev(Abbv); in WriteIdentificationBlock()