Home
last modified time | relevance | path

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

12345678910>>...46

/netbsd/external/apache2/llvm/dist/llvm/lib/Support/Windows/
H A DMemory.inc1 //===- Win32/Memory.cpp - Win32 Memory Implementation -----------*- C++ -*-===//
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:
39 case llvm::sys::Memory::MF_EXEC:
[all …]
/netbsd/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/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/external/apache2/llvm/dist/llvm/lib/Target/X86/AsmParser/
H A DX86Operand.h130 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()
292 return Kind == Memory && Mem.Size == 0; in isMemUnsized()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/Support/Unix/
H A DMemory.inc47 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,
152 EC = Memory::protectMappedMemory (Result, PFlags);
[all …]
/netbsd/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()
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()
333 sys::Memory::MF_READ | in handleEmitTrampolineBlock()
[all …]
H A DIndirectionUtils.h136 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC)); 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()
323 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC)); in create()
336 if (auto EC = sys::Memory::protectMappedMemory( 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/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/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/external/apache2/llvm/dist/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp1108 if(!Memory.OffsetImm || Memory.OffsetRegNum) return false; in isThumbMemPC()
1683 if (!isGPRMem() || !Memory.OffsetRegNum || Memory.isNegative || in isMemTBB()
1690 if (!isGPRMem() || !Memory.OffsetRegNum || Memory.isNegative || in isMemTBH()
1691 Memory.ShiftType != ARM_AM::lsl || Memory.ShiftImm != 1 || in isMemTBH()
1704 if (!isGPRMem() || !Memory.OffsetRegNum || Memory.isNegative || in isT2MemRegOffset()
1705 Memory.Alignment != 0 || Memory.BaseRegNum == ARM::PC) in isT2MemRegOffset()
1710 if (Memory.ShiftType != ARM_AM::lsl || Memory.ShiftImm > 3) in isT2MemRegOffset()
1718 if (!isGPRMem() || !Memory.OffsetRegNum || Memory.isNegative || in isMemThumbRR()
1766 Memory.BaseRegNum != ARM::SP || Memory.Alignment != 0) in isMemThumbSPI()
2967 Memory.ShiftImm, Memory.ShiftType); in addAddrMode2Operands()
[all …]
/netbsd/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/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/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/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]
300 product 0x76DA QRAM1 "Quadmeg PS/Q Memory Adapter" [6]
301 product 0x76DE QRAM2 "Quadmeg PS/Q Memory Adapter" [6]
389 product 0xF7F7 IBMRAM1 "IBM 2-8Mb 80286 Memory Expansion" [5]
390 product 0xF7FE IBMRAM2 "IBM Expanded Memory" [5]
391 product 0xFAFF IBMRAM3 "IBM 32-bit Memory Expansion" [7]
392 product 0xFCFF IBMRAM4 "IBM Memory Expansion" [5]
[all …]
/netbsd/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/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/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/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/external/gpl3/gcc.old/dist/gcc/config/s390/
H A Dconstraints.md27 ;; b -- Memory operand whose address is a symbol reference or a symbol
80 ;; R -- Memory reference with index register and short 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.
487 "Memory reference with index register and short displacement"
497 "Memory reference with index register and long displacement"
541 Memory reference without index register and with short
548 Memory reference with index register and short displacement that
555 Memory reference without index register but with long displacement
[all …]
/netbsd/external/gpl3/gcc/dist/gcc/config/s390/
H A Dconstraints.md27 ;; b -- Memory operand whose address is a symbol reference or a symbol
80 ;; R -- Memory reference with index register and short 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.
487 "Memory reference with index register and short displacement"
497 "Memory reference with index register and long displacement"
541 Memory reference without index register and with short
548 Memory reference with index register and short displacement that
555 Memory reference without index register but with long displacement
[all …]
/netbsd/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>>...46