Home
last modified time | relevance | path

Searched refs:AllocatedSize (Results 1 – 6 of 6) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/
DMemory.h33 MemoryBlock() : Address(nullptr), AllocatedSize(0) {} in MemoryBlock()
35 : Address(addr), AllocatedSize(allocatedSize) {} in MemoryBlock()
39 size_t allocatedSize() const { return AllocatedSize; } in allocatedSize()
43 size_t AllocatedSize; ///< Size, in bytes of the memory area variable
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/Windows/
DMemory.inc148 Result.AllocatedSize = AllocSize;
158 if (M.Address == 0 || M.AllocatedSize == 0)
165 M.AllocatedSize = 0;
172 if (M.Address == 0 || M.AllocatedSize == 0)
178 if (!VirtualProtect(M.Address, M.AllocatedSize, Protect, &OldFlags))
182 Memory::InvalidateInstructionCache(M.Address, M.AllocatedSize);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/Unix/
DMemory.inc147 Result.AllocatedSize = PageSize*NumPages;
162 if (M.Address == nullptr || M.AllocatedSize == 0)
165 if (0 != ::munmap(M.Address, M.AllocatedSize))
169 M.AllocatedSize = 0;
177 if (M.Address == nullptr || M.AllocatedSize == 0)
185 uintptr_t End = alignAddr((const uint8_t *)M.Address + M.AllocatedSize, PageSize);
198 Memory::InvalidateInstructionCache(M.Address, M.AllocatedSize);
209 Memory::InvalidateInstructionCache(M.Address, M.AllocatedSize);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRPCExecutorProcessControl.h37 uint64_t AllocatedSize = 0; member
84 TA.Address, TA.AllocatedSize}); in finalizeAsync()
136 KV.second.Address, KV.second.AllocatedSize}); in deallocate()
199 E.Address, E.AllocatedSize}; in allocate()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
DOrcRPCTPCServer.h87 uint64_t AllocatedSize = 0; member
252 E.AllocatedSize); in serialize()
257 E.AllocatedSize); in deserialize()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DInlineCost.cpp302 uint64_t AllocatedSize = 0; member in __anon1e9e54f30111::CallAnalyzer
1276 AllocatedSize = SaturatingMultiplyAdd( in visitAlloca()
1278 DL.getTypeAllocSize(Ty).getKnownMinSize(), AllocatedSize); in visitAlloca()
1279 if (AllocatedSize > InlineConstants::MaxSimplifiedDynamicAllocaToInline) in visitAlloca()
1288 AllocatedSize = in visitAlloca()
1289 SaturatingAdd(DL.getTypeAllocSize(Ty).getKnownMinSize(), AllocatedSize); in visitAlloca()
2367 AllocatedSize > InlineConstants::TotalAllocaSizeRecursiveCaller) { in analyzeBlock()