Lines Matching refs:Code
143 static void WriteStringRecord(unsigned Code, StringRef Str, in WriteStringRecord() argument
155 Stream.EmitRecord(Code, Vals, AbbrevToUse); in WriteStringRecord()
250 unsigned Code = 0; in WriteTypeTable() local
254 case Type::VoidTyID: Code = bitc::TYPE_CODE_VOID; break; in WriteTypeTable()
255 case Type::HalfTyID: Code = bitc::TYPE_CODE_HALF; break; in WriteTypeTable()
256 case Type::FloatTyID: Code = bitc::TYPE_CODE_FLOAT; break; in WriteTypeTable()
257 case Type::DoubleTyID: Code = bitc::TYPE_CODE_DOUBLE; break; in WriteTypeTable()
258 case Type::X86_FP80TyID: Code = bitc::TYPE_CODE_X86_FP80; break; in WriteTypeTable()
259 case Type::FP128TyID: Code = bitc::TYPE_CODE_FP128; break; in WriteTypeTable()
260 case Type::PPC_FP128TyID: Code = bitc::TYPE_CODE_PPC_FP128; break; in WriteTypeTable()
261 case Type::LabelTyID: Code = bitc::TYPE_CODE_LABEL; break; in WriteTypeTable()
262 case Type::MetadataTyID: Code = bitc::TYPE_CODE_METADATA; break; in WriteTypeTable()
263 case Type::X86_MMXTyID: Code = bitc::TYPE_CODE_X86_MMX; break; in WriteTypeTable()
266 Code = bitc::TYPE_CODE_INTEGER; in WriteTypeTable()
272 Code = bitc::TYPE_CODE_POINTER; in WriteTypeTable()
282 Code = bitc::TYPE_CODE_FUNCTION; in WriteTypeTable()
300 Code = bitc::TYPE_CODE_STRUCT_ANON; in WriteTypeTable()
304 Code = bitc::TYPE_CODE_OPAQUE; in WriteTypeTable()
306 Code = bitc::TYPE_CODE_STRUCT_NAMED; in WriteTypeTable()
320 Code = bitc::TYPE_CODE_ARRAY; in WriteTypeTable()
329 Code = bitc::TYPE_CODE_VECTOR; in WriteTypeTable()
337 Stream.EmitRecord(Code, TypeVals, AbbrevToUse); in WriteTypeTable()
880 unsigned Code = -1U; in WriteConstants() local
883 Code = bitc::CST_CODE_NULL; in WriteConstants()
885 Code = bitc::CST_CODE_UNDEF; in WriteConstants()
890 Code = bitc::CST_CODE_INTEGER; in WriteConstants()
902 Code = bitc::CST_CODE_WIDE_INTEGER; in WriteConstants()
905 Code = bitc::CST_CODE_FLOAT; in WriteConstants()
931 Code = bitc::CST_CODE_CSTRING; in WriteConstants()
934 Code = bitc::CST_CODE_STRING; in WriteConstants()
937 bool isCStr7 = Code == bitc::CST_CODE_CSTRING; in WriteConstants()
938 bool isCStrChar6 = Code == bitc::CST_CODE_CSTRING; in WriteConstants()
953 Code = bitc::CST_CODE_DATA; in WriteConstants()
965 Code = bitc::CST_CODE_AGGREGATE; in WriteConstants()
973 Code = bitc::CST_CODE_CE_CAST; in WriteConstants()
980 Code = bitc::CST_CODE_CE_BINOP; in WriteConstants()
990 Code = bitc::CST_CODE_CE_GEP; in WriteConstants()
992 Code = bitc::CST_CODE_CE_INBOUNDS_GEP; in WriteConstants()
999 Code = bitc::CST_CODE_CE_SELECT; in WriteConstants()
1005 Code = bitc::CST_CODE_CE_EXTRACTELT; in WriteConstants()
1011 Code = bitc::CST_CODE_CE_INSERTELT; in WriteConstants()
1022 Code = bitc::CST_CODE_CE_SHUFFLEVEC; in WriteConstants()
1024 Code = bitc::CST_CODE_CE_SHUFVEC_EX; in WriteConstants()
1033 Code = bitc::CST_CODE_CE_CMP; in WriteConstants()
1041 Code = bitc::CST_CODE_BLOCKADDRESS; in WriteConstants()
1051 Stream.EmitRecord(Code, Record, AbbrevToUse); in WriteConstants()
1097 unsigned Code = 0; in WriteInstruction() local
1103 Code = bitc::FUNC_CODE_INST_CAST; in WriteInstruction()
1110 Code = bitc::FUNC_CODE_INST_BINOP; in WriteInstruction()
1125 Code = bitc::FUNC_CODE_INST_GEP_OLD; in WriteInstruction()
1127 Code = bitc::FUNC_CODE_INST_INBOUNDS_GEP_OLD; in WriteInstruction()
1132 Code = bitc::FUNC_CODE_INST_EXTRACTVAL; in WriteInstruction()
1140 Code = bitc::FUNC_CODE_INST_INSERTVAL; in WriteInstruction()
1149 Code = bitc::FUNC_CODE_INST_VSELECT; in WriteInstruction()
1155 Code = bitc::FUNC_CODE_INST_EXTRACTELT; in WriteInstruction()
1160 Code = bitc::FUNC_CODE_INST_INSERTELT; in WriteInstruction()
1166 Code = bitc::FUNC_CODE_INST_SHUFFLEVEC; in WriteInstruction()
1174 Code = bitc::FUNC_CODE_INST_CMP2; in WriteInstruction()
1182 Code = bitc::FUNC_CODE_INST_RET; in WriteInstruction()
1197 Code = bitc::FUNC_CODE_INST_BR; in WriteInstruction()
1208 Code = bitc::FUNC_CODE_INST_SWITCH; in WriteInstruction()
1221 Code = bitc::FUNC_CODE_INST_INDIRECTBR; in WriteInstruction()
1232 Code = bitc::FUNC_CODE_INST_INVOKE; in WriteInstruction()
1253 Code = bitc::FUNC_CODE_INST_RESUME; in WriteInstruction()
1257 Code = bitc::FUNC_CODE_INST_UNREACHABLE; in WriteInstruction()
1263 Code = bitc::FUNC_CODE_INST_PHI; in WriteInstruction()
1274 Code = bitc::FUNC_CODE_INST_LANDINGPAD_OLD; in WriteInstruction()
1291 Code = bitc::FUNC_CODE_INST_ALLOCA; in WriteInstruction()
1301 Code = bitc::FUNC_CODE_INST_LOADATOMIC; in WriteInstruction()
1304 Code = bitc::FUNC_CODE_INST_LOAD; in WriteInstruction()
1317 Code = bitc::FUNC_CODE_INST_STOREATOMIC; in WriteInstruction()
1319 Code = bitc::FUNC_CODE_INST_STORE_OLD; in WriteInstruction()
1330 Code = bitc::FUNC_CODE_INST_CMPXCHG; in WriteInstruction()
1341 Code = bitc::FUNC_CODE_INST_ATOMICRMW; in WriteInstruction()
1352 Code = bitc::FUNC_CODE_INST_FENCE; in WriteInstruction()
1361 Code = bitc::FUNC_CODE_INST_CALL; in WriteInstruction()
1380 Code = bitc::FUNC_CODE_INST_VAARG; in WriteInstruction()
1387 Stream.EmitRecord(Code, Vals, AbbrevToUse); in WriteInstruction()
1424 unsigned Code; in WriteValueSymbolTable() local
1426 Code = bitc::VST_CODE_BBENTRY; in WriteValueSymbolTable()
1430 Code = bitc::VST_CODE_ENTRY; in WriteValueSymbolTable()
1443 Stream.EmitRecord(Code, NameVals, AbbrevToUse); in WriteValueSymbolTable()
1452 unsigned Code; in WriteUseList() local
1454 Code = bitc::USELIST_CODE_BB; in WriteUseList()
1456 Code = bitc::USELIST_CODE_DEFAULT; in WriteUseList()
1462 Stream.EmitRecord(Code, Record); in WriteUseList()