| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | ProfDataUtils.cpp | 48 bool extractWeights(const MDNode *ProfileData, in extractWeights() argument 51 assert(ProfileData && "ProfileData was nullptr in extractWeights"); in extractWeights() 52 unsigned NOps = ProfileData->getNumOperands(); in extractWeights() 59 mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(Idx)); in extractWeights() 95 bool isBranchWeightMD(const MDNode *ProfileData) { in isBranchWeightMD() argument 96 return isTargetMD(ProfileData, "branch_weights", MinBWOps); in isBranchWeightMD() 100 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in hasBranchWeightMD() local 101 return isBranchWeightMD(ProfileData); in hasBranchWeightMD() 109 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in getBranchWeightMDNode() local 110 if (!isBranchWeightMD(ProfileData)) in getBranchWeightMDNode() [all …]
|
| H A D | Instruction.cpp | 871 MDNode *ProfileData = getBranchWeightMDNode(*this); in swapProfMetadata() local 872 if (!ProfileData || ProfileData->getNumOperands() != 3) in swapProfMetadata() 876 Metadata *Ops[] = {ProfileData->getOperand(0), ProfileData->getOperand(2), in swapProfMetadata() 877 ProfileData->getOperand(1)}; in swapProfMetadata() 879 MDNode::get(ProfileData->getContext(), Ops)); in swapProfMetadata()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/profile/ |
| H A D | InstrProfilingMerge.c | 43 int __llvm_profile_check_compatibility(const char *ProfileData, in __llvm_profile_check_compatibility() argument 46 __llvm_profile_header *Header = (__llvm_profile_header *)ProfileData; in __llvm_profile_check_compatibility() 49 (__llvm_profile_data *)(ProfileData + sizeof(__llvm_profile_header) + in __llvm_profile_check_compatibility() 98 int __llvm_profile_merge_from_buffer(const char *ProfileData, in __llvm_profile_merge_from_buffer() argument 109 __llvm_profile_header *Header = (__llvm_profile_header *)ProfileData; in __llvm_profile_merge_from_buffer() 116 (__llvm_profile_data *)(ProfileData + sizeof(__llvm_profile_header) + in __llvm_profile_merge_from_buffer() 177 if (SrcValueProfData >= ProfileData + ProfileSize) in __llvm_profile_merge_from_buffer()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | ProfDataUtils.h | 28 bool isBranchWeightMD(const MDNode *ProfileData); 64 bool extractBranchWeights(const MDNode *ProfileData, 92 bool extractProfTotalWeight(const MDNode *ProfileData, uint64_t &TotalWeights);
|
| /openbsd-src/gnu/llvm/llvm/lib/ProfileData/Coverage/ |
| H A D | CMakeLists.txt | 7 ${LLVM_MAIN_INCLUDE_DIR}/llvm/ProfileData/Coverage 15 ProfileData
|
| /openbsd-src/gnu/usr.bin/clang/libLLVMCoverage/ |
| H A D | Makefile | 6 CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/ProfileData/Coverage 12 .PATH: ${.CURDIR}/../../../llvm/llvm/lib/ProfileData/Coverage
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/unittests/ProfileData/ |
| H A D | BUILD.gn | 6 "//llvm/lib/ProfileData", 7 "//llvm/lib/ProfileData/Coverage",
|
| /openbsd-src/gnu/usr.bin/clang/libLLVMProfileData/ |
| H A D | Makefile | 6 CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/ProfileData 20 .PATH: ${.CURDIR}/../../../llvm/llvm/lib/ProfileData
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/tools/llvm-cov/ |
| H A D | BUILD.gn | 6 "//llvm/lib/ProfileData", 7 "//llvm/lib/ProfileData/Coverage",
|
| /openbsd-src/gnu/llvm/llvm/lib/ProfileData/ |
| H A D | InstrProfWriter.cpp | 128 for (const auto &ProfileData : *V) { in EmitKeyDataLength() 129 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitKeyDataLength() 135 M += ValueProfData::getSize(ProfileData.second); in EmitKeyDataLength() 150 for (const auto &ProfileData : *V) { in EmitData() 151 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitData() 152 if (NamedInstrProfRecord::hasCSFlagInHash(ProfileData.first)) in EmitData() 157 LE.write<uint64_t>(ProfileData.first); // Function hash in EmitData() 164 ValueProfData::serializeFrom(ProfileData.second); in EmitData()
|
| H A D | CMakeLists.txt | 15 ${LLVM_MAIN_INCLUDE_DIR}/llvm/ProfileData
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/clang/lib/CodeGen/ |
| H A D | BUILD.gn | 26 "//llvm/lib/ProfileData", 27 "//llvm/lib/ProfileData/Coverage",
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-profdata/ |
| H A D | CMakeLists.txt | 3 ProfileData
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/tools/llvm-profdata/ |
| H A D | BUILD.gn | 6 "//llvm/lib/ProfileData",
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/lib/ProfileData/Coverage/ |
| H A D | BUILD.gn | 6 "//llvm/lib/ProfileData",
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-profgen/ |
| H A D | CMakeLists.txt | 12 ProfileData
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/ |
| H A D | InstrProfCorrelator.h | 120 const RawInstrProf::ProfileData<IntPtrT> *getDataPointer() const { 132 std::vector<RawInstrProf::ProfileData<IntPtrT>> Data;
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-cov/ |
| H A D | CMakeLists.txt | 6 ProfileData
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/lib/ProfileData/ |
| H A D | BUILD.gn | 1 static_library("ProfileData") {
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | CMakeLists.txt | 38 ProfileData
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/tools/llvm-profgen/ |
| H A D | BUILD.gn | 8 "//llvm/lib/ProfileData",
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/lib/Transforms/Instrumentation/ |
| H A D | BUILD.gn | 7 "//llvm/lib/ProfileData",
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | CMakeLists.txt | 7 ProfileData
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| H A D | CMakeLists.txt | 68 ProfileData
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/clang/lib/Frontend/ |
| H A D | BUILD.gn | 17 "//llvm/lib/ProfileData",
|