Lines Matching refs:Abbv
759 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeTypeTable() local
760 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER)); in writeTypeTable()
761 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in writeTypeTable()
762 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in writeTypeTable()
763 unsigned PtrAbbrev = Stream.EmitAbbrev(Abbv); in writeTypeTable()
766 Abbv = new BitCodeAbbrev(); in writeTypeTable()
767 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION)); in writeTypeTable()
768 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg in writeTypeTable()
769 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeTypeTable()
770 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in writeTypeTable()
772 unsigned FunctionAbbrev = Stream.EmitAbbrev(Abbv); in writeTypeTable()
775 Abbv = new BitCodeAbbrev(); in writeTypeTable()
776 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_ANON)); in writeTypeTable()
777 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // ispacked in writeTypeTable()
778 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeTypeTable()
779 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in writeTypeTable()
781 unsigned StructAnonAbbrev = Stream.EmitAbbrev(Abbv); in writeTypeTable()
784 Abbv = new BitCodeAbbrev(); in writeTypeTable()
785 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_NAME)); in writeTypeTable()
786 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeTypeTable()
787 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in writeTypeTable()
788 unsigned StructNameAbbrev = Stream.EmitAbbrev(Abbv); in writeTypeTable()
791 Abbv = new BitCodeAbbrev(); in writeTypeTable()
792 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_NAMED)); in writeTypeTable()
793 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // ispacked in writeTypeTable()
794 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeTypeTable()
795 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in writeTypeTable()
797 unsigned StructNamedAbbrev = Stream.EmitAbbrev(Abbv); in writeTypeTable()
800 Abbv = new BitCodeAbbrev(); in writeTypeTable()
801 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_ARRAY)); in writeTypeTable()
802 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // size in writeTypeTable()
803 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in writeTypeTable()
805 unsigned ArrayAbbrev = Stream.EmitAbbrev(Abbv); in writeTypeTable()
1033 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeValueSymbolTableForwardDecl() local
1034 Abbv->Add(BitCodeAbbrevOp(bitc::MODULE_CODE_VSTOFFSET)); in writeValueSymbolTableForwardDecl()
1038 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); in writeValueSymbolTableForwardDecl()
1039 unsigned VSTOffsetAbbrev = Stream.EmitAbbrev(Abbv); in writeValueSymbolTableForwardDecl()
1128 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeModuleInfo() local
1129 Abbv->Add(BitCodeAbbrevOp(bitc::MODULE_CODE_GLOBALVAR)); in writeModuleInfo()
1130 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in writeModuleInfo()
1132 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // AddrSpace << 2 in writeModuleInfo()
1135 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // Initializer. in writeModuleInfo()
1136 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 5)); // Linkage. in writeModuleInfo()
1138 Abbv->Add(BitCodeAbbrevOp(0)); in writeModuleInfo()
1141 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in writeModuleInfo()
1145 Abbv->Add(BitCodeAbbrevOp(0)); in writeModuleInfo()
1147 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in writeModuleInfo()
1150 SimpleGVarAbbrev = Stream.EmitAbbrev(Abbv); in writeModuleInfo()
1258 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeModuleInfo() local
1259 Abbv->Add(BitCodeAbbrevOp(bitc::MODULE_CODE_SOURCE_FILENAME)); in writeModuleInfo()
1260 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeModuleInfo()
1261 Abbv->Add(AbbrevOpToUse); in writeModuleInfo()
1262 unsigned FilenameAbbrev = Stream.EmitAbbrev(Abbv); in writeModuleInfo()
1333 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in createDILocationAbbrev() local
1334 Abbv->Add(BitCodeAbbrevOp(bitc::METADATA_LOCATION)); in createDILocationAbbrev()
1335 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); in createDILocationAbbrev()
1336 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in createDILocationAbbrev()
1337 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in createDILocationAbbrev()
1338 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in createDILocationAbbrev()
1339 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in createDILocationAbbrev()
1340 return Stream.EmitAbbrev(Abbv); in createDILocationAbbrev()
1362 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in createGenericDINodeAbbrev() local
1363 Abbv->Add(BitCodeAbbrevOp(bitc::METADATA_GENERIC_DEBUG)); in createGenericDINodeAbbrev()
1364 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); in createGenericDINodeAbbrev()
1365 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in createGenericDINodeAbbrev()
1366 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); in createGenericDINodeAbbrev()
1367 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in createGenericDINodeAbbrev()
1368 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in createGenericDINodeAbbrev()
1369 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in createGenericDINodeAbbrev()
1370 return Stream.EmitAbbrev(Abbv); in createGenericDINodeAbbrev()
1731 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in createNamedMetadataAbbrev() local
1732 Abbv->Add(BitCodeAbbrevOp(bitc::METADATA_NAME)); in createNamedMetadataAbbrev()
1733 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in createNamedMetadataAbbrev()
1734 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in createNamedMetadataAbbrev()
1735 return Stream.EmitAbbrev(Abbv); in createNamedMetadataAbbrev()
1760 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in createMetadataStringsAbbrev() local
1761 Abbv->Add(BitCodeAbbrevOp(bitc::METADATA_STRINGS)); in createMetadataStringsAbbrev()
1762 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // # of strings in createMetadataStringsAbbrev()
1763 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // offset to chars in createMetadataStringsAbbrev()
1764 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); in createMetadataStringsAbbrev()
1765 return Stream.EmitAbbrev(Abbv); in createMetadataStringsAbbrev()
1985 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeConstants() local
1986 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_AGGREGATE)); in writeConstants()
1987 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeConstants()
1988 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, Log2_32_Ceil(LastVal+1))); in writeConstants()
1989 AggregateAbbrev = Stream.EmitAbbrev(Abbv); in writeConstants()
1992 Abbv = new BitCodeAbbrev(); in writeConstants()
1993 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_STRING)); in writeConstants()
1994 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeConstants()
1995 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in writeConstants()
1996 String8Abbrev = Stream.EmitAbbrev(Abbv); in writeConstants()
1998 Abbv = new BitCodeAbbrev(); in writeConstants()
1999 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CSTRING)); in writeConstants()
2000 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeConstants()
2001 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); in writeConstants()
2002 CString7Abbrev = Stream.EmitAbbrev(Abbv); in writeConstants()
2004 Abbv = new BitCodeAbbrev(); in writeConstants()
2005 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CSTRING)); in writeConstants()
2006 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeConstants()
2007 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in writeConstants()
2008 CString6Abbrev = Stream.EmitAbbrev(Abbv); in writeConstants()
2712 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeValueSymbolTable() local
2713 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_FNENTRY)); in writeValueSymbolTable()
2714 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // value id in writeValueSymbolTable()
2715 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // funcoffset in writeValueSymbolTable()
2716 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeValueSymbolTable()
2717 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in writeValueSymbolTable()
2718 FnEntry8BitAbbrev = Stream.EmitAbbrev(Abbv); in writeValueSymbolTable()
2721 Abbv = new BitCodeAbbrev(); in writeValueSymbolTable()
2722 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_FNENTRY)); in writeValueSymbolTable()
2723 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // value id in writeValueSymbolTable()
2724 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // funcoffset in writeValueSymbolTable()
2725 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeValueSymbolTable()
2726 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); in writeValueSymbolTable()
2727 FnEntry7BitAbbrev = Stream.EmitAbbrev(Abbv); in writeValueSymbolTable()
2730 Abbv = new BitCodeAbbrev(); in writeValueSymbolTable()
2731 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_FNENTRY)); in writeValueSymbolTable()
2732 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // value id in writeValueSymbolTable()
2733 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // funcoffset in writeValueSymbolTable()
2734 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeValueSymbolTable()
2735 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in writeValueSymbolTable()
2736 FnEntry6BitAbbrev = Stream.EmitAbbrev(Abbv); in writeValueSymbolTable()
2817 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeCombinedValueSymbolTable() local
2818 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_COMBINED_ENTRY)); in writeCombinedValueSymbolTable()
2819 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // valueid in writeCombinedValueSymbolTable()
2820 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // refguid in writeCombinedValueSymbolTable()
2821 unsigned EntryAbbrev = Stream.EmitAbbrev(Abbv); in writeCombinedValueSymbolTable()
2953 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeBlockInfo() local
2954 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 3)); in writeBlockInfo()
2955 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in writeBlockInfo()
2956 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeBlockInfo()
2957 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in writeBlockInfo()
2958 if (Stream.EmitBlockInfoAbbrev(bitc::VALUE_SYMTAB_BLOCK_ID, Abbv) != in writeBlockInfo()
2964 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeBlockInfo() local
2965 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_ENTRY)); in writeBlockInfo()
2966 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in writeBlockInfo()
2967 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeBlockInfo()
2968 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); in writeBlockInfo()
2969 if (Stream.EmitBlockInfoAbbrev(bitc::VALUE_SYMTAB_BLOCK_ID, Abbv) != in writeBlockInfo()
2974 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeBlockInfo() local
2975 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_ENTRY)); in writeBlockInfo()
2976 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in writeBlockInfo()
2977 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeBlockInfo()
2978 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in writeBlockInfo()
2979 if (Stream.EmitBlockInfoAbbrev(bitc::VALUE_SYMTAB_BLOCK_ID, Abbv) != in writeBlockInfo()
2984 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeBlockInfo() local
2985 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_BBENTRY)); in writeBlockInfo()
2986 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in writeBlockInfo()
2987 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeBlockInfo()
2988 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in writeBlockInfo()
2989 if (Stream.EmitBlockInfoAbbrev(bitc::VALUE_SYMTAB_BLOCK_ID, Abbv) != in writeBlockInfo()
2997 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeBlockInfo() local
2998 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_SETTYPE)); in writeBlockInfo()
2999 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in writeBlockInfo()
3001 if (Stream.EmitBlockInfoAbbrev(bitc::CONSTANTS_BLOCK_ID, Abbv) != in writeBlockInfo()
3007 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeBlockInfo() local
3008 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_INTEGER)); in writeBlockInfo()
3009 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in writeBlockInfo()
3010 if (Stream.EmitBlockInfoAbbrev(bitc::CONSTANTS_BLOCK_ID, Abbv) != in writeBlockInfo()
3016 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeBlockInfo() local
3017 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CE_CAST)); in writeBlockInfo()
3018 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // cast opc in writeBlockInfo()
3019 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // typeid in writeBlockInfo()
3021 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // value id in writeBlockInfo()
3023 if (Stream.EmitBlockInfoAbbrev(bitc::CONSTANTS_BLOCK_ID, Abbv) != in writeBlockInfo()
3028 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeBlockInfo() local
3029 Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_NULL)); in writeBlockInfo()
3030 if (Stream.EmitBlockInfoAbbrev(bitc::CONSTANTS_BLOCK_ID, Abbv) != in writeBlockInfo()
3038 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeBlockInfo() local
3039 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_LOAD)); in writeBlockInfo()
3040 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // Ptr in writeBlockInfo()
3041 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // dest ty in writeBlockInfo()
3043 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 4)); // Align in writeBlockInfo()
3044 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // volatile in writeBlockInfo()
3045 if (Stream.EmitBlockInfoAbbrev(bitc::FUNCTION_BLOCK_ID, Abbv) != in writeBlockInfo()
3050 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeBlockInfo() local
3051 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_BINOP)); in writeBlockInfo()
3052 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // LHS in writeBlockInfo()
3053 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // RHS in writeBlockInfo()
3054 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc in writeBlockInfo()
3055 if (Stream.EmitBlockInfoAbbrev(bitc::FUNCTION_BLOCK_ID, Abbv) != in writeBlockInfo()
3060 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeBlockInfo() local
3061 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_BINOP)); in writeBlockInfo()
3062 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // LHS in writeBlockInfo()
3063 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // RHS in writeBlockInfo()
3064 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc in writeBlockInfo()
3065 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); // flags in writeBlockInfo()
3066 if (Stream.EmitBlockInfoAbbrev(bitc::FUNCTION_BLOCK_ID, Abbv) != in writeBlockInfo()
3071 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeBlockInfo() local
3072 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_CAST)); in writeBlockInfo()
3073 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // OpVal in writeBlockInfo()
3074 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // dest ty in writeBlockInfo()
3076 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc in writeBlockInfo()
3077 if (Stream.EmitBlockInfoAbbrev(bitc::FUNCTION_BLOCK_ID, Abbv) != in writeBlockInfo()
3083 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeBlockInfo() local
3084 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_RET)); in writeBlockInfo()
3085 if (Stream.EmitBlockInfoAbbrev(bitc::FUNCTION_BLOCK_ID, Abbv) != in writeBlockInfo()
3090 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeBlockInfo() local
3091 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_RET)); in writeBlockInfo()
3092 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // ValID in writeBlockInfo()
3093 if (Stream.EmitBlockInfoAbbrev(bitc::FUNCTION_BLOCK_ID, Abbv) != in writeBlockInfo()
3098 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeBlockInfo() local
3099 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_UNREACHABLE)); in writeBlockInfo()
3100 if (Stream.EmitBlockInfoAbbrev(bitc::FUNCTION_BLOCK_ID, Abbv) != in writeBlockInfo()
3105 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeBlockInfo() local
3106 Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_GEP)); in writeBlockInfo()
3107 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); in writeBlockInfo()
3108 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // dest ty in writeBlockInfo()
3110 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeBlockInfo()
3111 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in writeBlockInfo()
3112 if (Stream.EmitBlockInfoAbbrev(bitc::FUNCTION_BLOCK_ID, Abbv) != in writeBlockInfo()
3128 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeModStrings() local
3129 Abbv->Add(BitCodeAbbrevOp(bitc::MST_CODE_ENTRY)); in writeModStrings()
3130 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in writeModStrings()
3131 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeModStrings()
3132 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); in writeModStrings()
3133 unsigned Abbrev8Bit = Stream.EmitAbbrev(Abbv); in writeModStrings()
3136 Abbv = new BitCodeAbbrev(); in writeModStrings()
3137 Abbv->Add(BitCodeAbbrevOp(bitc::MST_CODE_ENTRY)); in writeModStrings()
3138 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in writeModStrings()
3139 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeModStrings()
3140 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); in writeModStrings()
3141 unsigned Abbrev7Bit = Stream.EmitAbbrev(Abbv); in writeModStrings()
3144 Abbv = new BitCodeAbbrev(); in writeModStrings()
3145 Abbv->Add(BitCodeAbbrevOp(bitc::MST_CODE_ENTRY)); in writeModStrings()
3146 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in writeModStrings()
3147 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeModStrings()
3148 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in writeModStrings()
3149 unsigned Abbrev6Bit = Stream.EmitAbbrev(Abbv); in writeModStrings()
3152 Abbv = new BitCodeAbbrev(); in writeModStrings()
3153 Abbv->Add(BitCodeAbbrevOp(bitc::MST_CODE_HASH)); in writeModStrings()
3154 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); in writeModStrings()
3155 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); in writeModStrings()
3156 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); in writeModStrings()
3157 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); in writeModStrings()
3158 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); in writeModStrings()
3159 unsigned AbbrevHash = Stream.EmitAbbrev(Abbv); in writeModStrings()
3285 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writePerModuleGlobalValueSummary() local
3286 Abbv->Add(BitCodeAbbrevOp(bitc::FS_PERMODULE)); in writePerModuleGlobalValueSummary()
3287 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // valueid in writePerModuleGlobalValueSummary()
3288 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // flags in writePerModuleGlobalValueSummary()
3289 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // instcount in writePerModuleGlobalValueSummary()
3290 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 4)); // numrefs in writePerModuleGlobalValueSummary()
3292 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writePerModuleGlobalValueSummary()
3293 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in writePerModuleGlobalValueSummary()
3294 unsigned FSCallsAbbrev = Stream.EmitAbbrev(Abbv); in writePerModuleGlobalValueSummary()
3297 Abbv = new BitCodeAbbrev(); in writePerModuleGlobalValueSummary()
3298 Abbv->Add(BitCodeAbbrevOp(bitc::FS_PERMODULE_PROFILE)); in writePerModuleGlobalValueSummary()
3299 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // valueid in writePerModuleGlobalValueSummary()
3300 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // flags in writePerModuleGlobalValueSummary()
3301 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // instcount in writePerModuleGlobalValueSummary()
3302 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 4)); // numrefs in writePerModuleGlobalValueSummary()
3304 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writePerModuleGlobalValueSummary()
3305 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in writePerModuleGlobalValueSummary()
3306 unsigned FSCallsProfileAbbrev = Stream.EmitAbbrev(Abbv); in writePerModuleGlobalValueSummary()
3309 Abbv = new BitCodeAbbrev(); in writePerModuleGlobalValueSummary()
3310 Abbv->Add(BitCodeAbbrevOp(bitc::FS_PERMODULE_GLOBALVAR_INIT_REFS)); in writePerModuleGlobalValueSummary()
3311 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // valueid in writePerModuleGlobalValueSummary()
3312 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // flags in writePerModuleGlobalValueSummary()
3313 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); // valueids in writePerModuleGlobalValueSummary()
3314 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in writePerModuleGlobalValueSummary()
3315 unsigned FSModRefsAbbrev = Stream.EmitAbbrev(Abbv); in writePerModuleGlobalValueSummary()
3318 Abbv = new BitCodeAbbrev(); in writePerModuleGlobalValueSummary()
3319 Abbv->Add(BitCodeAbbrevOp(bitc::FS_ALIAS)); in writePerModuleGlobalValueSummary()
3320 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // valueid in writePerModuleGlobalValueSummary()
3321 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // flags in writePerModuleGlobalValueSummary()
3322 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // valueid in writePerModuleGlobalValueSummary()
3323 unsigned FSAliasAbbrev = Stream.EmitAbbrev(Abbv); in writePerModuleGlobalValueSummary()
3369 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeCombinedGlobalValueSummary() local
3370 Abbv->Add(BitCodeAbbrevOp(bitc::FS_COMBINED)); in writeCombinedGlobalValueSummary()
3371 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // valueid in writeCombinedGlobalValueSummary()
3372 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // modid in writeCombinedGlobalValueSummary()
3373 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // flags in writeCombinedGlobalValueSummary()
3374 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // instcount in writeCombinedGlobalValueSummary()
3375 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 4)); // numrefs in writeCombinedGlobalValueSummary()
3377 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeCombinedGlobalValueSummary()
3378 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in writeCombinedGlobalValueSummary()
3379 unsigned FSCallsAbbrev = Stream.EmitAbbrev(Abbv); in writeCombinedGlobalValueSummary()
3382 Abbv = new BitCodeAbbrev(); in writeCombinedGlobalValueSummary()
3383 Abbv->Add(BitCodeAbbrevOp(bitc::FS_COMBINED_PROFILE)); in writeCombinedGlobalValueSummary()
3384 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // valueid in writeCombinedGlobalValueSummary()
3385 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // modid in writeCombinedGlobalValueSummary()
3386 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // flags in writeCombinedGlobalValueSummary()
3387 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // instcount in writeCombinedGlobalValueSummary()
3388 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 4)); // numrefs in writeCombinedGlobalValueSummary()
3390 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeCombinedGlobalValueSummary()
3391 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in writeCombinedGlobalValueSummary()
3392 unsigned FSCallsProfileAbbrev = Stream.EmitAbbrev(Abbv); in writeCombinedGlobalValueSummary()
3395 Abbv = new BitCodeAbbrev(); in writeCombinedGlobalValueSummary()
3396 Abbv->Add(BitCodeAbbrevOp(bitc::FS_COMBINED_GLOBALVAR_INIT_REFS)); in writeCombinedGlobalValueSummary()
3397 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // valueid in writeCombinedGlobalValueSummary()
3398 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // modid in writeCombinedGlobalValueSummary()
3399 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // flags in writeCombinedGlobalValueSummary()
3400 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); // valueids in writeCombinedGlobalValueSummary()
3401 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); in writeCombinedGlobalValueSummary()
3402 unsigned FSModRefsAbbrev = Stream.EmitAbbrev(Abbv); in writeCombinedGlobalValueSummary()
3405 Abbv = new BitCodeAbbrev(); in writeCombinedGlobalValueSummary()
3406 Abbv->Add(BitCodeAbbrevOp(bitc::FS_COMBINED_ALIAS)); in writeCombinedGlobalValueSummary()
3407 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // valueid in writeCombinedGlobalValueSummary()
3408 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // modid in writeCombinedGlobalValueSummary()
3409 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // flags in writeCombinedGlobalValueSummary()
3410 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // valueid in writeCombinedGlobalValueSummary()
3411 unsigned FSAliasAbbrev = Stream.EmitAbbrev(Abbv); in writeCombinedGlobalValueSummary()
3526 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeIdentificationBlock() local
3527 Abbv->Add(BitCodeAbbrevOp(bitc::IDENTIFICATION_CODE_STRING)); in writeIdentificationBlock()
3528 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeIdentificationBlock()
3529 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Char6)); in writeIdentificationBlock()
3530 auto StringAbbrev = Stream.EmitAbbrev(Abbv); in writeIdentificationBlock()
3535 Abbv = new BitCodeAbbrev(); in writeIdentificationBlock()
3536 Abbv->Add(BitCodeAbbrevOp(bitc::IDENTIFICATION_CODE_EPOCH)); in writeIdentificationBlock()
3537 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in writeIdentificationBlock()
3538 auto EpochAbbrev = Stream.EmitAbbrev(Abbv); in writeIdentificationBlock()