Lines Matching refs:Vals

386                         SmallVectorImpl<unsigned> &Vals);
389 SmallVectorImpl<unsigned> &Vals);
391 SmallVectorImpl<uint64_t> &Vals);
393 SmallVectorImpl<unsigned> &Vals);
600 SmallVector<unsigned, 64> Vals; in writeStringRecord() local
606 Vals.push_back(C); in writeStringRecord()
610 Stream.EmitRecord(Code, Vals, AbbrevToUse); in writeStringRecord()
1178 SmallVector<unsigned, 64> Vals; in writeComdats() local
1181 Vals.push_back(addToStrtab(C->getName())); in writeComdats()
1182 Vals.push_back(C->getName().size()); in writeComdats()
1183 Vals.push_back(getEncodedComdatSelectionKind(*C)); in writeComdats()
1184 Stream.EmitRecord(bitc::MODULE_CODE_COMDAT, Vals, /*AbbrevToUse=*/0); in writeComdats()
1185 Vals.clear(); in writeComdats()
1206 uint64_t Vals[] = {bitc::MODULE_CODE_VSTOFFSET, 0}; in writeValueSymbolTableForwardDecl() local
1207 Stream.EmitRecordWithAbbrev(VSTOffsetAbbrev, Vals); in writeValueSymbolTableForwardDecl()
1331 SmallVector<unsigned, 64> Vals; in writeModuleInfo() local
1349 Vals.push_back((unsigned char)P); in writeModuleInfo()
1352 Stream.EmitRecord(bitc::MODULE_CODE_SOURCE_FILENAME, Vals, FilenameAbbrev); in writeModuleInfo()
1353 Vals.clear(); in writeModuleInfo()
1364 Vals.push_back(addToStrtab(GV.getName())); in writeModuleInfo()
1365 Vals.push_back(GV.getName().size()); in writeModuleInfo()
1366 Vals.push_back(VE.getTypeID(GV.getValueType())); in writeModuleInfo()
1367 Vals.push_back(GV.getType()->getAddressSpace() << 2 | 2 | GV.isConstant()); in writeModuleInfo()
1368 Vals.push_back(GV.isDeclaration() ? 0 : in writeModuleInfo()
1370 Vals.push_back(getEncodedLinkage(GV)); in writeModuleInfo()
1371 Vals.push_back(getEncodedAlign(GV.getAlign())); in writeModuleInfo()
1372 Vals.push_back(GV.hasSection() ? SectionMap[std::string(GV.getSection())] in writeModuleInfo()
1381 Vals.push_back(getEncodedVisibility(GV)); in writeModuleInfo()
1382 Vals.push_back(getEncodedThreadLocalMode(GV)); in writeModuleInfo()
1383 Vals.push_back(getEncodedUnnamedAddr(GV)); in writeModuleInfo()
1384 Vals.push_back(GV.isExternallyInitialized()); in writeModuleInfo()
1385 Vals.push_back(getEncodedDLLStorageClass(GV)); in writeModuleInfo()
1386 Vals.push_back(GV.hasComdat() ? VE.getComdatID(GV.getComdat()) : 0); in writeModuleInfo()
1389 Vals.push_back(VE.getAttributeListID(AL)); in writeModuleInfo()
1391 Vals.push_back(GV.isDSOLocal()); in writeModuleInfo()
1392 Vals.push_back(addToStrtab(GV.getPartition())); in writeModuleInfo()
1393 Vals.push_back(GV.getPartition().size()); in writeModuleInfo()
1395 Vals.push_back((GV.hasSanitizerMetadata() ? serializeSanitizerMetadata( in writeModuleInfo()
1402 Stream.EmitRecord(bitc::MODULE_CODE_GLOBALVAR, Vals, AbbrevToUse); in writeModuleInfo()
1403 Vals.clear(); in writeModuleInfo()
1412 Vals.push_back(addToStrtab(F.getName())); in writeModuleInfo()
1413 Vals.push_back(F.getName().size()); in writeModuleInfo()
1414 Vals.push_back(VE.getTypeID(F.getFunctionType())); in writeModuleInfo()
1415 Vals.push_back(F.getCallingConv()); in writeModuleInfo()
1416 Vals.push_back(F.isDeclaration()); in writeModuleInfo()
1417 Vals.push_back(getEncodedLinkage(F)); in writeModuleInfo()
1418 Vals.push_back(VE.getAttributeListID(F.getAttributes())); in writeModuleInfo()
1419 Vals.push_back(getEncodedAlign(F.getAlign())); in writeModuleInfo()
1420 Vals.push_back(F.hasSection() ? SectionMap[std::string(F.getSection())] in writeModuleInfo()
1422 Vals.push_back(getEncodedVisibility(F)); in writeModuleInfo()
1423 Vals.push_back(F.hasGC() ? GCMap[F.getGC()] : 0); in writeModuleInfo()
1424 Vals.push_back(getEncodedUnnamedAddr(F)); in writeModuleInfo()
1425 Vals.push_back(F.hasPrologueData() ? (VE.getValueID(F.getPrologueData()) + 1) in writeModuleInfo()
1427 Vals.push_back(getEncodedDLLStorageClass(F)); in writeModuleInfo()
1428 Vals.push_back(F.hasComdat() ? VE.getComdatID(F.getComdat()) : 0); in writeModuleInfo()
1429 Vals.push_back(F.hasPrefixData() ? (VE.getValueID(F.getPrefixData()) + 1) in writeModuleInfo()
1431 Vals.push_back( in writeModuleInfo()
1434 Vals.push_back(F.isDSOLocal()); in writeModuleInfo()
1435 Vals.push_back(F.getAddressSpace()); in writeModuleInfo()
1436 Vals.push_back(addToStrtab(F.getPartition())); in writeModuleInfo()
1437 Vals.push_back(F.getPartition().size()); in writeModuleInfo()
1440 Stream.EmitRecord(bitc::MODULE_CODE_FUNCTION, Vals, AbbrevToUse); in writeModuleInfo()
1441 Vals.clear(); in writeModuleInfo()
1449 Vals.push_back(addToStrtab(A.getName())); in writeModuleInfo()
1450 Vals.push_back(A.getName().size()); in writeModuleInfo()
1451 Vals.push_back(VE.getTypeID(A.getValueType())); in writeModuleInfo()
1452 Vals.push_back(A.getType()->getAddressSpace()); in writeModuleInfo()
1453 Vals.push_back(VE.getValueID(A.getAliasee())); in writeModuleInfo()
1454 Vals.push_back(getEncodedLinkage(A)); in writeModuleInfo()
1455 Vals.push_back(getEncodedVisibility(A)); in writeModuleInfo()
1456 Vals.push_back(getEncodedDLLStorageClass(A)); in writeModuleInfo()
1457 Vals.push_back(getEncodedThreadLocalMode(A)); in writeModuleInfo()
1458 Vals.push_back(getEncodedUnnamedAddr(A)); in writeModuleInfo()
1459 Vals.push_back(A.isDSOLocal()); in writeModuleInfo()
1460 Vals.push_back(addToStrtab(A.getPartition())); in writeModuleInfo()
1461 Vals.push_back(A.getPartition().size()); in writeModuleInfo()
1464 Stream.EmitRecord(bitc::MODULE_CODE_ALIAS, Vals, AbbrevToUse); in writeModuleInfo()
1465 Vals.clear(); in writeModuleInfo()
1472 Vals.push_back(addToStrtab(I.getName())); in writeModuleInfo()
1473 Vals.push_back(I.getName().size()); in writeModuleInfo()
1474 Vals.push_back(VE.getTypeID(I.getValueType())); in writeModuleInfo()
1475 Vals.push_back(I.getType()->getAddressSpace()); in writeModuleInfo()
1476 Vals.push_back(VE.getValueID(I.getResolver())); in writeModuleInfo()
1477 Vals.push_back(getEncodedLinkage(I)); in writeModuleInfo()
1478 Vals.push_back(getEncodedVisibility(I)); in writeModuleInfo()
1479 Vals.push_back(I.isDSOLocal()); in writeModuleInfo()
1480 Vals.push_back(addToStrtab(I.getPartition())); in writeModuleInfo()
1481 Vals.push_back(I.getPartition().size()); in writeModuleInfo()
1482 Stream.EmitRecord(bitc::MODULE_CODE_IFUNC, Vals); in writeModuleInfo()
1483 Vals.clear(); in writeModuleInfo()
1634 static void emitSignedInt64(SmallVectorImpl<uint64_t> &Vals, uint64_t V) { in emitSignedInt64() argument
1636 Vals.push_back(V << 1); in emitSignedInt64()
1638 Vals.push_back((-V << 1) | 1); in emitSignedInt64()
1641 static void emitWideAPInt(SmallVectorImpl<uint64_t> &Vals, const APInt &A) { in emitWideAPInt() argument
1649 emitSignedInt64(Vals, RawData[i]); in emitWideAPInt()
2253 uint64_t Vals[] = {0, 0}; in writeModuleMetadata() local
2254 Stream.EmitRecord(bitc::METADATA_INDEX_OFFSET, Vals, OffsetAbbrev); in writeModuleMetadata()
2477 const ValueEnumerator::ValueList &Vals = VE.getValues(); in writeConstants() local
2480 const Value *V = Vals[i].first; in writeConstants()
2709 const ValueEnumerator::ValueList &Vals = VE.getValues(); in writeModuleConstants() local
2713 for (unsigned i = 0, e = Vals.size(); i != e; ++i) { in writeModuleConstants()
2714 if (!isa<GlobalValue>(Vals[i].first)) { in writeModuleConstants()
2715 writeConstants(i, Vals.size(), true); in writeModuleConstants()
2730 SmallVectorImpl<unsigned> &Vals) { in pushValueAndType() argument
2733 Vals.push_back(InstID - ValID); in pushValueAndType()
2735 Vals.push_back(VE.getTypeID(V->getType())); in pushValueAndType()
2761 SmallVectorImpl<unsigned> &Vals) { in pushValue() argument
2763 Vals.push_back(InstID - ValID); in pushValue()
2767 SmallVectorImpl<uint64_t> &Vals) { in pushValueSigned() argument
2770 emitSignedInt64(Vals, diff); in pushValueSigned()
2776 SmallVectorImpl<unsigned> &Vals) { in writeInstruction() argument
2784 if (!pushValueAndType(I.getOperand(0), InstID, Vals)) in writeInstruction()
2786 Vals.push_back(VE.getTypeID(I.getType())); in writeInstruction()
2787 Vals.push_back(getEncodedCastOpcode(I.getOpcode())); in writeInstruction()
2791 if (!pushValueAndType(I.getOperand(0), InstID, Vals)) in writeInstruction()
2793 pushValue(I.getOperand(1), InstID, Vals); in writeInstruction()
2794 Vals.push_back(getEncodedBinaryOpcode(I.getOpcode())); in writeInstruction()
2799 Vals.push_back(Flags); in writeInstruction()
2805 if (!pushValueAndType(I.getOperand(0), InstID, Vals)) in writeInstruction()
2807 Vals.push_back(getEncodedUnaryOpcode(I.getOpcode())); in writeInstruction()
2812 Vals.push_back(Flags); in writeInstruction()
2820 Vals.push_back(GEPInst.isInBounds()); in writeInstruction()
2821 Vals.push_back(VE.getTypeID(GEPInst.getSourceElementType())); in writeInstruction()
2823 pushValueAndType(I.getOperand(i), InstID, Vals); in writeInstruction()
2828 pushValueAndType(I.getOperand(0), InstID, Vals); in writeInstruction()
2830 Vals.append(EVI->idx_begin(), EVI->idx_end()); in writeInstruction()
2835 pushValueAndType(I.getOperand(0), InstID, Vals); in writeInstruction()
2836 pushValueAndType(I.getOperand(1), InstID, Vals); in writeInstruction()
2838 Vals.append(IVI->idx_begin(), IVI->idx_end()); in writeInstruction()
2843 pushValueAndType(I.getOperand(1), InstID, Vals); in writeInstruction()
2844 pushValue(I.getOperand(2), InstID, Vals); in writeInstruction()
2845 pushValueAndType(I.getOperand(0), InstID, Vals); in writeInstruction()
2848 Vals.push_back(Flags); in writeInstruction()
2853 pushValueAndType(I.getOperand(0), InstID, Vals); in writeInstruction()
2854 pushValueAndType(I.getOperand(1), InstID, Vals); in writeInstruction()
2858 pushValueAndType(I.getOperand(0), InstID, Vals); in writeInstruction()
2859 pushValue(I.getOperand(1), InstID, Vals); in writeInstruction()
2860 pushValueAndType(I.getOperand(2), InstID, Vals); in writeInstruction()
2864 pushValueAndType(I.getOperand(0), InstID, Vals); in writeInstruction()
2865 pushValue(I.getOperand(1), InstID, Vals); in writeInstruction()
2867 Vals); in writeInstruction()
2873 pushValueAndType(I.getOperand(0), InstID, Vals); in writeInstruction()
2874 pushValue(I.getOperand(1), InstID, Vals); in writeInstruction()
2875 Vals.push_back(cast<CmpInst>(I).getPredicate()); in writeInstruction()
2878 Vals.push_back(Flags); in writeInstruction()
2889 if (!pushValueAndType(I.getOperand(0), InstID, Vals)) in writeInstruction()
2893 pushValueAndType(I.getOperand(i), InstID, Vals); in writeInstruction()
2901 Vals.push_back(VE.getValueID(II.getSuccessor(0))); in writeInstruction()
2903 Vals.push_back(VE.getValueID(II.getSuccessor(1))); in writeInstruction()
2904 pushValue(II.getCondition(), InstID, Vals); in writeInstruction()
2912 Vals.push_back(VE.getTypeID(SI.getCondition()->getType())); in writeInstruction()
2913 pushValue(SI.getCondition(), InstID, Vals); in writeInstruction()
2914 Vals.push_back(VE.getValueID(SI.getDefaultDest())); in writeInstruction()
2916 Vals.push_back(VE.getValueID(Case.getCaseValue())); in writeInstruction()
2917 Vals.push_back(VE.getValueID(Case.getCaseSuccessor())); in writeInstruction()
2923 Vals.push_back(VE.getTypeID(I.getOperand(0)->getType())); in writeInstruction()
2925 pushValue(I.getOperand(0), InstID, Vals); in writeInstruction()
2927 Vals.push_back(VE.getValueID(I.getOperand(i))); in writeInstruction()
2940 Vals.push_back(VE.getAttributeListID(II->getAttributes())); in writeInstruction()
2941 Vals.push_back(II->getCallingConv() | 1 << 13); in writeInstruction()
2942 Vals.push_back(VE.getValueID(II->getNormalDest())); in writeInstruction()
2943 Vals.push_back(VE.getValueID(II->getUnwindDest())); in writeInstruction()
2944 Vals.push_back(VE.getTypeID(FTy)); in writeInstruction()
2945 pushValueAndType(Callee, InstID, Vals); in writeInstruction()
2949 pushValue(I.getOperand(i), InstID, Vals); // fixed param. in writeInstruction()
2954 pushValueAndType(I.getOperand(i), InstID, Vals); // vararg in writeInstruction()
2960 pushValueAndType(I.getOperand(0), InstID, Vals); in writeInstruction()
2965 pushValue(CRI.getCleanupPad(), InstID, Vals); in writeInstruction()
2967 Vals.push_back(VE.getValueID(CRI.getUnwindDest())); in writeInstruction()
2973 pushValue(CRI.getCatchPad(), InstID, Vals); in writeInstruction()
2974 Vals.push_back(VE.getValueID(CRI.getSuccessor())); in writeInstruction()
2982 pushValue(FuncletPad.getParentPad(), InstID, Vals); in writeInstruction()
2985 Vals.push_back(NumArgOperands); in writeInstruction()
2987 pushValueAndType(FuncletPad.getArgOperand(Op), InstID, Vals); in writeInstruction()
2994 pushValue(CatchSwitch.getParentPad(), InstID, Vals); in writeInstruction()
2997 Vals.push_back(NumHandlers); in writeInstruction()
2999 Vals.push_back(VE.getValueID(CatchPadBB)); in writeInstruction()
3002 Vals.push_back(VE.getValueID(CatchSwitch.getUnwindDest())); in writeInstruction()
3015 Vals.push_back(VE.getAttributeListID(CBI->getAttributes())); in writeInstruction()
3017 Vals.push_back(CBI->getCallingConv() << bitc::CALL_CCONV | in writeInstruction()
3020 Vals.push_back(VE.getValueID(CBI->getDefaultDest())); in writeInstruction()
3021 Vals.push_back(CBI->getNumIndirectDests()); in writeInstruction()
3023 Vals.push_back(VE.getValueID(CBI->getIndirectDest(i))); in writeInstruction()
3025 Vals.push_back(VE.getTypeID(FTy)); in writeInstruction()
3026 pushValueAndType(Callee, InstID, Vals); in writeInstruction()
3030 pushValue(I.getOperand(i), InstID, Vals); // fixed param. in writeInstruction()
3035 pushValueAndType(I.getOperand(i), InstID, Vals); // vararg in writeInstruction()
3070 Vals.push_back(VE.getTypeID(LP.getType())); in writeInstruction()
3071 Vals.push_back(LP.isCleanup()); in writeInstruction()
3072 Vals.push_back(LP.getNumClauses()); in writeInstruction()
3075 Vals.push_back(LandingPadInst::Catch); in writeInstruction()
3077 Vals.push_back(LandingPadInst::Filter); in writeInstruction()
3078 pushValueAndType(LP.getClause(I), InstID, Vals); in writeInstruction()
3086 Vals.push_back(VE.getTypeID(AI.getAllocatedType())); in writeInstruction()
3087 Vals.push_back(VE.getTypeID(I.getOperand(0)->getType())); in writeInstruction()
3088 Vals.push_back(VE.getValueID(I.getOperand(0))); // size. in writeInstruction()
3099 Vals.push_back(Record); in writeInstruction()
3103 Vals.push_back(AS); in writeInstruction()
3110 pushValueAndType(I.getOperand(0), InstID, Vals); in writeInstruction()
3113 if (!pushValueAndType(I.getOperand(0), InstID, Vals)) // ptr in writeInstruction()
3116 Vals.push_back(VE.getTypeID(I.getType())); in writeInstruction()
3117 Vals.push_back(getEncodedAlign(cast<LoadInst>(I).getAlign())); in writeInstruction()
3118 Vals.push_back(cast<LoadInst>(I).isVolatile()); in writeInstruction()
3120 Vals.push_back(getEncodedOrdering(cast<LoadInst>(I).getOrdering())); in writeInstruction()
3121 Vals.push_back(getEncodedSyncScopeID(cast<LoadInst>(I).getSyncScopeID())); in writeInstruction()
3129 pushValueAndType(I.getOperand(1), InstID, Vals); // ptrty + ptr in writeInstruction()
3130 pushValueAndType(I.getOperand(0), InstID, Vals); // valty + val in writeInstruction()
3131 Vals.push_back(getEncodedAlign(cast<StoreInst>(I).getAlign())); in writeInstruction()
3132 Vals.push_back(cast<StoreInst>(I).isVolatile()); in writeInstruction()
3134 Vals.push_back(getEncodedOrdering(cast<StoreInst>(I).getOrdering())); in writeInstruction()
3135 Vals.push_back( in writeInstruction()
3141 pushValueAndType(I.getOperand(0), InstID, Vals); // ptrty + ptr in writeInstruction()
3142 pushValueAndType(I.getOperand(1), InstID, Vals); // cmp. in writeInstruction()
3143 pushValue(I.getOperand(2), InstID, Vals); // newval. in writeInstruction()
3144 Vals.push_back(cast<AtomicCmpXchgInst>(I).isVolatile()); in writeInstruction()
3145 Vals.push_back( in writeInstruction()
3147 Vals.push_back( in writeInstruction()
3149 Vals.push_back( in writeInstruction()
3151 Vals.push_back(cast<AtomicCmpXchgInst>(I).isWeak()); in writeInstruction()
3152 Vals.push_back(getEncodedAlign(cast<AtomicCmpXchgInst>(I).getAlign())); in writeInstruction()
3156 pushValueAndType(I.getOperand(0), InstID, Vals); // ptrty + ptr in writeInstruction()
3157 pushValueAndType(I.getOperand(1), InstID, Vals); // valty + val in writeInstruction()
3158 Vals.push_back( in writeInstruction()
3160 Vals.push_back(cast<AtomicRMWInst>(I).isVolatile()); in writeInstruction()
3161 Vals.push_back(getEncodedOrdering(cast<AtomicRMWInst>(I).getOrdering())); in writeInstruction()
3162 Vals.push_back( in writeInstruction()
3164 Vals.push_back(getEncodedAlign(cast<AtomicRMWInst>(I).getAlign())); in writeInstruction()
3168 Vals.push_back(getEncodedOrdering(cast<FenceInst>(I).getOrdering())); in writeInstruction()
3169 Vals.push_back(getEncodedSyncScopeID(cast<FenceInst>(I).getSyncScopeID())); in writeInstruction()
3180 Vals.push_back(VE.getAttributeListID(CI.getAttributes())); in writeInstruction()
3183 Vals.push_back(CI.getCallingConv() << bitc::CALL_CCONV | in writeInstruction()
3190 Vals.push_back(Flags); in writeInstruction()
3192 Vals.push_back(VE.getTypeID(FTy)); in writeInstruction()
3193 pushValueAndType(CI.getCalledOperand(), InstID, Vals); // Callee in writeInstruction()
3199 Vals.push_back(VE.getValueID(CI.getArgOperand(i))); in writeInstruction()
3201 pushValue(CI.getArgOperand(i), InstID, Vals); // fixed param. in writeInstruction()
3207 pushValueAndType(CI.getArgOperand(i), InstID, Vals); // varargs in writeInstruction()
3213 Vals.push_back(VE.getTypeID(I.getOperand(0)->getType())); // valistty in writeInstruction()
3214 pushValue(I.getOperand(0), InstID, Vals); // valist. in writeInstruction()
3215 Vals.push_back(VE.getTypeID(I.getType())); // restype. in writeInstruction()
3219 pushValueAndType(I.getOperand(0), InstID, Vals); in writeInstruction()
3223 Stream.EmitRecord(Code, Vals, AbbrevToUse); in writeInstruction()
3224 Vals.clear(); in writeInstruction()
3361 SmallVector<unsigned, 64> Vals; in writeFunction() local
3365 Vals.push_back(VE.getBasicBlocks().size()); in writeFunction()
3366 Stream.EmitRecord(bitc::FUNC_CODE_DECLAREBLOCKS, Vals); in writeFunction()
3367 Vals.clear(); in writeFunction()
3388 writeInstruction(I, InstID, Vals); in writeFunction()
3403 Stream.EmitRecord(bitc::FUNC_CODE_DEBUG_LOC_AGAIN, Vals); in writeFunction()
3407 Vals.push_back(DL->getLine()); in writeFunction()
3408 Vals.push_back(DL->getColumn()); in writeFunction()
3409 Vals.push_back(VE.getMetadataOrNullID(DL->getScope())); in writeFunction()
3410 Vals.push_back(VE.getMetadataOrNullID(DL->getInlinedAt())); in writeFunction()
3411 Vals.push_back(DL->isImplicitCode()); in writeFunction()
3412 Stream.EmitRecord(bitc::FUNC_CODE_DEBUG_LOC, Vals); in writeFunction()
3413 Vals.clear(); in writeFunction()
3437 Vals.resize(BlockAddressUsers.size()); in writeFunction()
3439 Vals[I.index()] = VE.getValueID(I.value()); in writeFunction()
3440 Stream.EmitRecord(bitc::FUNC_CODE_BLOCKADDR_USERS, Vals); in writeFunction()
3441 Vals.clear(); in writeFunction()
3689 SmallVector<unsigned, 64> Vals; in writeModStrings() local
3701 Vals.push_back(Value.first); in writeModStrings()
3702 Vals.append(Key.begin(), Key.end()); in writeModStrings()
3705 Stream.EmitRecord(bitc::MST_CODE_ENTRY, Vals, AbbrevToUse); in writeModStrings()
3710 Vals.assign(Hash.begin(), Hash.end()); in writeModStrings()
3712 Stream.EmitRecord(bitc::MST_CODE_HASH, Vals, AbbrevHash); in writeModStrings()
3715 Vals.clear(); in writeModStrings()
4428 constexpr std::array<unsigned, 1> Vals = {{bitc::BITCODE_CURRENT_EPOCH}}; in writeIdentificationBlock() local
4429 Stream.EmitRecord(bitc::IDENTIFICATION_CODE_EPOCH, Vals, EpochAbbrev); in writeIdentificationBlock()
4437 uint32_t Vals[5]; in writeModuleHash() local
4442 Vals[Pos / 4] = support::endian::read32be(Hash.data() + Pos); in writeModuleHash()
4446 Stream.EmitRecord(bitc::MODULE_CODE_HASH, Vals); in writeModuleHash()
4450 llvm::copy(Vals, std::begin(*ModHash)); in writeModuleHash()
4778 SmallVector<unsigned, 64> Vals; in writeSimplifiedModuleInfo() local
4796 Vals.push_back((unsigned char)P); in writeSimplifiedModuleInfo()
4798 Stream.EmitRecord(bitc::MODULE_CODE_SOURCE_FILENAME, Vals, FilenameAbbrev); in writeSimplifiedModuleInfo()
4799 Vals.clear(); in writeSimplifiedModuleInfo()
4805 Vals.push_back(StrtabBuilder.add(GV.getName())); in writeSimplifiedModuleInfo()
4806 Vals.push_back(GV.getName().size()); in writeSimplifiedModuleInfo()
4807 Vals.push_back(0); in writeSimplifiedModuleInfo()
4808 Vals.push_back(0); in writeSimplifiedModuleInfo()
4809 Vals.push_back(0); in writeSimplifiedModuleInfo()
4810 Vals.push_back(getEncodedLinkage(GV)); in writeSimplifiedModuleInfo()
4812 Stream.EmitRecord(bitc::MODULE_CODE_GLOBALVAR, Vals); in writeSimplifiedModuleInfo()
4813 Vals.clear(); in writeSimplifiedModuleInfo()
4819 Vals.push_back(StrtabBuilder.add(F.getName())); in writeSimplifiedModuleInfo()
4820 Vals.push_back(F.getName().size()); in writeSimplifiedModuleInfo()
4821 Vals.push_back(0); in writeSimplifiedModuleInfo()
4822 Vals.push_back(0); in writeSimplifiedModuleInfo()
4823 Vals.push_back(0); in writeSimplifiedModuleInfo()
4824 Vals.push_back(getEncodedLinkage(F)); in writeSimplifiedModuleInfo()
4826 Stream.EmitRecord(bitc::MODULE_CODE_FUNCTION, Vals); in writeSimplifiedModuleInfo()
4827 Vals.clear(); in writeSimplifiedModuleInfo()
4833 Vals.push_back(StrtabBuilder.add(A.getName())); in writeSimplifiedModuleInfo()
4834 Vals.push_back(A.getName().size()); in writeSimplifiedModuleInfo()
4835 Vals.push_back(0); in writeSimplifiedModuleInfo()
4836 Vals.push_back(0); in writeSimplifiedModuleInfo()
4837 Vals.push_back(0); in writeSimplifiedModuleInfo()
4838 Vals.push_back(getEncodedLinkage(A)); in writeSimplifiedModuleInfo()
4840 Stream.EmitRecord(bitc::MODULE_CODE_ALIAS, Vals); in writeSimplifiedModuleInfo()
4841 Vals.clear(); in writeSimplifiedModuleInfo()
4847 Vals.push_back(StrtabBuilder.add(I.getName())); in writeSimplifiedModuleInfo()
4848 Vals.push_back(I.getName().size()); in writeSimplifiedModuleInfo()
4849 Vals.push_back(0); in writeSimplifiedModuleInfo()
4850 Vals.push_back(0); in writeSimplifiedModuleInfo()
4851 Vals.push_back(0); in writeSimplifiedModuleInfo()
4852 Vals.push_back(getEncodedLinkage(I)); in writeSimplifiedModuleInfo()
4854 Stream.EmitRecord(bitc::MODULE_CODE_IFUNC, Vals); in writeSimplifiedModuleInfo()
4855 Vals.clear(); in writeSimplifiedModuleInfo()