/freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | InstrProfCorrelator.cpp | 183 template <class IntPtrT> 184 llvm::Expected<std::unique_ptr<InstrProfCorrelatorImpl<IntPtrT>>> 185 InstrProfCorrelatorImpl<IntPtrT>::get( in get() 191 return std::make_unique<DwarfInstrProfCorrelator<IntPtrT>>( in get() 199 return std::make_unique<BinaryInstrProfCorrelator<IntPtrT>>(std::move(Ctx)); in get() 205 template <class IntPtrT> 206 Error InstrProfCorrelatorImpl<IntPtrT>::correlateProfileData(int MaxWarnings) { in correlateProfileData() 242 template <class IntPtrT> 243 Error InstrProfCorrelatorImpl<IntPtrT>::dumpYaml(int MaxWarnings, in dumpYaml() 256 template <class IntPtrT> [all …]
|
H A D | InstrProfReader.cpp | 465 template <class IntPtrT> 466 InstrProfKind RawInstrProfReader<IntPtrT>::getProfileKind() const { in getProfileKind() 470 template <class IntPtrT> 472 RawInstrProfReader<IntPtrT>::getTemporalProfTraces( in getTemporalProfTraces() 489 template <class IntPtrT> 490 bool RawInstrProfReader<IntPtrT>::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat() 495 return RawInstrProf::getMagic<IntPtrT>() == Magic || in hasFormat() 496 llvm::byteswap(RawInstrProf::getMagic<IntPtrT>()) == Magic; in hasFormat() 499 template <class IntPtrT> 500 Error RawInstrProfReader<IntPtrT>::readHeader() { in readHeader() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | InstrProfCorrelator.h | 125 template <class IntPtrT> 133 const RawInstrProf::ProfileData<IntPtrT> *getDataPointer() const { 140 static llvm::Expected<std::unique_ptr<InstrProfCorrelatorImpl<IntPtrT>>> 145 std::vector<RawInstrProf::ProfileData<IntPtrT>> Data; 157 IntPtrT CounterOffset, IntPtrT FunctionPtr, 169 llvm::DenseSet<IntPtrT> CounterOffsets; 174 template <class IntPtrT> 175 class DwarfInstrProfCorrelator : public InstrProfCorrelatorImpl<IntPtrT> { 179 : InstrProfCorrelatorImpl<IntPtrT>(st [all...] |
H A D | InstrProfReader.h | 309 template <class IntPtrT> 316 const InstrProfCorrelatorImpl<IntPtrT> *Correlator; 327 const RawInstrProf::ProfileData<IntPtrT> *Data; 328 const RawInstrProf::ProfileData<IntPtrT> *DataEnd; 329 const RawInstrProf::VTableProfileData<IntPtrT> *VTableBegin = nullptr; 330 const RawInstrProf::VTableProfileData<IntPtrT> *VTableEnd = nullptr; 356 Correlator(dyn_cast_or_null<const InstrProfCorrelatorImpl<IntPtrT>>( in RawInstrProfReader()
|
H A D | InstrProfData.inc | 80 INSTR_PROF_DATA(const IntPtrT, IntPtrTy, CounterPtr, RelativeCounterPtr) 81 INSTR_PROF_DATA(const IntPtrT, IntPtrTy, BitmapPtr, RelativeBitmapPtr) 86 INSTR_PROF_DATA(const IntPtrT, llvm::PointerType::getUnqual(Ctx), FunctionPointer, \ 88 INSTR_PROF_DATA(IntPtrT, llvm::PointerType::getUnqual(Ctx), Values, \ 111 INSTR_PROF_VTABLE_DATA(const IntPtrT, llvm::PointerType::getUnqual(Ctx), \ 254 COVMAP_FUNC_RECORD(const IntPtrT, llvm::PointerType::getUnqual(Ctx), \
|
H A D | InstrProf.h | 1255 template <class IntPtrT> inline uint64_t getMagic(); 1269 template <class IntPtrT> struct alignas(8) ProfileData { 1274 template <class IntPtrT> struct alignas(8) VTableProfileData {
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/ |
H A D | CoverageMapping.h | 1187 template <class IntPtrT> 1189 using ThisT = CovMapFunctionRecordV1<IntPtrT>; 1206 template <llvm::endianness Endian> IntPtrT getFuncNameRef() const { in getFuncNameRef() 1207 return support::endian::byte_swap<IntPtrT, Endian>(NamePtr); in getFuncNameRef() 1213 IntPtrT NameRef = getFuncNameRef<Endian>(); in getFuncName() 1397 template <int CovMapVersion, class IntPtrT> struct CovMapTraits { 1402 template <class IntPtrT> struct CovMapTraits<CovMapVersion::Version3, IntPtrT> { 1407 template <class IntPtrT> struct CovMapTraits<CovMapVersion::Version2, IntPtrT> { 1412 template <class IntPtrT> struct CovMapTraits<CovMapVersion::Version1, IntPtrT> { 1413 using CovMapFuncRecordType = CovMapFunctionRecordV1<IntPtrT>; [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/ |
H A D | CoverageMappingReader.cpp | 577 template <class IntPtrT, llvm::endianness Endian> 585 template <CovMapVersion Version, class IntPtrT, llvm::endianness Endian> 588 typename CovMapTraits<Version, IntPtrT>::CovMapFuncRecordType; 589 using NameRefType = typename CovMapTraits<Version, IntPtrT>::NameRefType; 809 template <class IntPtrT, llvm::endianness Endian> 819 CovMapVersion::Version1, IntPtrT, Endian>>(P, R, D, F); in get() 831 CovMapVersion::Version2, IntPtrT, Endian>>(P, R, D, F); in get() 834 CovMapVersion::Version3, IntPtrT, Endian>>(P, R, D, F); in get() 837 CovMapVersion::Version4, IntPtrT, Endian>>(P, R, D, F); in get() 840 CovMapVersion::Version5, IntPtrT, Endian>>(P, R, D, F); in get() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/ |
H A D | InstrProfiling.h | 34 typedef void *IntPtrT; typedef
|
/freebsd/contrib/llvm-project/compiler-rt/include/profile/ |
H A D | InstrProfData.inc | 80 INSTR_PROF_DATA(const IntPtrT, IntPtrTy, CounterPtr, RelativeCounterPtr) 81 INSTR_PROF_DATA(const IntPtrT, IntPtrTy, BitmapPtr, RelativeBitmapPtr) 86 INSTR_PROF_DATA(const IntPtrT, llvm::PointerType::getUnqual(Ctx), FunctionPointer, \ 88 INSTR_PROF_DATA(IntPtrT, llvm::PointerType::getUnqual(Ctx), Values, \ 111 INSTR_PROF_VTABLE_DATA(const IntPtrT, llvm::PointerType::getUnqual(Ctx), \ 254 COVMAP_FUNC_RECORD(const IntPtrT, llvm::PointerType::getUnqual(Ctx), \
|