• Home
  • Raw
  • Download

Lines Matching refs:masm

48 #define __ ACCESS_MASM(masm)
51 static void GenerateGlobalInstanceTypeCheck(MacroAssembler* masm, in GenerateGlobalInstanceTypeCheck() argument
64 static void GenerateStringDictionaryReceiverCheck(MacroAssembler* masm, in GenerateStringDictionaryReceiverCheck() argument
88 GenerateGlobalInstanceTypeCheck(masm, scratch1, miss); in GenerateStringDictionaryReceiverCheck()
118 static void GenerateDictionaryLoad(MacroAssembler* masm, in GenerateDictionaryLoad() argument
132 StringDictionaryLookupStub::GeneratePositiveLookup(masm, in GenerateDictionaryLoad()
171 static void GenerateDictionaryStore(MacroAssembler* masm, in GenerateDictionaryStore() argument
185 StringDictionaryLookupStub::GeneratePositiveLookup(masm, in GenerateDictionaryStore()
218 void LoadIC::GenerateArrayLength(MacroAssembler* masm) { in GenerateArrayLength() argument
227 StubCompiler::GenerateLoadArrayLength(masm, a0, a3, &miss); in GenerateArrayLength()
229 StubCompiler::GenerateLoadMiss(masm, Code::LOAD_IC); in GenerateArrayLength()
233 void LoadIC::GenerateStringLength(MacroAssembler* masm, bool support_wrappers) { in GenerateStringLength() argument
242 StubCompiler::GenerateLoadStringLength(masm, a0, a1, a3, &miss, in GenerateStringLength()
246 StubCompiler::GenerateLoadMiss(masm, Code::LOAD_IC); in GenerateStringLength()
250 void LoadIC::GenerateFunctionPrototype(MacroAssembler* masm) { in GenerateFunctionPrototype() argument
259 StubCompiler::GenerateLoadFunctionPrototype(masm, a0, a1, a3, &miss); in GenerateFunctionPrototype()
261 StubCompiler::GenerateLoadMiss(masm, Code::LOAD_IC); in GenerateFunctionPrototype()
267 static void GenerateKeyedLoadReceiverCheck(MacroAssembler* masm, in GenerateKeyedLoadReceiverCheck() argument
293 static void GenerateFastArrayLoad(MacroAssembler* masm, in GenerateFastArrayLoad() argument
357 static void GenerateKeyStringCheck(MacroAssembler* masm, in GenerateKeyStringCheck() argument
387 void CallICBase::GenerateMonomorphicCacheProbe(MacroAssembler* masm, in GenerateMonomorphicCacheProbe() argument
404 masm, flags, a1, a2, a3, t0, t1, t2); in GenerateMonomorphicCacheProbe()
417 masm, Context::NUMBER_FUNCTION_INDEX, a1); in GenerateMonomorphicCacheProbe()
424 masm, Context::STRING_FUNCTION_INDEX, a1); in GenerateMonomorphicCacheProbe()
435 masm, Context::BOOLEAN_FUNCTION_INDEX, a1); in GenerateMonomorphicCacheProbe()
440 masm, flags, a1, a2, a3, t0, t1, t2); in GenerateMonomorphicCacheProbe()
446 static void GenerateFunctionTailCall(MacroAssembler* masm, in GenerateFunctionTailCall() argument
466 void CallICBase::GenerateNormal(MacroAssembler* masm, int argc) { in GenerateNormal() argument
476 GenerateStringDictionaryReceiverCheck(masm, a1, a0, a3, t0, &miss); in GenerateNormal()
480 GenerateDictionaryLoad(masm, &miss, a0, a2, a1, a3, t0); in GenerateNormal()
482 GenerateFunctionTailCall(masm, argc, &miss, t0); in GenerateNormal()
489 void CallICBase::GenerateMiss(MacroAssembler* masm, in GenerateMiss() argument
497 Isolate* isolate = masm->isolate(); in GenerateMiss()
509 FrameScope scope(masm, StackFrame::INTERNAL); in GenerateMiss()
554 void CallIC::GenerateMegamorphic(MacroAssembler* masm, in GenerateMegamorphic() argument
564 GenerateMonomorphicCacheProbe(masm, argc, Code::CALL_IC, extra_ic_state); in GenerateMegamorphic()
565 GenerateMiss(masm, argc, extra_ic_state); in GenerateMegamorphic()
569 void KeyedCallIC::GenerateMegamorphic(MacroAssembler* masm, int argc) { in GenerateMegamorphic() argument
589 masm, a1, a0, a3, Map::kHasIndexedInterceptor, &slow_call); in GenerateMegamorphic()
592 masm, a1, a2, t0, a3, a0, a1, &check_number_dictionary, &slow_load); in GenerateMegamorphic()
593 Counters* counters = masm->isolate()->counters(); in GenerateMegamorphic()
601 GenerateFunctionTailCall(masm, argc, &slow_call, a0); in GenerateMegamorphic()
621 FrameScope scope(masm, StackFrame::INTERNAL); in GenerateMegamorphic()
631 GenerateKeyStringCheck(masm, a2, a0, a3, &index_string, &slow_call); in GenerateMegamorphic()
638 masm, a1, a0, a3, Map::kHasNamedInterceptor, &lookup_monomorphic_cache); in GenerateMegamorphic()
645 GenerateDictionaryLoad(masm, &slow_load, a0, a2, a1, a3, t0); in GenerateMegamorphic()
651 GenerateMonomorphicCacheProbe(masm, in GenerateMegamorphic()
665 GenerateMiss(masm, argc); in GenerateMegamorphic()
674 void KeyedCallIC::GenerateNormal(MacroAssembler* masm, int argc) { in GenerateNormal() argument
685 CallICBase::GenerateNormal(masm, argc); in GenerateNormal()
687 GenerateMiss(masm, argc); in GenerateNormal()
694 void LoadIC::GenerateMegamorphic(MacroAssembler* masm) { in GenerateMegamorphic() argument
705 masm, flags, a0, a2, a3, t0, t1, t2); in GenerateMegamorphic()
708 GenerateMiss(masm); in GenerateMegamorphic()
712 void LoadIC::GenerateNormal(MacroAssembler* masm) { in GenerateNormal() argument
721 GenerateStringDictionaryReceiverCheck(masm, a0, a1, a3, t0, &miss); in GenerateNormal()
724 GenerateDictionaryLoad(masm, &miss, a1, a2, v0, a3, t0); in GenerateNormal()
729 GenerateMiss(masm); in GenerateNormal()
733 void LoadIC::GenerateMiss(MacroAssembler* masm) { in GenerateMiss() argument
740 Isolate* isolate = masm->isolate(); in GenerateMiss()
753 static MemOperand GenerateMappedArgumentsLookup(MacroAssembler* masm, in GenerateMappedArgumentsLookup() argument
811 static MemOperand GenerateUnmappedArgumentsLookup(MacroAssembler* masm, in GenerateUnmappedArgumentsLookup() argument
840 void KeyedLoadIC::GenerateNonStrictArguments(MacroAssembler* masm) { in GenerateNonStrictArguments() argument
848 GenerateMappedArgumentsLookup(masm, a1, a0, a2, a3, t0, &notin, &slow); in GenerateNonStrictArguments()
854 GenerateUnmappedArgumentsLookup(masm, a0, a2, a3, &slow); in GenerateNonStrictArguments()
861 GenerateMiss(masm, false); in GenerateNonStrictArguments()
865 void KeyedStoreIC::GenerateNonStrictArguments(MacroAssembler* masm) { in GenerateNonStrictArguments() argument
875 GenerateMappedArgumentsLookup(masm, a2, a1, a3, t0, t1, &notin, &slow); in GenerateNonStrictArguments()
887 GenerateUnmappedArgumentsLookup(masm, a1, a3, t0, &slow); in GenerateNonStrictArguments()
896 GenerateMiss(masm, false); in GenerateNonStrictArguments()
900 void KeyedCallIC::GenerateNonStrictArguments(MacroAssembler* masm, in GenerateNonStrictArguments() argument
910 GenerateMappedArgumentsLookup(masm, a1, a2, a3, t0, t1, &notin, &slow); in GenerateNonStrictArguments()
912 GenerateFunctionTailCall(masm, argc, &slow, a3); in GenerateNonStrictArguments()
916 GenerateUnmappedArgumentsLookup(masm, a2, a3, t0, &slow); in GenerateNonStrictArguments()
920 GenerateFunctionTailCall(masm, argc, &slow, a3); in GenerateNonStrictArguments()
922 GenerateMiss(masm, argc); in GenerateNonStrictArguments()
929 void KeyedLoadIC::GenerateMiss(MacroAssembler* masm, bool force_generic) { in GenerateMiss() argument
935 Isolate* isolate = masm->isolate(); in GenerateMiss()
950 void KeyedLoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) { in GenerateRuntimeGetProperty() argument
963 void KeyedLoadIC::GenerateGeneric(MacroAssembler* masm) { in GenerateGeneric() argument
975 Isolate* isolate = masm->isolate(); in GenerateGeneric()
984 masm, receiver, a2, a3, Map::kHasIndexedInterceptor, &slow); in GenerateGeneric()
990 masm, receiver, key, t0, a3, a2, v0, NULL, &slow); in GenerateGeneric()
1015 GenerateRuntimeGetProperty(masm); in GenerateGeneric()
1018 GenerateKeyStringCheck(masm, key, a2, a3, &index_string, &slow); in GenerateGeneric()
1021 masm, receiver, a2, a3, Map::kHasIndexedInterceptor, &slow); in GenerateGeneric()
1125 GenerateGlobalInstanceTypeCheck(masm, a2, &slow); in GenerateGeneric()
1127 GenerateDictionaryLoad(masm, &slow, a3, a0, v0, a2, t0); in GenerateGeneric()
1141 void KeyedLoadIC::GenerateString(MacroAssembler* masm) { in GenerateString() argument
1162 char_at_generator.GenerateFast(masm); in GenerateString()
1166 char_at_generator.GenerateSlow(masm, call_helper); in GenerateString()
1169 GenerateMiss(masm, false); in GenerateString()
1173 void KeyedStoreIC::GenerateRuntimeSetProperty(MacroAssembler* masm, in GenerateRuntimeSetProperty() argument
1192 void KeyedStoreIC::GenerateGeneric(MacroAssembler* masm, in GenerateGeneric() argument
1244 GenerateRuntimeSetProperty(masm, strict_mode); in GenerateGeneric()
1358 ElementsTransitionGenerator::GenerateSmiOnlyToDouble(masm, &slow); in GenerateGeneric()
1370 ElementsTransitionGenerator::GenerateSmiOnlyToObject(masm); in GenerateGeneric()
1384 ElementsTransitionGenerator::GenerateDoubleToObject(masm, &slow); in GenerateGeneric()
1390 void KeyedLoadIC::GenerateIndexedInterceptor(MacroAssembler* masm) { in GenerateIndexedInterceptor() argument
1418 IC_Utility(kKeyedLoadPropertyWithInterceptor), masm->isolate()), 2, 1); in GenerateIndexedInterceptor()
1421 GenerateMiss(masm, false); in GenerateIndexedInterceptor()
1425 void KeyedStoreIC::GenerateMiss(MacroAssembler* masm, bool force_generic) { in GenerateMiss() argument
1438 masm->isolate()) in GenerateMiss()
1439 : ExternalReference(IC_Utility(kKeyedStoreIC_Miss), masm->isolate()); in GenerateMiss()
1444 void KeyedStoreIC::GenerateSlow(MacroAssembler* masm) { in GenerateSlow() argument
1459 ExternalReference(IC_Utility(kKeyedStoreIC_Slow), masm->isolate()); in GenerateSlow()
1465 void KeyedStoreIC::GenerateTransitionElementsSmiToDouble(MacroAssembler* masm) { in GenerateTransitionElementsSmiToDouble() argument
1474 ElementsTransitionGenerator::GenerateSmiOnlyToDouble(masm, &fail); in GenerateTransitionElementsSmiToDouble()
1486 MacroAssembler* masm) { in GenerateTransitionElementsDoubleToObject() argument
1495 ElementsTransitionGenerator::GenerateDoubleToObject(masm, &fail); in GenerateTransitionElementsDoubleToObject()
1506 void StoreIC::GenerateMegamorphic(MacroAssembler* masm, in GenerateMegamorphic() argument
1519 masm, flags, a1, a2, a3, t0, t1, t2); in GenerateMegamorphic()
1522 GenerateMiss(masm); in GenerateMegamorphic()
1526 void StoreIC::GenerateMiss(MacroAssembler* masm) { in GenerateMiss() argument
1537 masm->isolate()); in GenerateMiss()
1542 void StoreIC::GenerateArrayLength(MacroAssembler* masm) { in GenerateArrayLength() argument
1589 masm->isolate()); in GenerateArrayLength()
1594 GenerateMiss(masm); in GenerateArrayLength()
1598 void StoreIC::GenerateNormal(MacroAssembler* masm) { in GenerateNormal() argument
1607 GenerateStringDictionaryReceiverCheck(masm, a1, a3, t0, t1, &miss); in GenerateNormal()
1609 GenerateDictionaryStore(masm, &miss, a3, a2, a0, t0, t1); in GenerateNormal()
1610 Counters* counters = masm->isolate()->counters(); in GenerateNormal()
1616 GenerateMiss(masm); in GenerateNormal()
1620 void StoreIC::GenerateGlobalProxy(MacroAssembler* masm, in GenerateGlobalProxy() argument
1743 patcher.masm()->andi(at, reg, kSmiTagMask); in PatchInlinedSmiCode()
1756 patcher.masm()->andi(at, reg, kSmiTagMask); in PatchInlinedSmiCode()