Searched defs:Addr (Results 1 - 25 of 80) sorted by relevance

1234

/external/llvm/lib/MC/
H A DMCInstrAnalysis.cpp13 uint64_t MCInstrAnalysis::evaluateBranch(const MCInst &Inst, uint64_t Addr, argument
20 return Addr+Size+Imm;
/external/llvm/lib/Support/
H A DMemory.cpp35 extern "C" void sys_icache_invalidate(const void *Addr, size_t len);
40 void llvm::sys::Memory::InvalidateInstructionCache(const void *Addr, argument
48 sys_icache_invalidate(const_cast<void *>(Addr), Len);
58 const intptr_t StartLine = ((intptr_t) Addr) & Mask;
59 const intptr_t EndLine = ((intptr_t) Addr + Len + LineSize - 1) & Mask;
70 const char *Start = static_cast<const char *>(Addr);
76 cacheflush((long)Addr, (long)(Addr+Len), BCACHE);
78 const char *Start = static_cast<const char *>(Addr);
84 ValgrindDiscardTranslations(Addr, Le
[all...]
H A DValgrind.cpp38 void llvm::sys::ValgrindDiscardTranslations(const void *Addr, size_t Len) { argument
42 VALGRIND_DISCARD_TRANSLATIONS(Addr, Len);
51 void llvm::sys::ValgrindDiscardTranslations(const void *Addr, size_t Len) { argument
/external/llvm/tools/llvm-objdump/
H A Dllvm-objdump.h36 int readByte(uint64_t Addr, uint8_t *Byte) const { argument
37 if (Addr >= getExtent())
39 *Byte = Bytes[Addr];
H A DMCFunction.h59 bool contains(uint64_t Addr) const { return Succs.count(Addr); }
62 void addSucc(uint64_t Addr) { Succs.insert(Addr); } argument
/external/llvm/include/llvm/Analysis/
H A DPHITransAddr.h36 /// Addr - The actual address we're analyzing.
37 Value *Addr; member in class:llvm::PHITransAddr
48 PHITransAddr(Value *addr, const TargetData *td) : Addr(addr), TD(td), TLI(0) {
50 if (Instruction *I = dyn_cast<Instruction>(Addr))
54 Value *getAddr() const { return Addr; }
75 /// PredBB. This returns true on failure and sets Addr to null.
/external/valgrind/main/none/tests/amd64/
H A Dsmc1.c36 typedef unsigned long long int Addr; typedef
55 void set_dest ( Addr dest )
57 assert(sizeof(Addr) == 8);
107 set_dest ( (Addr)&p );
110 set_dest ( (Addr)&q );
/external/valgrind/main/none/tests/x86/
H A Dsmc1.c34 typedef unsigned int Addr; typedef
51 void set_dest ( Addr dest )
87 set_dest ( (Addr)&p );
90 set_dest ( (Addr)&q );
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DObjectImage.h47 uint64_t Addr) {}
48 virtual void updateSymbolAddress(const object::SymbolRef &Sym, uint64_t Addr) argument
46 updateSectionAddress(const object::SectionRef &Sec, uint64_t Addr) argument
/external/chromium/net/disk_cache/
H A Daddr.h50 class Addr { class in namespace:disk_cache
52 Addr() : value_(0) {} function in class:disk_cache::Addr
53 explicit Addr(CacheAddr address) : value_(address) {} function in class:disk_cache::Addr
54 Addr(FileType file_type, int max_blocks, int block_file, int index) { function in class:disk_cache::Addr
/external/llvm/include/llvm/CodeGen/
H A DJITCodeEmitter.h238 /// emitInt32At - Emit the Int32 Value in Addr.
239 void emitInt32At(uintptr_t *Addr, uintptr_t Value) { argument
240 if (Addr >= (uintptr_t*)BufferBegin && Addr < (uintptr_t*)BufferEnd)
241 (*(uint32_t*)Addr) = (uint32_t)Value;
244 /// emitInt64At - Emit the Int64 Value in Addr.
245 void emitInt64At(uintptr_t *Addr, uintptr_t Value) { argument
246 if (Addr >= (uintptr_t*)BufferBegin && Addr < (uintptr_t*)BufferEnd)
247 (*(uint64_t*)Addr)
[all...]
H A DMachineCodeEmitter.h235 /// emitInt32At - Emit the Int32 Value in Addr.
236 void emitInt32At(uintptr_t *Addr, uintptr_t Value) { argument
237 if (Addr >= (uintptr_t*)BufferBegin && Addr < (uintptr_t*)BufferEnd)
238 (*(uint32_t*)Addr) = (uint32_t)Value;
241 /// emitInt64At - Emit the Int64 Value in Addr.
242 void emitInt64At(uintptr_t *Addr, uintptr_t Value) { argument
243 if (Addr >= (uintptr_t*)BufferBegin && Addr < (uintptr_t*)BufferEnd)
244 (*(uint64_t*)Addr)
[all...]
/external/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp127 void *Addr = getPointerToNamedFunction(F->getName(), AbortOnFailure); local
128 addGlobalMapping(F, Addr);
129 return Addr;
/external/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileWrapper.cpp208 uint64_t Addr,
215 return WriteNativeCodeFunc(Agent, Name, Addr, Code, Size);
253 int OProfileWrapper::op_unload_native_code(uint64_t Addr) { argument
258 return UnloadNativeCodeFunc(Agent, Addr);
207 op_write_native_code(const char* Name, uint64_t Addr, void const* Code, const unsigned int Size) argument
/external/llvm/lib/Target/ARM/
H A DARMJITInfo.cpp162 void *Addr; local
181 Addr = (void*)JCE.getCurrentPCValue();
182 if (!sys::Memory::setRangeWritable(Addr, 16)) {
188 JCE.emitWordLE(LazyPtr - (intptr_t(Addr)+4+8)); // func - (L_func$scv+8)
189 sys::Memory::InvalidateInstructionCache(Addr, 16);
190 if (!sys::Memory::setRangeExecutable(Addr, 16)) {
196 Addr = (void*)JCE.getCurrentPCValue();
197 if (!sys::Memory::setRangeWritable(Addr, 8)) {
202 sys::Memory::InvalidateInstructionCache(Addr, 8);
203 if (!sys::Memory::setRangeExecutable(Addr,
259 intptr_t Addr = (intptr_t)(MR->getResultPointer()); local
[all...]
/external/llvm/lib/Target/Sparc/
H A DSparcISelDAGToDAG.cpp73 bool SparcDAGToDAGISel::SelectADDRri(SDValue Addr, argument
75 if (FrameIndexSDNode *FIN = dyn_cast<FrameIndexSDNode>(Addr)) {
80 if (Addr.getOpcode() == ISD::TargetExternalSymbol ||
81 Addr.getOpcode() == ISD::TargetGlobalAddress)
84 if (Addr.getOpcode() == ISD::ADD) {
85 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Addr.getOperand(1))) {
88 dyn_cast<FrameIndexSDNode>(Addr.getOperand(0))) {
92 Base = Addr.getOperand(0);
98 if (Addr.getOperand(0).getOpcode() == SPISD::Lo) {
99 Base = Addr
114 SelectADDRrr(SDValue Addr, SDValue &R1, SDValue &R2) argument
[all...]
/external/llvm/tools/lli/
H A DRecordingMemoryManager.cpp23 void *Addr = malloc(Size); local
24 assert(Addr && "malloc() failure!");
25 sys::MemoryBlock Block(Addr, Size);
27 return (uint8_t*)Addr;
35 void *Addr = malloc(Size); local
36 assert(Addr && "malloc() failure!");
37 sys::MemoryBlock Block(Addr, Size);
39 return (uint8_t*)Addr;
/external/llvm/unittests/ExecutionEngine/JIT/
H A DOProfileJITEventListenerTest.cpp23 uint64_t Addr; member in struct:__anon9261::OprofileNativeFunction
32 , Addr(addr)
/external/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGSDNodes.cpp70 const SUnit *Addr = 0; local
72 Addr = &SUnits[0];
75 assert((Addr == 0 || Addr == &SUnits[0]) &&
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp246 void* Addr) {
247 unwrap(EE)->addGlobalMapping(unwrap<GlobalValue>(Global), Addr); local
245 LLVMAddGlobalMapping(LLVMExecutionEngineRef EE, LLVMValueRef Global, void* Addr) argument
/external/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp123 int readByte(uint64_t Addr, uint8_t *Byte) const { argument
124 if (Addr - BasePC >= Size)
126 *Byte = Bytes[Addr - BasePC];
/external/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCTargetDesc.cpp215 uint64_t evaluateBranch(const MCInst &Inst, uint64_t Addr, argument
223 return Addr+Imm+8; // In ARM mode the PC is always off by 8 bytes.
/external/llvm/lib/Target/Mips/
H A DMipsJITInfo.cpp205 void *Addr = (void*) (JCE.getCurrentPCValue()); local
206 if (!sys::Memory::setRangeWritable(Addr, 16))
230 sys::Memory::InvalidateInstructionCache(Addr, 16);
231 if (!sys::Memory::setRangeExecutable(Addr, 16))
234 return Addr;
/external/llvm/lib/Target/PowerPC/
H A DPPCJITInfo.cpp362 extern "C" void sys_icache_invalidate(const void *Addr, size_t len);
371 void *Addr = (void*)JCE.getCurrentPCValue(); local
379 EmitBranchToAt((intptr_t)Addr, (intptr_t)Fn, false, is64Bit);
380 sys::Memory::InvalidateInstructionCache(Addr, 7*4);
381 return Addr;
384 void *Addr = (void*)JCE.getCurrentPCValue(); local
407 sys::Memory::InvalidateInstructionCache(Addr, 10*4);
408 return Addr;
/external/llvm/lib/Target/XCore/
H A DXCoreISelDAGToDAG.cpp70 bool SelectADDRspii(SDValue Addr, SDValue &Base, SDValue &Offset);
71 bool SelectADDRdpii(SDValue Addr, SDValue &Base, SDValue &Offset);
72 bool SelectADDRcpii(SDValue Addr, SDValue &Base, SDValue &Offset);
91 bool XCoreDAGToDAGISel::SelectADDRspii(SDValue Addr, SDValue &Base, argument
94 if ((FIN = dyn_cast<FrameIndexSDNode>(Addr))) {
99 if (Addr.getOpcode() == ISD::ADD) {
101 if ((FIN = dyn_cast<FrameIndexSDNode>(Addr.getOperand(0)))
102 && (CN = dyn_cast<ConstantSDNode>(Addr.getOperand(1)))
113 bool XCoreDAGToDAGISel::SelectADDRdpii(SDValue Addr, SDValue &Base, argument
115 if (Addr
134 SelectADDRcpii(SDValue Addr, SDValue &Base, SDValue &Offset) argument
264 SDValue Addr = N->getOperand(1); local
[all...]

Completed in 498 milliseconds

1234