Lines Matching refs:Vals

387                         SmallVectorImpl<unsigned> &Vals);
390 SmallVectorImpl<unsigned> &Vals);
392 SmallVectorImpl<uint64_t> &Vals);
394 SmallVectorImpl<unsigned> &Vals);
656 SmallVector<unsigned, 64> Vals; in writeStringRecord() local
662 Vals.push_back(C); in writeStringRecord()
666 Stream.EmitRecord(Code, Vals, AbbrevToUse); in writeStringRecord()
1256 SmallVector<unsigned, 64> Vals; in writeComdats() local
1259 Vals.push_back(addToStrtab(C->getName())); in writeComdats()
1260 Vals.push_back(C->getName().size()); in writeComdats()
1261 Vals.push_back(getEncodedComdatSelectionKind(*C)); in writeComdats()
1262 Stream.EmitRecord(bitc::MODULE_CODE_COMDAT, Vals, /*AbbrevToUse=*/0); in writeComdats()
1263 Vals.clear(); in writeComdats()
1284 uint64_t Vals[] = {bitc::MODULE_CODE_VSTOFFSET, 0}; in writeValueSymbolTableForwardDecl() local
1285 Stream.EmitRecordWithAbbrev(VSTOffsetAbbrev, Vals); in writeValueSymbolTableForwardDecl()
1409 SmallVector<unsigned, 64> Vals; in writeModuleInfo() local
1427 Vals.push_back((unsigned char)P); in writeModuleInfo()
1430 Stream.EmitRecord(bitc::MODULE_CODE_SOURCE_FILENAME, Vals, FilenameAbbrev); in writeModuleInfo()
1431 Vals.clear(); in writeModuleInfo()
1442 Vals.push_back(addToStrtab(GV.getName())); in writeModuleInfo()
1443 Vals.push_back(GV.getName().size()); in writeModuleInfo()
1444 Vals.push_back(VE.getTypeID(GV.getValueType())); in writeModuleInfo()
1445 Vals.push_back(GV.getType()->getAddressSpace() << 2 | 2 | GV.isConstant()); in writeModuleInfo()
1446 Vals.push_back(GV.isDeclaration() ? 0 : in writeModuleInfo()
1448 Vals.push_back(getEncodedLinkage(GV)); in writeModuleInfo()
1449 Vals.push_back(getEncodedAlign(GV.getAlign())); in writeModuleInfo()
1450 Vals.push_back(GV.hasSection() ? SectionMap[std::string(GV.getSection())] in writeModuleInfo()
1459 Vals.push_back(getEncodedVisibility(GV)); in writeModuleInfo()
1460 Vals.push_back(getEncodedThreadLocalMode(GV)); in writeModuleInfo()
1461 Vals.push_back(getEncodedUnnamedAddr(GV)); in writeModuleInfo()
1462 Vals.push_back(GV.isExternallyInitialized()); in writeModuleInfo()
1463 Vals.push_back(getEncodedDLLStorageClass(GV)); in writeModuleInfo()
1464 Vals.push_back(GV.hasComdat() ? VE.getComdatID(GV.getComdat()) : 0); in writeModuleInfo()
1467 Vals.push_back(VE.getAttributeListID(AL)); in writeModuleInfo()
1469 Vals.push_back(GV.isDSOLocal()); in writeModuleInfo()
1470 Vals.push_back(addToStrtab(GV.getPartition())); in writeModuleInfo()
1471 Vals.push_back(GV.getPartition().size()); in writeModuleInfo()
1473 Vals.push_back((GV.hasSanitizerMetadata() ? serializeSanitizerMetadata( in writeModuleInfo()
1476 Vals.push_back(GV.getCodeModelRaw()); in writeModuleInfo()
1481 Stream.EmitRecord(bitc::MODULE_CODE_GLOBALVAR, Vals, AbbrevToUse); in writeModuleInfo()
1482 Vals.clear(); in writeModuleInfo()
1491 Vals.push_back(addToStrtab(F.getName())); in writeModuleInfo()
1492 Vals.push_back(F.getName().size()); in writeModuleInfo()
1493 Vals.push_back(VE.getTypeID(F.getFunctionType())); in writeModuleInfo()
1494 Vals.push_back(F.getCallingConv()); in writeModuleInfo()
1495 Vals.push_back(F.isDeclaration()); in writeModuleInfo()
1496 Vals.push_back(getEncodedLinkage(F)); in writeModuleInfo()
1497 Vals.push_back(VE.getAttributeListID(F.getAttributes())); in writeModuleInfo()
1498 Vals.push_back(getEncodedAlign(F.getAlign())); in writeModuleInfo()
1499 Vals.push_back(F.hasSection() ? SectionMap[std::string(F.getSection())] in writeModuleInfo()
1501 Vals.push_back(getEncodedVisibility(F)); in writeModuleInfo()
1502 Vals.push_back(F.hasGC() ? GCMap[F.getGC()] : 0); in writeModuleInfo()
1503 Vals.push_back(getEncodedUnnamedAddr(F)); in writeModuleInfo()
1504 Vals.push_back(F.hasPrologueData() ? (VE.getValueID(F.getPrologueData()) + 1) in writeModuleInfo()
1506 Vals.push_back(getEncodedDLLStorageClass(F)); in writeModuleInfo()
1507 Vals.push_back(F.hasComdat() ? VE.getComdatID(F.getComdat()) : 0); in writeModuleInfo()
1508 Vals.push_back(F.hasPrefixData() ? (VE.getValueID(F.getPrefixData()) + 1) in writeModuleInfo()
1510 Vals.push_back( in writeModuleInfo()
1513 Vals.push_back(F.isDSOLocal()); in writeModuleInfo()
1514 Vals.push_back(F.getAddressSpace()); in writeModuleInfo()
1515 Vals.push_back(addToStrtab(F.getPartition())); in writeModuleInfo()
1516 Vals.push_back(F.getPartition().size()); in writeModuleInfo()
1519 Stream.EmitRecord(bitc::MODULE_CODE_FUNCTION, Vals, AbbrevToUse); in writeModuleInfo()
1520 Vals.clear(); in writeModuleInfo()
1528 Vals.push_back(addToStrtab(A.getName())); in writeModuleInfo()
1529 Vals.push_back(A.getName().size()); in writeModuleInfo()
1530 Vals.push_back(VE.getTypeID(A.getValueType())); in writeModuleInfo()
1531 Vals.push_back(A.getType()->getAddressSpace()); in writeModuleInfo()
1532 Vals.push_back(VE.getValueID(A.getAliasee())); in writeModuleInfo()
1533 Vals.push_back(getEncodedLinkage(A)); in writeModuleInfo()
1534 Vals.push_back(getEncodedVisibility(A)); in writeModuleInfo()
1535 Vals.push_back(getEncodedDLLStorageClass(A)); in writeModuleInfo()
1536 Vals.push_back(getEncodedThreadLocalMode(A)); in writeModuleInfo()
1537 Vals.push_back(getEncodedUnnamedAddr(A)); in writeModuleInfo()
1538 Vals.push_back(A.isDSOLocal()); in writeModuleInfo()
1539 Vals.push_back(addToStrtab(A.getPartition())); in writeModuleInfo()
1540 Vals.push_back(A.getPartition().size()); in writeModuleInfo()
1543 Stream.EmitRecord(bitc::MODULE_CODE_ALIAS, Vals, AbbrevToUse); in writeModuleInfo()
1544 Vals.clear(); in writeModuleInfo()
1551 Vals.push_back(addToStrtab(I.getName())); in writeModuleInfo()
1552 Vals.push_back(I.getName().size()); in writeModuleInfo()
1553 Vals.push_back(VE.getTypeID(I.getValueType())); in writeModuleInfo()
1554 Vals.push_back(I.getType()->getAddressSpace()); in writeModuleInfo()
1555 Vals.push_back(VE.getValueID(I.getResolver())); in writeModuleInfo()
1556 Vals.push_back(getEncodedLinkage(I)); in writeModuleInfo()
1557 Vals.push_back(getEncodedVisibility(I)); in writeModuleInfo()
1558 Vals.push_back(I.isDSOLocal()); in writeModuleInfo()
1559 Vals.push_back(addToStrtab(I.getPartition())); in writeModuleInfo()
1560 Vals.push_back(I.getPartition().size()); in writeModuleInfo()
1561 Stream.EmitRecord(bitc::MODULE_CODE_IFUNC, Vals); in writeModuleInfo()
1562 Vals.clear(); in writeModuleInfo()
1719 static void emitSignedInt64(SmallVectorImpl<uint64_t> &Vals, uint64_t V) { in emitSignedInt64() argument
1721 Vals.push_back(V << 1); in emitSignedInt64()
1723 Vals.push_back((-V << 1) | 1); in emitSignedInt64()
1726 static void emitWideAPInt(SmallVectorImpl<uint64_t> &Vals, const APInt &A) { in emitWideAPInt() argument
1734 emitSignedInt64(Vals, RawData[i]); in emitWideAPInt()
2350 uint64_t Vals[] = {0, 0}; in writeModuleMetadata() local
2351 Stream.EmitRecord(bitc::METADATA_INDEX_OFFSET, Vals, OffsetAbbrev); in writeModuleMetadata()
2574 const ValueEnumerator::ValueList &Vals = VE.getValues(); in writeConstants() local
2577 const Value *V = Vals[i].first; in writeConstants()
2800 const ValueEnumerator::ValueList &Vals = VE.getValues(); in writeModuleConstants() local
2804 for (unsigned i = 0, e = Vals.size(); i != e; ++i) { in writeModuleConstants()
2805 if (!isa<GlobalValue>(Vals[i].first)) { in writeModuleConstants()
2806 writeConstants(i, Vals.size(), true); in writeModuleConstants()
2821 SmallVectorImpl<unsigned> &Vals) { in pushValueAndType() argument
2824 Vals.push_back(InstID - ValID); in pushValueAndType()
2826 Vals.push_back(VE.getTypeID(V->getType())); in pushValueAndType()
2852 SmallVectorImpl<unsigned> &Vals) { in pushValue() argument
2854 Vals.push_back(InstID - ValID); in pushValue()
2858 SmallVectorImpl<uint64_t> &Vals) { in pushValueSigned() argument
2861 emitSignedInt64(Vals, diff); in pushValueSigned()
2867 SmallVectorImpl<unsigned> &Vals) { in writeInstruction() argument
2875 if (!pushValueAndType(I.getOperand(0), InstID, Vals)) in writeInstruction()
2877 Vals.push_back(VE.getTypeID(I.getType())); in writeInstruction()
2878 Vals.push_back(getEncodedCastOpcode(I.getOpcode())); in writeInstruction()
2883 Vals.push_back(Flags); in writeInstruction()
2888 if (!pushValueAndType(I.getOperand(0), InstID, Vals)) in writeInstruction()
2890 pushValue(I.getOperand(1), InstID, Vals); in writeInstruction()
2891 Vals.push_back(getEncodedBinaryOpcode(I.getOpcode())); in writeInstruction()
2896 Vals.push_back(Flags); in writeInstruction()
2902 if (!pushValueAndType(I.getOperand(0), InstID, Vals)) in writeInstruction()
2904 Vals.push_back(getEncodedUnaryOpcode(I.getOpcode())); in writeInstruction()
2909 Vals.push_back(Flags); in writeInstruction()
2917 Vals.push_back(GEPInst.isInBounds()); in writeInstruction()
2918 Vals.push_back(VE.getTypeID(GEPInst.getSourceElementType())); in writeInstruction()
2920 pushValueAndType(I.getOperand(i), InstID, Vals); in writeInstruction()
2925 pushValueAndType(I.getOperand(0), InstID, Vals); in writeInstruction()
2927 Vals.append(EVI->idx_begin(), EVI->idx_end()); in writeInstruction()
2932 pushValueAndType(I.getOperand(0), InstID, Vals); in writeInstruction()
2933 pushValueAndType(I.getOperand(1), InstID, Vals); in writeInstruction()
2935 Vals.append(IVI->idx_begin(), IVI->idx_end()); in writeInstruction()
2940 pushValueAndType(I.getOperand(1), InstID, Vals); in writeInstruction()
2941 pushValue(I.getOperand(2), InstID, Vals); in writeInstruction()
2942 pushValueAndType(I.getOperand(0), InstID, Vals); in writeInstruction()
2945 Vals.push_back(Flags); in writeInstruction()
2950 pushValueAndType(I.getOperand(0), InstID, Vals); in writeInstruction()
2951 pushValueAndType(I.getOperand(1), InstID, Vals); in writeInstruction()
2955 pushValueAndType(I.getOperand(0), InstID, Vals); in writeInstruction()
2956 pushValue(I.getOperand(1), InstID, Vals); in writeInstruction()
2957 pushValueAndType(I.getOperand(2), InstID, Vals); in writeInstruction()
2961 pushValueAndType(I.getOperand(0), InstID, Vals); in writeInstruction()
2962 pushValue(I.getOperand(1), InstID, Vals); in writeInstruction()
2964 Vals); in writeInstruction()
2970 pushValueAndType(I.getOperand(0), InstID, Vals); in writeInstruction()
2971 pushValue(I.getOperand(1), InstID, Vals); in writeInstruction()
2972 Vals.push_back(cast<CmpInst>(I).getPredicate()); in writeInstruction()
2975 Vals.push_back(Flags); in writeInstruction()
2986 if (!pushValueAndType(I.getOperand(0), InstID, Vals)) in writeInstruction()
2990 pushValueAndType(I.getOperand(i), InstID, Vals); in writeInstruction()
2998 Vals.push_back(VE.getValueID(II.getSuccessor(0))); in writeInstruction()
3000 Vals.push_back(VE.getValueID(II.getSuccessor(1))); in writeInstruction()
3001 pushValue(II.getCondition(), InstID, Vals); in writeInstruction()
3009 Vals.push_back(VE.getTypeID(SI.getCondition()->getType())); in writeInstruction()
3010 pushValue(SI.getCondition(), InstID, Vals); in writeInstruction()
3011 Vals.push_back(VE.getValueID(SI.getDefaultDest())); in writeInstruction()
3013 Vals.push_back(VE.getValueID(Case.getCaseValue())); in writeInstruction()
3014 Vals.push_back(VE.getValueID(Case.getCaseSuccessor())); in writeInstruction()
3020 Vals.push_back(VE.getTypeID(I.getOperand(0)->getType())); in writeInstruction()
3022 pushValue(I.getOperand(0), InstID, Vals); in writeInstruction()
3024 Vals.push_back(VE.getValueID(I.getOperand(i))); in writeInstruction()
3037 Vals.push_back(VE.getAttributeListID(II->getAttributes())); in writeInstruction()
3038 Vals.push_back(II->getCallingConv() | 1 << 13); in writeInstruction()
3039 Vals.push_back(VE.getValueID(II->getNormalDest())); in writeInstruction()
3040 Vals.push_back(VE.getValueID(II->getUnwindDest())); in writeInstruction()
3041 Vals.push_back(VE.getTypeID(FTy)); in writeInstruction()
3042 pushValueAndType(Callee, InstID, Vals); in writeInstruction()
3046 pushValue(I.getOperand(i), InstID, Vals); // fixed param. in writeInstruction()
3051 pushValueAndType(I.getOperand(i), InstID, Vals); // vararg in writeInstruction()
3057 pushValueAndType(I.getOperand(0), InstID, Vals); in writeInstruction()
3062 pushValue(CRI.getCleanupPad(), InstID, Vals); in writeInstruction()
3064 Vals.push_back(VE.getValueID(CRI.getUnwindDest())); in writeInstruction()
3070 pushValue(CRI.getCatchPad(), InstID, Vals); in writeInstruction()
3071 Vals.push_back(VE.getValueID(CRI.getSuccessor())); in writeInstruction()
3079 pushValue(FuncletPad.getParentPad(), InstID, Vals); in writeInstruction()
3082 Vals.push_back(NumArgOperands); in writeInstruction()
3084 pushValueAndType(FuncletPad.getArgOperand(Op), InstID, Vals); in writeInstruction()
3091 pushValue(CatchSwitch.getParentPad(), InstID, Vals); in writeInstruction()
3094 Vals.push_back(NumHandlers); in writeInstruction()
3096 Vals.push_back(VE.getValueID(CatchPadBB)); in writeInstruction()
3099 Vals.push_back(VE.getValueID(CatchSwitch.getUnwindDest())); in writeInstruction()
3112 Vals.push_back(VE.getAttributeListID(CBI->getAttributes())); in writeInstruction()
3114 Vals.push_back(CBI->getCallingConv() << bitc::CALL_CCONV | in writeInstruction()
3117 Vals.push_back(VE.getValueID(CBI->getDefaultDest())); in writeInstruction()
3118 Vals.push_back(CBI->getNumIndirectDests()); in writeInstruction()
3120 Vals.push_back(VE.getValueID(CBI->getIndirectDest(i))); in writeInstruction()
3122 Vals.push_back(VE.getTypeID(FTy)); in writeInstruction()
3123 pushValueAndType(Callee, InstID, Vals); in writeInstruction()
3127 pushValue(I.getOperand(i), InstID, Vals); // fixed param. in writeInstruction()
3132 pushValueAndType(I.getOperand(i), InstID, Vals); // vararg in writeInstruction()
3167 Vals.push_back(VE.getTypeID(LP.getType())); in writeInstruction()
3168 Vals.push_back(LP.isCleanup()); in writeInstruction()
3169 Vals.push_back(LP.getNumClauses()); in writeInstruction()
3172 Vals.push_back(LandingPadInst::Catch); in writeInstruction()
3174 Vals.push_back(LandingPadInst::Filter); in writeInstruction()
3175 pushValueAndType(LP.getClause(I), InstID, Vals); in writeInstruction()
3183 Vals.push_back(VE.getTypeID(AI.getAllocatedType())); in writeInstruction()
3184 Vals.push_back(VE.getTypeID(I.getOperand(0)->getType())); in writeInstruction()
3185 Vals.push_back(VE.getValueID(I.getOperand(0))); // size. in writeInstruction()
3196 Vals.push_back(Record); in writeInstruction()
3200 Vals.push_back(AS); in writeInstruction()
3207 pushValueAndType(I.getOperand(0), InstID, Vals); in writeInstruction()
3210 if (!pushValueAndType(I.getOperand(0), InstID, Vals)) // ptr in writeInstruction()
3213 Vals.push_back(VE.getTypeID(I.getType())); in writeInstruction()
3214 Vals.push_back(getEncodedAlign(cast<LoadInst>(I).getAlign())); in writeInstruction()
3215 Vals.push_back(cast<LoadInst>(I).isVolatile()); in writeInstruction()
3217 Vals.push_back(getEncodedOrdering(cast<LoadInst>(I).getOrdering())); in writeInstruction()
3218 Vals.push_back(getEncodedSyncScopeID(cast<LoadInst>(I).getSyncScopeID())); in writeInstruction()
3226 pushValueAndType(I.getOperand(1), InstID, Vals); // ptrty + ptr in writeInstruction()
3227 pushValueAndType(I.getOperand(0), InstID, Vals); // valty + val in writeInstruction()
3228 Vals.push_back(getEncodedAlign(cast<StoreInst>(I).getAlign())); in writeInstruction()
3229 Vals.push_back(cast<StoreInst>(I).isVolatile()); in writeInstruction()
3231 Vals.push_back(getEncodedOrdering(cast<StoreInst>(I).getOrdering())); in writeInstruction()
3232 Vals.push_back( in writeInstruction()
3238 pushValueAndType(I.getOperand(0), InstID, Vals); // ptrty + ptr in writeInstruction()
3239 pushValueAndType(I.getOperand(1), InstID, Vals); // cmp. in writeInstruction()
3240 pushValue(I.getOperand(2), InstID, Vals); // newval. in writeInstruction()
3241 Vals.push_back(cast<AtomicCmpXchgInst>(I).isVolatile()); in writeInstruction()
3242 Vals.push_back( in writeInstruction()
3244 Vals.push_back( in writeInstruction()
3246 Vals.push_back( in writeInstruction()
3248 Vals.push_back(cast<AtomicCmpXchgInst>(I).isWeak()); in writeInstruction()
3249 Vals.push_back(getEncodedAlign(cast<AtomicCmpXchgInst>(I).getAlign())); in writeInstruction()
3253 pushValueAndType(I.getOperand(0), InstID, Vals); // ptrty + ptr in writeInstruction()
3254 pushValueAndType(I.getOperand(1), InstID, Vals); // valty + val in writeInstruction()
3255 Vals.push_back( in writeInstruction()
3257 Vals.push_back(cast<AtomicRMWInst>(I).isVolatile()); in writeInstruction()
3258 Vals.push_back(getEncodedOrdering(cast<AtomicRMWInst>(I).getOrdering())); in writeInstruction()
3259 Vals.push_back( in writeInstruction()
3261 Vals.push_back(getEncodedAlign(cast<AtomicRMWInst>(I).getAlign())); in writeInstruction()
3265 Vals.push_back(getEncodedOrdering(cast<FenceInst>(I).getOrdering())); in writeInstruction()
3266 Vals.push_back(getEncodedSyncScopeID(cast<FenceInst>(I).getSyncScopeID())); in writeInstruction()
3277 Vals.push_back(VE.getAttributeListID(CI.getAttributes())); in writeInstruction()
3280 Vals.push_back(CI.getCallingConv() << bitc::CALL_CCONV | in writeInstruction()
3287 Vals.push_back(Flags); in writeInstruction()
3289 Vals.push_back(VE.getTypeID(FTy)); in writeInstruction()
3290 pushValueAndType(CI.getCalledOperand(), InstID, Vals); // Callee in writeInstruction()
3296 Vals.push_back(VE.getValueID(CI.getArgOperand(i))); in writeInstruction()
3298 pushValue(CI.getArgOperand(i), InstID, Vals); // fixed param. in writeInstruction()
3304 pushValueAndType(CI.getArgOperand(i), InstID, Vals); // varargs in writeInstruction()
3310 Vals.push_back(VE.getTypeID(I.getOperand(0)->getType())); // valistty in writeInstruction()
3311 pushValue(I.getOperand(0), InstID, Vals); // valist. in writeInstruction()
3312 Vals.push_back(VE.getTypeID(I.getType())); // restype. in writeInstruction()
3316 pushValueAndType(I.getOperand(0), InstID, Vals); in writeInstruction()
3320 Stream.EmitRecord(Code, Vals, AbbrevToUse); in writeInstruction()
3321 Vals.clear(); in writeInstruction()
3458 SmallVector<unsigned, 64> Vals; in writeFunction() local
3462 Vals.push_back(VE.getBasicBlocks().size()); in writeFunction()
3463 Stream.EmitRecord(bitc::FUNC_CODE_DECLAREBLOCKS, Vals); in writeFunction()
3464 Vals.clear(); in writeFunction()
3485 writeInstruction(I, InstID, Vals); in writeFunction()
3500 Stream.EmitRecord(bitc::FUNC_CODE_DEBUG_LOC_AGAIN, Vals); in writeFunction()
3504 Vals.push_back(DL->getLine()); in writeFunction()
3505 Vals.push_back(DL->getColumn()); in writeFunction()
3506 Vals.push_back(VE.getMetadataOrNullID(DL->getScope())); in writeFunction()
3507 Vals.push_back(VE.getMetadataOrNullID(DL->getInlinedAt())); in writeFunction()
3508 Vals.push_back(DL->isImplicitCode()); in writeFunction()
3509 Stream.EmitRecord(bitc::FUNC_CODE_DEBUG_LOC, Vals); in writeFunction()
3510 Vals.clear(); in writeFunction()
3534 Vals.resize(BlockAddressUsers.size()); in writeFunction()
3536 Vals[I.index()] = VE.getValueID(I.value()); in writeFunction()
3537 Stream.EmitRecord(bitc::FUNC_CODE_BLOCKADDR_USERS, Vals); in writeFunction()
3538 Vals.clear(); in writeFunction()
3798 SmallVector<unsigned, 64> Vals; in writeModStrings() local
3811 Vals.push_back(ModuleId); in writeModStrings()
3812 Vals.append(Key.begin(), Key.end()); in writeModStrings()
3815 Stream.EmitRecord(bitc::MST_CODE_ENTRY, Vals, AbbrevToUse); in writeModStrings()
3819 Vals.assign(Hash.begin(), Hash.end()); in writeModStrings()
3821 Stream.EmitRecord(bitc::MST_CODE_HASH, Vals, AbbrevHash); in writeModStrings()
3824 Vals.clear(); in writeModStrings()
4657 constexpr std::array<unsigned, 1> Vals = {{bitc::BITCODE_CURRENT_EPOCH}}; in writeIdentificationBlock() local
4658 Stream.EmitRecord(bitc::IDENTIFICATION_CODE_EPOCH, Vals, EpochAbbrev); in writeIdentificationBlock()
4666 uint32_t Vals[5]; in writeModuleHash() local
4671 Vals[Pos / 4] = support::endian::read32be(Hash.data() + Pos); in writeModuleHash()
4675 Stream.EmitRecord(bitc::MODULE_CODE_HASH, Vals); in writeModuleHash()
4679 llvm::copy(Vals, std::begin(*ModHash)); in writeModuleHash()
5007 SmallVector<unsigned, 64> Vals; in writeSimplifiedModuleInfo() local
5025 Vals.push_back((unsigned char)P); in writeSimplifiedModuleInfo()
5027 Stream.EmitRecord(bitc::MODULE_CODE_SOURCE_FILENAME, Vals, FilenameAbbrev); in writeSimplifiedModuleInfo()
5028 Vals.clear(); in writeSimplifiedModuleInfo()
5034 Vals.push_back(StrtabBuilder.add(GV.getName())); in writeSimplifiedModuleInfo()
5035 Vals.push_back(GV.getName().size()); in writeSimplifiedModuleInfo()
5036 Vals.push_back(0); in writeSimplifiedModuleInfo()
5037 Vals.push_back(0); in writeSimplifiedModuleInfo()
5038 Vals.push_back(0); in writeSimplifiedModuleInfo()
5039 Vals.push_back(getEncodedLinkage(GV)); in writeSimplifiedModuleInfo()
5041 Stream.EmitRecord(bitc::MODULE_CODE_GLOBALVAR, Vals); in writeSimplifiedModuleInfo()
5042 Vals.clear(); in writeSimplifiedModuleInfo()
5048 Vals.push_back(StrtabBuilder.add(F.getName())); in writeSimplifiedModuleInfo()
5049 Vals.push_back(F.getName().size()); in writeSimplifiedModuleInfo()
5050 Vals.push_back(0); in writeSimplifiedModuleInfo()
5051 Vals.push_back(0); in writeSimplifiedModuleInfo()
5052 Vals.push_back(0); in writeSimplifiedModuleInfo()
5053 Vals.push_back(getEncodedLinkage(F)); in writeSimplifiedModuleInfo()
5055 Stream.EmitRecord(bitc::MODULE_CODE_FUNCTION, Vals); in writeSimplifiedModuleInfo()
5056 Vals.clear(); in writeSimplifiedModuleInfo()
5062 Vals.push_back(StrtabBuilder.add(A.getName())); in writeSimplifiedModuleInfo()
5063 Vals.push_back(A.getName().size()); in writeSimplifiedModuleInfo()
5064 Vals.push_back(0); in writeSimplifiedModuleInfo()
5065 Vals.push_back(0); in writeSimplifiedModuleInfo()
5066 Vals.push_back(0); in writeSimplifiedModuleInfo()
5067 Vals.push_back(getEncodedLinkage(A)); in writeSimplifiedModuleInfo()
5069 Stream.EmitRecord(bitc::MODULE_CODE_ALIAS, Vals); in writeSimplifiedModuleInfo()
5070 Vals.clear(); in writeSimplifiedModuleInfo()
5076 Vals.push_back(StrtabBuilder.add(I.getName())); in writeSimplifiedModuleInfo()
5077 Vals.push_back(I.getName().size()); in writeSimplifiedModuleInfo()
5078 Vals.push_back(0); in writeSimplifiedModuleInfo()
5079 Vals.push_back(0); in writeSimplifiedModuleInfo()
5080 Vals.push_back(0); in writeSimplifiedModuleInfo()
5081 Vals.push_back(getEncodedLinkage(I)); in writeSimplifiedModuleInfo()
5083 Stream.EmitRecord(bitc::MODULE_CODE_IFUNC, Vals); in writeSimplifiedModuleInfo()
5084 Vals.clear(); in writeSimplifiedModuleInfo()