Home
last modified time | relevance | path

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

12345678910>>...41

/netbsd-src/external/apache2/llvm/dist/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 |
36 llvm::sys::Memory::MF_WRITE |
37 llvm::sys::Memory::MF_EXEC:
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DMemory.cpp35 raw_ostream &operator<<(raw_ostream &OS, const Memory::ProtectionFlags &PF) { in operator <<()
36 assert((PF & ~(Memory::MF_READ | Memory::MF_WRITE | Memory::MF_EXEC)) == 0 && in operator <<()
39 return OS << (PF & Memory::MF_READ ? 'R' : '-') in operator <<()
40 << (PF & Memory::MF_WRITE ? 'W' : '-') in operator <<()
41 << (PF & Memory::MF_EXEC ? 'X' : '-'); in operator <<()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp55 if (auto EC = sys::Memory::releaseMappedMemory(Slab)) in allocate()
65 if (auto EC = sys::Memory::protectMappedMemory(Block, Prot)) in allocate()
67 if (Prot & sys::Memory::MF_EXEC) in allocate()
68 sys::Memory::InvalidateInstructionCache(Block.base(), in allocate()
82 const sys::Memory::ProtectionFlags ReadWrite = in allocate()
83 static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in allocate()
84 sys::Memory::MF_WRITE); in allocate()
104 sys::Memory::allocateMappedMemory(TotalSize, nullptr, ReadWrite, EC); in allocate()
H A DELF_x86_64.cpp115 GOTSection = &G.createSection(ELFGOTSectionName, sys::Memory::MF_READ); in getGOTSection()
121 auto StubsProt = static_cast<sys::Memory::ProtectionFlags>( in getStubsSection()
122 sys::Memory::MF_READ | sys::Memory::MF_EXEC); in getStubsSection()
254 auto Prot = static_cast<sys::Memory::ProtectionFlags>( in getCommonSection()
255 sys::Memory::MF_READ | sys::Memory::MF_WRITE); in getCommonSection()
369 sys::Memory::ProtectionFlags Prot; in createNormalizedSections()
371 Prot = static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in createNormalizedSections()
372 sys::Memory::MF_EXEC); in createNormalizedSections()
374 Prot = static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in createNormalizedSections()
375 sys::Memory::MF_WRITE); in createNormalizedSections()
H A DMachOLinkGraphBuilder.cpp100 auto Prot = static_cast<sys::Memory::ProtectionFlags>( in getCommonSection()
101 sys::Memory::MF_READ | sys::Memory::MF_WRITE); in getCommonSection()
173 sys::Memory::ProtectionFlags Prot; in createNormalizedSections()
175 Prot = static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in createNormalizedSections()
176 sys::Memory::MF_EXEC); in createNormalizedSections()
178 Prot = static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in createNormalizedSections()
179 sys::Memory::MF_WRITE); in createNormalizedSections()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/AsmParser/
H A DX86Operand.h30 enum KindTy { Token, Register, Immediate, Memory, Prefix, DXRegister } Kind; enumerator
130 case Memory: in print()
175 assert(Kind == Memory && "Invalid access!"); in getMemDisp()
179 assert(Kind == Memory && "Invalid access!"); in getMemSegReg()
183 assert(Kind == Memory && "Invalid access!"); in getMemBaseReg()
187 assert(Kind == Memory && "Invalid access!"); in getMemDefaultBaseReg()
191 assert(Kind == Memory && "Invalid access!"); in getMemIndexReg()
195 assert(Kind == Memory && "Invalid access!"); in getMemScale()
199 assert(Kind == Memory && "Invalid access!"); in getMemModeSize()
203 assert(Kind == Memory && "Invalid access!"); in getMemFrontendSize()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/Unix/
H A DMemory.inc1 //===- Unix/Memory.cpp - Generic UNIX System Configuration ------*- C++ -*-===//
47 switch (Flags & llvm::sys::Memory::MF_RWE_MASK) {
48 case llvm::sys::Memory::MF_READ:
50 case llvm::sys::Memory::MF_WRITE:
52 case llvm::sys::Memory::MF_READ|llvm::sys::Memory::MF_WRITE:
54 case llvm::sys::Memory::MF_READ|llvm::sys::Memory::MF_EXEC:
56 case llvm::sys::Memory::MF_READ | llvm::sys::Memory::MF_WRITE |
57 llvm::sys::Memory::MF_EXEC:
59 case llvm::sys::Memory::MF_EXEC:
82 Memory::allocateMappedMemory(size_t NumBytes,
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/
H A DOrcRemoteTargetServer.h121 sys::Memory::releaseMappedMemory(Alloc.second); in ~Allocator()
126 sys::MemoryBlock MB = sys::Memory::allocateMappedMemory( in allocate()
127 Size, nullptr, sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC); in allocate()
142 sys::Memory::protectMappedMemory(I->second, Flags)); in setProtections()
298 ResolverBlock = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in handleEmitResolverBlock()
300 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC)); in handleEmitResolverBlock()
309 return errorCodeToError(sys::Memory::protectMappedMemory( in handleEmitResolverBlock()
311 sys::Memory::MF_READ | sys::Memory::MF_EXEC)); in handleEmitResolverBlock()
317 sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in handleEmitTrampolineBlock()
319 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC)); in handleEmitTrampolineBlock()
[all …]
H A DIndirectionUtils.h134 ResolverBlock = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in LocalTrampolinePool()
136 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC)); in LocalTrampolinePool()
147 EC = sys::Memory::protectMappedMemory(ResolverBlock.getMemoryBlock(), in LocalTrampolinePool()
148 sys::Memory::MF_READ | in LocalTrampolinePool()
149 sys::Memory::MF_EXEC); in LocalTrampolinePool()
161 sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in grow()
163 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC)); in grow()
180 if (auto EC = sys::Memory::protectMappedMemory( in grow()
182 sys::Memory::MF_READ | sys::Memory::MF_EXEC)) in grow()
321 sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in create()
[all …]
H A DOrcRPCTargetProcessControl.h83 static_cast<sys::Memory::ProtectionFlags>(KV.first)), in finalizeAsync()
135 static_cast<sys::Memory::ProtectionFlags>(KV.first)), in deallocate()
161 static_cast<sys::Memory::ProtectionFlags>(KV.first)), in allocate()
173 << ((KV.first & sys::Memory::MF_READ) ? 'R' : '-') in allocate()
174 << ((KV.first & sys::Memory::MF_WRITE) ? 'W' : '-') in allocate()
175 << ((KV.first & sys::Memory::MF_EXEC) ? 'X' : '-') in allocate()
205 << ((KV.first & sys::Memory::MF_READ) ? 'R' : '-') in allocate()
206 << ((KV.first & sys::Memory::MF_WRITE) ? 'W' : '-') in allocate()
207 << ((KV.first & sys::Memory::MF_EXEC) ? 'X' : '-') in allocate()
H A DOrcRemoteTargetClient.h185 sys::Memory::MF_READ | sys::Memory::MF_EXEC))
189 sys::Memory::MF_READ))
193 sys::Memory::MF_READ | sys::Memory::MF_WRITE))
308 << (Permissions & sys::Memory::MF_READ ? 'R' : '-') in copyAndProtect()
309 << (Permissions & sys::Memory::MF_WRITE ? 'W' : '-') in copyAndProtect()
310 << (Permissions & sys::Memory::MF_EXEC ? 'X' : '-') in copyAndProtect()
337 using ProtectionFlags = sys::Memory::ProtectionFlags;
378 return errorCodeToError(sys::Memory::releaseMappedMemory(HostAllocation)); in deallocate()
401 const sys::Memory::ProtectionFlags ReadWrite = in allocateHostBlocks()
402 static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in allocateHostBlocks()
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
H A DTPCIndirectionUtils.cpp106 static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in grow()
107 sys::Memory::MF_EXEC); in grow()
290 static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in writeResolverBlock()
291 sys::Memory::MF_EXEC); in writeResolverBlock()
357 static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in getIndirectStubs()
358 sys::Memory::MF_EXEC); in getIndirectStubs()
360 static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in getIndirectStubs()
361 sys::Memory::MF_WRITE); in getIndirectStubs()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp915 struct MemoryOp Memory; member
1108 if(!Memory.OffsetImm || Memory.OffsetRegNum) return false; in isThumbMemPC()
1109 if(Memory.BaseRegNum != ARM::PC) return false; in isThumbMemPC()
1110 if (const auto *CE = dyn_cast<MCConstantExpr>(Memory.OffsetImm)) in isThumbMemPC()
1362 if (Memory.BaseRegNum && in isMVEMem()
1363 !ARMMCRegisterClasses[ARM::GPRRegClassID].contains(Memory.BaseRegNum) && in isMVEMem()
1364 !ARMMCRegisterClasses[ARM::MQPRRegClassID].contains(Memory.BaseRegNum)) in isMVEMem()
1366 if (Memory.OffsetRegNum && in isMVEMem()
1368 Memory.OffsetRegNum)) in isMVEMem()
1375 if (Memory.BaseRegNum && in isGPRMem()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
H A DOrcRPCTPCServer.h45 toWireProtectionFlags(sys::Memory::ProtectionFlags PF) { in toWireProtectionFlags()
47 if (PF & sys::Memory::MF_READ) in toWireProtectionFlags()
49 if (PF & sys::Memory::MF_WRITE) in toWireProtectionFlags()
51 if (PF & sys::Memory::MF_EXEC) in toWireProtectionFlags()
56 inline sys::Memory::ProtectionFlags
60 PF |= sys::Memory::MF_READ; in fromWireProtectionFlags()
62 PF |= sys::Memory::MF_WRITE; in fromWireProtectionFlags()
64 PF |= sys::Memory::MF_EXEC; in fromWireProtectionFlags()
65 return static_cast<sys::Memory::ProtectionFlags>(PF); in fromWireProtectionFlags()
474 auto PF = sys::Memory::MF_READ | sys::Memory::MF_WRITE; in reserveMemory()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DMemory.h45 friend class Memory; variable
52 class Memory {
151 Memory::releaseMappedMemory(M); in ~OwningMemoryBlock()
164 raw_ostream &operator<<(raw_ostream &OS, const Memory::ProtectionFlags &PF);
/netbsd-src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
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 */
/netbsd-src/sys/dev/mca/
H A Dmcadevs265 product 0x7007 HRAM "HyperRAM MC 32/16 Memory Expansion" [7]
269 product 0x7020 "Cumulus 2Mb Memory Multifunction Adapter" [6]
270 product 0x7021 "Cumulus 4Mb Memory Multifunction Adapter" [6]
271 product 0x7022 "Cumulus 8Mb Memory Multifunction Adapter" [6]
272 product 0x7024 IQRAM "InterQuadram QuadMEG PS8 Extended Memory/Adapter" [5]
277 product 0x7049 MICRAM "Micron Beyond 50/60 Memory Expansion" [5]
280 product 0x7050 ASTRAM "AST RampagePlus/MC Memory Expansion" PCW Jul 89, p149
285 product 0x708E KINGRAM "Kingston KTM-8000/286 Memory Expansion" [5]
286 product 0x708F KINGRAM8 "Kingston KTM-8000/386 Memory Expansion" [5]
288 product 0x70D0 KINGRAM16 "Kingston KTM-16000/386 Memory Expansion" [6]
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/msp430/
H A Dconstraints.md56 "Memory reference, any type, but restricted range of constants"
67 "Memory reference, labels only."
77 "Memory reference, indexed or indirect register addressing modes."
89 "Memory reference, for CALL - we can't use SP."
101 "Memory reference, in lower memory below address 0x10000."
/netbsd-src/external/gpl3/gcc/dist/gcc/config/msp430/
H A Dconstraints.md62 "Memory reference, any type, but restricted range of constants"
73 "Memory reference, labels only."
83 "Memory reference, indexed or indirect register addressing modes."
95 "Memory reference, for CALL - we can't use SP."
107 "Memory reference, in lower memory below address 0x10000."
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/s390/
H A Dconstraints.md27 ;; b -- Memory operand whose address is a symbol reference or a symbol
79 ;; Q -- Memory reference without index register and with short displacement.
80 ;; R -- Memory reference with index register and short displacement.
81 ;; S -- Memory reference without index register but with long displacement.
82 ;; T -- Memory reference with index register and long displacement.
86 ;; Memory reference of the type specified by second letter that
478 ;; Memory constraints follow.
482 "Memory reference without index register and with short displacement"
487 "Memory reference with index register and short displacement"
492 "Memory reference without index register but with long displacement"
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/s390/
H A Dconstraints.md27 ;; b -- Memory operand whose address is a symbol reference or a symbol
79 ;; Q -- Memory reference without index register and with short displacement.
80 ;; R -- Memory reference with index register and short displacement.
81 ;; S -- Memory reference without index register but with long displacement.
82 ;; T -- Memory reference with index register and long displacement.
86 ;; Memory reference of the type specified by second letter that
478 ;; Memory constraints follow.
482 "Memory reference without index register and with short displacement"
487 "Memory reference with index register and short displacement"
492 "Memory reference without index register but with long displacement"
[all …]
/netbsd-src/external/bsd/file/dist/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,
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp249 sys::Memory::allocateMappedMemory(Size, nullptr, in preallocateSlab()
250 sys::Memory::MF_READ | in preallocateSlab()
251 sys::Memory::MF_WRITE, in preallocateSlab()
303 sys::Memory::allocateMappedMemory(Size, nullptr, in allocateCodeSection()
304 sys::Memory::MF_READ | in allocateCodeSection()
305 sys::Memory::MF_WRITE, in allocateCodeSection()
331 sys::Memory::allocateMappedMemory(Size, nullptr, in allocateDataSection()
332 sys::Memory::MF_READ | in allocateDataSection()
333 sys::Memory::MF_WRITE, in allocateDataSection()
556 if (auto EC = sys::Memory::protectMappedMemory(FM_MB, in executeInput()
[all …]

12345678910>>...41