Home
last modified time | relevance | path

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

/external/llvm/lib/ProfileData/
DInstrProfReader.cpp253 template <class IntPtrT>
254 bool RawInstrProfReader<IntPtrT>::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat()
259 return RawInstrProf::getMagic<IntPtrT>() == Magic || in hasFormat()
260 sys::getSwappedBytes(RawInstrProf::getMagic<IntPtrT>()) == Magic; in hasFormat()
263 template <class IntPtrT>
264 Error RawInstrProfReader<IntPtrT>::readHeader() { in readHeader()
271 ShouldSwapBytes = Header->Magic != RawInstrProf::getMagic<IntPtrT>(); in readHeader()
275 template <class IntPtrT>
276 Error RawInstrProfReader<IntPtrT>::readNextHeader(const char *CurrentPos) { in readNextHeader()
293 if (Magic != swap(RawInstrProf::getMagic<IntPtrT>())) in readNextHeader()
[all …]
/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h501 template <class IntPtrT> struct CovMapFunctionRecordV1 {
516 template <support::endianness Endian> IntPtrT getFuncNameRef() const { in getFuncNameRef()
517 return support::endian::byte_swap<IntPtrT, Endian>(NamePtr); in getFuncNameRef()
522 IntPtrT NameRef = getFuncNameRef<Endian>(); in getFuncName()
587 template <int CovMapVersion, class IntPtrT> struct CovMapTraits {
592 template <class IntPtrT> struct CovMapTraits<CovMapVersion::Version1, IntPtrT> {
593 typedef CovMapFunctionRecordV1<IntPtrT> CovMapFuncRecordType;
594 typedef IntPtrT NameRefType;
/external/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp363 template <class IntPtrT, support::endianness Endian>
371 template <coverage::CovMapVersion Version, class IntPtrT,
375 Version, IntPtrT>::CovMapFuncRecordType FuncRecordType;
376 typedef typename coverage::CovMapTraits<Version, IntPtrT>::NameRefType
495 template <class IntPtrT, support::endianness Endian>
504 CovMapVersion::Version1, IntPtrT, Endian>>(P, R, F); in get()
510 CovMapVersion::Version2, IntPtrT, Endian>>(P, R, F); in get()
/external/llvm/include/llvm/ProfileData/
DInstrProfReader.h162 template <class IntPtrT>
174 const RawInstrProf::ProfileData<IntPtrT> *Data;
175 const RawInstrProf::ProfileData<IntPtrT> *DataEnd;
239 const uint64_t *getCounter(IntPtrT CounterPtr) const { in getCounter()
DInstrProfData.inc79 INSTR_PROF_DATA(const IntPtrT, llvm::Type::getInt64PtrTy(Ctx), CounterPtr, \
86 INSTR_PROF_DATA(const IntPtrT, llvm::Type::getInt8PtrTy(Ctx), FunctionPointer, \
88 INSTR_PROF_DATA(IntPtrT, llvm::Type::getInt8PtrTy(Ctx), Values, \
198 COVMAP_FUNC_RECORD(const IntPtrT, llvm::Type::getInt8PtrTy(Ctx), \
DInstrProf.h901 template <class IntPtrT> inline uint64_t getMagic();
915 template <class IntPtrT> struct LLVM_ALIGNAS(8) ProfileData {
/external/compiler-rt/lib/profile/
DInstrProfiling.h23 typedef void *IntPtrT; typedef
DInstrProfData.inc79 INSTR_PROF_DATA(const IntPtrT, llvm::Type::getInt64PtrTy(Ctx), CounterPtr, \
86 INSTR_PROF_DATA(const IntPtrT, llvm::Type::getInt8PtrTy(Ctx), FunctionPointer, \
88 INSTR_PROF_DATA(IntPtrT, llvm::Type::getInt8PtrTy(Ctx), Values, \
198 COVMAP_FUNC_RECORD(const IntPtrT, llvm::Type::getInt8PtrTy(Ctx), \