| /llvm-project-15.0.7/llvm/lib/ProfileData/ |
| H A D | InstrProfCorrelator.cpp | 128 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 D | InstrProfReader.cpp | 316 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 D | InstrProfCorrelator.h | 89 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 D | InstrProfReader.h | 257 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 D | InstrProfData.inc | 78 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 D | InstrProf.h | 1162 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 D | CoverageMapping.h | 819 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 D | CoverageMappingReader.cpp | 526 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 D | binary-id-padding.c | 30 typedef void *IntPtrT; typedef
|
| H A D | corrupted-profile.c | 32 typedef void *IntPtrT; typedef
|
| /llvm-project-15.0.7/compiler-rt/lib/profile/ |
| H A D | InstrProfiling.h | 23 typedef void *IntPtrT; typedef
|
| /llvm-project-15.0.7/compiler-rt/include/profile/ |
| H A D | InstrProfData.inc | 78 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), \
|