Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfCorrelator.cpp207 template <class IntPtrT>
208 llvm::Expected<std::unique_ptr<InstrProfCorrelatorImpl<IntPtrT>>>
209 InstrProfCorrelatorImpl<IntPtrT>::get( in get()
215 return std::make_unique<DwarfInstrProfCorrelator<IntPtrT>>( in get()
223 return std::make_unique<BinaryInstrProfCorrelator<IntPtrT>>(std::move(Ctx)); in get()
229 template <class IntPtrT>
230 Error InstrProfCorrelatorImpl<IntPtrT>::correlateProfileData(int MaxWarnings) { in correlateProfileData()
266 template <class IntPtrT>
267 Error InstrProfCorrelatorImpl<IntPtrT>::dumpYaml(int MaxWarnings, in dumpYaml()
280 template <class IntPtrT>
[all …]
H A DInstrProfReader.cpp477 template <class IntPtrT>
478 InstrProfKind RawInstrProfReader<IntPtrT>::getProfileKind() const { in getProfileKind()
482 template <class IntPtrT>
484 RawInstrProfReader<IntPtrT>::getTemporalProfTraces( in getTemporalProfTraces()
501 template <class IntPtrT>
502 bool RawInstrProfReader<IntPtrT>::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat()
507 return RawInstrProf::getMagic<IntPtrT>() == Magic || in hasFormat()
508 llvm::byteswap(RawInstrProf::getMagic<IntPtrT>()) == Magic; in hasFormat()
511 template <class IntPtrT>
512 Error RawInstrProfReader<IntPtrT>::readHeader() { in readHeader()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfCorrelator.h130 template <class IntPtrT>
138 const RawInstrProf::ProfileData<IntPtrT> *getDataPointer() const {
145 static llvm::Expected<std::unique_ptr<InstrProfCorrelatorImpl<IntPtrT>>>
150 std::vector<RawInstrProf::ProfileData<IntPtrT>> Data;
162 IntPtrT CounterOffset, IntPtrT FunctionPtr,
174 llvm::DenseSet<IntPtrT> CounterOffsets;
179 template <class IntPtrT>
180 class DwarfInstrProfCorrelator : public InstrProfCorrelatorImpl<IntPtrT> {
184 : InstrProfCorrelatorImpl<IntPtrT>(std::move(Ctx)),
233 template <class IntPtrT>
[all …]
H A DInstrProfReader.h327 template <class IntPtrT>
334 const InstrProfCorrelatorImpl<IntPtrT> *Correlator;
353 const RawInstrProf::ProfileData<IntPtrT> *Data;
354 const RawInstrProf::ProfileData<IntPtrT> *DataEnd;
355 const RawInstrProf::VTableProfileData<IntPtrT> *VTableBegin = nullptr;
356 const RawInstrProf::VTableProfileData<IntPtrT> *VTableEnd = nullptr;
385 Correlator(dyn_cast_or_null<const InstrProfCorrelatorImpl<IntPtrT>>( in RawInstrProfReader()
H A DInstrProfData.inc80 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), \
312 COVINIT_FUNC(IntPtrT, llvm::PointerType::getUnqual(Ctx), WriteoutFunction, \
314 COVINIT_FUNC(IntPtrT, llvm::PointerType::getUnqual(Ctx), ResetFunction, \
H A DInstrProf.h1318 template <class IntPtrT> inline uint64_t getMagic();
1332 template <class IntPtrT> struct alignas(8) ProfileData {
1337 template <class IntPtrT> struct alignas(8) VTableProfileData {
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h1263 template <class IntPtrT>
1265 using ThisT = CovMapFunctionRecordV1<IntPtrT>;
1282 template <llvm::endianness Endian> IntPtrT getFuncNameRef() const { in getFuncNameRef()
1283 return support::endian::byte_swap<IntPtrT, Endian>(NamePtr); in getFuncNameRef()
1289 IntPtrT NameRef = getFuncNameRef<Endian>(); in getFuncName()
1473 template <int CovMapVersion, class IntPtrT> struct CovMapTraits {
1478 template <class IntPtrT> struct CovMapTraits<CovMapVersion::Version3, IntPtrT> {
1483 template <class IntPtrT> struct CovMapTraits<CovMapVersion::Version2, IntPtrT> {
1488 template <class IntPtrT> struct CovMapTraits<CovMapVersion::Version1, IntPtrT> {
1489 using CovMapFuncRecordType = CovMapFunctionRecordV1<IntPtrT>;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp584 template <class IntPtrT, llvm::endianness Endian>
592 template <CovMapVersion Version, class IntPtrT, llvm::endianness Endian>
595 typename CovMapTraits<Version, IntPtrT>::CovMapFuncRecordType;
596 using NameRefType = typename CovMapTraits<Version, IntPtrT>::NameRefType;
816 template <class IntPtrT, llvm::endianness Endian>
826 CovMapVersion::Version1, IntPtrT, Endian>>(P, R, D, F); in get()
838 CovMapVersion::Version2, IntPtrT, Endian>>(P, R, D, F); in get()
841 CovMapVersion::Version3, IntPtrT, Endian>>(P, R, D, F); in get()
844 CovMapVersion::Version4, IntPtrT, Endian>>(P, R, D, F); in get()
847 CovMapVersion::Version5, IntPtrT, Endian>>(P, R, D, F); in get()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfiling.h34 typedef void *IntPtrT; typedef
/freebsd/contrib/llvm-project/compiler-rt/include/profile/
H A DInstrProfData.inc80 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), \
312 COVINIT_FUNC(IntPtrT, llvm::PointerType::getUnqual(Ctx), WriteoutFunction, \
314 COVINIT_FUNC(IntPtrT, llvm::PointerType::getUnqual(Ctx), ResetFunction, \