Searched refs:ProfileData (Results 1 - 11 of 11) sorted by relevance

/external/llvm/unittests/ProfileData/
H A DMakefile1 ##===- unittests/ProfileData/Makefile ----------------------*- Makefile -*-===##
11 TESTNAME = ProfileData
12 LINK_COMPONENTS := ProfileData Core Support
/external/llvm/lib/
H A DMakefile15 IRReader LineEditor ProfileData Passes LibDriver
/external/llvm/unittests/
H A DMakefile13 ExecutionEngine IR LineEditor Linker MC Option ProfileData \
/external/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp15 #include "llvm/ProfileData/InstrProfWriter.h"
50 for (const auto &ProfileData : *V) {
51 const InstrProfRecord &ProfRecord = ProfileData.second;
57 M += ValueProfData::getSize(ProfileData.second);
72 for (const auto &ProfileData : *V) {
73 const InstrProfRecord &ProfRecord = ProfileData.second;
75 LE.write<uint64_t>(ProfileData.first); // Function hash
82 ValueProfData::serializeFrom(ProfileData.second);
184 #include "llvm/ProfileData/InstrProfData.inc"
H A DInstrProfReader.cpp15 #include "llvm/ProfileData/InstrProfReader.h"
283 for (const RawInstrProf::ProfileData<IntPtrT> *I = Data; I != DataEnd; ++I) {
308 auto DataSizeInBytes = DataSize * sizeof(RawInstrProf::ProfileData<IntPtrT>);
321 Data = reinterpret_cast<const RawInstrProf::ProfileData<IntPtrT> *>(
/external/llvm/
H A DAndroid.mk48 lib/ProfileData \
/external/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h20 #include "llvm/ProfileData/InstrProf.h"
159 const RawInstrProf::ProfileData<IntPtrT> *Data;
160 const RawInstrProf::ProfileData<IntPtrT> *DataEnd;
H A DInstrProf.h23 #include "llvm/ProfileData/InstrProfData.inc"
199 #include "llvm/ProfileData/InstrProfData.inc"
462 #include "llvm/ProfileData/InstrProfData.inc"
548 template <class IntPtrT> struct LLVM_ALIGNAS(8) ProfileData {
550 #include "llvm/ProfileData/InstrProfData.inc"
559 #include "llvm/ProfileData/InstrProfData.inc"
577 #include "llvm/ProfileData/InstrProfData.inc"
/external/llvm/lib/IR/
H A DInstructions.cpp1083 MDNode *ProfileData = getMetadata(LLVMContext::MD_prof);
1084 if (!ProfileData || ProfileData->getNumOperands() != 3)
1088 Metadata *Ops[] = {ProfileData->getOperand(0), ProfileData->getOperand(2),
1089 ProfileData->getOperand(1)};
1091 MDNode::get(ProfileData->getContext(), Ops));
/external/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp5344 auto *ProfileData = BI->getMetadata(LLVMContext::MD_prof); local
5345 if (!ProfileData || ProfileData->getNumOperands() != 3)
5349 mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(1));
5351 mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(2));
/external/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp2043 MDNode *ProfileData = BI->getMetadata(LLVMContext::MD_prof); local
2044 if (!ProfileData || ProfileData->getNumOperands() != 3) return false;
2046 mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(1));
2048 mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(2));

Completed in 223 milliseconds