Home
last modified time | relevance | path

Searched refs:intptr_t (Results 1 – 25 of 410) sorted by relevance

12345678910>>...17

/external/llvm/lib/Target/ARM/
DARMJITInfo.cpp116 extern "C" void ARMCompilationCallbackC(intptr_t StubAddr) { in ARMCompilationCallbackC()
118 intptr_t NewVal = (intptr_t)JITCompilerFunction((void*)StubAddr); in ARMCompilationCallbackC()
128 *(intptr_t *)StubAddr = 0xe51ff004; // ldr pc, [pc, #-4] in ARMCompilationCallbackC()
129 *(intptr_t *)(StubAddr+4) = NewVal; in ARMCompilationCallbackC()
145 MachineCodeEmitter::emitWordLEInto(Cur, (intptr_t)Ptr); in emitGlobalValueIndirectSym()
148 addIndirectSymAddr(Ptr, (intptr_t)PtrAddr); in emitGlobalValueIndirectSym()
164 if (Fn != (void*)(intptr_t)ARMCompilationCallback) { in emitFunctionStub()
168 intptr_t LazyPtr = getIndirectSymAddr(Fn); in emitFunctionStub()
171 LazyPtr= (intptr_t)emitGlobalValueIndirectSym((const GlobalValue*)F, Fn, JCE); in emitFunctionStub()
187 JCE.emitWordLE(LazyPtr - (intptr_t(Addr)+4+8)); // func - (L_func$scv+8) in emitFunctionStub()
[all …]
DARMJITInfo.h31 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/
DX86JITInfo.cpp38 unsigned NewAddr = (intptr_t)New; in replaceMachineCodeForFunction()
39 unsigned OldAddr = (intptr_t)OldWord; in replaceMachineCodeForFunction()
303 void LLVMX86CompilationCallback2(intptr_t *StackPtr, intptr_t RetAddr);
342 LLVM_LIBRARY_VISIBILITY void LLVMX86CompilationCallback2(intptr_t *StackPtr, in LLVMX86CompilationCallback2()
343 intptr_t RetAddr) { in LLVMX86CompilationCallback2()
344 intptr_t *RetAddrLoc = &StackPtr[1]; in LLVMX86CompilationCallback2()
376 intptr_t NewVal = (intptr_t)JITCompilerFunction((void*)RetAddr); in LLVMX86CompilationCallback2()
385 *(intptr_t *)RetAddr = (intptr_t)(NewVal-RetAddr-4); in LLVMX86CompilationCallback2()
398 intptr_t diff = NewVal-RetAddr+7; in LLVMX86CompilationCallback2()
401 *(intptr_t *)(RetAddr-0xb) = diff & 0xffffffff; in LLVMX86CompilationCallback2()
[all …]
/external/webkit/Source/WebCore/bindings/scripts/test/JS/
DJSTestObj.cpp60 …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/v8/src/
Dplatform-tls-win32.h42 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()
Dsmall-pointer-list.h64 ASSERT(IsAligned(reinterpret_cast<intptr_t>(list), kPointerAlignment)); in Reserve()
65 data_ = reinterpret_cast<intptr_t>(list) | kListTag; in Reserve()
81 ASSERT(IsAligned(reinterpret_cast<intptr_t>(pointer), kPointerAlignment)); in Add()
83 data_ = reinterpret_cast<intptr_t>(pointer) | kSingletonTag; in Add()
90 ASSERT(IsAligned(reinterpret_cast<intptr_t>(list), kPointerAlignment)); in Add()
91 data_ = reinterpret_cast<intptr_t>(list) | kListTag; in Add()
162 static const intptr_t kEmptyTag = 1;
163 static const intptr_t kSingletonTag = 0;
164 static const intptr_t kListTag = 2;
165 static const intptr_t kTagMask = 3;
[all …]
Dplatform-tls-mac.h40 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()
Dspaces.h322 if ((reinterpret_cast<intptr_t>(owner_) & kFailureTagMask) == in owner()
331 ASSERT((reinterpret_cast<intptr_t>(space) & kFailureTagMask) == 0); in set_owner()
333 ASSERT((reinterpret_cast<intptr_t>(owner_) & kFailureTagMask) == in set_owner()
440 void SetFlags(intptr_t flags, intptr_t mask) { in SetFlags()
445 intptr_t GetFlags() { return flags_; } in GetFlags()
477 static const intptr_t kAlignment =
480 static const intptr_t kAlignmentMask = kAlignment - 1;
482 static const intptr_t kSizeOffset = kPointerSize + kPointerSize;
484 static const intptr_t kLiveBytesOffset =
549 const intptr_t offset = in FastAddressToMarkbitIndex()
[all …]
Dv8globals.h41 const intptr_t kSmiSignMask = kIntptrSignBit;
44 const intptr_t kObjectAlignment = 1 << kObjectAlignmentBits;
45 const intptr_t kObjectAlignmentMask = kObjectAlignment - 1;
48 const intptr_t kPointerAlignment = (1 << kPointerSizeLog2);
49 const intptr_t kPointerAlignmentMask = kPointerAlignment - 1;
53 const intptr_t kMapAlignmentBits = kObjectAlignmentBits;
55 const intptr_t kMapAlignmentBits = kObjectAlignmentBits + 3;
57 const intptr_t kMapAlignment = (1 << kMapAlignmentBits);
58 const intptr_t kMapAlignmentMask = kMapAlignment - 1;
63 const intptr_t kCodeAlignment = 1 << kCodeAlignmentBits;
[all …]
Ddeoptimizer.h301 void AddDoubleValue(intptr_t slot_address, double value);
373 intptr_t GetFrameSlot(unsigned offset) { in GetFrameSlot()
378 intptr_t* ptr = GetFrameSlotPointer(offset); in GetDoubleFrameSlot()
394 void SetFrameSlot(unsigned offset, intptr_t value) { in SetFrameSlot()
398 intptr_t GetRegister(unsigned n) const { in GetRegister()
408 void SetRegister(unsigned n, intptr_t value) { in SetRegister()
418 intptr_t GetTop() const { return top_; } in GetTop()
419 void SetTop(intptr_t top) { top_ = top; } in SetTop()
421 intptr_t GetPc() const { return pc_; } in GetPc()
422 void SetPc(intptr_t pc) { pc_ = pc; } in SetPc()
[all …]
Dincremental-marking.h97 static const intptr_t kAllocatedThreshold = 65536;
99 static const intptr_t kInitialAllocationMarkingFactor = 1;
102 static const intptr_t kFastMarking = 3;
104 static const intptr_t kAllocationMarkingFactorSpeedupInterval = 1024;
106 static const intptr_t kAllocationMarkingFactorSpeedup = 2;
107 static const intptr_t kMaxAllocationMarkingFactor = 1000;
109 void OldSpaceStep(intptr_t allocated) { in OldSpaceStep()
114 void Step(intptr_t allocated, CompletionAction action);
274 intptr_t bytes_scanned_;
275 intptr_t allocated_;
Dheap.h319 limit_ = reinterpret_cast<intptr_t*>(limit); in SetNewLimit()
349 reinterpret_cast<intptr_t*>(front_page->prev_page()->area_end()); in remove()
360 intptr_t* front_;
361 intptr_t* rear_;
362 intptr_t* limit_;
439 intptr_t max_old_gen_size,
440 intptr_t max_executable_size);
464 intptr_t MaxReserved() { in MaxReserved()
470 intptr_t MaxOldGenerationSize() { return max_old_generation_size_; } in MaxOldGenerationSize()
471 intptr_t MaxExecutableSize() { return max_executable_size_; } in MaxExecutableSize()
[all …]
/external/llvm/lib/Target/Mips/
DMipsJITInfo.cpp30 unsigned NewAddr = (intptr_t)New; in replaceMachineCodeForFunction()
31 unsigned OldAddr = (intptr_t)Old; in replaceMachineCodeForFunction()
164 extern "C" void MipsCompilationCallbackC(intptr_t StubAddr) { in MipsCompilationCallbackC()
166 intptr_t NewVal = (intptr_t) JITCompilerFunction((void*) StubAddr); in MipsCompilationCallbackC()
181 *(intptr_t *)(StubAddr) = 0xf << 26 | 25 << 16 | Hi; in MipsCompilationCallbackC()
182 *(intptr_t *)(StubAddr + 4) = 9 << 26 | 25 << 21 | 25 << 16 | Lo; in MipsCompilationCallbackC()
183 *(intptr_t *)(StubAddr + 8) = 25 << 21 | 8; in MipsCompilationCallbackC()
184 *(intptr_t *)(StubAddr + 12) = 0; in MipsCompilationCallbackC()
209 intptr_t EmittedAddr; in emitFunctionStub()
210 if (Fn != (void*)(intptr_t)MipsCompilationCallback) in emitFunctionStub()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCJITInfo.cpp50 intptr_t Offset = ((intptr_t)To - (intptr_t)At) >> 2; in EmitBranchToAt()
51 unsigned *AtI = (unsigned*)(intptr_t)At; in EmitBranchToAt()
311 intptr_t Offset = ((intptr_t)Target - (intptr_t)OrigCallAddr) >> 2; in LLVMPPCCompilationCallback()
334 EmitBranchToAt((intptr_t)StubCallAddr, (intptr_t)Target, false, is64Bit); in LLVMPPCCompilationCallback()
370 if (Fn != (void*)(intptr_t)PPC32CompilationCallback && in emitFunctionStub()
371 Fn != (void*)(intptr_t)PPC64CompilationCallback) { in emitFunctionStub()
380 EmitBranchToAt((intptr_t)Addr, (intptr_t)Fn, false, is64Bit); in emitFunctionStub()
399 intptr_t BranchAddr = (intptr_t)JCE.getCurrentPCValue(); in emitFunctionStub()
407 EmitBranchToAt(BranchAddr, (intptr_t)Fn, true, is64Bit); in emitFunctionStub()
417 intptr_t ResultPtr = (intptr_t)MR->getResultPointer(); in relocate()
[all …]
/external/clang/test/Sema/
Dstatic-init.c3 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}; // expected-error {{initializer element is not a compile-time consta…
24 intptr_t z = (intptr_t) u; // no-error
/external/webkit/Source/JavaScriptCore/interpreter/
DRegisterFile.cpp50 …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/
DScriptDebugServer.h99 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/include/llvm/ADT/
DPointerIntPair.h42 intptr_t Value;
46 ~(uintptr_t)(((intptr_t)1 << PtrTraits::NumLowBitsAvailable)-1),
53 IntMask = (uintptr_t)(((intptr_t)1 << IntBits)-1),
79 intptr_t PtrVal in setPointer()
80 = reinterpret_cast<intptr_t>(PtrTraits::getAsVoidPointer(Ptr)); in setPointer()
88 intptr_t IntVal = Int; in setInt()
97 intptr_t PtrVal in initWithPointer()
98 = reinterpret_cast<intptr_t>(PtrTraits::getAsVoidPointer(Ptr)); in initWithPointer()
105 intptr_t PtrVal in setPointerAndInt()
106 = reinterpret_cast<intptr_t>(PtrTraits::getAsVoidPointer(Ptr)); in setPointerAndInt()
[all …]
/external/webkit/Source/JavaScriptCore/debugger/
DDebugger.h45 …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/
DRetainedDOMInfo.cpp59 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/
DWebScriptDebugger.h57 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/
DJSLock.cpp54 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/v8/src/x64/
Ddeoptimizer-x64.cc109 PrintF(" / %" V8PRIxPTR "]\n", reinterpret_cast<intptr_t>(function)); in DeoptimizeFunction()
238 reinterpret_cast<intptr_t>(function_)); in DoComputeOsrOutputFrame()
276 intptr_t input_value = input_->GetFrameSlot(input_offset); in DoComputeOsrOutputFrame()
314 output_[0]->SetPc(reinterpret_cast<intptr_t>(from_)); in DoComputeOsrOutputFrame()
321 intptr_t pc = reinterpret_cast<intptr_t>( in DoComputeOsrOutputFrame()
328 reinterpret_cast<intptr_t>(continuation->entry())); in DoComputeOsrOutputFrame()
333 reinterpret_cast<intptr_t>(function)); in DoComputeOsrOutputFrame()
364 intptr_t top_address; in DoComputeArgumentsAdaptorFrame()
378 intptr_t callers_pc = output_[frame_index - 1]->GetPc(); in DoComputeArgumentsAdaptorFrame()
388 intptr_t value = output_[frame_index - 1]->GetFp(); in DoComputeArgumentsAdaptorFrame()
[all …]
/external/webkit/Source/JavaScriptCore/bytecode/
DSamplingTool.h163 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;
/external/llvm/include/llvm/CodeGen/
DMachineRelocation.h55 intptr_t ConstantVal;
83 GlobalValue *GV, intptr_t cst = 0,
103 GlobalValue *GV, intptr_t cst = 0,
122 MachineBasicBlock *MBB, intptr_t cst = 0) {
140 const char *ES, intptr_t cst = 0,
160 unsigned CPI, intptr_t cst = 0,
179 unsigned JTI, intptr_t cst = 0,
196 intptr_t getMachineCodeOffset() const { in getMachineCodeOffset()
209 intptr_t getConstantVal() const { in getConstantVal()
216 void setConstantVal(intptr_t val) { in setConstantVal()

12345678910>>...17