Searched refs:ProfileData (Results 1 – 12 of 12) sorted by relevance
42 int __llvm_profile_check_compatibility(const char *ProfileData, in __llvm_profile_check_compatibility() argument45 __llvm_profile_header *Header = (__llvm_profile_header *)ProfileData; in __llvm_profile_check_compatibility()48 (__llvm_profile_data *)(ProfileData + sizeof(__llvm_profile_header)); in __llvm_profile_check_compatibility()86 void __llvm_profile_merge_from_buffer(const char *ProfileData, in __llvm_profile_merge_from_buffer() argument89 __llvm_profile_header *Header = (__llvm_profile_header *)ProfileData; in __llvm_profile_merge_from_buffer()95 (__llvm_profile_data *)(ProfileData + sizeof(__llvm_profile_header)); in __llvm_profile_merge_from_buffer()
35 * #include "llvm/ProfileData/InstrProfData.inc"43 * #include "llvm/ProfileData/InstrProfData.inc"50 * #include "llvm/ProfileData/InstrProfData.inc"
679 MDNode *ProfileData = getMetadata(LLVMContext::MD_prof); in swapProfMetadata() local680 if (!ProfileData || ProfileData->getNumOperands() != 3 || in swapProfMetadata()681 !isa<MDString>(ProfileData->getOperand(0))) in swapProfMetadata()684 MDString *MDName = cast<MDString>(ProfileData->getOperand(0)); in swapProfMetadata()689 Metadata *Ops[] = {ProfileData->getOperand(0), ProfileData->getOperand(2), in swapProfMetadata()690 ProfileData->getOperand(1)}; in swapProfMetadata()692 MDNode::get(ProfileData->getContext(), Ops)); in swapProfMetadata()735 auto *ProfileData = getMetadata(LLVMContext::MD_prof); in updateProfWeight() local736 if (ProfileData == nullptr) in updateProfWeight()746 Vals.push_back(ProfileData->getOperand(0)); in updateProfWeight()[all …]
1321 auto *ProfileData = getMetadata(LLVMContext::MD_prof); in extractProfMetadata() local1322 if (!ProfileData || ProfileData->getNumOperands() != 3) in extractProfMetadata()1325 auto *ProfDataName = dyn_cast<MDString>(ProfileData->getOperand(0)); in extractProfMetadata()1329 auto *CITrue = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(1)); in extractProfMetadata()1349 auto *ProfileData = getMetadata(LLVMContext::MD_prof); in extractProfTotalWeight() local1350 if (!ProfileData) in extractProfTotalWeight()1353 auto *ProfDataName = dyn_cast<MDString>(ProfileData->getOperand(0)); in extractProfTotalWeight()1359 for (unsigned i = 1; i < ProfileData->getNumOperands(); i++) { in extractProfTotalWeight()1360 auto *V = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(i)); in extractProfTotalWeight()1367 ProfileData->getNumOperands() > 3) { in extractProfTotalWeight()[all …]
122 for (const auto &ProfileData : *V) { in EmitKeyDataLength()123 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitKeyDataLength()129 M += ValueProfData::getSize(ProfileData.second); in EmitKeyDataLength()144 for (const auto &ProfileData : *V) { in EmitData()145 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitData()148 LE.write<uint64_t>(ProfileData.first); // Function hash in EmitData()155 ValueProfData::serializeFrom(ProfileData.second); in EmitData()
344 for (const RawInstrProf::ProfileData<IntPtrT> *I = Data; I != DataEnd; ++I) { in createSymtab()367 auto DataSizeInBytes = DataSize * sizeof(RawInstrProf::ProfileData<IntPtrT>); in readHeader()379 Data = reinterpret_cast<const RawInstrProf::ProfileData<IntPtrT> *>( in readHeader()
191 const RawInstrProf::ProfileData<IntPtrT> *Data;192 const RawInstrProf::ProfileData<IntPtrT> *DataEnd;
1024 template <class IntPtrT> struct alignas(8) ProfileData { struct
755 SRCS_MIN+= ProfileData/Coverage/CoverageMapping.cpp756 SRCS_MIN+= ProfileData/Coverage/CoverageMappingReader.cpp757 SRCS_MIN+= ProfileData/Coverage/CoverageMappingWriter.cpp758 SRCS_MIN+= ProfileData/GCOV.cpp759 SRCS_MIN+= ProfileData/InstrProf.cpp760 SRCS_MIN+= ProfileData/InstrProfReader.cpp761 SRCS_MIN+= ProfileData/InstrProfWriter.cpp762 SRCS_MIN+= ProfileData/ProfileSummaryBuilder.cpp763 SRCS_MIN+= ProfileData/SampleProf.cpp764 SRCS_MIN+= ProfileData/SampleProfReader.cpp[all …]
111 lib/ProfileData/CMakeLists.txt112 lib/ProfileData/Coverage/CMakeLists.txt113 lib/ProfileData/Coverage/LLVMBuild.txt114 lib/ProfileData/LLVMBuild.txt
309 umbrella "ProfileData"312 textual header "ProfileData/InstrProfData.inc"