Searched refs:AllocatedSize (Results 1 – 4 of 4) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Memory.h | 35 MemoryBlock() : Address(nullptr), AllocatedSize(0) {} in MemoryBlock() 37 : Address(addr), AllocatedSize(allocatedSize) {} in MemoryBlock() 41 size_t allocatedSize() const { return AllocatedSize; } in allocatedSize() 45 size_t AllocatedSize; ///< Size, in bytes of the memory area variable
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/Unix/ |
| H A D | Memory.inc | 138 Result.AllocatedSize = PageSize * NumPages; 152 if (M.Address == nullptr || M.AllocatedSize == 0) 155 if (0 != ::munmap(M.Address, M.AllocatedSize)) 159 M.AllocatedSize = 0; 167 if (M.Address == nullptr || M.AllocatedSize == 0) 177 alignAddr((const uint8_t *)M.Address + M.AllocatedSize, PageSize); 191 Memory::InvalidateInstructionCache(M.Address, M.AllocatedSize); 202 Memory::InvalidateInstructionCache(M.Address, M.AllocatedSize);
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/Windows/ |
| H A D | Memory.inc | 146 Result.AllocatedSize = AllocSize; 156 if (M.Address == 0 || M.AllocatedSize == 0) 163 M.AllocatedSize = 0; 170 if (M.Address == 0 || M.AllocatedSize == 0) 176 if (!VirtualProtect(M.Address, M.AllocatedSize, Protect, &OldFlags)) 180 Memory::InvalidateInstructionCache(M.Address, M.AllocatedSize);
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 391 uint64_t AllocatedSize = 0; member in __anon463f3bdb0111::CallAnalyzer 1592 AllocatedSize = SaturatingMultiplyAdd( in visitAlloca() 1594 DL.getTypeAllocSize(Ty).getKnownMinValue(), AllocatedSize); in visitAlloca() 1595 if (AllocatedSize > InlineConstants::MaxSimplifiedDynamicAllocaToInline) in visitAlloca() 1604 AllocatedSize = SaturatingAdd(DL.getTypeAllocSize(Ty).getKnownMinValue(), in visitAlloca() 1605 AllocatedSize); in visitAlloca() 2796 if (IsCallerRecursive && AllocatedSize > RecurStackSizeThreshold) { in analyzeBlock() 3045 if (AllocatedSize > FinalStackSizeThreshold) in analyze()
|