Home
last modified time | relevance | path

Searched refs:RoundedSize (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/compiler-rt/lib/xray/
Dxray_allocator.h40 uptr RoundedSize = RoundUpTo(sizeof(T), GetPageSizeCached()); in allocate() local
43 zx_status_t Status = _zx_vmo_create(RoundedSize, 0, &Vmo); in allocate()
63 uptr B = internal_mmap(NULL, RoundedSize, PROT_READ | PROT_WRITE, in allocate()
70 RoundedSize, B); in allocate()
80 uptr RoundedSize = RoundUpTo(sizeof(T), GetPageSizeCached()); in deallocate() local
83 RoundedSize); in deallocate()
85 internal_munmap(B, RoundedSize); in deallocate()
91 uptr RoundedSize = RoundUpTo(S * sizeof(T), GetPageSizeCached()); in allocateBuffer() local
94 zx_status_t Status = _zx_vmo_create(RoundedSize, 0, &Vmo); in allocateBuffer()
112 uptr B = internal_mmap(NULL, RoundedSize, PROT_READ | PROT_WRITE, in allocateBuffer()
[all …]
/external/scudo/standalone/
Drelease.h237 const uptr RoundedSize = NumberOfRegions * RoundedRegionSize; in releaseFreeMemoryToOS() local
246 if (P >= RoundedSize) in releaseFreeMemoryToOS()
260 if (P >= RoundedSize) in releaseFreeMemoryToOS()
Dsecondary.h486 uptr RoundedSize = in allocate() local
491 RoundedSize += Alignment - PageSize; in allocate()
493 if (Alignment < PageSize && Cache.canCache(RoundedSize)) { in allocate()
522 const uptr MapSize = RoundedSize + 2 * PageSize; in allocate()
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Drelease.h231 const uptr RoundedSize = NumberOfRegions * RoundedRegionSize; in releaseFreeMemoryToOS() local
247 if (P < RoundedSize) { in releaseFreeMemoryToOS()
266 if (P < RoundedSize) { in releaseFreeMemoryToOS()
Dsecondary.h328 const uptr RoundedSize = in allocate() local
331 if (AlignmentHint < PageSize && Cache.canCache(RoundedSize)) { in allocate()
334 if (Cache.retrieve(RoundedSize, &H, &Zeroed)) { in allocate()
356 const uptr MapSize = RoundedSize + 2 * PageSize; in allocate()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIFrameLowering.cpp699 uint32_t RoundedSize = NumBytes; in emitPrologue() local
773 RoundedSize += Alignment; in emitPrologue()
806 if (HasFP && RoundedSize != 0) { in emitPrologue()
809 .addImm(RoundedSize * ST.getWavefrontSize()) in emitPrologue()
837 uint32_t RoundedSize = FuncInfo->isStackRealigned() ? in emitEpilogue() local
840 if (RoundedSize != 0 && hasFP(MF)) { in emitEpilogue()
844 .addImm(RoundedSize * ST.getWavefrontSize()) in emitEpilogue()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIFrameLowering.cpp866 uint32_t RoundedSize = NumBytes; in emitPrologue() local
1019 RoundedSize += Alignment; in emitPrologue()
1059 if (HasFP && RoundedSize != 0) { in emitPrologue()
1062 .addImm(RoundedSize * getScratchScaleFactor(ST)) in emitPrologue()
1099 uint32_t RoundedSize = FuncInfo->isStackRealigned() in emitEpilogue() local
1121 if (RoundedSize != 0 && hasFP(MF)) { in emitEpilogue()
1124 .addImm(RoundedSize * getScratchScaleFactor(ST)) in emitEpilogue()
DAMDGPULegalizerInfo.cpp392 unsigned RoundedSize = NextPowerOf2(SizeInBits); in shouldWidenLoad() local
393 if (AlignInBits < RoundedSize) in shouldWidenLoad()
400 RoundedSize, AddrSpace, Align(AlignInBits / 8), in shouldWidenLoad()
4293 unsigned RoundedSize = 32 * RoundedElts; in legalizeImageIntrinsic() local
4294 RoundedTy = LLT::scalarOrVector(RoundedSize / EltSize, EltSize); in legalizeImageIntrinsic()
4295 TFETy = LLT::vector(RoundedSize / 32 + 1, S32); in legalizeImageIntrinsic()
/external/compiler-rt/lib/scudo/
Dscudo_allocator.cpp331 uptr RoundedSize = RoundUpTo(Size, MinAlignment); in allocate() local
335 uptr NeededSize = RoundedSize + ExtraBytes; in allocate()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp1851 uint64_t RoundedSize = in FinishLayout() local
1858 if (InferAlignment && External.Size < RoundedSize) { in FinishLayout()
1867 setSize(RoundedSize); in FinishLayout()
/external/llvm-project/clang/lib/AST/
DRecordLayoutBuilder.cpp2062 uint64_t RoundedSize = llvm::alignTo( in FinishLayout() local
2072 if (InferAlignment && External.Size < RoundedSize) { in FinishLayout()
2082 setSize(RoundedSize); in FinishLayout()