Home
last modified time | relevance | path

Searched refs:IntPtrT (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DInstrProfCorrelator.cpp128 template <class IntPtrT>
130 InstrProfCorrelatorImpl<IntPtrT>::get( in get()
143 template <class IntPtrT>
144 Error InstrProfCorrelatorImpl<IntPtrT>::correlateProfileData() { in correlateProfileData()
158 template <class IntPtrT>
172 maybeSwap<IntPtrT>(CounterOffset), in addProbe()
173 maybeSwap<IntPtrT>(FunctionPtr), in addProbe()
175 /*ValuesPtr=*/maybeSwap<IntPtrT>(0), in addProbe()
182 template <class IntPtrT>
208 template <class IntPtrT>
[all …]
H A DInstrProfReader.cpp316 template <class IntPtrT>
321 template <class IntPtrT>
331 template <class IntPtrT>
343 template <class IntPtrT>
371 template <class IntPtrT>
384 template <class IntPtrT>
458 template <class IntPtrT>
464 template <class IntPtrT>
470 template <class IntPtrT>
517 template <class IntPtrT>
[all …]
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DInstrProfCorrelator.h89 template <class IntPtrT>
97 const RawInstrProf::ProfileData<IntPtrT> *getDataPointer() const { in getDataPointer()
104 static llvm::Expected<std::unique_ptr<InstrProfCorrelatorImpl<IntPtrT>>>
109 std::vector<RawInstrProf::ProfileData<IntPtrT>> Data;
114 void addProbe(StringRef FunctionName, uint64_t CFGHash, IntPtrT CounterOffset,
115 IntPtrT FunctionPtr, uint32_t NumCounters);
121 llvm::DenseSet<IntPtrT> CounterOffsets;
131 template <class IntPtrT>
132 class DwarfInstrProfCorrelator : public InstrProfCorrelatorImpl<IntPtrT> {
136 : InstrProfCorrelatorImpl<IntPtrT>(std::move(Ctx)), in DwarfInstrProfCorrelator()
H A DInstrProfReader.h257 template <class IntPtrT>
264 const InstrProfCorrelatorImpl<IntPtrT> *Correlator;
272 const RawInstrProf::ProfileData<IntPtrT> *Data;
273 const RawInstrProf::ProfileData<IntPtrT> *DataEnd;
291 Correlator(dyn_cast_or_null<const InstrProfCorrelatorImpl<IntPtrT>>( in RawInstrProfReader()
H A DInstrProfData.inc78 INSTR_PROF_DATA(const IntPtrT, IntPtrTy, CounterPtr, RelativeCounterPtr)
83 INSTR_PROF_DATA(const IntPtrT, llvm::Type::getInt8PtrTy(Ctx), FunctionPointer, \
85 INSTR_PROF_DATA(IntPtrT, llvm::Type::getInt8PtrTy(Ctx), Values, \
211 COVMAP_FUNC_RECORD(const IntPtrT, llvm::Type::getInt8PtrTy(Ctx), \
H A DInstrProf.h1162 template <class IntPtrT> inline uint64_t getMagic();
1176 template <class IntPtrT> struct alignas(8) ProfileData {
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h819 template <class IntPtrT>
821 using ThisT = CovMapFunctionRecordV1<IntPtrT>;
838 template <support::endianness Endian> IntPtrT getFuncNameRef() const { in getFuncNameRef()
839 return support::endian::byte_swap<IntPtrT, Endian>(NamePtr); in getFuncNameRef()
845 IntPtrT NameRef = getFuncNameRef<Endian>(); in getFuncName()
1012 template <int CovMapVersion, class IntPtrT> struct CovMapTraits {
1017 template <class IntPtrT> struct CovMapTraits<CovMapVersion::Version3, IntPtrT> {
1022 template <class IntPtrT> struct CovMapTraits<CovMapVersion::Version2, IntPtrT> {
1027 template <class IntPtrT> struct CovMapTraits<CovMapVersion::Version1, IntPtrT> {
1028 using CovMapFuncRecordType = CovMapFunctionRecordV1<IntPtrT>;
[all …]
/llvm-project-15.0.7/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp526 template <class IntPtrT, support::endianness Endian>
534 template <CovMapVersion Version, class IntPtrT, support::endianness Endian>
537 typename CovMapTraits<Version, IntPtrT>::CovMapFuncRecordType;
538 using NameRefType = typename CovMapTraits<Version, IntPtrT>::NameRefType;
744 template <class IntPtrT, support::endianness Endian>
754 CovMapVersion::Version1, IntPtrT, Endian>>(P, R, D, F); in get()
765 CovMapVersion::Version2, IntPtrT, Endian>>(P, R, D, F); in get()
768 CovMapVersion::Version3, IntPtrT, Endian>>(P, R, D, F); in get()
771 CovMapVersion::Version4, IntPtrT, Endian>>(P, R, D, F); in get()
774 CovMapVersion::Version5, IntPtrT, Endian>>(P, R, D, F); in get()
[all …]
/llvm-project-15.0.7/compiler-rt/test/profile/Linux/
H A Dbinary-id-padding.c30 typedef void *IntPtrT; typedef
H A Dcorrupted-profile.c32 typedef void *IntPtrT; typedef
/llvm-project-15.0.7/compiler-rt/lib/profile/
H A DInstrProfiling.h23 typedef void *IntPtrT; typedef
/llvm-project-15.0.7/compiler-rt/include/profile/
H A DInstrProfData.inc78 INSTR_PROF_DATA(const IntPtrT, IntPtrTy, CounterPtr, RelativeCounterPtr)
83 INSTR_PROF_DATA(const IntPtrT, llvm::Type::getInt8PtrTy(Ctx), FunctionPointer, \
85 INSTR_PROF_DATA(IntPtrT, llvm::Type::getInt8PtrTy(Ctx), Values, \
211 COVMAP_FUNC_RECORD(const IntPtrT, llvm::Type::getInt8PtrTy(Ctx), \