Home
last modified time | relevance | path

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

12345678910>>...17

/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 <<()
H A DTrieRawHashMap.cpp121 void *Memory = ::operator new(sizeToAlloc(NumBits)); in create() local
122 TrieSubtrie *S = ::new (Memory) TrieSubtrie(StartBit, NumBits); in create()
169 void *Memory = ::operator new(Size); in create() local
170 ImplType *Impl = ::new (Memory) ImplType(StartBit, NumBits); in create()
284 uint8_t *Memory = reinterpret_cast<uint8_t *>( in insert() local
286 const uint8_t *HashStorage = Constructor(Memory + ContentOffset, Hash); in insert()
289 TrieContent *Content = ::new (Memory) in insert()
290 TrieContent(ContentOffset, Hash.size(), HashStorage - Memory); in insert()
/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/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
140 case Memory: in print()
185 assert(Kind == Memory && "Invalid access!"); in getMemDisp()
189 assert(Kind == Memory && "Invalid access!"); in getMemSegReg()
193 assert(Kind == Memory && "Invalid access!"); in getMemBaseReg()
197 assert(Kind == Memory && "Invalid access!"); in getMemDefaultBaseReg()
201 assert(Kind == Memory && "Invalid access!"); in getMemIndexReg()
205 assert(Kind == Memory && "Invalid access!"); in getMemScale()
209 assert(Kind == Memory && "Invalid access!"); in getMemModeSize()
213 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/ByteCode/
H A DDynamicAllocator.h43 std::unique_ptr<std::byte[]> Memory; member
44 Allocation(std::unique_ptr<std::byte[]> Memory) in Allocation()
45 : Memory(std::move(Memory)) {} in Allocation()
52 AllocationSite(std::unique_ptr<std::byte[]> Memory, Form AllocForm) in AllocationSite()
54 Allocations.push_back({std::move(Memory)}); in AllocationSite()
H A DFloating.h39 uint64_t *Memory; member
48 return APFloat(getSemantics(), APInt(BitWidth, NumWords, Memory)); in getValue()
60 Floating(uint64_t *Memory, llvm::APFloatBase::Semantics Semantics) in Floating() argument
61 : Memory(Memory), Semantics(Semantics) {} in Floating()
126 assert(Memory); in copy()
127 std::memcpy(Memory, F.bitcastToAPInt().getRawData(), in copy()
136 if (Memory) in take()
137 std::memcpy(NewMemory, Memory, numWords() * sizeof(uint64_t)); in take()
138 Memory = NewMemory; in take()
205 std::memcpy(Buff + sizeof(Semantics), Memory, in serialize()
[all …]
H A DDynamicAllocator.cpp26 Block *B = reinterpret_cast<Block *>(Alloc.Memory.get()); in cleanup()
73 auto Memory = in allocate() local
75 auto *B = new (Memory.get()) Block(EvalID, D, /*isStatic=*/false); in allocate()
98 It->second.Allocations.emplace_back(std::move(Memory)); in allocate()
101 {D->asExpr(), AllocationSite(std::move(Memory), AllocForm)}); in allocate()
116 const Block *B = reinterpret_cast<const Block *>(A.Memory.get()); in deallocate()
122 Block *B = reinterpret_cast<Block *>(AllocIt->Memory.get()); in deallocate()
H A DIntegralAP.h39 uint64_t *Memory = nullptr; member
66 return llvm::APInt(BitWidth, NumWords, Memory); in getValue()
74 std::memcpy(NewMemory, Memory, numWords() * sizeof(uint64_t)); in take()
75 Memory = NewMemory; in take()
89 assert(Memory); in copy()
90 std::memcpy(Memory, V.getRawData(), V.getNumWords() * sizeof(uint64_t)); in copy()
98 IntegralAP(uint64_t *Memory, unsigned BitWidth) in IntegralAP() argument
99 : Memory(Memory), BitWidth(BitWidth) {} in IntegralAP()
104 Memory = const_cast<uint64_t *>(V.getRawData()); in IntegralAP()
199 return IntegralAP<false>(Memory, BitWidth); in toUnsigned()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DIndirectionUtils.h143 ResolverBlock = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in LocalTrampolinePool()
145 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC)); in LocalTrampolinePool()
156 EC = sys::Memory::protectMappedMemory(ResolverBlock.getMemoryBlock(), in LocalTrampolinePool()
157 sys::Memory::MF_READ | in LocalTrampolinePool()
158 sys::Memory::MF_EXEC); in LocalTrampolinePool()
170 sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in grow()
172 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC)); in grow()
189 if (auto EC = sys::Memory::protectMappedMemory( in grow()
191 sys::Memory::MF_READ | sys::Memory::MF_EXEC)) in grow()
337 sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in create()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DSectionMemoryManager.cpp105 sys::Memory::MF_READ | sys::Memory::MF_WRITE, ec); in allocateSection()
154 sys::Memory::MF_READ | sys::Memory::MF_EXEC); in finalizeMemory()
163 ec = applyMemoryGroupPermissions(RODataMem, sys::Memory::MF_READ); in finalizeMemory()
229 sys::Memory::InvalidateInstructionCache(Block.base(), in invalidateInstructionCache()
253 return sys::Memory::allocateMappedMemory(NumBytes, NearBlock, Flags, EC); in allocateMappedMemory()
258 return sys::Memory::protectMappedMemory(Block, Flags); in protectMappedMemory()
262 return sys::Memory::releaseMappedMemory(M); in releaseMappedMemory()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DMemory.h47 friend class Memory; variable
54 class Memory {
154 Memory::releaseMappedMemory(M); in ~OwningMemoryBlock()
164 EC = Memory::releaseMappedMemory(M); in release()
175 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()
1394 if (Memory.BaseRegNum && in isMVEMem()
1395 !ARMMCRegisterClasses[ARM::GPRRegClassID].contains(Memory.BaseRegNum) && in isMVEMem()
1396 !ARMMCRegisterClasses[ARM::MQPRRegClassID].contains(Memory.BaseRegNum)) in isMVEMem()
1398 if (Memory.OffsetRegNum && in isMVEMem()
1400 Memory.OffsetRegNum)) in isMVEMem()
1407 if (Memory.BaseRegNum && in isGPRMem()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPredIteratorCache.h32 BumpPtrAllocator Memory; variable
42 BasicBlock **Data = Memory.Allocate<BasicBlock *>(PredCache.size()); in get()
51 Memory.Reset(); in clear()
/freebsd/sys/contrib/device-tree/src/arm64/exynos/
H A Dexynos990-x1slte.dts21 /* Memory hole */
23 /* Memory hole */
25 /* Memory hole */
H A Dexynos990-x1s.dts21 /* Memory hole */
23 /* Memory hole */
25 /* Memory hole */
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp275 if (auto EC = sys::Memory::releaseMappedMemory(FinalizationSegments)) in abandon()
277 if (auto EC = sys::Memory::releaseMappedMemory(StandardSegments)) in abandon()
299 if (auto EC = sys::Memory::releaseMappedMemory(FinalizationSegments)) { in completeFinalization()
326 if (auto EC = sys::Memory::protectMappedMemory(MB, Prot)) in applyProtections()
328 if (Prot & sys::Memory::MF_EXEC) in applyProtections()
329 sys::Memory::InvalidateInstructionCache(MB.base(), MB.allocatedSize()); in applyProtections()
389 const sys::Memory::ProtectionFlags ReadWrite = in allocate()
390 static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in allocate()
391 sys::Memory::MF_WRITE); in allocate()
394 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/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/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/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DMemoryMapper.cpp46 auto MB = sys::Memory::allocateMappedMemory( in reserve()
47 NumBytes, nullptr, sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC); in reserve()
84 if (auto EC = sys::Memory::protectMappedMemory( in initialize()
90 sys::Memory::InvalidateInstructionCache(Base.toPtr<void *>(), Size); in initialize()
136 if (auto EC = sys::Memory::protectMappedMemory( in deinitialize()
138 sys::Memory::ProtectionFlags::MF_READ | in deinitialize()
139 sys::Memory::ProtectionFlags::MF_WRITE)) { in deinitialize()
175 auto EC = sys::Memory::releaseMappedMemory(MB); in release()

12345678910>>...17