/external/llvm/lib/Target/ARM/ |
D | ARMJITInfo.cpp | 117 extern "C" void ARMCompilationCallbackC(intptr_t StubAddr) { in ARMCompilationCallbackC() 119 intptr_t NewVal = (intptr_t)JITCompilerFunction((void*)StubAddr); in ARMCompilationCallbackC() 129 *(intptr_t *)StubAddr = 0xe51ff004; // ldr pc, [pc, #-4] in ARMCompilationCallbackC() 130 *(intptr_t *)(StubAddr+4) = NewVal; in ARMCompilationCallbackC() 146 MachineCodeEmitter::emitWordLEInto(Cur, (intptr_t)Ptr); in emitGlobalValueIndirectSym() 149 addIndirectSymAddr(Ptr, (intptr_t)PtrAddr); in emitGlobalValueIndirectSym() 165 if (Fn != (void*)(intptr_t)ARMCompilationCallback) { in emitFunctionStub() 169 intptr_t LazyPtr = getIndirectSymAddr(Fn); in emitFunctionStub() 172 LazyPtr= (intptr_t)emitGlobalValueIndirectSym((GlobalValue*)F, Fn, JCE); in emitFunctionStub() 188 JCE.emitWordLE(LazyPtr - (intptr_t(Addr)+4+8)); // func - (L_func$scv+8) in emitFunctionStub() [all …]
|
D | ARMJITInfo.h | 31 SmallVector<intptr_t, 16> ConstPoolId2AddrMap; 35 SmallVector<intptr_t, 16> JumpTableId2AddrMap; 38 DenseMap<unsigned, intptr_t> PCLabelMap; 42 DenseMap<void*, intptr_t> Sym2IndirectSymMap; 116 intptr_t getConstantPoolEntryAddr(unsigned CPI) const { in getConstantPoolEntryAddr() 124 void addConstantPoolEntryAddr(unsigned CPI, intptr_t Addr) { in addConstantPoolEntryAddr() 132 intptr_t getJumpTableBaseAddr(unsigned JTI) const { in getJumpTableBaseAddr() 141 void addJumpTableBaseAddr(unsigned JTI, intptr_t Addr) { in addJumpTableBaseAddr() 148 intptr_t getPCLabelAddr(unsigned Id) const { in getPCLabelAddr() 149 DenseMap<unsigned, intptr_t>::const_iterator I = PCLabelMap.find(Id); in getPCLabelAddr() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86JITInfo.cpp | 38 unsigned NewAddr = (intptr_t)New; in replaceMachineCodeForFunction() 39 unsigned OldAddr = (intptr_t)OldWord; in replaceMachineCodeForFunction() 303 void X86CompilationCallback2(intptr_t *StackPtr, intptr_t RetAddr); 349 X86CompilationCallback2(intptr_t *StackPtr, intptr_t RetAddr) { in X86CompilationCallback2() 350 intptr_t *RetAddrLoc = &StackPtr[1]; in X86CompilationCallback2() 379 intptr_t NewVal = (intptr_t)JITCompilerFunction((void*)RetAddr); in X86CompilationCallback2() 388 *(intptr_t *)RetAddr = (intptr_t)(NewVal-RetAddr-4); in X86CompilationCallback2() 401 intptr_t diff = NewVal-RetAddr+7; in X86CompilationCallback2() 404 *(intptr_t *)(RetAddr-0xb) = diff & 0xffffffff; in X86CompilationCallback2() 406 *(intptr_t *)(RetAddr - 0xa) = NewVal; in X86CompilationCallback2() [all …]
|
/external/webkit/Source/WebCore/bindings/scripts/test/JS/ |
D | JSTestObj.cpp | 60 …IntAttr", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjReadOn… 61 …gAttr", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjReadOnly… 62 …jAttr", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjReadOnly… 63 …{ "shortAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjShortAttr), … 64 …unsignedShortAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjUnsigne… 65 …{ "intAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjIntAttr), (int… 66 …{ "longLongAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjLongLongA… 67 …nedLongLongAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjUnsignedL… 68 …{ "stringAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjStringAttr)… 69 …{ "testObjAttr", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjTestObjAtt… [all …]
|
/external/valgrind/tsan/ |
D | thread_sanitizer.h | 52 intptr_t verbosity; 53 intptr_t show_stats; // 0 -- no stats; 1 -- some stats; 2 more stats. 67 intptr_t max_n_threads; 71 intptr_t sample_events; 72 intptr_t sample_events_depth; 74 intptr_t num_callers; 76 intptr_t keep_history; 93 intptr_t debug_level; 96 intptr_t trace_level; 98 intptr_t dry_run; [all …]
|
/external/llvm/lib/ExecutionEngine/JIT/ |
D | Intercept.cpp | 63 sys::DynamicLibrary::AddSymbol("stat", (void*)(intptr_t)stat); in StatSymbols() 64 sys::DynamicLibrary::AddSymbol("fstat", (void*)(intptr_t)fstat); in StatSymbols() 65 sys::DynamicLibrary::AddSymbol("lstat", (void*)(intptr_t)lstat); in StatSymbols() 66 sys::DynamicLibrary::AddSymbol("stat64", (void*)(intptr_t)stat64); in StatSymbols() 67 sys::DynamicLibrary::AddSymbol("\x1stat64", (void*)(intptr_t)stat64); in StatSymbols() 68 sys::DynamicLibrary::AddSymbol("\x1open64", (void*)(intptr_t)open64); in StatSymbols() 69 sys::DynamicLibrary::AddSymbol("\x1lseek64", (void*)(intptr_t)lseek64); in StatSymbols() 70 sys::DynamicLibrary::AddSymbol("fstat64", (void*)(intptr_t)fstat64); in StatSymbols() 71 sys::DynamicLibrary::AddSymbol("lstat64", (void*)(intptr_t)lstat64); in StatSymbols() 72 sys::DynamicLibrary::AddSymbol("atexit", (void*)(intptr_t)atexit); in StatSymbols() [all …]
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
D | Intercept.cpp | 63 sys::DynamicLibrary::AddSymbol("stat", (void*)(intptr_t)stat); in StatSymbols() 64 sys::DynamicLibrary::AddSymbol("fstat", (void*)(intptr_t)fstat); in StatSymbols() 65 sys::DynamicLibrary::AddSymbol("lstat", (void*)(intptr_t)lstat); in StatSymbols() 66 sys::DynamicLibrary::AddSymbol("stat64", (void*)(intptr_t)stat64); in StatSymbols() 67 sys::DynamicLibrary::AddSymbol("\x1stat64", (void*)(intptr_t)stat64); in StatSymbols() 68 sys::DynamicLibrary::AddSymbol("\x1open64", (void*)(intptr_t)open64); in StatSymbols() 69 sys::DynamicLibrary::AddSymbol("\x1lseek64", (void*)(intptr_t)lseek64); in StatSymbols() 70 sys::DynamicLibrary::AddSymbol("fstat64", (void*)(intptr_t)fstat64); in StatSymbols() 71 sys::DynamicLibrary::AddSymbol("lstat64", (void*)(intptr_t)lstat64); in StatSymbols() 72 sys::DynamicLibrary::AddSymbol("atexit", (void*)(intptr_t)atexit); in StatSymbols() [all …]
|
D | MCJIT.cpp | 145 (int(*)(int, char **, const char **))(intptr_t)FPtr; in runFunction() 158 int (*PF)(int, char **) = (int(*)(int, char **))(intptr_t)FPtr; in runFunction() 171 int (*PF)(int) = (int(*)(int))(intptr_t)FPtr; in runFunction() 187 rv.IntVal = APInt(BitWidth, ((bool(*)())(intptr_t)FPtr)()); in runFunction() 189 rv.IntVal = APInt(BitWidth, ((char(*)())(intptr_t)FPtr)()); in runFunction() 191 rv.IntVal = APInt(BitWidth, ((short(*)())(intptr_t)FPtr)()); in runFunction() 193 rv.IntVal = APInt(BitWidth, ((int(*)())(intptr_t)FPtr)()); in runFunction() 195 rv.IntVal = APInt(BitWidth, ((int64_t(*)())(intptr_t)FPtr)()); in runFunction() 201 rv.IntVal = APInt(32, ((int(*)())(intptr_t)FPtr)()); in runFunction() 204 rv.FloatVal = ((float(*)())(intptr_t)FPtr)(); in runFunction() [all …]
|
/external/v8/src/ |
D | platform-tls-win32.h | 42 inline intptr_t InternalGetExistingThreadLocal(intptr_t index) { in InternalGetExistingThreadLocal() 43 const intptr_t kTibInlineTlsOffset = 0xE10; in InternalGetExistingThreadLocal() 44 const intptr_t kTibExtraTlsOffset = 0xF94; in InternalGetExistingThreadLocal() 45 const intptr_t kMaxInlineSlots = 64; in InternalGetExistingThreadLocal() 46 const intptr_t kMaxSlots = kMaxInlineSlots + 1024; in InternalGetExistingThreadLocal() 49 return static_cast<intptr_t>(__readfsdword(kTibInlineTlsOffset + in InternalGetExistingThreadLocal() 52 intptr_t extra = static_cast<intptr_t>(__readfsdword(kTibExtraTlsOffset)); in InternalGetExistingThreadLocal() 54 return *reinterpret_cast<intptr_t*>(extra + in InternalGetExistingThreadLocal()
|
D | platform-tls-mac.h | 40 extern intptr_t kMacTlsBaseOffset; 42 INLINE(intptr_t InternalGetExistingThreadLocal(intptr_t index)); 44 inline intptr_t InternalGetExistingThreadLocal(intptr_t index) { in InternalGetExistingThreadLocal() 45 intptr_t result; in InternalGetExistingThreadLocal()
|
D | small-pointer-list.h | 56 ASSERT(IsAligned(reinterpret_cast<intptr_t>(pointer), kPointerAlignment)); in Add() 58 data_ = reinterpret_cast<intptr_t>(pointer) | kSingletonTag; in Add() 65 ASSERT(IsAligned(reinterpret_cast<intptr_t>(list), kPointerAlignment)); in Add() 66 data_ = reinterpret_cast<intptr_t>(list) | kListTag; in Add() 137 static const intptr_t kEmptyTag = 1; 138 static const intptr_t kSingletonTag = 0; 139 static const intptr_t kListTag = 2; 140 static const intptr_t kTagMask = 3; 141 static const intptr_t kValueMask = ~kTagMask; 156 intptr_t data_;
|
D | spaces.h | 243 static const intptr_t kPageAlignmentMask = (1 << kPageSizeBits) - 1; 262 static const intptr_t kRegionAlignmentMask = (kRegionSize - 1); 328 intptr_t opaque_header; 337 intptr_t flags_; 376 virtual intptr_t Size() = 0; 380 virtual intptr_t SizeOfObjects() { return Size(); } in SizeOfObjects() 510 bool Setup(intptr_t max_capacity, intptr_t capacity_executable); 599 intptr_t Available() { return capacity_ < size_ ? 0 : capacity_ - size_; } in Available() 602 intptr_t Size() { return size_; } in Size() 605 intptr_t AvailableExecutable() { in AvailableExecutable() [all …]
|
D | deoptimizer.h | 259 void AddDoubleValue(intptr_t slot_address, double value); 310 intptr_t GetFrameSize() const { return frame_size_; } in GetFrameSize() 316 intptr_t GetFrameSlot(unsigned offset) { in GetFrameSlot() 324 void SetFrameSlot(unsigned offset, intptr_t value) { in SetFrameSlot() 328 intptr_t GetRegister(unsigned n) const { in GetRegister() 338 void SetRegister(unsigned n, intptr_t value) { in SetRegister() 348 intptr_t GetTop() const { return top_; } in GetTop() 349 void SetTop(intptr_t top) { top_ = top; } in SetTop() 351 intptr_t GetPc() const { return pc_; } in GetPc() 352 void SetPc(intptr_t pc) { pc_ = pc; } in SetPc() [all …]
|
D | v8globals.h | 40 const intptr_t kSmiSignMask = kIntptrSignBit; 43 const intptr_t kObjectAlignment = 1 << kObjectAlignmentBits; 44 const intptr_t kObjectAlignmentMask = kObjectAlignment - 1; 47 const intptr_t kPointerAlignment = (1 << kPointerSizeLog2); 48 const intptr_t kPointerAlignmentMask = kPointerAlignment - 1; 52 const intptr_t kMapAlignmentBits = kObjectAlignmentBits; 54 const intptr_t kMapAlignmentBits = kObjectAlignmentBits + 3; 56 const intptr_t kMapAlignment = (1 << kMapAlignmentBits); 57 const intptr_t kMapAlignmentMask = kMapAlignment - 1; 62 const intptr_t kCodeAlignment = 1 << kCodeAlignmentBits; [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCJITInfo.cpp | 50 intptr_t Offset = ((intptr_t)To - (intptr_t)At) >> 2; in EmitBranchToAt() 51 unsigned *AtI = (unsigned*)(intptr_t)At; in EmitBranchToAt() 309 intptr_t Offset = ((intptr_t)Target - (intptr_t)OrigCallAddr) >> 2; in PPCCompilationCallbackC() 332 EmitBranchToAt((intptr_t)StubCallAddr, (intptr_t)Target, false, is64Bit); in PPCCompilationCallbackC() 367 if (Fn != (void*)(intptr_t)PPC32CompilationCallback && in emitFunctionStub() 368 Fn != (void*)(intptr_t)PPC64CompilationCallback) { in emitFunctionStub() 377 EmitBranchToAt((intptr_t)Addr, (intptr_t)Fn, false, is64Bit); in emitFunctionStub() 396 intptr_t BranchAddr = (intptr_t)JCE.getCurrentPCValue(); in emitFunctionStub() 404 EmitBranchToAt(BranchAddr, (intptr_t)Fn, true, is64Bit); in emitFunctionStub() 414 intptr_t ResultPtr = (intptr_t)MR->getResultPointer(); in relocate() [all …]
|
/external/webkit/Source/JavaScriptCore/interpreter/ |
D | RegisterFile.cpp | 50 …m_reservation.decommit(base, reinterpret_cast<intptr_t>(m_commitEnd) - reinterpret_cast<intptr_t>(… in ~RegisterFile() 51 …addToCommittedByteCount(-(reinterpret_cast<intptr_t>(m_commitEnd) - reinterpret_cast<intptr_t>(bas… in ~RegisterFile() 67 …m_reservation.decommit(m_start, reinterpret_cast<intptr_t>(m_commitEnd) - reinterpret_cast<intptr_… in releaseExcessCapacity() 68 …addToCommittedByteCount(-(reinterpret_cast<intptr_t>(m_commitEnd) - reinterpret_cast<intptr_t>(m_s… in releaseExcessCapacity()
|
/external/webkit/Source/WebCore/bindings/js/ |
D | ScriptDebugServer.h | 99 bool hasBreakpoint(intptr_t sourceID, const TextPosition0&) const; 108 …void createCallFrameAndPauseIfNeeded(const JSC::DebuggerCallFrame&, intptr_t sourceID, int lineNum… 109 …void updateCallFrameAndPauseIfNeeded(const JSC::DebuggerCallFrame&, intptr_t sourceID, int lineNum… 115 virtual void callEvent(const JSC::DebuggerCallFrame&, intptr_t sourceID, int lineNumber); 116 virtual void atStatement(const JSC::DebuggerCallFrame&, intptr_t sourceID, int firstLine); 117 virtual void returnEvent(const JSC::DebuggerCallFrame&, intptr_t sourceID, int lineNumber); 118 …virtual void exception(const JSC::DebuggerCallFrame&, intptr_t sourceID, int lineNumber, bool hasH… 119 virtual void willExecuteProgram(const JSC::DebuggerCallFrame&, intptr_t sourceID, int lineno); 120 virtual void didExecuteProgram(const JSC::DebuggerCallFrame&, intptr_t sourceID, int lineno); 121 virtual void didReachBreakpoint(const JSC::DebuggerCallFrame&, intptr_t sourceID, int lineno); [all …]
|
/external/llvm/lib/Support/ |
D | Memory.cpp | 53 const intptr_t Mask = ~(LineSize - 1); in InvalidateInstructionCache() 54 const intptr_t StartLine = ((intptr_t) Addr) & Mask; in InvalidateInstructionCache() 55 const intptr_t EndLine = ((intptr_t) Addr + Len + LineSize - 1) & Mask; in InvalidateInstructionCache() 57 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize) in InvalidateInstructionCache() 61 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize) in InvalidateInstructionCache()
|
/external/webkit/Source/JavaScriptCore/debugger/ |
D | Debugger.h | 45 …virtual void exception(const DebuggerCallFrame&, intptr_t sourceID, int lineNumber, bool hasHandle… 46 virtual void atStatement(const DebuggerCallFrame&, intptr_t sourceID, int lineNumber) = 0; 47 virtual void callEvent(const DebuggerCallFrame&, intptr_t sourceID, int lineNumber) = 0; 48 virtual void returnEvent(const DebuggerCallFrame&, intptr_t sourceID, int lineNumber) = 0; 50 … virtual void willExecuteProgram(const DebuggerCallFrame&, intptr_t sourceID, int lineNumber) = 0; 51 … virtual void didExecuteProgram(const DebuggerCallFrame&, intptr_t sourceID, int lineNumber) = 0; 52 … virtual void didReachBreakpoint(const DebuggerCallFrame&, intptr_t sourceID, int lineNumber) = 0;
|
/external/webkit/Source/WebCore/bindings/v8/ |
D | RetainedDOMInfo.cpp | 59 intptr_t RetainedDOMInfo::GetHash() in GetHash() 61 return reinterpret_cast<intptr_t>(m_root); in GetHash() 69 intptr_t RetainedDOMInfo::GetElementCount() in GetElementCount() 71 intptr_t count = 1; in GetElementCount() 80 intptr_t RetainedDOMInfo::GetEquivalenceClass() in GetEquivalenceClass() 82 return reinterpret_cast<intptr_t>(m_root); in GetEquivalenceClass()
|
/external/webkit/Source/WebKit/mac/WebView/ |
D | WebScriptDebugger.h | 57 virtual void callEvent(const JSC::DebuggerCallFrame&, intptr_t sourceID, int lineNumber); 58 virtual void atStatement(const JSC::DebuggerCallFrame&, intptr_t sourceID, int lineNumber); 59 virtual void returnEvent(const JSC::DebuggerCallFrame&, intptr_t sourceID, int lineNumber); 60 …virtual void exception(const JSC::DebuggerCallFrame&, intptr_t sourceID, int lineNumber, bool hasH… 61 virtual void willExecuteProgram(const JSC::DebuggerCallFrame&, intptr_t sourceID, int lineno); 62 virtual void didExecuteProgram(const JSC::DebuggerCallFrame&, intptr_t sourceID, int lineno); 63 virtual void didReachBreakpoint(const JSC::DebuggerCallFrame&, intptr_t sourceID, int lineno);
|
/external/webkit/Source/JavaScriptCore/runtime/ |
D | JSLock.cpp | 54 intptr_t JSLock::lockCount() in lockCount() 58 return reinterpret_cast<intptr_t>(pthread_getspecific(JSLockCount)); in lockCount() 61 static void setLockCount(intptr_t count) in setLockCount() 89 intptr_t currentLockCount = lockCount(); in lock() 108 intptr_t newLockCount = lockCount() - 1; in unlock() 186 for (intptr_t i = 0; i < m_lockCount; i++) in DropAllLocks() 204 for (intptr_t i = 0; i < m_lockCount; i++) in DropAllLocks() 210 for (intptr_t i = 0; i < m_lockCount; i++) in ~DropAllLocks() 225 intptr_t JSLock::lockCount()
|
/external/clang/test/Sema/ |
D | static-init.c | 3 typedef __typeof((int*) 0 - (int*) 0) intptr_t; typedef 8 float r = (float) (intptr_t) &r; // expected-error {{initializer element is not a compile-time con… 9 intptr_t s = (intptr_t) &s; 22 struct foo x = {(intptr_t) u}; // no-error
|
/external/llvm/include/llvm/ADT/ |
D | PointerIntPair.h | 42 intptr_t Value; 46 ~(uintptr_t)(((intptr_t)1 << PtrTraits::NumLowBitsAvailable)-1), 53 IntMask = (uintptr_t)(((intptr_t)1 << IntBits)-1), 77 intptr_t PtrVal in setPointer() 78 = reinterpret_cast<intptr_t>(PtrTraits::getAsVoidPointer(Ptr)); in setPointer() 86 intptr_t IntVal = Int; in setInt() 95 assert(Value == reinterpret_cast<intptr_t>(getPointer()) && in getAddrOfPointer() 102 void setFromOpaqueValue(void *Val) { Value = reinterpret_cast<intptr_t>(Val);} in setFromOpaqueValue() 127 intptr_t Val = -1; 132 intptr_t Val = -2;
|
/external/webkit/Source/JavaScriptCore/bytecode/ |
D | SamplingTool.h | 163 intptr_t m_savedSample; 221 ASSERT(!(reinterpret_cast<intptr_t>(vPC) & 0x3)); in sample() 223 m_sample = reinterpret_cast<intptr_t>(vPC); in sample() 227 intptr_t* sampleSlot() { return &m_sample; } in sampleSlot() 231 ASSERT(!(reinterpret_cast<intptr_t>(vPC) & 0x3)); 232 …rpret_cast<void*>(reinterpret_cast<intptr_t>(vPC) | (static_cast<intptr_t>(inCTIFunction) << 1) | … 240 Sample(volatile intptr_t sample, CodeBlock* volatile codeBlock) in Sample() 253 intptr_t m_sample; 264 intptr_t m_sample;
|