Lines Matching refs:ValueKind

519     uint32_t ValueKind, InstrProfRecord &Src, uint64_t Weight,  in mergeValueProfData()  argument
521 uint32_t ThisNumValueSites = getNumValueSites(ValueKind); in mergeValueProfData()
522 uint32_t OtherNumValueSites = Src.getNumValueSites(ValueKind); in mergeValueProfData()
530 getOrCreateValueSitesForKind(ValueKind); in mergeValueProfData()
532 Src.getValueSitesForKind(ValueKind); in mergeValueProfData()
559 uint32_t ValueKind, uint64_t Weight, in scaleValueProfData() argument
561 for (auto &R : getValueSitesForKind(ValueKind)) in scaleValueProfData()
578 uint64_t InstrProfRecord::remapValue(uint64_t Value, uint32_t ValueKind, in remapValue() argument
583 if (ValueKind == IPVK_IndirectCallTarget) in remapValue()
589 void InstrProfRecord::addValueData(uint32_t ValueKind, uint32_t Site, in addValueData() argument
593 VData[I].Value = remapValue(VData[I].Value, ValueKind, ValueMap); in addValueData()
596 getOrCreateValueSitesForKind(ValueKind); in addValueData()
815 InstrProfValueKind ValueKind, uint32_t SiteIdx, in annotateValueSite() argument
817 uint32_t NV = InstrProfR.getNumValueDataForSite(ValueKind, SiteIdx); in annotateValueSite()
823 InstrProfR.getValueForSite(ValueKind, SiteIdx, &Sum); in annotateValueSite()
826 annotateValueSite(M, Inst, VDs, Sum, ValueKind, MaxMDCount); in annotateValueSite()
831 uint64_t Sum, InstrProfValueKind ValueKind, in annotateValueSite() argument
840 ConstantInt::get(Type::getInt32Ty(Ctx), ValueKind))); in annotateValueSite()
859 InstrProfValueKind ValueKind, in getValueProfDataFromInst() argument
884 if (KindInt->getZExtValue() != ValueKind) in getValueProfDataFromInst()