Home
last modified time | relevance | path

Searched refs:Memory (Results 1 – 25 of 376) sorted by relevance

12345678910>>...16

/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DMemory.inc1 //===- Win32/Memory.cpp - Win32 Memory Implementation -----------*- C++ -*-===//
9 // This file provides the Win32 specific implementation of various Memory
23 switch (Flags & llvm::sys::Memory::MF_RWE_MASK) {
26 case llvm::sys::Memory::MF_READ:
28 case llvm::sys::Memory::MF_WRITE:
31 case llvm::sys::Memory::MF_READ | llvm::sys::Memory::MF_WRITE:
33 case llvm::sys::Memory::MF_READ | llvm::sys::Memory::MF_EXEC:
35 case llvm::sys::Memory::MF_READ | llvm::sys::Memory::MF_WRITE |
36 llvm::sys::Memory::MF_EXEC:
38 case llvm::sys::Memory::MF_EXEC:
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DMemory.cpp34 raw_ostream &operator<<(raw_ostream &OS, const Memory::ProtectionFlags &PF) { in operator <<()
35 assert((PF & ~(Memory::MF_READ | Memory::MF_WRITE | Memory::MF_EXEC)) == 0 && in operator <<()
38 return OS << (PF & Memory::MF_READ ? 'R' : '-') in operator <<()
39 << (PF & Memory::MF_WRITE ? 'W' : '-') in operator <<()
40 << (PF & Memory::MF_EXEC ? 'X' : '-'); in operator <<()
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DMemory.inc1 //===- Unix/Memory.cpp - Generic UNIX System Configuration ------*- C++ -*-===//
40 switch (Flags & llvm::sys::Memory::MF_RWE_MASK) {
41 case llvm::sys::Memory::MF_READ:
43 case llvm::sys::Memory::MF_WRITE:
45 case llvm::sys::Memory::MF_READ | llvm::sys::Memory::MF_WRITE:
47 case llvm::sys::Memory::MF_READ | llvm::sys::Memory::MF_EXEC:
49 case llvm::sys::Memory::MF_READ | llvm::sys::Memory::MF_WRITE |
50 llvm::sys::Memory::MF_EXEC:
52 case llvm::sys::Memory::MF_EXEC:
73 MemoryBlock Memory::allocateMappedMemory(size_t NumBytes,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86Operand.h32 enum KindTy { Token, Register, Immediate, Memory, Prefix, DXRegister } Kind; enumerator
141 case Memory: in print()
186 assert(Kind == Memory && "Invalid access!"); in getMemDisp()
190 assert(Kind == Memory && "Invalid access!"); in getMemSegReg()
194 assert(Kind == Memory && "Invalid access!"); in getMemBaseReg()
198 assert(Kind == Memory && "Invalid access!"); in getMemDefaultBaseReg()
202 assert(Kind == Memory && "Invalid access!"); in getMemIndexReg()
206 assert(Kind == Memory && "Invalid access!"); in getMemScale()
210 assert(Kind == Memory && "Invalid access!"); in getMemModeSize()
214 assert(Kind == Memory && "Invalid access!"); in getMemFrontendSize()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DMemoryFlags.h44 inline sys::Memory::ProtectionFlags toSysMemoryProtectionFlags(MemProt MP) { in toSysMemoryProtectionFlags()
45 std::underlying_type_t<sys::Memory::ProtectionFlags> PF = 0; in toSysMemoryProtectionFlags()
47 PF |= sys::Memory::MF_READ; in toSysMemoryProtectionFlags()
49 PF |= sys::Memory::MF_WRITE; in toSysMemoryProtectionFlags()
51 PF |= sys::Memory::MF_EXEC; in toSysMemoryProtectionFlags()
52 return static_cast<sys::Memory::ProtectionFlags>(PF); in toSysMemoryProtectionFlags()
57 inline MemProt fromSysMemoryProtectionFlags(sys::Memory::ProtectionFlags PF) { in fromSysMemoryProtectionFlags()
59 if (PF & sys::Memory::MF_READ) in fromSysMemoryProtectionFlags()
61 if (PF & sys::Memory::MF_WRITE) in fromSysMemoryProtectionFlags()
63 if (PF & sys::Memory::MF_EXEC) in fromSysMemoryProtectionFlags()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DDynamicAllocator.h35 std::unique_ptr<std::byte[]> Memory; member
36 Allocation(std::unique_ptr<std::byte[]> Memory) in Allocation()
37 : Memory(std::move(Memory)) {} in Allocation()
44 AllocationSite(std::unique_ptr<std::byte[]> Memory, bool Array) in AllocationSite()
46 Allocations.push_back({std::move(Memory)}); in AllocationSite()
H A DDynamicAllocator.cpp26 Block *B = reinterpret_cast<Block *>(Alloc.Memory.get()); in cleanup()
67 auto Memory = in allocate() local
69 auto *B = new (Memory.get()) Block(EvalID, D, /*isStatic=*/false); in allocate()
84 It->second.Allocations.emplace_back(std::move(Memory)); in allocate()
87 {D->asExpr(), AllocationSite(std::move(Memory), D->isArray())}); in allocate()
102 const Block *B = reinterpret_cast<const Block *>(A.Memory.get()); in deallocate()
108 Block *B = reinterpret_cast<Block *>(AllocIt->Memory.get()); in deallocate()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DIndirectionUtils.h22 #include "llvm/Support/Memory.h"
141 ResolverBlock = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in LocalTrampolinePool()
143 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC)); in LocalTrampolinePool()
154 EC = sys::Memory::protectMappedMemory(ResolverBlock.getMemoryBlock(), in LocalTrampolinePool()
155 sys::Memory::MF_READ | in LocalTrampolinePool()
156 sys::Memory::MF_EXEC); in LocalTrampolinePool()
168 sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in grow()
170 sys::Memory::MF_READ | sys::Memory in grow()
[all...]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DSectionMemoryManager.cpp106 sys::Memory::MF_READ | sys::Memory::MF_WRITE, ec); in allocateSection()
155 sys::Memory::MF_READ | sys::Memory::MF_EXEC); in finalizeMemory()
164 ec = applyMemoryGroupPermissions(RODataMem, sys::Memory::MF_READ); in finalizeMemory()
230 sys::Memory::InvalidateInstructionCache(Block.base(), in invalidateInstructionCache()
254 return sys::Memory::allocateMappedMemory(NumBytes, NearBlock, Flags, EC); in allocateMappedMemory()
259 return sys::Memory::protectMappedMemory(Block, Flags); in protectMappedMemory()
263 return sys::Memory::releaseMappedMemory(M); in releaseMappedMemory()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DMemory.h45 friend class Memory; variable
52 class Memory {
152 Memory::releaseMappedMemory(M); in ~OwningMemoryBlock()
162 EC = Memory::releaseMappedMemory(M); in release()
173 raw_ostream &operator<<(raw_ostream &OS, const Memory::ProtectionFlags &PF);
/freebsd/sys/contrib/device-tree/Bindings/mtd/
H A Daspeed-smc.txt1 * Aspeed Firmware Memory controller
2 * Aspeed SPI Flash Memory Controller
4 The Firmware Memory Controller in the Aspeed AST2500 SoC supports
13 "aspeed,ast2400-fmc" for the AST2400 Firmware Memory Controller
15 "aspeed,ast2500-fmc" for the AST2500 Firmware Memory Controller
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp954 struct MemoryOp Memory; member
1147 if(!Memory.OffsetImm || Memory.OffsetRegNum) return false; in isThumbMemPC()
1148 if(Memory.BaseRegNum != ARM::PC) return false; in isThumbMemPC()
1149 if (const auto *CE = dyn_cast<MCConstantExpr>(Memory.OffsetImm)) in isThumbMemPC()
1393 if (Memory.BaseRegNum && in isMVEMem()
1394 !ARMMCRegisterClasses[ARM::GPRRegClassID].contains(Memory.BaseRegNum) && in isMVEMem()
1395 !ARMMCRegisterClasses[ARM::MQPRRegClassID].contains(Memory.BaseRegNum)) in isMVEMem()
1397 if (Memory.OffsetRegNum && in isMVEMem()
1399 Memory.OffsetRegNum)) in isMVEMem()
1406 if (Memory.BaseRegNum && in isGPRMem()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp267 if (auto EC = sys::Memory::releaseMappedMemory(FinalizationSegments)) { in finalize()
286 if (auto EC = sys::Memory::releaseMappedMemory(FinalizationSegments)) in abandon()
288 if (auto EC = sys::Memory::releaseMappedMemory(StandardSegments)) in abandon()
312 if (auto EC = sys::Memory::protectMappedMemory(MB, Prot)) in applyProtections()
314 if (Prot & sys::Memory::MF_EXEC) in applyProtections()
315 sys::Memory::InvalidateInstructionCache(MB.base(), MB.allocatedSize()); in applyProtections()
376 const sys::Memory::ProtectionFlags ReadWrite = in allocate()
377 static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in allocate()
378 sys::Memory::MF_WRITE); in allocate()
381 Slab = sys::Memory::allocateMappedMemory(SegsSizes->total(), nullptr, in allocate()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DSimpleExecutorMemoryManager.cpp26 auto MB = sys::Memory::allocateMappedMemory( in allocate()
27 Size, nullptr, sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC); in allocate()
103 if (auto EC = sys::Memory::releaseMappedMemory(MB)) in finalize()
133 if (auto EC = sys::Memory::protectMappedMemory( in finalize()
138 sys::Memory::InvalidateInstructionCache(Mem, Seg.Size); in finalize()
221 if (auto EC = sys::Memory::releaseMappedMemory(MB)) in deallocateImpl()
/freebsd/sys/contrib/device-tree/src/arm/aspeed/
H A Daspeed-bmc-quanta-q71l.dts464 /* Memory Riser 1 FRU */
470 /* Memory Riser 2 FRU */
476 /* Memory Riser 3 FRU */
482 /* Memory Riser 4 FRU */
494 /* Memory Riser 5 FRU */
500 /* Memory Riser 6 FRU */
506 /* Memory Riser 7 FRU */
512 /* Memory Riser 8 FRU */
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPredIteratorCache.h33 BumpPtrAllocator Memory; variable
52 Entry = Memory.Allocate<BasicBlock *>(PredCache.size()); in GetPreds()
74 Memory.Reset(); in clear()
/freebsd/sys/contrib/device-tree/Bindings/dma/
H A Dfsl-imx-sdma.txt1 * Freescale Smart Direct Memory Access (SDMA) Controller for i.MX
46 13 Memory Stick Host Controller
47 14 Shared Memory Stick Host Controller
49 16 Memory
50 17 FIFO type Memory
52 19 IPU Memory
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/fuzz/
H A Dget_error_info_fuzzer.cpp28 const char *Memory = MemoryAndTags.c_str(); in LLVMFuzzerTestOneInput() local
31 const char *MemoryTags = Memory + MemorySize; in LLVMFuzzerTestOneInput()
50 Memory, MemoryTags, MemoryAddr, MemorySize); in LLVMFuzzerTestOneInput()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DMemoryMapper.cpp47 auto MB = sys::Memory::allocateMappedMemory( in reserve()
48 NumBytes, nullptr, sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC); in reserve()
85 if (auto EC = sys::Memory::protectMappedMemory( in initialize()
91 sys::Memory::InvalidateInstructionCache(Base.toPtr<void *>(), Size); in initialize()
127 if (auto EC = sys::Memory::protectMappedMemory( in deinitialize()
129 sys::Memory::ProtectionFlags::MF_READ | in deinitialize()
130 sys::Memory::ProtectionFlags::MF_WRITE)) { in deinitialize()
166 auto EC = sys::Memory::releaseMappedMemory(MB); in release()
/freebsd/contrib/file/magic/Magdir/
H A Dpmem4 # pmem: file(1) magic for Persistent Memory Development Kit pool files
7 >4 string POOLSET Persistent Memory Poolset file
9 >4 regex LOG|BLK|OBJ Persistent Memory Pool file, type: %s,
/freebsd/tools/regression/sysvshm/
H A DREADME2 SysV IPC Shared Memory Regression Utility.
4 This regression utility will test the SysV Shared Memory facility
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaOperands.td82 // Memory offset 0..255 for 8-bit memory accesses
88 // Memory offset 0..510 for 16-bit memory accesses
94 // Memory offset 0..1020 for 32-bit memory accesses
100 // Memory offset 0..60 for 32-bit memory accesses
136 // Memory address operands
/freebsd/contrib/llvm-project/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp252 sys::Memory::allocateMappedMemory(Size, nullptr, in preallocateSlab()
253 sys::Memory::MF_READ | in preallocateSlab()
254 sys::Memory::MF_WRITE, in preallocateSlab()
310 sys::Memory::allocateMappedMemory(Size, nullptr, in allocateCodeSection()
311 sys::Memory::MF_READ | in allocateCodeSection()
312 sys::Memory::MF_WRITE, in allocateCodeSection()
339 sys::Memory::allocateMappedMemory(Size, nullptr, in allocateDataSection()
340 sys::Memory::MF_READ | in allocateDataSection()
341 sys::Memory::MF_WRITE, in allocateDataSection()
606 if (auto EC = sys::Memory::protectMappedMemory(FM_MB, in executeInput()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DCalledValuePropagation.cpp50 enum class IPOGrouping { Register, Return, Memory }; enumerator
136 case IPOGrouping::Memory: in ComputeLatticeVal()
207 else if (Key.getInt() == IPOGrouping::Memory) in PrintLatticeKey()
319 auto MemGV = CVPLatticeKey(GV, IPOGrouping::Memory); in visitLoad()
337 auto MemGV = CVPLatticeKey(GV, IPOGrouping::Memory); in visitStore()
/freebsd/sys/dev/acpica/Osd/
H A DOsdMemory.c50 AcpiOsFree(void *Memory) in AcpiOsFree() argument
52 free(Memory, M_ACPICA); in AcpiOsFree()

12345678910>>...16