Lines Matching refs:bitc

777   case bitc::CAST_TRUNC   : return Instruction::Trunc;  in getDecodedCastOpcode()
778 case bitc::CAST_ZEXT : return Instruction::ZExt; in getDecodedCastOpcode()
779 case bitc::CAST_SEXT : return Instruction::SExt; in getDecodedCastOpcode()
780 case bitc::CAST_FPTOUI : return Instruction::FPToUI; in getDecodedCastOpcode()
781 case bitc::CAST_FPTOSI : return Instruction::FPToSI; in getDecodedCastOpcode()
782 case bitc::CAST_UITOFP : return Instruction::UIToFP; in getDecodedCastOpcode()
783 case bitc::CAST_SITOFP : return Instruction::SIToFP; in getDecodedCastOpcode()
784 case bitc::CAST_FPTRUNC : return Instruction::FPTrunc; in getDecodedCastOpcode()
785 case bitc::CAST_FPEXT : return Instruction::FPExt; in getDecodedCastOpcode()
786 case bitc::CAST_PTRTOINT: return Instruction::PtrToInt; in getDecodedCastOpcode()
787 case bitc::CAST_INTTOPTR: return Instruction::IntToPtr; in getDecodedCastOpcode()
788 case bitc::CAST_BITCAST : return Instruction::BitCast; in getDecodedCastOpcode()
789 case bitc::CAST_ADDRSPACECAST: return Instruction::AddrSpaceCast; in getDecodedCastOpcode()
802 case bitc::BINOP_ADD: in getDecodedBinaryOpcode()
804 case bitc::BINOP_SUB: in getDecodedBinaryOpcode()
806 case bitc::BINOP_MUL: in getDecodedBinaryOpcode()
808 case bitc::BINOP_UDIV: in getDecodedBinaryOpcode()
810 case bitc::BINOP_SDIV: in getDecodedBinaryOpcode()
812 case bitc::BINOP_UREM: in getDecodedBinaryOpcode()
814 case bitc::BINOP_SREM: in getDecodedBinaryOpcode()
816 case bitc::BINOP_SHL: in getDecodedBinaryOpcode()
818 case bitc::BINOP_LSHR: in getDecodedBinaryOpcode()
820 case bitc::BINOP_ASHR: in getDecodedBinaryOpcode()
822 case bitc::BINOP_AND: in getDecodedBinaryOpcode()
824 case bitc::BINOP_OR: in getDecodedBinaryOpcode()
826 case bitc::BINOP_XOR: in getDecodedBinaryOpcode()
834 case bitc::RMW_XCHG: return AtomicRMWInst::Xchg; in getDecodedRMWOperation()
835 case bitc::RMW_ADD: return AtomicRMWInst::Add; in getDecodedRMWOperation()
836 case bitc::RMW_SUB: return AtomicRMWInst::Sub; in getDecodedRMWOperation()
837 case bitc::RMW_AND: return AtomicRMWInst::And; in getDecodedRMWOperation()
838 case bitc::RMW_NAND: return AtomicRMWInst::Nand; in getDecodedRMWOperation()
839 case bitc::RMW_OR: return AtomicRMWInst::Or; in getDecodedRMWOperation()
840 case bitc::RMW_XOR: return AtomicRMWInst::Xor; in getDecodedRMWOperation()
841 case bitc::RMW_MAX: return AtomicRMWInst::Max; in getDecodedRMWOperation()
842 case bitc::RMW_MIN: return AtomicRMWInst::Min; in getDecodedRMWOperation()
843 case bitc::RMW_UMAX: return AtomicRMWInst::UMax; in getDecodedRMWOperation()
844 case bitc::RMW_UMIN: return AtomicRMWInst::UMin; in getDecodedRMWOperation()
850 case bitc::ORDERING_NOTATOMIC: return AtomicOrdering::NotAtomic; in getDecodedOrdering()
851 case bitc::ORDERING_UNORDERED: return AtomicOrdering::Unordered; in getDecodedOrdering()
852 case bitc::ORDERING_MONOTONIC: return AtomicOrdering::Monotonic; in getDecodedOrdering()
853 case bitc::ORDERING_ACQUIRE: return AtomicOrdering::Acquire; in getDecodedOrdering()
854 case bitc::ORDERING_RELEASE: return AtomicOrdering::Release; in getDecodedOrdering()
855 case bitc::ORDERING_ACQREL: return AtomicOrdering::AcquireRelease; in getDecodedOrdering()
857 case bitc::ORDERING_SEQCST: return AtomicOrdering::SequentiallyConsistent; in getDecodedOrdering()
863 case bitc::SYNCHSCOPE_SINGLETHREAD: return SingleThread; in getDecodedSynchScope()
865 case bitc::SYNCHSCOPE_CROSSTHREAD: return CrossThread; in getDecodedSynchScope()
872 case bitc::COMDAT_SELECTION_KIND_ANY: in getDecodedComdatSelectionKind()
874 case bitc::COMDAT_SELECTION_KIND_EXACT_MATCH: in getDecodedComdatSelectionKind()
876 case bitc::COMDAT_SELECTION_KIND_LARGEST: in getDecodedComdatSelectionKind()
878 case bitc::COMDAT_SELECTION_KIND_NO_DUPLICATES: in getDecodedComdatSelectionKind()
880 case bitc::COMDAT_SELECTION_KIND_SAME_SIZE: in getDecodedComdatSelectionKind()
1310 if (Stream.EnterSubBlock(bitc::PARAMATTR_BLOCK_ID)) in parseAttributeBlock()
1340 case bitc::PARAMATTR_CODE_ENTRY_OLD: { // ENTRY: [paramidx0, attr0, ...] in parseAttributeBlock()
1355 case bitc::PARAMATTR_CODE_ENTRY: { // ENTRY: [attrgrp0, attrgrp1, ...] in parseAttributeBlock()
1372 case bitc::ATTR_KIND_ALIGNMENT: in getAttrFromCode()
1374 case bitc::ATTR_KIND_ALWAYS_INLINE: in getAttrFromCode()
1376 case bitc::ATTR_KIND_ARGMEMONLY: in getAttrFromCode()
1378 case bitc::ATTR_KIND_BUILTIN: in getAttrFromCode()
1380 case bitc::ATTR_KIND_BY_VAL: in getAttrFromCode()
1382 case bitc::ATTR_KIND_IN_ALLOCA: in getAttrFromCode()
1384 case bitc::ATTR_KIND_COLD: in getAttrFromCode()
1386 case bitc::ATTR_KIND_CONVERGENT: in getAttrFromCode()
1388 case bitc::ATTR_KIND_INACCESSIBLEMEM_ONLY: in getAttrFromCode()
1390 case bitc::ATTR_KIND_INACCESSIBLEMEM_OR_ARGMEMONLY: in getAttrFromCode()
1392 case bitc::ATTR_KIND_INLINE_HINT: in getAttrFromCode()
1394 case bitc::ATTR_KIND_IN_REG: in getAttrFromCode()
1396 case bitc::ATTR_KIND_JUMP_TABLE: in getAttrFromCode()
1398 case bitc::ATTR_KIND_MIN_SIZE: in getAttrFromCode()
1400 case bitc::ATTR_KIND_NAKED: in getAttrFromCode()
1402 case bitc::ATTR_KIND_NEST: in getAttrFromCode()
1404 case bitc::ATTR_KIND_NO_ALIAS: in getAttrFromCode()
1406 case bitc::ATTR_KIND_NO_BUILTIN: in getAttrFromCode()
1408 case bitc::ATTR_KIND_NO_CAPTURE: in getAttrFromCode()
1410 case bitc::ATTR_KIND_NO_DUPLICATE: in getAttrFromCode()
1412 case bitc::ATTR_KIND_NO_IMPLICIT_FLOAT: in getAttrFromCode()
1414 case bitc::ATTR_KIND_NO_INLINE: in getAttrFromCode()
1416 case bitc::ATTR_KIND_NO_RECURSE: in getAttrFromCode()
1418 case bitc::ATTR_KIND_NON_LAZY_BIND: in getAttrFromCode()
1420 case bitc::ATTR_KIND_NON_NULL: in getAttrFromCode()
1422 case bitc::ATTR_KIND_DEREFERENCEABLE: in getAttrFromCode()
1424 case bitc::ATTR_KIND_DEREFERENCEABLE_OR_NULL: in getAttrFromCode()
1426 case bitc::ATTR_KIND_ALLOC_SIZE: in getAttrFromCode()
1428 case bitc::ATTR_KIND_NO_RED_ZONE: in getAttrFromCode()
1430 case bitc::ATTR_KIND_NO_RETURN: in getAttrFromCode()
1432 case bitc::ATTR_KIND_NO_UNWIND: in getAttrFromCode()
1434 case bitc::ATTR_KIND_OPTIMIZE_FOR_SIZE: in getAttrFromCode()
1436 case bitc::ATTR_KIND_OPTIMIZE_NONE: in getAttrFromCode()
1438 case bitc::ATTR_KIND_READ_NONE: in getAttrFromCode()
1440 case bitc::ATTR_KIND_READ_ONLY: in getAttrFromCode()
1442 case bitc::ATTR_KIND_RETURNED: in getAttrFromCode()
1444 case bitc::ATTR_KIND_RETURNS_TWICE: in getAttrFromCode()
1446 case bitc::ATTR_KIND_S_EXT: in getAttrFromCode()
1448 case bitc::ATTR_KIND_STACK_ALIGNMENT: in getAttrFromCode()
1450 case bitc::ATTR_KIND_STACK_PROTECT: in getAttrFromCode()
1452 case bitc::ATTR_KIND_STACK_PROTECT_REQ: in getAttrFromCode()
1454 case bitc::ATTR_KIND_STACK_PROTECT_STRONG: in getAttrFromCode()
1456 case bitc::ATTR_KIND_SAFESTACK: in getAttrFromCode()
1458 case bitc::ATTR_KIND_STRUCT_RET: in getAttrFromCode()
1460 case bitc::ATTR_KIND_SANITIZE_ADDRESS: in getAttrFromCode()
1462 case bitc::ATTR_KIND_SANITIZE_THREAD: in getAttrFromCode()
1464 case bitc::ATTR_KIND_SANITIZE_MEMORY: in getAttrFromCode()
1466 case bitc::ATTR_KIND_SWIFT_ERROR: in getAttrFromCode()
1468 case bitc::ATTR_KIND_SWIFT_SELF: in getAttrFromCode()
1470 case bitc::ATTR_KIND_UW_TABLE: in getAttrFromCode()
1472 case bitc::ATTR_KIND_WRITEONLY: in getAttrFromCode()
1474 case bitc::ATTR_KIND_Z_EXT: in getAttrFromCode()
1499 if (Stream.EnterSubBlock(bitc::PARAMATTR_GROUP_BLOCK_ID)) in parseAttributeGroupBlock()
1527 case bitc::PARAMATTR_GRP_CODE_ENTRY: { // ENTRY: [grpid, idx, a0, a1, ...] in parseAttributeGroupBlock()
1587 if (Stream.EnterSubBlock(bitc::TYPE_BLOCK_ID_NEW)) in parseTypeTable()
1625 case bitc::TYPE_CODE_NUMENTRY: // TYPE_CODE_NUMENTRY: [numentries] in parseTypeTableBody()
1632 case bitc::TYPE_CODE_VOID: // VOID in parseTypeTableBody()
1635 case bitc::TYPE_CODE_HALF: // HALF in parseTypeTableBody()
1638 case bitc::TYPE_CODE_FLOAT: // FLOAT in parseTypeTableBody()
1641 case bitc::TYPE_CODE_DOUBLE: // DOUBLE in parseTypeTableBody()
1644 case bitc::TYPE_CODE_X86_FP80: // X86_FP80 in parseTypeTableBody()
1647 case bitc::TYPE_CODE_FP128: // FP128 in parseTypeTableBody()
1650 case bitc::TYPE_CODE_PPC_FP128: // PPC_FP128 in parseTypeTableBody()
1653 case bitc::TYPE_CODE_LABEL: // LABEL in parseTypeTableBody()
1656 case bitc::TYPE_CODE_METADATA: // METADATA in parseTypeTableBody()
1659 case bitc::TYPE_CODE_X86_MMX: // X86_MMX in parseTypeTableBody()
1662 case bitc::TYPE_CODE_TOKEN: // TOKEN in parseTypeTableBody()
1665 case bitc::TYPE_CODE_INTEGER: { // INTEGER: [width] in parseTypeTableBody()
1676 case bitc::TYPE_CODE_POINTER: { // POINTER: [pointee type] or in parseTypeTableBody()
1690 case bitc::TYPE_CODE_FUNCTION_OLD: { in parseTypeTableBody()
1710 case bitc::TYPE_CODE_FUNCTION: { in parseTypeTableBody()
1732 case bitc::TYPE_CODE_STRUCT_ANON: { // STRUCT: [ispacked, eltty x N] in parseTypeTableBody()
1747 case bitc::TYPE_CODE_STRUCT_NAME: // STRUCT_NAME: [strchr x N] in parseTypeTableBody()
1752 case bitc::TYPE_CODE_STRUCT_NAMED: { // STRUCT: [ispacked, eltty x N] in parseTypeTableBody()
1781 case bitc::TYPE_CODE_OPAQUE: { // OPAQUE: [] in parseTypeTableBody()
1799 case bitc::TYPE_CODE_ARRAY: // ARRAY: [numelts, eltty] in parseTypeTableBody()
1807 case bitc::TYPE_CODE_VECTOR: // VECTOR: [numelts, eltty] in parseTypeTableBody()
1830 if (Stream.EnterSubBlock(bitc::OPERAND_BUNDLE_TAGS_BLOCK_ID)) in parseOperandBundleTags()
1854 if (Stream.readRecord(Entry.ID, Record) != bitc::OPERAND_BUNDLE_TAG) in parseOperandBundleTags()
1904 assert(Entry.ID == bitc::VALUE_SYMTAB_BLOCK_ID); in jumpToValueSymbolTable()
1935 Stream.getAbbrevIDWidth() + bitc::BlockIDWidth; in parseValueSymbolTable()
1937 if (Stream.EnterSubBlock(bitc::VALUE_SYMTAB_BLOCK_ID)) in parseValueSymbolTable()
1967 case bitc::VST_CODE_ENTRY: { // VST_CODE_ENTRY: [valueid, namechar x N] in parseValueSymbolTable()
1974 case bitc::VST_CODE_FNENTRY: { in parseValueSymbolTable()
2003 case bitc::VST_CODE_BBENTRY: { in parseValueSymbolTable()
2113 if (Stream.EnterSubBlock(bitc::METADATA_BLOCK_ID)) in parseMetadata()
2184 case bitc::METADATA_NAME: { in parseMetadata()
2191 if (NextBitCode != bitc::METADATA_NAMED_NODE) in parseMetadata()
2205 case bitc::METADATA_OLD_FN_NODE: { in parseMetadata()
2233 case bitc::METADATA_OLD_NODE: { in parseMetadata()
2258 case bitc::METADATA_VALUE: { in parseMetadata()
2271 case bitc::METADATA_DISTINCT_NODE: in parseMetadata()
2274 case bitc::METADATA_NODE: { in parseMetadata()
2284 case bitc::METADATA_LOCATION: { in parseMetadata()
2299 case bitc::METADATA_GENERIC_DEBUG: { in parseMetadata()
2319 case bitc::METADATA_SUBRANGE: { in parseMetadata()
2330 case bitc::METADATA_ENUMERATOR: { in parseMetadata()
2341 case bitc::METADATA_BASIC_TYPE: { in parseMetadata()
2353 case bitc::METADATA_DERIVED_TYPE: { in parseMetadata()
2368 case bitc::METADATA_COMPOSITE_TYPE: { in parseMetadata()
2411 case bitc::METADATA_SUBROUTINE_TYPE: { in parseMetadata()
2428 case bitc::METADATA_MODULE: { in parseMetadata()
2442 case bitc::METADATA_FILE: { in parseMetadata()
2453 case bitc::METADATA_COMPILE_UNIT: { in parseMetadata()
2475 case bitc::METADATA_SUBPROGRAM: { in parseMetadata()
2530 case bitc::METADATA_LEXICAL_BLOCK: { in parseMetadata()
2542 case bitc::METADATA_LEXICAL_BLOCK_FILE: { in parseMetadata()
2554 case bitc::METADATA_NAMESPACE: { in parseMetadata()
2566 case bitc::METADATA_MACRO: { in parseMetadata()
2578 case bitc::METADATA_MACRO_FILE: { in parseMetadata()
2590 case bitc::METADATA_TEMPLATE_TYPE: { in parseMetadata()
2601 case bitc::METADATA_TEMPLATE_VALUE: { in parseMetadata()
2614 case bitc::METADATA_GLOBAL_VAR: { in parseMetadata()
2629 case bitc::METADATA_LOCAL_VAR: { in parseMetadata()
2648 case bitc::METADATA_EXPRESSION: { in parseMetadata()
2659 case bitc::METADATA_OBJC_PROPERTY: { in parseMetadata()
2673 case bitc::METADATA_IMPORTED_ENTITY: { in parseMetadata()
2686 case bitc::METADATA_STRING_OLD: { in parseMetadata()
2696 case bitc::METADATA_STRINGS: in parseMetadata()
2701 case bitc::METADATA_GLOBAL_DECL_ATTACHMENT: { in parseMetadata()
2711 case bitc::METADATA_KIND: { in parseMetadata()
2725 if (Stream.EnterSubBlock(bitc::METADATA_KIND_BLOCK_ID)) in parseMetadataKinds()
2751 case bitc::METADATA_KIND: { in parseMetadataKinds()
2867 if (Stream.EnterSubBlock(bitc::CONSTANTS_BLOCK_ID)) in parseConstants()
2902 case bitc::CST_CODE_UNDEF: // UNDEF in parseConstants()
2905 case bitc::CST_CODE_SETTYPE: // SETTYPE: [typeid] in parseConstants()
2914 case bitc::CST_CODE_NULL: // NULL in parseConstants()
2917 case bitc::CST_CODE_INTEGER: // INTEGER: [intval] in parseConstants()
2922 case bitc::CST_CODE_WIDE_INTEGER: {// WIDE_INTEGER: [n x intval] in parseConstants()
2932 case bitc::CST_CODE_FLOAT: { // FLOAT: [fpval] in parseConstants()
2962 case bitc::CST_CODE_AGGREGATE: {// AGGREGATE: [n x value number] in parseConstants()
2989 case bitc::CST_CODE_STRING: // STRING: [values] in parseConstants()
2990 case bitc::CST_CODE_CSTRING: { // CSTRING: [values] in parseConstants()
2996 BitCode == bitc::CST_CODE_CSTRING); in parseConstants()
2999 case bitc::CST_CODE_DATA: {// DATA: [n x value] in parseConstants()
3051 case bitc::CST_CODE_CE_BINOP: { // CE_BINOP: [opcode, opval, opval] in parseConstants()
3066 if (Record[3] & (1 << bitc::OBO_NO_SIGNED_WRAP)) in parseConstants()
3068 if (Record[3] & (1 << bitc::OBO_NO_UNSIGNED_WRAP)) in parseConstants()
3074 if (Record[3] & (1 << bitc::PEO_EXACT)) in parseConstants()
3082 case bitc::CST_CODE_CE_CAST: { // CE_CAST: [opcode, opty, opval] in parseConstants()
3098 case bitc::CST_CODE_CE_INBOUNDS_GEP: in parseConstants()
3099 case bitc::CST_CODE_CE_GEP: { // CE_GEP: [n x operands] in parseConstants()
3125 bitc::CST_CODE_CE_INBOUNDS_GEP); in parseConstants()
3128 case bitc::CST_CODE_CE_SELECT: { // CE_SELECT: [opval#, opval#, opval#] in parseConstants()
3147 case bitc::CST_CODE_CE_EXTRACTELT in parseConstants()
3169 case bitc::CST_CODE_CE_INSERTELT in parseConstants()
3190 case bitc::CST_CODE_CE_SHUFFLEVEC: { // CE_SHUFFLEVEC: [opval, opval, opval] in parseConstants()
3202 case bitc::CST_CODE_CE_SHUFVEC_EX: { // [opty, opval, opval, opval] in parseConstants()
3216 case bitc::CST_CODE_CE_CMP: { // CE_CMP: [opty, opval, opval, pred] in parseConstants()
3233 case bitc::CST_CODE_INLINEASM_OLD: { in parseConstants()
3257 case bitc::CST_CODE_INLINEASM: { in parseConstants()
3281 case bitc::CST_CODE_BLOCKADDRESS:{ in parseConstants()
3330 if (Stream.EnterSubBlock(bitc::USELIST_BLOCK_ID)) in parseUseLists()
3355 case bitc::USELIST_CODE_BB: in parseUseLists()
3358 case bitc::USELIST_CODE_DEFAULT: { in parseUseLists()
3500 case bitc::FUNCTION_BLOCK_ID: in rememberAndSkipFunctionBodies()
3511 if (Stream.EnterSubBlock(bitc::IDENTIFICATION_BLOCK_ID)) in parseBitcodeVersion()
3536 case bitc::IDENTIFICATION_CODE_STRING: { // IDENTIFICATION: [strchr x in parseBitcodeVersion()
3541 case bitc::IDENTIFICATION_CODE_EPOCH: { // EPOCH: [epoch#] in parseBitcodeVersion()
3543 if (epoch != bitc::BITCODE_CURRENT_EPOCH) { in parseBitcodeVersion()
3546 "' vs current: '" + Twine(bitc::BITCODE_CURRENT_EPOCH) + "'"); in parseBitcodeVersion()
3557 else if (Stream.EnterSubBlock(bitc::MODULE_BLOCK_ID)) in parseModule()
3580 case bitc::BLOCKINFO_BLOCK_ID: in parseModule()
3584 case bitc::PARAMATTR_BLOCK_ID: in parseModule()
3588 case bitc::PARAMATTR_GROUP_BLOCK_ID: in parseModule()
3592 case bitc::TYPE_BLOCK_ID_NEW: in parseModule()
3596 case bitc::VALUE_SYMTAB_BLOCK_ID: in parseModule()
3615 case bitc::CONSTANTS_BLOCK_ID: in parseModule()
3621 case bitc::METADATA_BLOCK_ID: in parseModule()
3631 case bitc::METADATA_KIND_BLOCK_ID: in parseModule()
3635 case bitc::FUNCTION_BLOCK_ID: in parseModule()
3687 case bitc::USELIST_BLOCK_ID: in parseModule()
3691 case bitc::OPERAND_BUNDLE_TAGS_BLOCK_ID: in parseModule()
3707 case bitc::MODULE_CODE_VERSION: { // VERSION: [version#] in parseModule()
3724 case bitc::MODULE_CODE_TRIPLE: { // TRIPLE: [strchr x N] in parseModule()
3731 case bitc::MODULE_CODE_DATALAYOUT: { // DATALAYOUT: [strchr x N] in parseModule()
3738 case bitc::MODULE_CODE_ASM: { // ASM: [strchr x N] in parseModule()
3745 case bitc::MODULE_CODE_DEPLIB: { // DEPLIB: [strchr x N] in parseModule()
3753 case bitc::MODULE_CODE_SECTIONNAME: { // SECTIONNAME: [strchr x N] in parseModule()
3760 case bitc::MODULE_CODE_GCNAME: { // SECTIONNAME: [strchr x N] in parseModule()
3767 case bitc::MODULE_CODE_COMDAT: { // COMDAT: [selection_kind, name] in parseModule()
3785 case bitc::MODULE_CODE_GLOBALVAR: { in parseModule()
3867 case bitc::MODULE_CODE_FUNCTION: { in parseModule()
3951 case bitc::MODULE_CODE_IFUNC: in parseModule()
3952 case bitc::MODULE_CODE_ALIAS: in parseModule()
3953 case bitc::MODULE_CODE_ALIAS_OLD: { in parseModule()
3954 bool NewRecord = BitCode != bitc::MODULE_CODE_ALIAS_OLD; in parseModule()
3976 if (BitCode == bitc::MODULE_CODE_ALIAS || in parseModule()
3977 BitCode == bitc::MODULE_CODE_ALIAS_OLD) in parseModule()
4004 case bitc::MODULE_CODE_PURGEVALS: in parseModule()
4011 case bitc::MODULE_CODE_VSTOFFSET: in parseModule()
4017 case bitc::MODULE_CODE_SOURCE_FILENAME: in parseModule()
4067 if (Entry.ID == bitc::IDENTIFICATION_BLOCK_ID) { in parseBitcodeInto()
4072 if (Entry.ID == bitc::MODULE_BLOCK_ID) in parseBitcodeInto()
4081 if (Stream.EnterSubBlock(bitc::MODULE_BLOCK_ID)) in parseModuleTriple()
4105 case bitc::MODULE_CODE_TRIPLE: { // TRIPLE: [strchr x N] in parseModuleTriple()
4138 if (Entry.ID == bitc::MODULE_BLOCK_ID) in parseTriple()
4172 if (Entry.ID == bitc::IDENTIFICATION_BLOCK_ID) { in parseIdentificationBlock()
4223 if (Entry.ID == bitc::MODULE_BLOCK_ID) in hasObjCCategory()
4239 if (Stream.EnterSubBlock(bitc::MODULE_BLOCK_ID)) in hasObjCCategoryInModule()
4262 case bitc::MODULE_CODE_SECTIONNAME: { // SECTIONNAME: [strchr x N] in hasObjCCategoryInModule()
4280 if (Stream.EnterSubBlock(bitc::METADATA_ATTACHMENT_ID)) in parseMetadataAttachment()
4303 case bitc::METADATA_ATTACHMENT: { in parseMetadataAttachment()
4362 if (Stream.EnterSubBlock(bitc::FUNCTION_BLOCK_ID)) in parseFunctionBody()
4410 case bitc::CONSTANTS_BLOCK_ID: in parseFunctionBody()
4415 case bitc::VALUE_SYMTAB_BLOCK_ID: in parseFunctionBody()
4419 case bitc::METADATA_ATTACHMENT_ID: in parseFunctionBody()
4423 case bitc::METADATA_BLOCK_ID: in parseFunctionBody()
4427 case bitc::USELIST_BLOCK_ID: in parseFunctionBody()
4446 case bitc::FUNC_CODE_DECLAREBLOCKS: { // DECLAREBLOCKS: [nblocks] in parseFunctionBody()
4481 case bitc::FUNC_CODE_DEBUG_LOC_AGAIN: // DEBUG_LOC_AGAIN in parseFunctionBody()
4492 case bitc::FUNC_CODE_DEBUG_LOC: { // DEBUG_LOC: [line, col, scope, ia] in parseFunctionBody()
4517 case bitc::FUNC_CODE_INST_BINOP: { // BINOP: [opval, ty, opval, opcode] in parseFunctionBody()
4535 if (Record[OpNum] & (1 << bitc::OBO_NO_SIGNED_WRAP)) in parseFunctionBody()
4537 if (Record[OpNum] & (1 << bitc::OBO_NO_UNSIGNED_WRAP)) in parseFunctionBody()
4543 if (Record[OpNum] & (1 << bitc::PEO_EXACT)) in parseFunctionBody()
4554 case bitc::FUNC_CODE_INST_CAST: { // CAST: [opval, opty, destty, castopc] in parseFunctionBody()
4580 case bitc::FUNC_CODE_INST_INBOUNDS_GEP_OLD: in parseFunctionBody()
4581 case bitc::FUNC_CODE_INST_GEP_OLD: in parseFunctionBody()
4582 case bitc::FUNC_CODE_INST_GEP: { // GEP: type, [n x operands] in parseFunctionBody()
4588 if (BitCode == bitc::FUNC_CODE_INST_GEP) { in parseFunctionBody()
4592 InBounds = BitCode == bitc::FUNC_CODE_INST_INBOUNDS_GEP_OLD; in parseFunctionBody()
4625 case bitc::FUNC_CODE_INST_EXTRACTVAL: { in parseFunctionBody()
4664 case bitc::FUNC_CODE_INST_INSERTVAL: { in parseFunctionBody()
4709 case bitc::FUNC_CODE_INST_SELECT: { // SELECT: [opval, ty, opval, opval] in parseFunctionBody()
4724 case bitc::FUNC_CODE_INST_VSELECT: {// VSELECT: [ty,opval,opval,predty,pred] in parseFunctionBody()
4751 case bitc::FUNC_CODE_INST_EXTRACTELT: { // EXTRACTELT: [opty, opval, opval] in parseFunctionBody()
4764 case bitc::FUNC_CODE_INST_INSERTELT: { // INSERTELT: [ty, opval,opval,opval] in parseFunctionBody()
4780 case bitc::FUNC_CODE_INST_SHUFFLEVEC: {// SHUFFLEVEC: [opval,ty,opval,opval] in parseFunctionBody()
4796 case bitc::FUNC_CODE_INST_CMP: // CMP: [opty, opval, opval, pred] in parseFunctionBody()
4800 case bitc::FUNC_CODE_INST_CMP2: { // CMP2: [opty, opval, opval, pred] in parseFunctionBody()
4829 case bitc::FUNC_CODE_INST_RET: // RET: [opty,opval<optional>] in parseFunctionBody()
4849 case bitc::FUNC_CODE_INST_BR: { // BR: [bb#, bb#, opval] or [bb#] in parseFunctionBody()
4871 case bitc::FUNC_CODE_INST_CLEANUPRET: { // CLEANUPRET: [val] or [val,bb#] in parseFunctionBody()
4890 case bitc::FUNC_CODE_INST_CATCHRET: { // CATCHRET: [val,bb#] in parseFunctionBody()
4906 case bitc::FUNC_CODE_INST_CATCHSWITCH: { // CATCHSWITCH: [tok,num,(bb)*,bb?] in parseFunctionBody()
4944 case bitc::FUNC_CODE_INST_CATCHPAD: in parseFunctionBody()
4945 case bitc::FUNC_CODE_INST_CLEANUPPAD: { // [tok,num,(ty,val)*] in parseFunctionBody()
4968 if (BitCode == bitc::FUNC_CODE_INST_CLEANUPPAD) in parseFunctionBody()
4975 case bitc::FUNC_CODE_INST_SWITCH: { // SWITCH: [opty, op0, op1, ...] in parseFunctionBody()
5062 case bitc::FUNC_CODE_INST_INDIRECTBR: { // INDIRECTBR: [opty, op0, op1, ...] in parseFunctionBody()
5084 case bitc::FUNC_CODE_INST_INVOKE: { in parseFunctionBody()
5145 case bitc::FUNC_CODE_INST_RESUME: { // RESUME: [opval] in parseFunctionBody()
5154 case bitc::FUNC_CODE_INST_UNREACHABLE: // UNREACHABLE in parseFunctionBody()
5158 case bitc::FUNC_CODE_INST_PHI: { // PHI: [ty, val0,bb0, ...] in parseFunctionBody()
5186 case bitc::FUNC_CODE_INST_LANDINGPAD: in parseFunctionBody()
5187 case bitc::FUNC_CODE_INST_LANDINGPAD_OLD: { in parseFunctionBody()
5190 if (BitCode == bitc::FUNC_CODE_INST_LANDINGPAD) { in parseFunctionBody()
5194 assert(BitCode == bitc::FUNC_CODE_INST_LANDINGPAD_OLD); in parseFunctionBody()
5201 if (BitCode == bitc::FUNC_CODE_INST_LANDINGPAD_OLD) { in parseFunctionBody()
5240 case bitc::FUNC_CODE_INST_ALLOCA: { // ALLOCA: [instty, opty, op, align] in parseFunctionBody()
5274 case bitc::FUNC_CODE_INST_LOAD: { // LOAD: [opty, op, align, vol] in parseFunctionBody()
5297 case bitc::FUNC_CODE_INST_LOADATOMIC: { in parseFunctionBody()
5330 case bitc::FUNC_CODE_INST_STORE: in parseFunctionBody()
5331 case bitc::FUNC_CODE_INST_STORE_OLD: { // STORE2:[ptrty, ptr, val, align, vol] in parseFunctionBody()
5335 (BitCode == bitc::FUNC_CODE_INST_STORE in parseFunctionBody()
5353 case bitc::FUNC_CODE_INST_STOREATOMIC: in parseFunctionBody()
5354 case bitc::FUNC_CODE_INST_STOREATOMIC_OLD: { in parseFunctionBody()
5360 (BitCode == bitc::FUNC_CODE_INST_STOREATOMIC in parseFunctionBody()
5387 case bitc::FUNC_CODE_INST_CMPXCHG_OLD: in parseFunctionBody()
5388 case bitc::FUNC_CODE_INST_CMPXCHG: { in parseFunctionBody()
5394 (BitCode == bitc::FUNC_CODE_INST_CMPXCHG in parseFunctionBody()
5435 case bitc::FUNC_CODE_INST_ATOMICRMW: { in parseFunctionBody()
5459 case bitc::FUNC_CODE_INST_FENCE: { // FENCE:[ordering, synchscope] in parseFunctionBody()
5472 case bitc::FUNC_CODE_INST_CALL: { in parseFunctionBody()
5482 if ((CCInfo >> bitc::CALL_FMF) & 1) { in parseFunctionBody()
5489 if (CCInfo >> bitc::CALL_EXPLICIT_TYPE & 1 && in parseFunctionBody()
5539 static_cast<CallingConv::ID>((0x7ff & CCInfo) >> bitc::CALL_CCONV)); in parseFunctionBody()
5541 if (CCInfo & 1 << bitc::CALL_TAIL) in parseFunctionBody()
5543 if (CCInfo & (1 << bitc::CALL_MUSTTAIL)) in parseFunctionBody()
5545 if (CCInfo & (1 << bitc::CALL_NOTAIL)) in parseFunctionBody()
5557 case bitc::FUNC_CODE_INST_VAARG: { // VAARG: [valistty, valist, instty] in parseFunctionBody()
5570 case bitc::FUNC_CODE_OPERAND_BUNDLE: { in parseFunctionBody()
5870 if (Stream.EnterSubBlock(bitc::VALUE_SYMTAB_BLOCK_ID)) in parseValueSymbolTable()
5898 case bitc::VST_CODE_ENTRY: { // VST_CODE_ENTRY: [valueid, namechar x N] in parseValueSymbolTable()
5921 case bitc::VST_CODE_FNENTRY: { in parseValueSymbolTable()
5946 case bitc::VST_CODE_COMBINED_ENTRY: { in parseValueSymbolTable()
5963 if (Stream.EnterSubBlock(bitc::MODULE_BLOCK_ID)) in parseModule()
5982 if (Entry.ID == bitc::GLOBALVAL_SUMMARY_BLOCK_ID) { in parseModule()
5996 case bitc::BLOCKINFO_BLOCK_ID: in parseModule()
6001 case bitc::VALUE_SYMTAB_BLOCK_ID: in parseModule()
6010 case bitc::GLOBALVAL_SUMMARY_BLOCK_ID: in parseModule()
6022 case bitc::MODULE_STRTAB_BLOCK_ID: in parseModule()
6036 case bitc::MODULE_CODE_SOURCE_FILENAME: { in parseModule()
6044 case bitc::MODULE_CODE_HASH: { in parseModule()
6063 case bitc::MODULE_CODE_VSTOFFSET: in parseModule()
6072 case bitc::MODULE_CODE_GLOBALVAR: { in parseModule()
6083 case bitc::MODULE_CODE_FUNCTION: { in parseModule()
6093 case bitc::MODULE_CODE_ALIAS: { in parseModule()
6111 if (Stream.EnterSubBlock(bitc::GLOBALVAL_SUMMARY_BLOCK_ID)) in parseEntireSummary()
6120 if (Stream.readRecord(Entry.ID, Record) != bitc::FS_VERSION) in parseEntireSummary()
6173 case bitc::FS_PERMODULE: in parseEntireSummary()
6174 case bitc::FS_PERMODULE_PROFILE: { in parseEntireSummary()
6198 bool HasProfile = (BitCode == bitc::FS_PERMODULE_PROFILE); in parseEntireSummary()
6216 case bitc::FS_ALIAS: { in parseEntireSummary()
6242 case bitc::FS_PERMODULE_GLOBALVAR_INIT_REFS: { in parseEntireSummary()
6265 case bitc::FS_COMBINED: in parseEntireSummary()
6266 case bitc::FS_COMBINED_PROFILE: { in parseEntireSummary()
6287 bool HasProfile = (BitCode == bitc::FS_COMBINED_PROFILE); in parseEntireSummary()
6305 case bitc::FS_COMBINED_ALIAS: { in parseEntireSummary()
6328 case bitc::FS_COMBINED_GLOBALVAR_INIT_REFS: { in parseEntireSummary()
6348 case bitc::FS_COMBINED_ORIGINAL_NAME: { in parseEntireSummary()
6364 if (Stream.EnterSubBlock(bitc::MODULE_STRTAB_BLOCK_ID)) in parseModuleStringTable()
6389 case bitc::MST_CODE_ENTRY: { in parseModuleStringTable()
6403 case bitc::MST_CODE_HASH: { in parseModuleStringTable()
6450 if (Entry.ID == bitc::MODULE_BLOCK_ID) in parseSummaryIndexInto()