Home
last modified time | relevance | path

Searched refs:ProfileData (Results 1 – 25 of 99) sorted by relevance

1234

/external/compiler-rt/lib/profile/
DInstrProfilingMerge.c41 int __llvm_profile_check_compatibility(const char *ProfileData, in __llvm_profile_check_compatibility() argument
44 __llvm_profile_header *Header = (__llvm_profile_header *)ProfileData; in __llvm_profile_check_compatibility()
47 (__llvm_profile_data *)(ProfileData + sizeof(__llvm_profile_header)); in __llvm_profile_check_compatibility()
85 void __llvm_profile_merge_from_buffer(const char *ProfileData, in __llvm_profile_merge_from_buffer() argument
88 __llvm_profile_header *Header = (__llvm_profile_header *)ProfileData; in __llvm_profile_merge_from_buffer()
94 (__llvm_profile_data *)(ProfileData + sizeof(__llvm_profile_header)); in __llvm_profile_merge_from_buffer()
/external/llvm-project/compiler-rt/lib/profile/
DInstrProfilingMerge.c41 int __llvm_profile_check_compatibility(const char *ProfileData, in __llvm_profile_check_compatibility() argument
44 __llvm_profile_header *Header = (__llvm_profile_header *)ProfileData; in __llvm_profile_check_compatibility()
47 (__llvm_profile_data *)(ProfileData + sizeof(__llvm_profile_header)); in __llvm_profile_check_compatibility()
85 void __llvm_profile_merge_from_buffer(const char *ProfileData, in __llvm_profile_merge_from_buffer() argument
88 __llvm_profile_header *Header = (__llvm_profile_header *)ProfileData; in __llvm_profile_merge_from_buffer()
94 (__llvm_profile_data *)(ProfileData + sizeof(__llvm_profile_header)); in __llvm_profile_merge_from_buffer()
/external/llvm/lib/ProfileData/Coverage/
DLLVMBuild.txt1 ;===- ./lib/ProfileData/Coverage/LLVMBuild.txt -----------------*- Conf -*--===;
21 parent = ProfileData
22 required_libraries = Core Object ProfileData Support
DCMakeLists.txt7 ${LLVM_MAIN_INCLUDE_DIR}/llvm/ProfileData/Coverage
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/
DLLVMBuild.txt1 ;===- ./lib/ProfileData/Coverage/LLVMBuild.txt -----------------*- Conf -*--===;
20 parent = ProfileData
21 required_libraries = Core Object ProfileData Support
DCMakeLists.txt7 ${LLVM_MAIN_INCLUDE_DIR}/llvm/ProfileData/Coverage
/external/llvm-project/llvm/lib/ProfileData/Coverage/
DCMakeLists.txt7 ${LLVM_MAIN_INCLUDE_DIR}/llvm/ProfileData/Coverage
15 ProfileData
/external/llvm-project/llvm/utils/gn/secondary/llvm/unittests/ProfileData/
DBUILD.gn6 "//llvm/lib/ProfileData",
7 "//llvm/lib/ProfileData/Coverage",
/external/llvm/lib/ProfileData/
DInstrProfWriter.cpp103 for (const auto &ProfileData : *V) { in EmitKeyDataLength()
104 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitKeyDataLength()
110 M += ValueProfData::getSize(ProfileData.second); in EmitKeyDataLength()
124 for (const auto &ProfileData : *V) { in EmitData()
125 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitData()
128 LE.write<uint64_t>(ProfileData.first); // Function hash in EmitData()
135 ValueProfData::serializeFrom(ProfileData.second); in EmitData()
DLLVMBuild.txt1 ;===- ./lib/ProfileData/LLVMBuild.txt --------------------------*- Conf -*--===;
23 name = ProfileData
/external/llvm-project/llvm/utils/gn/secondary/llvm/tools/llvm-cov/
DBUILD.gn6 "//llvm/lib/ProfileData",
7 "//llvm/lib/ProfileData/Coverage",
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DLLVMBuild.txt1 ;===- ./lib/ProfileData/LLVMBuild.txt --------------------------*- Conf -*--===;
22 name = ProfileData
DInstrProfWriter.cpp122 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()
146 if (NamedInstrProfRecord::hasCSFlagInHash(ProfileData.first)) in EmitData()
151 LE.write<uint64_t>(ProfileData.first); // Function hash in EmitData()
158 ValueProfData::serializeFrom(ProfileData.second); in EmitData()
/external/llvm-project/llvm/lib/ProfileData/
DInstrProfWriter.cpp122 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()
146 if (NamedInstrProfRecord::hasCSFlagInHash(ProfileData.first)) in EmitData()
151 LE.write<uint64_t>(ProfileData.first); // Function hash in EmitData()
158 ValueProfData::serializeFrom(ProfileData.second); in EmitData()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstruction.cpp693 MDNode *ProfileData = getMetadata(LLVMContext::MD_prof); in swapProfMetadata() local
694 if (!ProfileData || ProfileData->getNumOperands() != 3 || in swapProfMetadata()
695 !isa<MDString>(ProfileData->getOperand(0))) in swapProfMetadata()
698 MDString *MDName = cast<MDString>(ProfileData->getOperand(0)); in swapProfMetadata()
703 Metadata *Ops[] = {ProfileData->getOperand(0), ProfileData->getOperand(2), in swapProfMetadata()
704 ProfileData->getOperand(1)}; in swapProfMetadata()
706 MDNode::get(ProfileData->getContext(), Ops)); in swapProfMetadata()
DMetadata.cpp1320 auto *ProfileData = getMetadata(LLVMContext::MD_prof); in extractProfMetadata() local
1321 if (!ProfileData || ProfileData->getNumOperands() != 3) in extractProfMetadata()
1324 auto *ProfDataName = dyn_cast<MDString>(ProfileData->getOperand(0)); in extractProfMetadata()
1328 auto *CITrue = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(1)); in extractProfMetadata()
1329 auto *CIFalse = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(2)); in extractProfMetadata()
1348 auto *ProfileData = getMetadata(LLVMContext::MD_prof); in extractProfTotalWeight() local
1349 if (!ProfileData) in extractProfTotalWeight()
1352 auto *ProfDataName = dyn_cast<MDString>(ProfileData->getOperand(0)); in extractProfTotalWeight()
1358 for (unsigned i = 1; i < ProfileData->getNumOperands(); i++) { in extractProfTotalWeight()
1359 auto *V = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(i)); in extractProfTotalWeight()
[all …]
/external/llvm-project/llvm/lib/IR/
DInstruction.cpp730 MDNode *ProfileData = getMetadata(LLVMContext::MD_prof); in swapProfMetadata() local
731 if (!ProfileData || ProfileData->getNumOperands() != 3 || in swapProfMetadata()
732 !isa<MDString>(ProfileData->getOperand(0))) in swapProfMetadata()
735 MDString *MDName = cast<MDString>(ProfileData->getOperand(0)); in swapProfMetadata()
740 Metadata *Ops[] = {ProfileData->getOperand(0), ProfileData->getOperand(2), in swapProfMetadata()
741 ProfileData->getOperand(1)}; in swapProfMetadata()
743 MDNode::get(ProfileData->getContext(), Ops)); in swapProfMetadata()
DMetadata.cpp1384 auto *ProfileData = getMetadata(LLVMContext::MD_prof); in extractProfMetadata() local
1385 if (!ProfileData || ProfileData->getNumOperands() != 3) in extractProfMetadata()
1388 auto *ProfDataName = dyn_cast<MDString>(ProfileData->getOperand(0)); in extractProfMetadata()
1392 auto *CITrue = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(1)); in extractProfMetadata()
1393 auto *CIFalse = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(2)); in extractProfMetadata()
1412 auto *ProfileData = getMetadata(LLVMContext::MD_prof); in extractProfTotalWeight() local
1413 if (!ProfileData) in extractProfTotalWeight()
1416 auto *ProfDataName = dyn_cast<MDString>(ProfileData->getOperand(0)); in extractProfTotalWeight()
1422 for (unsigned i = 1; i < ProfileData->getNumOperands(); i++) { in extractProfTotalWeight()
1423 auto *V = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(i)); in extractProfTotalWeight()
[all …]
/external/llvm-project/llvm/utils/gn/secondary/clang/lib/CodeGen/
DBUILD.gn22 "//llvm/lib/ProfileData",
23 "//llvm/lib/ProfileData/Coverage",
/external/llvm/tools/llvm-profdata/
DCMakeLists.txt3 ProfileData
/external/llvm-project/llvm/tools/llvm-profdata/
DCMakeLists.txt3 ProfileData
/external/llvm/unittests/ProfileData/
DCMakeLists.txt4 ProfileData
/external/llvm-project/llvm/utils/gn/secondary/llvm/tools/llvm-profdata/
DBUILD.gn4 "//llvm/lib/ProfileData",
/external/llvm-project/llvm/unittests/ProfileData/
DCMakeLists.txt4 ProfileData
/external/llvm-project/llvm/tools/llvm-profgen/
DCMakeLists.txt10 ProfileData

1234