Lines Matching refs:MacroAssembler
24 MacroAssembler::MacroAssembler(Isolate* arg_isolate, void* buffer, int size)
39 int64_t MacroAssembler::RootRegisterDelta(ExternalReference other) {
63 Operand MacroAssembler::ExternalOperand(ExternalReference target,
76 void MacroAssembler::Load(Register destination, ExternalReference source) {
94 void MacroAssembler::Store(ExternalReference destination, Register source) {
112 void MacroAssembler::LoadAddress(Register destination,
126 int MacroAssembler::LoadAddressSize(ExternalReference source) {
147 void MacroAssembler::PushAddress(ExternalReference source) {
161 void MacroAssembler::LoadRoot(Register destination, Heap::RootListIndex index) {
168 void MacroAssembler::LoadRootIndexed(Register destination,
179 void MacroAssembler::StoreRoot(Register source, Heap::RootListIndex index) {
186 void MacroAssembler::PushRoot(Heap::RootListIndex index) {
192 void MacroAssembler::CompareRoot(Register with, Heap::RootListIndex index) {
199 void MacroAssembler::CompareRoot(const Operand& with,
208 void MacroAssembler::RememberedSetHelper(Register object, // For debug tests.
251 void MacroAssembler::InNewSpace(Register object,
291 void MacroAssembler::RecordWriteField(
336 void MacroAssembler::RecordWriteArray(
372 void MacroAssembler::RecordWriteForMap(Register object,
443 void MacroAssembler::RecordWrite(
513 void MacroAssembler::Assert(Condition cc, BailoutReason reason) {
518 void MacroAssembler::AssertFastElements(Register elements) {
536 void MacroAssembler::Check(Condition cc, BailoutReason reason) {
545 void MacroAssembler::CheckStackAlignment() {
560 void MacroAssembler::NegativeZeroTest(Register result,
572 void MacroAssembler::Abort(BailoutReason reason) {
603 void MacroAssembler::CallStub(CodeStub* stub, TypeFeedbackId ast_id) {
609 void MacroAssembler::TailCallStub(CodeStub* stub) {
614 void MacroAssembler::StubReturn(int argc) {
620 bool MacroAssembler::AllowThisStubCall(CodeStub* stub) {
625 void MacroAssembler::IndexFromHash(Register hash, Register index) {
638 void MacroAssembler::CallRuntime(const Runtime::Function* f,
657 void MacroAssembler::CallExternalReference(const ExternalReference& ext,
667 void MacroAssembler::TailCallExternalReference(const ExternalReference& ext,
686 void MacroAssembler::TailCallRuntime(Runtime::FunctionId fid,
703 void MacroAssembler::PrepareCallApiFunction(int arg_stack_space) {
708 void MacroAssembler::CallApiFunctionAndReturn(
864 void MacroAssembler::JumpToExternalReference(const ExternalReference& ext,
873 void MacroAssembler::InvokeBuiltin(Builtins::JavaScript id,
888 void MacroAssembler::GetBuiltinFunction(Register target,
898 void MacroAssembler::GetBuiltinEntry(Register target, Builtins::JavaScript id) {
918 void MacroAssembler::PushCallerSaved(SaveFPRegsMode fp_mode,
942 void MacroAssembler::PopCallerSaved(SaveFPRegsMode fp_mode,
962 void MacroAssembler::Cvtlsi2sd(XMMRegister dst, Register src) {
968 void MacroAssembler::Cvtlsi2sd(XMMRegister dst, const Operand& src) {
974 void MacroAssembler::Load(Register dst, const Operand& src, Representation r) {
992 void MacroAssembler::Store(const Operand& dst, Register src, Representation r) {
1011 void MacroAssembler::Set(Register dst, int64_t x) {
1024 void MacroAssembler::Set(const Operand& dst, intptr_t x) {
1041 bool MacroAssembler::IsUnsafeInt(const int32_t x) {
1047 void MacroAssembler::SafeMove(Register dst, Smi* src) {
1067 void MacroAssembler::SafePush(Smi* src) {
1086 Register MacroAssembler::GetSmiConstant(Smi* source) {
1100 void MacroAssembler::LoadSmiConstant(Register dst, Smi* source) {
1156 void MacroAssembler::Integer32ToSmi(Register dst, Register src) {
1165 void MacroAssembler::Integer32ToSmiField(const Operand& dst, Register src) {
1185 void MacroAssembler::Integer64PlusConstantToSmi(Register dst,
1197 void MacroAssembler::SmiToInteger32(Register dst, Register src) {
1212 void MacroAssembler::SmiToInteger32(Register dst, const Operand& src) {
1223 void MacroAssembler::SmiToInteger64(Register dst, Register src) {
1236 void MacroAssembler::SmiToInteger64(Register dst, const Operand& src) {
1247 void MacroAssembler::SmiTest(Register src) {
1253 void MacroAssembler::SmiCompare(Register smi1, Register smi2) {
1260 void MacroAssembler::SmiCompare(Register dst, Smi* src) {
1266 void MacroAssembler::Cmp(Register dst, Smi* src) {
1277 void MacroAssembler::SmiCompare(Register dst, const Operand& src) {
1284 void MacroAssembler::SmiCompare(const Operand& dst, Register src) {
1291 void MacroAssembler::SmiCompare(const Operand& dst, Smi* src) {
1302 void MacroAssembler::Cmp(const Operand& dst, Smi* src) {
1310 void MacroAssembler::SmiCompareInteger32(const Operand& dst, Register src) {
1321 void MacroAssembler::PositiveSmiTimesPowerOfTwoToInteger64(Register dst,
1341 void MacroAssembler::PositiveSmiDivPowerOfTwoToInteger32(Register dst,
1353 void MacroAssembler::SmiOrIfSmis(Register dst, Register src1, Register src2,
1371 Condition MacroAssembler::CheckSmi(Register src) {
1378 Condition MacroAssembler::CheckSmi(const Operand& src) {
1385 Condition MacroAssembler::CheckNonNegativeSmi(Register src) {
1395 Condition MacroAssembler::CheckBothSmi(Register first, Register second) {
1413 Condition MacroAssembler::CheckBothNonNegativeSmi(Register first,
1426 Condition MacroAssembler::CheckEitherSmi(Register first,
1445 Condition MacroAssembler::CheckIsMinSmi(Register src) {
1453 Condition MacroAssembler::CheckInteger32ValidSmiValue(Register src) {
1465 Condition MacroAssembler::CheckUInteger32ValidSmiValue(Register src) {
1479 void MacroAssembler::CheckSmiToIndicator(Register dst, Register src) {
1489 void MacroAssembler::CheckSmiToIndicator(Register dst, const Operand& src) {
1500 void MacroAssembler::JumpIfValidSmiValue(Register src,
1508 void MacroAssembler::JumpIfNotValidSmiValue(Register src,
1516 void MacroAssembler::JumpIfUIntValidSmiValue(Register src,
1524 void MacroAssembler::JumpIfUIntNotValidSmiValue(Register src,
1532 void MacroAssembler::JumpIfSmi(Register src,
1540 void MacroAssembler::JumpIfNotSmi(Register src,
1548 void MacroAssembler::JumpUnlessNonNegativeSmi(
1556 void MacroAssembler::JumpIfSmiEqualsConstant(Register src,
1565 void MacroAssembler::JumpIfNotBothSmi(Register src1,
1574 void MacroAssembler::JumpUnlessBothNonNegativeSmi(Register src1,
1583 void MacroAssembler::SmiAddConstant(Register dst, Register src, Smi* constant) {
1632 void MacroAssembler::SmiAddConstant(const Operand& dst, Smi* constant) {
1645 void MacroAssembler::SmiAddConstant(Register dst,
1687 void MacroAssembler::SmiSubConstant(Register dst, Register src, Smi* constant) {
1711 void MacroAssembler::SmiSubConstant(Register dst,
1762 void MacroAssembler::SmiNeg(Register dst,
1785 static void SmiAddHelper(MacroAssembler* masm,
1807 void MacroAssembler::SmiAdd(Register dst,
1818 void MacroAssembler::SmiAdd(Register dst,
1829 void MacroAssembler::SmiAdd(Register dst,
1849 static void SmiSubHelper(MacroAssembler* masm,
1871 void MacroAssembler::SmiSub(Register dst,
1882 void MacroAssembler::SmiSub(Register dst,
1894 static void SmiSubNoOverflowHelper(MacroAssembler* masm,
1908 void MacroAssembler::SmiSub(Register dst, Register src1, Register src2) {
1914 void MacroAssembler::SmiSub(Register dst,
1921 void MacroAssembler::SmiMul(Register dst,
1976 void MacroAssembler::SmiDiv(Register dst,
2039 void MacroAssembler::SmiMod(Register dst,
2095 void MacroAssembler::SmiNot(Register dst, Register src) {
2115 void MacroAssembler::SmiAnd(Register dst, Register src1, Register src2) {
2124 void MacroAssembler::SmiAndConstant(Register dst, Register src, Smi* constant) {
2138 void MacroAssembler::SmiOr(Register dst, Register src1, Register src2) {
2147 void MacroAssembler::SmiOrConstant(Register dst, Register src, Smi* constant) {
2159 void MacroAssembler::SmiXor(Register dst, Register src1, Register src2) {
2168 void MacroAssembler::SmiXorConstant(Register dst, Register src, Smi* constant) {
2180 void MacroAssembler::SmiShiftArithmeticRightConstant(Register dst,
2195 void MacroAssembler::SmiShiftLeftConstant(Register dst,
2222 void MacroAssembler::SmiShiftLogicalRightConstant(
2248 void MacroAssembler::SmiShiftLeft(Register dst,
2299 void MacroAssembler::SmiShiftLogicalRight(Register dst,
2336 void MacroAssembler::SmiShiftArithmeticRight(Register dst,
2354 void MacroAssembler::SelectNonSmi(Register dst,
2391 SmiIndex MacroAssembler::SmiToIndex(Register dst,
2425 SmiIndex MacroAssembler::SmiToNegativeIndex(Register dst,
2457 void MacroAssembler::AddSmiField(Register dst, const Operand& src) {
2469 void MacroAssembler::Push(Smi* source) {
2480 void MacroAssembler::PushRegisterAsTwoSmis(Register src, Register scratch) {
2493 void MacroAssembler::PopRegisterAsTwoSmis(Register dst, Register scratch) {
2506 void MacroAssembler::Test(const Operand& src, Smi* source) {
2519 void MacroAssembler::LookupNumberStringCache(Register object,
2603 void MacroAssembler::JumpIfNotString(Register object,
2614 void MacroAssembler::JumpIfNotBothSequentialOneByteStrings(
2645 void MacroAssembler::JumpIfInstanceTypeIsNotSequentialOneByte(
2661 void MacroAssembler::JumpIfBothInstanceTypesAreNotSequentialOneByte(
2688 static void JumpIfNotUniqueNameHelper(MacroAssembler* masm,
2704 void MacroAssembler::JumpIfNotUniqueNameInstanceType(Operand operand,
2711 void MacroAssembler::JumpIfNotUniqueNameInstanceType(Register reg,
2718 void MacroAssembler::Move(Register dst, Register src) {
2725 void MacroAssembler::Move(Register dst, Handle<Object> source) {
2735 void MacroAssembler::Move(const Operand& dst, Handle<Object> source) {
2746 void MacroAssembler::Cmp(Register dst, Handle<Object> source) {
2757 void MacroAssembler::Cmp(const Operand& dst, Handle<Object> source) {
2768 void MacroAssembler::Push(Handle<Object> source) {
2779 void MacroAssembler::MoveHeapObject(Register result,
2793 void MacroAssembler::LoadGlobalCell(Register dst, Handle<Cell> cell) {
2804 void MacroAssembler::Drop(int stack_elements) {
2811 void MacroAssembler::DropUnderReturnAddress(int stack_elements,
2825 void MacroAssembler::Push(Register src) {
2837 void MacroAssembler::Push(const Operand& src) {
2848 void MacroAssembler::PushQuad(const Operand& src) {
2858 void MacroAssembler::Push(Immediate value) {
2868 void MacroAssembler::PushImm32(int32_t imm32) {
2878 void MacroAssembler::Pop(Register dst) {
2890 void MacroAssembler::Pop(const Operand& dst) {
2909 void MacroAssembler::PopQuad(const Operand& dst) {
2919 void MacroAssembler::LoadSharedFunctionInfoSpecialField(Register dst,
2934 void MacroAssembler::TestBitSharedFunctionInfoSpecialField(Register base,
2950 void MacroAssembler::Jump(ExternalReference ext) {
2956 void MacroAssembler::Jump(const Operand& op) {
2966 void MacroAssembler::Jump(Address destination, RelocInfo::Mode rmode) {
2972 void MacroAssembler::Jump(Handle<Code> code_object, RelocInfo::Mode rmode) {
2978 int MacroAssembler::CallSize(ExternalReference ext) {
2985 void MacroAssembler::Call(ExternalReference ext) {
2997 void MacroAssembler::Call(const Operand& op) {
3007 void MacroAssembler::Call(Address destination, RelocInfo::Mode rmode) {
3019 void MacroAssembler::Call(Handle<Code> code_object,
3034 void MacroAssembler::Pushad() {
3058 void MacroAssembler::Popad() {
3077 void MacroAssembler::Dropad() {
3085 MacroAssembler::kSafepointPushRegisterIndices[Register::kNumRegisters] = {
3105 void MacroAssembler::StoreToSafepointRegisterSlot(Register dst,
3111 void MacroAssembler::StoreToSafepointRegisterSlot(Register dst, Register src) {
3116 void MacroAssembler::LoadFromSafepointRegisterSlot(Register dst, Register src) {
3121 Operand MacroAssembler::SafepointRegisterSlot(Register reg) {
3126 void MacroAssembler::PushTryHandler(StackHandler::Kind kind,
3165 void MacroAssembler::PopTryHandler() {
3173 void MacroAssembler::JumpToHandlerEntry() {
3187 void MacroAssembler::Throw(Register value) {
3228 void MacroAssembler::ThrowUncatchable(Register value) {
3273 void MacroAssembler::Ret() {
3278 void MacroAssembler::Ret(int bytes_dropped, Register scratch) {
3290 void MacroAssembler::FCmp() {
3296 MacroAssembler::CmpObjectType(Register heap_object,
3304 void MacroAssembler::CmpInstanceType(Register map, InstanceType type) {
3310 void MacroAssembler::CheckFastElements(Register map,
3323 void MacroAssembler::CheckFastObjectElements(Register map,
3339 void MacroAssembler::CheckFastSmiElements(Register map,
3350 void MacroAssembler::StoreNumberToDoubleElements(
3407 void MacroAssembler::CompareMap(Register obj, Handle<Map> map) {
3412 void MacroAssembler::CheckMap(Register obj,
3425 void MacroAssembler::ClampUint8(Register reg) {
3435 void MacroAssembler::ClampDoubleToUint8(XMMRegister input_reg,
3460 void MacroAssembler::LoadUint32(XMMRegister dst,
3470 void MacroAssembler::SlowTruncateToI(Register result_reg,
3478 void MacroAssembler::TruncateHeapNumberToI(Register result_reg,
3502 void MacroAssembler::TruncateDoubleToI(Register result_reg,
3520 void MacroAssembler::DoubleToI(Register result_reg, XMMRegister input_reg,
3547 void MacroAssembler::LoadInstanceDescriptors(Register map,
3553 void MacroAssembler::NumberOfOwnDescriptors(Register dst, Register map) {
3559 void MacroAssembler::EnumLength(Register dst, Register map) {
3567 void MacroAssembler::DispatchMap(Register obj,
3583 void MacroAssembler::AssertNumber(Register object) {
3596 void MacroAssembler::AssertNotSmi(Register object) {
3604 void MacroAssembler::AssertSmi(Register object) {
3612 void MacroAssembler::AssertSmi(const Operand& object) {
3620 void MacroAssembler::AssertZeroExtended(Register int32_register) {
3630 void MacroAssembler::AssertString(Register object) {
3643 void MacroAssembler::AssertName(Register object) {
3656 void MacroAssembler::AssertUndefinedOrAllocationSite(Register object) {
3669 void MacroAssembler::AssertRootValue(Register src,
3682 Condition MacroAssembler::IsObjectStringType(Register heap_object,
3693 Condition MacroAssembler::IsObjectNameType(Register heap_object,
3703 void MacroAssembler::TryGetFunctionPrototype(Register function,
3764 void MacroAssembler::SetCounter(StatsCounter* counter, int value) {
3772 void MacroAssembler::IncrementCounter(StatsCounter* counter, int value) {
3785 void MacroAssembler::DecrementCounter(StatsCounter* counter, int value) {
3798 void MacroAssembler::DebugBreak() {
3807 void MacroAssembler::InvokeCode(Register code,
3840 void MacroAssembler::InvokeFunction(Register function,
3861 void MacroAssembler::InvokeFunction(Register function,
3879 void MacroAssembler::InvokeFunction(Handle<JSFunction> function,
3889 void MacroAssembler::InvokePrologue(const ParameterCount& expected,
3962 void MacroAssembler::StubPrologue() {
3970 void MacroAssembler::Prologue(bool code_pre_aging) {
3987 void MacroAssembler::EnterFrame(StackFrame::Type type) {
4004 void MacroAssembler::LeaveFrame(StackFrame::Type type) {
4015 void MacroAssembler::EnterExitFramePrologue(bool save_rax) {
4041 void MacroAssembler::EnterExitFrameEpilogue(int arg_stack_space,
4074 void MacroAssembler::EnterExitFrame(int arg_stack_space, bool save_doubles) {
4086 void MacroAssembler::EnterApiExitFrame(int arg_stack_space) {
4092 void MacroAssembler::LeaveExitFrame(bool save_doubles) {
4116 void MacroAssembler::LeaveApiExitFrame(bool restore_context) {
4124 void MacroAssembler::LeaveExitFrameEpilogue(bool restore_context) {
4143 void MacroAssembler::CheckAccessGlobalProxy(Register holder_reg,
4211 void MacroAssembler::GetNumberHash(Register r0, Register scratch) {
4247 void MacroAssembler::LoadFromNumberDictionary(Label* miss,
4326 void MacroAssembler::LoadAllocationTopHelper(Register result,
4356 void MacroAssembler::MakeSureDoubleAlignedHelper(Register result,
4391 void MacroAssembler::UpdateAllocationTopHelper(Register result_end,
4412 void MacroAssembler::Allocate(int object_size,
4476 void MacroAssembler::Allocate(int header_size,
4490 void MacroAssembler::Allocate(Register object_size,
4541 void MacroAssembler::UndoAllocationInNewSpace(Register object) {
4556 void MacroAssembler::AllocateHeapNumber(Register result,
4573 void MacroAssembler::AllocateTwoByteString(Register result,
4612 void MacroAssembler::AllocateOneByteString(Register result, Register length,
4648 void MacroAssembler::AllocateTwoByteConsString(Register result,
4662 void MacroAssembler::AllocateOneByteConsString(Register result,
4679 void MacroAssembler::AllocateTwoByteSlicedString(Register result,
4693 void MacroAssembler::AllocateOneByteSlicedString(Register result,
4714 void MacroAssembler::CopyBytes(Register destination,
4793 void MacroAssembler::InitializeFieldsWithFiller(Register start_offset,
4807 void MacroAssembler::LoadContext(Register dst, int context_chain_length) {
4833 void MacroAssembler::LoadTransitionedArrayMapConditional(
4866 void MacroAssembler::LoadGlobalFunction(int index, Register function) {
4877 void MacroAssembler::LoadGlobalFunctionInitialMap(Register function,
4892 int MacroAssembler::ArgumentStackSlotsForCFunctionCall(int num_arguments) {
4911 void MacroAssembler::EmitSeqStringSetCharCheck(Register string,
4944 void MacroAssembler::PrepareCallCFunction(int num_arguments) {
4960 void MacroAssembler::CallCFunction(ExternalReference function,
4967 void MacroAssembler::CallCFunction(Register function, int num_arguments) {
5033 void MacroAssembler::CheckPageFlag(
5057 void MacroAssembler::CheckMapDeprecated(Handle<Map> map,
5069 void MacroAssembler::JumpIfBlack(Register object,
5094 void MacroAssembler::JumpIfDataObject(
5114 void MacroAssembler::GetMarkBits(Register addr_reg,
5138 void MacroAssembler::EnsureNotWhite(
5234 void MacroAssembler::CheckEnumCache(Register null_value, Label* call_runtime) {
5279 void MacroAssembler::TestJSArrayForAllocationMemento(
5300 void MacroAssembler::JumpIfDictionaryInPrototypeChain(
5325 void MacroAssembler::TruncatingDiv(Register dividend, int32_t divisor) {