Searched refs:Memory (Results 1 - 25 of 161) sorted by relevance

1234567

/external/llvm/unittests/Support/
H A DMemoryTest.cpp10 #include "llvm/Support/Memory.h"
31 case Memory::MF_READ:
32 case Memory::MF_WRITE:
33 case Memory::MF_READ|Memory::MF_WRITE:
34 return Memory::MF_READ|Memory::MF_WRITE;
35 case Memory::MF_READ|Memory::MF_EXEC:
36 case Memory
[all...]
/external/v8/src/arm/
H A Dassembler-arm-inl.h79 Assembler::IsMovW(Memory::int32_at(pc_))) {
85 DCHECK(Assembler::IsLdrPcImmediateOffset(Memory::int32_at(pc_)));
140 return Memory::Address_at(pc_);
167 Address address = Memory::Address_at(pc_);
174 return Cell::FromValueAddress(Memory::Address_at(pc_));
183 Memory::Address_at(pc_) = address;
203 Memory::Address_at(pc_ +
211 Memory::Address_at(pc_ +
221 return Memory::Address_at(pc_ + Assembler::kPatchDebugBreakSlotAddressOffset);
227 Memory
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
H A DPredIteratorCache.h32 /// Memory - This is the space that holds cached preds.
33 BumpPtrAllocator Memory; member in class:llvm::PredIteratorCache
51 Entry = Memory.Allocate<BasicBlock*>(PredCache.size());
65 Memory.Reset();
H A DMemory.h1 //===- llvm/Support/Memory.h - Memory Support --------------------*- C++ -*-===//
10 // This file declares the llvm::sys::Memory class.
24 /// and a size. It is used by the Memory class (a friend) as the result of
26 /// @see Memory
27 /// @brief Memory block abstraction.
37 friend class Memory;
44 class Memory { class in namespace:llvm::sys
/external/llvm/lib/Support/Windows/
H A DMemory.inc1 //===- Win32/Memory.cpp - Win32 Memory Implementation -----------*- C++ -*-===//
10 // This file provides the Win32 specific implementation of various Memory
29 case llvm::sys::Memory::MF_READ:
31 case llvm::sys::Memory::MF_WRITE:
34 case llvm::sys::Memory::MF_READ|llvm::sys::Memory::MF_WRITE:
36 case llvm::sys::Memory::MF_READ|llvm::sys::Memory::MF_EXEC:
38 case llvm::sys::Memory
[all...]
/external/curl/src/macos/src/
H A Dmacos_main.cpp19 /* ========================================================================= Copyright (C) 2001 Eric Lavigne Permission is granted to anyone to use this software for any purpose on any computer system, and to redistribute it freely, subject to the following restrictions: - The author is not responsible for the consequences of use of this software, no matter how awful, even if they arise from defects in it. - The origin of this software must not be misrepresented, either by explicit claim or by omission. - You are allowed to distributed modified copies of the software, in source and binary form, provided they are marked plainly as altered versions, and are not misrepresented as being the original software. ========================================================================= */ #include <stdlib.h> #include <string.h> #include <stdio.h> #include <Memory.h> #include <GUSICommandLine.h> #include <stdlib.h> /* ========================================== (…)
/external/v8/src/
H A Dframes-inl.h46 return FromAddress(Memory::Address_at(address() + offset));
118 return Memory::Object_at(fp() + receiverOffset);
122 return Memory::Object_at(fp() + BuiltinExitFrameConstants::kArgcOffset);
126 return Memory::Object_at(fp() + BuiltinExitFrameConstants::kTargetOffset);
130 return Memory::Object_at(fp() + BuiltinExitFrameConstants::kNewTargetOffset);
139 return Memory::Object_at(GetExpressionAddress(index));
144 Memory::Object_at(GetExpressionAddress(index)) = value;
149 return Memory::Address_at(fp() + StandardFrameConstants::kCallerFPOffset);
154 return Memory::Address_at(ComputePCAddress(fp()));
170 Memory
[all...]
/external/webrtc/webrtc/modules/audio_device/mac/portaudio/
H A Dpa_memorybarrier.h4 * Memory barrier utilities
92 # warning Memory barriers not defined on this system or system unknown
98 # error Memory barriers are not defined on this system. You can still compile by defining ALLOW_SMP_DANGERS, but SMP safety will not be guaranteed.
119 # warning Memory barriers not defined on this system or system unknown
125 # error Memory barriers are not defined on this system. You can still compile by defining ALLOW_SMP_DANGERS, but SMP safety will not be guaranteed.
/external/llvm/include/llvm/IR/
H A DPredIteratorCache.h33 /// Memory - This is the space that holds cached preds.
34 BumpPtrAllocator Memory; member in class:llvm::PredIteratorCache
53 Entry = Memory.Allocate<BasicBlock *>(PredCache.size());
73 Memory.Reset();
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
H A DARMJITInfo.cpp25 #include "llvm/Support/Memory.h"
125 if (!sys::Memory::setRangeWritable((void*)StubAddr, 8)) {
130 if (!sys::Memory::setRangeExecutable((void*)StubAddr, 8)) {
181 if (!sys::Memory::setRangeWritable(Addr, 16)) {
188 sys::Memory::InvalidateInstructionCache(Addr, 16);
189 if (!sys::Memory::setRangeExecutable(Addr, 16)) {
196 if (!sys::Memory::setRangeWritable(Addr, 8)) {
201 sys::Memory::InvalidateInstructionCache(Addr, 8);
202 if (!sys::Memory::setRangeExecutable(Addr, 8)) {
216 if (!sys::Memory
[all...]
/external/llvm/lib/Support/Unix/
H A DMemory.inc1 //===- Unix/Memory.cpp - Generic UNIX System Configuration ------*- C++ -*-===//
45 case llvm::sys::Memory::MF_READ:
47 case llvm::sys::Memory::MF_WRITE:
49 case llvm::sys::Memory::MF_READ|llvm::sys::Memory::MF_WRITE:
51 case llvm::sys::Memory::MF_READ|llvm::sys::Memory::MF_EXEC:
53 case llvm::sys::Memory::MF_READ | llvm::sys::Memory::MF_WRITE |
54 llvm::sys::Memory
[all...]
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
H A DMemory.inc1 //===- Unix/Memory.cpp - Generic UNIX System Configuration ------*- C++ -*-===//
45 case llvm::sys::Memory::MF_READ:
47 case llvm::sys::Memory::MF_WRITE:
49 case llvm::sys::Memory::MF_READ|llvm::sys::Memory::MF_WRITE:
51 case llvm::sys::Memory::MF_READ|llvm::sys::Memory::MF_EXEC:
53 case llvm::sys::Memory::MF_READ | llvm::sys::Memory::MF_WRITE |
54 llvm::sys::Memory
[all...]
/external/llvm/lib/ExecutionEngine/Orc/
H A DOrcABISupport.cpp158 auto StubsMem = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory(
160 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC));
179 if (auto EC = sys::Memory::protectMappedMemory(
180 StubsBlock, sys::Memory::MF_READ | sys::Memory::MF_EXEC))
240 auto StubsMem = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory(
242 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC));
260 if (auto EC = sys::Memory
[all...]
/external/llvm/lib/ExecutionEngine/
H A DSectionMemoryManager.cpp1 //===- SectionMemoryManager.cpp - Memory manager for MCJIT/RtDyld *- C++ -*-==//
87 sys::MemoryBlock MB = sys::Memory::allocateMappedMemory(RequiredSize,
89 sys::Memory::MF_READ |
90 sys::Memory::MF_WRITE,
132 sys::Memory::MF_READ | sys::Memory::MF_EXEC);
142 sys::Memory::MF_READ | sys::Memory::MF_EXEC);
184 if (std::error_code EC = sys::Memory::protectMappedMemory(MB, Permissions))
208 sys::Memory
[all...]
/external/llvm/include/llvm/Support/
H A DMemory.h1 //===- llvm/Support/Memory.h - Memory Support -------------------*- C++ -*-===//
10 // This file declares the llvm::sys::Memory class.
25 /// and a size. It is used by the Memory class (a friend) as the result of
27 /// @see Memory
28 /// @brief Memory block abstraction.
39 friend class Memory;
46 class Memory { class in namespace:llvm::sys
174 Memory::releaseMappedMemory(M);
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DMemory.h1 //===- llvm/Support/Memory.h - Memory Support -------------------*- C++ -*-===//
10 // This file declares the llvm::sys::Memory class.
25 /// and a size. It is used by the Memory class (a friend) as the result of
27 /// @see Memory
28 /// @brief Memory block abstraction.
39 friend class Memory;
46 class Memory { class in namespace:llvm::sys
174 Memory::releaseMappedMemory(M);
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
H A DMipsJITInfo.cpp24 #include "llvm/Support/Memory.h"
141 sys::Memory::InvalidateInstructionCache((void*) StubAddr, 16);
161 if (!sys::Memory::setRangeWritable(Addr, 16))
185 sys::Memory::InvalidateInstructionCache(Addr, 16);
186 if (!sys::Memory::setRangeExecutable(Addr, 16))
/external/llvm/lib/Target/X86/AsmParser/
H A DX86Operand.h30 Memory enumerator in enum:llvm::X86Operand::KindTy
108 assert(Kind == Memory && "Invalid access!");
112 assert(Kind == Memory && "Invalid access!");
116 assert(Kind == Memory && "Invalid access!");
120 assert(Kind == Memory && "Invalid access!");
124 assert(Kind == Memory && "Invalid access!");
128 assert(Kind == Memory && "Invalid access!");
208 bool isMem() const override { return Kind == Memory; }
210 return Kind == Memory && Mem.Size == 0;
213 return Kind == Memory
[all...]
/external/llvm/include/llvm/ExecutionEngine/Orc/
H A DOrcRemoteTargetServer.h144 sys::Memory::releaseMappedMemory(Alloc.second);
149 sys::MemoryBlock MB = sys::Memory::allocateMappedMemory(
150 Size, nullptr, sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC);
165 sys::Memory::protectMappedMemory(I->second, Flags));
298 ResolverBlock = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory(
300 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC));
307 return errorCodeToError(sys::Memory::protectMappedMemory(
309 sys::Memory
[all...]
H A DIndirectionUtils.h149 ResolverBlock = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory(
151 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC));
157 EC = sys::Memory::protectMappedMemory(ResolverBlock.getMemoryBlock(),
158 sys::Memory::MF_READ |
159 sys::Memory::MF_EXEC);
176 sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory(
178 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC));
194 EC = sys::Memory
[all...]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp338 } Memory; member in union:__anon22814::ARMOperand::__anon22815
413 Memory = o.Memory;
681 return Memory.OffsetRegNum == 0 && Memory.OffsetImm == 0 &&
682 (alignOK || Memory.Alignment == 0);
688 if (!isMemory() || Memory.Alignment != 0) return false;
690 if (Memory.OffsetRegNum) return true;
692 if (!Memory.OffsetImm) return true;
693 int64_t Val = Memory
[all...]
/external/swiftshader/third_party/LLVM/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp20 #include "llvm/Support/Memory.h"
62 return (uint8_t*)sys::Memory::AllocateRWX(Size, 0, 0).base();
121 sys::Memory::InvalidateInstructionCache(Data.base(), Data.size());
122 if (!sys::Memory::setExecutable(Data, &ErrorStr))
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
H A DMemory.inc1 //===- Win32/Memory.cpp - Win32 Memory Implementation -----------*- C++ -*-===//
10 // This file provides the Win32 specific implementation of various Memory
27 MemoryBlock Memory::AllocateRWX(size_t NumBytes,
45 MakeErrMsg(ErrMsg, "Can't allocate RWX Memory: ");
55 bool Memory::ReleaseRWX(MemoryBlock &M, std::string *ErrMsg) {
58 return MakeErrMsg(ErrMsg, "Can't release RWX Memory: ");
70 bool Memory::setWritable(MemoryBlock &M, std::string *ErrMsg) {
77 bool Memory::setExecutable(MemoryBlock &M, std::string *ErrMsg) {
84 bool Memory
[all...]
/external/v8/src/x64/
H A Dassembler-x64-inl.h30 Memory::uint32_at(pc_) = x;
37 Memory::uintptr_at(pc_) = value;
46 Memory::uint64_at(pc_) = x;
52 Memory::uint16_at(pc_) = x;
276 return Memory::int32_at(pc) + pc + 4;
283 Memory::int32_at(pc) = static_cast<int32_t>(target - pc - 4);
303 Memory::Address_at(pc) = target;
317 return code_targets_[Memory::int32_at(pc)];
322 return Memory::int32_at(pc) +
332 Memory
[all...]
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/AsmParser/
H A DMBlazeAsmParser.cpp79 Memory, enumerator in enum:__anon22863::MBlazeOperand::KindTy
126 case Memory:
157 assert(Kind == Memory && "Invalid access!");
162 assert(Kind == Memory && "Invalid access!");
167 assert(Kind == Memory && "Invalid access!");
173 bool isMem() const { return Kind == Memory; }
256 MBlazeOperand *Op = new MBlazeOperand(Memory);
267 MBlazeOperand *Op = new MBlazeOperand(Memory);
291 case Memory: {

Completed in 744 milliseconds

1234567