Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A 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
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/Windows/
H A 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);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/Unix/
H A 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);
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/
H A DOrcRPCTargetProcessControl.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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
H A DOrcRPCTPCServer.h79 uint64_t AllocatedSize = 0; member
209 E.AllocatedSize); in serialize()
214 E.AllocatedSize); in deserialize()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DInlineCost.cpp298 uint64_t AllocatedSize = 0; member in __anon797094460111::CallAnalyzer
1058 AllocatedSize = SaturatingMultiplyAdd( in visitAlloca()
1060 AllocatedSize); in visitAlloca()
1061 if (AllocatedSize > InlineConstants::MaxSimplifiedDynamicAllocaToInline) in visitAlloca()
1070 AllocatedSize = in visitAlloca()
1071 SaturatingAdd(DL.getTypeAllocSize(Ty).getKnownMinSize(), AllocatedSize); in visitAlloca()
2149 AllocatedSize > InlineConstants::TotalAllocaSizeRecursiveCaller) { in analyzeBlock()