Home
last modified time | relevance | path

Searched refs:ShouldSwapBytes (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DInstrProfCorrelator.h70 bool ShouldSwapBytes; member
125 return Ctx->ShouldSwapBytes ? sys::getSwappedBytes(Value) : Value; in maybeSwap()
H A DInstrProfReader.h265 bool ShouldSwapBytes; variable
339 return ShouldSwapBytes ? sys::getSwappedBytes(Int) : Int; in swap()
344 if (!ShouldSwapBytes) in getDataEndianness()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DInstrProfCorrelator.cpp49 C->ShouldSwapBytes = Obj.isLittleEndian() != sys::IsLittleEndianHost; in get()
H A DInstrProfReader.cpp339 ShouldSwapBytes = Header->Magic != RawInstrProf::getMagic<IntPtrT>(); in readHeader()