Lines Matching refs:Code
120 static void WriteStringRecord(unsigned Code, StringRef Str, in WriteStringRecord() argument
132 Stream.EmitRecord(Code, Vals, AbbrevToUse); in WriteStringRecord()
263 unsigned Code = 0; in WriteTypeTable() local
267 case Type::VoidTyID: Code = bitc::TYPE_CODE_VOID; break; in WriteTypeTable()
268 case Type::FloatTyID: Code = bitc::TYPE_CODE_FLOAT; break; in WriteTypeTable()
269 case Type::DoubleTyID: Code = bitc::TYPE_CODE_DOUBLE; break; in WriteTypeTable()
270 case Type::X86_FP80TyID: Code = bitc::TYPE_CODE_X86_FP80; break; in WriteTypeTable()
271 case Type::FP128TyID: Code = bitc::TYPE_CODE_FP128; break; in WriteTypeTable()
272 case Type::PPC_FP128TyID: Code = bitc::TYPE_CODE_PPC_FP128; break; in WriteTypeTable()
273 case Type::LabelTyID: Code = bitc::TYPE_CODE_LABEL; break; in WriteTypeTable()
274 case Type::MetadataTyID: Code = bitc::TYPE_CODE_METADATA; break; in WriteTypeTable()
275 case Type::X86_MMXTyID: Code = bitc::TYPE_CODE_X86_MMX; break; in WriteTypeTable()
278 Code = bitc::TYPE_CODE_INTEGER; in WriteTypeTable()
284 Code = bitc::TYPE_CODE_POINTER; in WriteTypeTable()
294 Code = bitc::TYPE_CODE_FUNCTION_OLD; in WriteTypeTable()
311 Code = TYPE_CODE_STRUCT_OLD_3_0; in WriteTypeTable()
318 Code = bitc::TYPE_CODE_ARRAY; in WriteTypeTable()
327 Code = bitc::TYPE_CODE_VECTOR; in WriteTypeTable()
335 Stream.EmitRecord(Code, TypeVals, AbbrevToUse); in WriteTypeTable()
844 unsigned Code = -1U; in WriteConstants() local
847 Code = bitc::CST_CODE_NULL; in WriteConstants()
849 Code = bitc::CST_CODE_UNDEF; in WriteConstants()
857 Code = bitc::CST_CODE_INTEGER; in WriteConstants()
873 Code = bitc::CST_CODE_WIDE_INTEGER; in WriteConstants()
876 Code = bitc::CST_CODE_FLOAT; in WriteConstants()
902 Code = bitc::CST_CODE_CSTRING; in WriteConstants()
905 Code = bitc::CST_CODE_STRING; in WriteConstants()
908 bool isCStr7 = Code == bitc::CST_CODE_CSTRING; in WriteConstants()
909 bool isCStrChar6 = Code == bitc::CST_CODE_CSTRING; in WriteConstants()
928 Code = bitc::CST_CODE_AGGREGATE; in WriteConstants()
934 Code = bitc::CST_CODE_AGGREGATE; in WriteConstants()
942 Code = bitc::CST_CODE_CE_CAST; in WriteConstants()
949 Code = bitc::CST_CODE_CE_BINOP; in WriteConstants()
959 Code = bitc::CST_CODE_CE_GEP; in WriteConstants()
961 Code = bitc::CST_CODE_CE_INBOUNDS_GEP; in WriteConstants()
968 Code = bitc::CST_CODE_CE_SELECT; in WriteConstants()
974 Code = bitc::CST_CODE_CE_EXTRACTELT; in WriteConstants()
980 Code = bitc::CST_CODE_CE_INSERTELT; in WriteConstants()
991 Code = bitc::CST_CODE_CE_SHUFFLEVEC; in WriteConstants()
993 Code = bitc::CST_CODE_CE_SHUFVEC_EX; in WriteConstants()
1002 Code = bitc::CST_CODE_CE_CMP; in WriteConstants()
1010 Code = bitc::CST_CODE_BLOCKADDRESS; in WriteConstants()
1020 Stream.EmitRecord(Code, Record, AbbrevToUse); in WriteConstants()
1066 unsigned Code = 0; in WriteInstruction() local
1072 Code = bitc::FUNC_CODE_INST_CAST; in WriteInstruction()
1079 Code = bitc::FUNC_CODE_INST_BINOP; in WriteInstruction()
1094 Code = bitc::FUNC_CODE_INST_GEP_OLD; in WriteInstruction()
1096 Code = bitc::FUNC_CODE_INST_INBOUNDS_GEP_OLD; in WriteInstruction()
1101 Code = bitc::FUNC_CODE_INST_EXTRACTVAL; in WriteInstruction()
1109 Code = bitc::FUNC_CODE_INST_INSERTVAL; in WriteInstruction()
1118 Code = bitc::FUNC_CODE_INST_VSELECT; in WriteInstruction()
1124 Code = bitc::FUNC_CODE_INST_EXTRACTELT; in WriteInstruction()
1129 Code = bitc::FUNC_CODE_INST_INSERTELT; in WriteInstruction()
1135 Code = bitc::FUNC_CODE_INST_SHUFFLEVEC; in WriteInstruction()
1143 Code = bitc::FUNC_CODE_INST_CMP2; in WriteInstruction()
1151 Code = bitc::FUNC_CODE_INST_RET; in WriteInstruction()
1166 Code = bitc::FUNC_CODE_INST_BR; in WriteInstruction()
1177 Code = bitc::FUNC_CODE_INST_SWITCH; in WriteInstruction()
1190 Code = bitc::FUNC_CODE_INST_INDIRECTBR; in WriteInstruction()
1201 Code = bitc::FUNC_CODE_INST_INVOKE; in WriteInstruction()
1222 Code = bitc::FUNC_CODE_INST_UNREACHABLE; in WriteInstruction()
1228 Code = bitc::FUNC_CODE_INST_PHI; in WriteInstruction()
1238 Code = bitc::FUNC_CODE_INST_ALLOCA; in WriteInstruction()
1246 Code = bitc::FUNC_CODE_INST_LOAD; in WriteInstruction()
1254 Code = bitc::FUNC_CODE_INST_STORE_OLD; in WriteInstruction()
1265 Code = FUNC_CODE_INST_CALL_2_7; in WriteInstruction()
1284 Code = bitc::FUNC_CODE_INST_VAARG; in WriteInstruction()
1291 Stream.EmitRecord(Code, Vals, AbbrevToUse); in WriteInstruction()
1328 unsigned Code; in WriteValueSymbolTable() local
1330 Code = bitc::VST_CODE_BBENTRY; in WriteValueSymbolTable()
1334 Code = bitc::VST_CODE_ENTRY; in WriteValueSymbolTable()
1347 Stream.EmitRecord(Code, NameVals, AbbrevToUse); in WriteValueSymbolTable()