Searched refs:MacroAssembler (Results 1 - 25 of 46) sorted by relevance

12

/macosx-10.9.5/JavaScriptCore-7537.78.1/assembler/
H A DMacroAssembler.cpp27 #include "MacroAssembler.h"
33 const double MacroAssembler::twoToThe32 = (double)0x100000000ull;
H A DRepatchBuffer.h32 #include <MacroAssembler.h>
63 MacroAssembler::repatchJump(jump, destination);
68 MacroAssembler::repatchCall(call, destination);
73 MacroAssembler::repatchCall(call, destination);
78 MacroAssembler::repatchNearCall(nearCall, CodeLocationLabel(destination));
83 MacroAssembler::repatchNearCall(nearCall, destination);
88 MacroAssembler::repatchInt32(dataLabel32, value);
93 MacroAssembler::repatchCompact(dataLabelCompact, value);
98 MacroAssembler::repatchPointer(dataLabelPtr, value);
128 MacroAssembler
[all...]
H A DLinkBuffer.h38 #include "MacroAssembler.h"
64 typedef MacroAssembler::Label Label;
65 typedef MacroAssembler::Jump Jump;
66 typedef MacroAssembler::PatchableJump PatchableJump;
67 typedef MacroAssembler::JumpList JumpList;
68 typedef MacroAssembler::Call Call;
69 typedef MacroAssembler::DataLabelCompact DataLabelCompact;
70 typedef MacroAssembler::DataLabel32 DataLabel32;
71 typedef MacroAssembler::DataLabelPtr DataLabelPtr;
72 typedef MacroAssembler
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/jit/
H A DJITDisassembler.h34 #include "MacroAssembler.h"
48 void setStartOfCode(MacroAssembler::Label label) { m_startOfCode = label; }
49 void setForBytecodeMainPath(unsigned bytecodeIndex, MacroAssembler::Label label)
53 void setForBytecodeSlowPath(unsigned bytecodeIndex, MacroAssembler::Label label)
57 void setEndOfSlowPath(MacroAssembler::Label label) { m_endOfSlowPath = label; }
58 void setEndOfCode(MacroAssembler::Label label) { m_endOfCode = label; }
66 MacroAssembler::Label firstSlowLabel();
72 Vector<DumpedOp> dumpVectorForInstructions(LinkBuffer&, const char* prefix, Vector<MacroAssembler::Label>& labels, MacroAssembler::Label endLabel);
74 void dumpForInstructions(PrintStream&, LinkBuffer&, const char* prefix, Vector<MacroAssembler
[all...]
H A DJumpReplacementWatchpoint.h35 #include "MacroAssembler.h"
47 JumpReplacementWatchpoint(MacroAssembler::Label source)
53 MacroAssembler::Label sourceLabel() const
55 MacroAssembler::Label label;
60 void setDestination(MacroAssembler::Label destination)
H A DJumpReplacementWatchpoint.cpp38 MacroAssembler::Label label;
51 MacroAssembler::replaceWithJump(CodeLocationLabel(source), CodeLocationLabel(destination));
H A DJITDisassembler.cpp93 MacroAssembler::Label JITDisassembler::firstSlowLabel()
95 MacroAssembler::Label firstSlowLabel;
105 Vector<JITDisassembler::DumpedOp> JITDisassembler::dumpVectorForInstructions(LinkBuffer& linkBuffer, const char* prefix, Vector<MacroAssembler::Label>& labels, MacroAssembler::Label endLabel)
138 void JITDisassembler::dumpForInstructions(PrintStream& out, LinkBuffer& linkBuffer, const char* prefix, Vector<MacroAssembler::Label>& labels, MacroAssembler::Label endLabel)
146 void JITDisassembler::reportInstructions(Profiler::Compilation* compilation, LinkBuffer& linkBuffer, const char* prefix, Vector<MacroAssembler::Label>& labels, MacroAssembler::Label endLabel)
158 void JITDisassembler::dumpDisassembly(PrintStream& out, LinkBuffer& linkBuffer, MacroAssembler::Label from, MacroAssembler
[all...]
H A DJIT.h79 MacroAssembler::Call from;
87 CallRecord(MacroAssembler::Call from, unsigned bytecodeOffset, void* to = 0)
96 MacroAssembler::Jump from;
99 JumpTable(MacroAssembler::Jump f, unsigned t)
107 MacroAssembler::Jump from;
111 SlowCaseEntry(MacroAssembler::Jump f, unsigned t, unsigned h = 0)
160 MacroAssembler::Call callReturnLocation;
161 MacroAssembler::Label hotPathBegin;
162 MacroAssembler::DataLabelPtr getStructureToCompare;
163 MacroAssembler
[all...]
H A DThunkGenerators.cpp425 jit.load32(MacroAssembler::Address(SpecializedThunkJIT::regT0, ThunkHelpers::jsStringLengthOffset()), SpecializedThunkJIT::regT2);
426 jit.loadPtr(MacroAssembler::Address(SpecializedThunkJIT::regT0, ThunkHelpers::jsStringValueOffset()), SpecializedThunkJIT::regT0);
427 jit.appendFailure(jit.branchTest32(MacroAssembler::Zero, SpecializedThunkJIT::regT0));
433 jit.appendFailure(jit.branch32(MacroAssembler::AboveOrEqual, SpecializedThunkJIT::regT1, SpecializedThunkJIT::regT2));
439 jit.loadPtr(MacroAssembler::Address(SpecializedThunkJIT::regT0, StringImpl::flagsOffset()), SpecializedThunkJIT::regT2);
440 jit.loadPtr(MacroAssembler::Address(SpecializedThunkJIT::regT0, StringImpl::dataOffset()), SpecializedThunkJIT::regT0);
441 is16Bit.append(jit.branchTest32(MacroAssembler::Zero, SpecializedThunkJIT::regT2, MacroAssembler::TrustedImm32(StringImpl::flagIs8Bit())));
442 jit.load8(MacroAssembler::BaseIndex(SpecializedThunkJIT::regT0, SpecializedThunkJIT::regT1, MacroAssembler
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/dfg/
H A DDFGDisassembler.h35 #include "MacroAssembler.h"
49 void setStartOfCode(MacroAssembler::Label label) { m_startOfCode = label; }
50 void setForBlock(BlockIndex blockIndex, MacroAssembler::Label label)
54 void setForNode(Node* node, MacroAssembler::Label label)
59 void setEndOfMainPath(MacroAssembler::Label label)
63 void setEndOfCode(MacroAssembler::Label label)
88 void dumpDisassembly(PrintStream&, const char* prefix, LinkBuffer&, MacroAssembler::Label& previousLabel, MacroAssembler::Label currentLabel, Node* context);
91 MacroAssembler::Label m_startOfCode;
92 Vector<MacroAssembler
[all...]
H A DDFGOSRExitJumpPlaceholder.cpp36 void OSRExitJumpPlaceholder::fill(JITCompiler& jit, const MacroAssembler::JumpList& jumps)
43 void OSRExitJumpPlaceholder::fill(SpeculativeJIT* jit, const MacroAssembler::JumpList& jumps)
H A DDFGOSRExitCompilationInfo.h35 #include "MacroAssembler.h"
40 MacroAssembler::JumpList m_failureJumps;
H A DDFGCallArrayAllocatorSlowPathGenerator.h40 class CallArrayAllocatorSlowPathGenerator : public JumpingSlowPathGenerator<MacroAssembler::JumpList> {
43 MacroAssembler::JumpList from, SpeculativeJIT* jit, P_DFGOperation_EStZ function,
45 : JumpingSlowPathGenerator<MacroAssembler::JumpList>(from, jit)
66 jit->m_jit.loadPtr(MacroAssembler::Address(m_resultGPR, JSObject::butterflyOffset()), m_storageGPR);
79 class CallArrayAllocatorWithVariableSizeSlowPathGenerator : public JumpingSlowPathGenerator<MacroAssembler::JumpList> {
82 MacroAssembler::JumpList from, SpeculativeJIT* jit, P_DFGOperation_EStZ function,
84 : JumpingSlowPathGenerator<MacroAssembler::JumpList>(from, jit)
101 MacroAssembler::Jump bigLength = jit->m_jit.branch32(MacroAssembler::AboveOrEqual, m_sizeGPR, MacroAssembler
[all...]
H A DDFGOSRExitJumpPlaceholder.h34 #include "MacroAssembler.h"
59 void fill(JITCompiler&, const MacroAssembler::JumpList&);
60 void fill(SpeculativeJIT*, const MacroAssembler::JumpList&);
H A DDFGOSRExit.cpp53 void OSRExit::setPatchableCodeOffset(MacroAssembler::PatchableJump check)
58 MacroAssembler::Jump OSRExit::getPatchableCodeOffsetAsJump() const
60 return MacroAssembler::Jump(AssemblerLabel(m_patchableCodeOffset));
70 MacroAssembler::Label label;
H A DDFGScratchRegisterAllocator.h34 #include "MacroAssembler.h"
90 void preserveReusedRegistersByPushing(MacroAssembler& jit)
97 jit.subPtr(MacroAssembler::TrustedImm32(8), MacroAssembler::stackPointerRegister);
98 jit.storeDouble(FPRInfo::toRegister(i), MacroAssembler::stackPointerRegister);
107 void restoreReusedRegistersByPopping(MacroAssembler& jit)
118 jit.loadDouble(MacroAssembler::stackPointerRegister, FPRInfo::toRegister(i));
119 jit.addPtr(MacroAssembler::TrustedImm32(8), MacroAssembler::stackPointerRegister);
126 void preserveUsedRegistersToScratchBuffer(MacroAssembler
[all...]
H A DDFGJITCompiler.h42 #include "MacroAssembler.h"
68 CallLinkRecord(MacroAssembler::Call call, FunctionPtr function)
74 MacroAssembler::Call m_call;
143 CallExceptionRecord(MacroAssembler::Call call, CodeOrigin codeOrigin)
149 CallExceptionRecord(MacroAssembler::Call call, MacroAssembler::Jump exceptionCheck, CodeOrigin codeOrigin)
156 MacroAssembler::Call m_call;
157 MacroAssembler::Jump m_exceptionCheck;
167 MacroAssembler::DataLabelPtr structureImm,
168 MacroAssembler
343 appendExitInfo(MacroAssembler::JumpList jumpsToFail = MacroAssembler::JumpList()) argument
[all...]
H A DDFGArrayifySlowPathGenerator.h43 class ArrayifySlowPathGenerator : public JumpingSlowPathGenerator<MacroAssembler::JumpList> {
46 const MacroAssembler::JumpList& from, SpeculativeJIT* jit, Node* node, GPRReg baseGPR,
48 : JumpingSlowPathGenerator<MacroAssembler::JumpList>(from, jit)
88 MacroAssembler::AboveOrEqual, m_propertyGPR,
89 MacroAssembler::TrustedImm32(MIN_SPARSE_ARRAY_INDEX)));
126 MacroAssembler::NotEqual,
127 MacroAssembler::Address(m_baseGPR, JSCell::structureOffset()),
134 MacroAssembler::Address(m_baseGPR, JSCell::structureOffset()), m_structureGPR);
141 MacroAssembler::Address(m_structureGPR, Structure::indexingTypeOffset()), m_structureGPR);
H A DDFGSpeculativeJIT32_64.cpp56 m_jit.move(MacroAssembler::Imm32(valueOfInt32Constant(edge.node())), gpr);
62 m_jit.move(MacroAssembler::Imm32(jsValue.payload()), gpr);
251 JITCompiler::Jump positive = m_jit.branch32(MacroAssembler::GreaterThanOrEqual, op1.gpr(), TrustedImm32(0));
392 notCell = m_jit.branch32(MacroAssembler::NotEqual, argTagGPR, TrustedImm32(JSValue::CellTag));
402 notCell = m_jit.branch32(MacroAssembler::NotEqual, argTagGPR, TrustedImm32(JSValue::CellTag));
459 notCell = m_jit.branch32(MacroAssembler::NotEqual, argTagGPR, TrustedImm32(JSValue::CellTag));
468 notCell = m_jit.branch32(MacroAssembler::NotEqual, argTagGPR, TrustedImm32(JSValue::CellTag));
517 void SpeculativeJIT::nonSpeculativePeepholeBranch(Node* node, Node* branchNode, MacroAssembler::RelationalCondition cond, S_DFGOperation_EJJ helperFunction)
562 slowPath.append(m_jit.branch32(MacroAssembler::NotEqual, arg1TagGPR, JITCompiler::TrustedImm32(JSValue::Int32Tag)));
564 slowPath.append(m_jit.branch32(MacroAssembler
[all...]
H A DDFGRepatch.cpp79 MacroAssembler& jit, MacroAssembler::JumpList& failureCases, GPRReg scratchGPR)
86 jit.move(MacroAssembler::TrustedImmPtr(object), scratchGPR);
87 MacroAssembler::Jump ok = jit.branchPtr(
88 MacroAssembler::Equal,
89 MacroAssembler::Address(scratchGPR, JSCell::structureOffset()),
90 MacroAssembler::TrustedImmPtr(structure));
97 jit.move(MacroAssembler::TrustedImmPtr(object), scratchGPR);
100 MacroAssembler::NotEqual,
101 MacroAssembler
[all...]
H A DDFGSpeculativeJIT64.cpp55 m_jit.move(MacroAssembler::Imm32(valueOfInt32Constant(edge.node())), gpr);
62 m_jit.move(MacroAssembler::Imm64(JSValue::encode(jsValue)), gpr);
66 m_jit.move(MacroAssembler::TrustedImm64(JSValue::encode(jsValue)), gpr);
135 m_jit.move(MacroAssembler::Imm64(JSValue::encode(jsValue)), gpr);
139 m_jit.move(MacroAssembler::Imm64(JSValue::encode(jsValue)), gpr);
143 m_jit.move(MacroAssembler::TrustedImm64(JSValue::encode(jsValue)), gpr);
225 JITCompiler::Jump positive = m_jit.branch32(MacroAssembler::GreaterThanOrEqual, op1.gpr(), TrustedImm32(0));
340 notCell = m_jit.branchTest64(MacroAssembler::NonZero, argGPR, GPRInfo::tagMaskRegister);
350 notCell = m_jit.branchTest64(MacroAssembler::NonZero, argGPR, GPRInfo::tagMaskRegister);
406 notCell = m_jit.branchTest64(MacroAssembler
[all...]
H A DDFGVariableEvent.h36 #include "MacroAssembler.h"
74 MacroAssembler::RegisterID gpr;
75 MacroAssembler::FPRegisterID fpr;
78 MacroAssembler::RegisterID tagGPR;
79 MacroAssembler::RegisterID payloadGPR;
99 static VariableEvent fillGPR(VariableEventKind kind, MinifiedID id, MacroAssembler::RegisterID gpr, DataFormat dataFormat)
115 static VariableEvent fillPair(VariableEventKind kind, MinifiedID id, MacroAssembler::RegisterID tagGPR, MacroAssembler::RegisterID payloadGPR)
128 static VariableEvent fillFPR(VariableEventKind kind, MinifiedID id, MacroAssembler::FPRegisterID fpr)
197 MacroAssembler
[all...]
H A DDFGSpeculativeJIT.cpp79 m_jit.store32(TrustedImm32(numElements), MacroAssembler::Address(storageGPR, Butterfly::offsetOfPublicLength()));
80 m_jit.store32(TrustedImm32(vectorLength), MacroAssembler::Address(storageGPR, Butterfly::offsetOfVectorLength()));
86 m_jit.store64(scratchGPR, MacroAssembler::Address(storageGPR, sizeof(double) * i));
91 m_jit.store32(TrustedImm32(value.asBits.tag), MacroAssembler::Address(storageGPR, sizeof(double) * i + OBJECT_OFFSETOF(JSValue, u.asBits.tag)));
92 m_jit.store32(TrustedImm32(value.asBits.payload), MacroAssembler::Address(storageGPR, sizeof(double) * i + OBJECT_OFFSETOF(JSValue, u.asBits.payload)));
106 void SpeculativeJIT::backwardSpeculationCheck(ExitKind kind, JSValueSource jsValueSource, Node* node, MacroAssembler::Jump jumpToFail)
115 void SpeculativeJIT::backwardSpeculationCheck(ExitKind kind, JSValueSource jsValueSource, Node* node, const MacroAssembler::JumpList& jumpsToFail)
124 void SpeculativeJIT::speculationCheck(ExitKind kind, JSValueSource jsValueSource, Node* node, MacroAssembler::Jump jumpToFail)
133 void SpeculativeJIT::speculationCheck(ExitKind kind, JSValueSource jsValueSource, Edge nodeUse, MacroAssembler::Jump jumpToFail)
156 void SpeculativeJIT::speculationCheck(ExitKind kind, JSValueSource jsValueSource, Node* node, const MacroAssembler
[all...]
H A DDFGOSRExit.h38 #include "MacroAssembler.h"
110 void setPatchableCodeOffset(MacroAssembler::PatchableJump);
111 MacroAssembler::Jump getPatchableCodeOffsetAsJump() const;
/macosx-10.9.5/JavaScriptCore-7537.78.1/bytecode/
H A DValueRecovery.h31 #include "MacroAssembler.h"
117 static ValueRecovery inGPR(MacroAssembler::RegisterID gpr, DataFormat dataFormat)
134 static ValueRecovery uint32InGPR(MacroAssembler::RegisterID gpr)
143 static ValueRecovery inPair(MacroAssembler::RegisterID tagGPR, MacroAssembler::RegisterID payloadGPR)
153 static ValueRecovery inFPR(MacroAssembler::FPRegisterID fpr)
239 MacroAssembler::RegisterID gpr() const
246 MacroAssembler::RegisterID tagGPR() const
252 MacroAssembler::RegisterID payloadGPR() const
259 MacroAssembler
[all...]

Completed in 228 milliseconds

12