Lines Matching refs:LCodeGen

41   SafepointGenerator(LCodeGen* codegen,
56 LCodeGen* codegen_;
64 bool LCodeGen::GenerateCode() {
86 void LCodeGen::FinishCode(Handle<Code> code) {
94 void LCodeGen::Abort(const char* format, ...) {
98 PrintF("Aborting LCodeGen in @\"%s\": ", *name);
109 void LCodeGen::Comment(const char* format, ...) {
127 bool LCodeGen::GeneratePrologue() {
219 bool LCodeGen::GenerateBody() {
241 bool LCodeGen::GenerateDeferredCode() {
263 bool LCodeGen::GenerateDeoptJumpTable() {
297 bool LCodeGen::GenerateSafepointTable() {
304 Register LCodeGen::ToRegister(int index) const {
309 DoubleRegister LCodeGen::ToDoubleRegister(int index) const {
314 Register LCodeGen::ToRegister(LOperand* op) const {
320 Register LCodeGen::EmitLoadRegister(LOperand* op, Register scratch) {
350 DoubleRegister LCodeGen::ToDoubleRegister(LOperand* op) const {
356 DoubleRegister LCodeGen::EmitLoadDoubleRegister(LOperand* op,
388 Handle<Object> LCodeGen::ToHandle(LConstantOperand* op) const {
395 bool LCodeGen::IsInteger32(LConstantOperand* op) const {
400 int LCodeGen::ToInteger32(LConstantOperand* op) const {
409 double LCodeGen::ToDouble(LConstantOperand* op) const {
415 Operand LCodeGen::ToOperand(LOperand* op) {
440 MemOperand LCodeGen::ToMemOperand(LOperand* op) const {
456 MemOperand LCodeGen::ToHighMemOperand(LOperand* op) const {
471 void LCodeGen::WriteTranslation(LEnvironment* environment,
522 void LCodeGen::AddToTranslation(Translation* translation,
562 void LCodeGen::CallCode(Handle<Code> code,
569 void LCodeGen::CallCodeGeneric(Handle<Code> code,
588 void LCodeGen::CallRuntime(const Runtime::Function* function,
601 void LCodeGen::CallRuntimeFromDeferred(Runtime::FunctionId id,
610 void LCodeGen::RegisterEnvironmentForDeoptimization(LEnvironment* environment,
646 void LCodeGen::DeoptimizeIf(Condition cc, LEnvironment* environment) {
680 void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) {
713 int LCodeGen::DefineDeoptimizationLiteral(Handle<Object> literal) {
723 void LCodeGen::PopulateDeoptimizationLiteralsWithInlinedFunctions() {
739 void LCodeGen::RecordSafepointWithLazyDeopt(
751 void LCodeGen::RecordSafepoint(
776 void LCodeGen::RecordSafepoint(LPointerMap* pointers,
782 void LCodeGen::RecordSafepoint(Safepoint::DeoptMode deopt_mode) {
788 void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers,
796 void LCodeGen::RecordSafepointWithRegistersAndDoubles(
805 void LCodeGen::RecordPosition(int position) {
811 void LCodeGen::DoLabel(LLabel* label) {
823 void LCodeGen::DoParallelMove(LParallelMove* move) {
828 void LCodeGen::DoGap(LGap* gap) {
839 void LCodeGen::DoInstructionGap(LInstructionGap* instr) {
844 void LCodeGen::DoParameter(LParameter* instr) {
849 void LCodeGen::DoCallStub(LCallStub* instr) {
895 void LCodeGen::DoUnknownOSRValue(LUnknownOSRValue* instr) {
900 void LCodeGen::DoModI(LModI* instr) {
1037 void LCodeGen::DoDivI(LDivI* instr) {
1040 DeferredDivI(LCodeGen* codegen, LDivI* instr)
1119 void LCodeGen::DoDeferredBinaryOpStub(LTemplateInstruction<1, 2, T>* instr,
1149 void LCodeGen::DoMulI(LMulI* instr) {
1246 void LCodeGen::DoBitI(LBitI* instr) {
1278 void LCodeGen::DoShiftI(LShiftI* instr) {
1279 // Both 'left' and 'right' are "used at start" (see LCodeGen::DoShift), so
1345 void LCodeGen::DoSubI(LSubI* instr) {
1366 void LCodeGen::DoConstantI(LConstantI* instr) {
1372 void LCodeGen::DoConstantD(LConstantD* instr) {
1380 void LCodeGen::DoConstantT(LConstantT* instr) {
1391 void LCodeGen::DoJSArrayLength(LJSArrayLength* instr) {
1398 void LCodeGen::DoFixedArrayBaseLength(LFixedArrayBaseLength* instr) {
1405 void LCodeGen::DoElementsKind(LElementsKind* instr) {
1419 void LCodeGen::DoValueOf(LValueOf* instr) {
1440 void LCodeGen::DoDateField(LDateField* instr) {
1480 void LCodeGen::DoBitNotI(LBitNotI* instr) {
1487 void LCodeGen::DoThrow(LThrow* instr) {
1498 void LCodeGen::DoAddI(LAddI* instr) {
1519 void LCodeGen::DoArithmeticD(LArithmeticD* instr) {
1559 void LCodeGen::DoArithmeticT(LArithmeticT* instr) {
1570 int LCodeGen::GetNextEmittedBlock(int block) {
1579 void LCodeGen::EmitBranch(int left_block, int right_block, Condition cc) {
1597 void LCodeGen::DoBranch(LBranch* instr) {
1712 void LCodeGen::EmitGoto(int block) {
1721 void LCodeGen::DoGoto(LGoto* instr) {
1726 Condition LCodeGen::TokenToCondition(Token::Value op, bool is_unsigned) {
1754 void LCodeGen::DoCmpIDAndBranch(LCmpIDAndBranch* instr) {
1795 void LCodeGen::DoCmpObjectEqAndBranch(LCmpObjectEqAndBranch* instr) {
1806 void LCodeGen::DoCmpConstantEqAndBranch(LCmpConstantEqAndBranch* instr) {
1816 void LCodeGen::DoIsNilAndBranch(LIsNilAndBranch* instr) {
1858 Condition LCodeGen::EmitIsObject(Register input,
1885 void LCodeGen::DoIsObjectAndBranch(LIsObjectAndBranch* instr) {
1901 Condition LCodeGen::EmitIsString(Register input,
1911 void LCodeGen::DoIsStringAndBranch(LIsStringAndBranch* instr) {
1926 void LCodeGen::DoIsSmiAndBranch(LIsSmiAndBranch* instr) {
1936 void LCodeGen::DoIsUndetectableAndBranch(LIsUndetectableAndBranch* instr) {
1971 void LCodeGen::DoStringCompareAndBranch(LStringCompareAndBranch* instr) {
2006 void LCodeGen::DoHasInstanceTypeAndBranch(LHasInstanceTypeAndBranch* instr) {
2022 void LCodeGen::DoGetCachedArrayIndex(LGetCachedArrayIndex* instr) {
2035 void LCodeGen::DoHasCachedArrayIndexAndBranch(
2052 void LCodeGen::EmitClassOfTest(Label* is_true,
2117 void LCodeGen::DoClassOfTestAndBranch(LClassOfTestAndBranch* instr) {
2135 void LCodeGen::DoCmpMapAndBranch(LCmpMapAndBranch* instr) {
2147 void LCodeGen::DoInstanceOf(LInstanceOf* instr) {
2160 void LCodeGen::DoInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr) {
2163 DeferredInstanceOfKnownGlobal(LCodeGen* codegen,
2237 void LCodeGen::DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr,
2279 void LCodeGen::DoCmpT(LCmpT* instr) {
2296 void LCodeGen::DoReturn(LReturn* instr) {
2311 void LCodeGen::DoLoadGlobalCell(LLoadGlobalCell* instr) {
2323 void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) {
2335 void LCodeGen::DoStoreGlobalCell(LStoreGlobalCell* instr) {
2360 void LCodeGen::DoStoreGlobalGeneric(LStoreGlobalGeneric* instr) {
2372 void LCodeGen::DoLoadContextSlot(LLoadContextSlot* instr) {
2388 void LCodeGen::DoStoreContextSlot(LStoreContextSlot* instr) {
2426 void LCodeGen::DoLoadNamedField(LLoadNamedField* instr) {
2438 void LCodeGen::EmitLoadFieldOrConstantFunction(Register result,
2465 void LCodeGen::DoLoadNamedFieldPolymorphic(LLoadNamedFieldPolymorphic* instr) {
2508 void LCodeGen::DoLoadNamedGeneric(LLoadNamedGeneric* instr) {
2519 void LCodeGen::DoLoadFunctionPrototype(LLoadFunctionPrototype* instr) {
2563 void LCodeGen::DoLoadElements(LLoadElements* instr) {
2595 void LCodeGen::DoLoadExternalArrayPointer(
2604 void LCodeGen::DoAccessArgumentsAt(LAccessArgumentsAt* instr) {
2622 void LCodeGen::DoLoadKeyedFastElement(LLoadKeyedFastElement* instr) {
2641 void LCodeGen::DoLoadKeyedFastDoubleElement(
2679 void LCodeGen::DoLoadKeyedSpecializedArrayElement(
2754 void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) {
2763 void LCodeGen::DoArgumentsElements(LArgumentsElements* instr) {
2780 void LCodeGen::DoArgumentsLength(LArgumentsLength* instr) {
2802 void LCodeGen::DoWrapReceiver(LWrapReceiver* instr) {
2849 void LCodeGen::DoApplyArguments(LApplyArguments* instr) {
2899 void LCodeGen::DoPushArgument(LPushArgument* instr) {
2910 void LCodeGen::DoThisFunction(LThisFunction* instr) {
2916 void LCodeGen::DoContext(LContext* instr) {
2922 void LCodeGen::DoOuterContext(LOuterContext* instr) {
2930 void LCodeGen::DoDeclareGlobals(LDeclareGlobals* instr) {
2940 void LCodeGen::DoGlobalObject(LGlobalObject* instr) {
2946 void LCodeGen::DoGlobalReceiver(LGlobalReceiver* instr) {
2953 void LCodeGen::CallKnownFunction(Handle<JSFunction> function,
2998 void LCodeGen::DoCallConstantFunction(LCallConstantFunction* instr) {
3007 void LCodeGen::DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr) {
3073 void LCodeGen::EmitIntegerMathAbs(LUnaryMathOperation* instr) {
3087 void LCodeGen::DoMathAbs(LUnaryMathOperation* instr) {
3091 DeferredMathAbsTaggedHeapNumber(LCodeGen* codegen,
3123 void LCodeGen::DoMathFloor(LUnaryMathOperation* instr) {
3153 void LCodeGen::DoMathRound(LUnaryMathOperation* instr) {
3218 void LCodeGen::DoMathSqrt(LUnaryMathOperation* instr) {
3225 void LCodeGen::DoMathPowHalf(LUnaryMathOperation* instr) {
3246 void LCodeGen::DoPower(LPower* instr) {
3278 void LCodeGen::DoRandom(LRandom* instr) {
3281 DeferredDoRandom(LCodeGen* codegen, LRandom* instr)
3349 void LCodeGen::DoDeferredRandom(LRandom* instr) {
3356 void LCodeGen::DoMathLog(LUnaryMathOperation* instr) {
3364 void LCodeGen::DoMathTan(LUnaryMathOperation* instr) {
3372 void LCodeGen::DoMathCos(LUnaryMathOperation* instr) {
3380 void LCodeGen::DoMathSin(LUnaryMathOperation* instr) {
3388 void LCodeGen::DoUnaryMathOperation(LUnaryMathOperation* instr) {
3424 void LCodeGen::DoInvokeFunction(LInvokeFunction* instr) {
3437 void LCodeGen::DoCallKeyed(LCallKeyed* instr) {
3448 void LCodeGen::DoCallNamed(LCallNamed* instr) {
3462 void LCodeGen::DoCallFunction(LCallFunction* instr) {
3473 void LCodeGen::DoCallGlobal(LCallGlobal* instr) {
3486 void LCodeGen::DoCallKnownGlobal(LCallKnownGlobal* instr) {
3492 void LCodeGen::DoCallNew(LCallNew* instr) {
3502 void LCodeGen::DoCallRuntime(LCallRuntime* instr) {
3507 void LCodeGen::DoStoreNamedField(LStoreNamedField* instr) {
3556 void LCodeGen::DoStoreNamedGeneric(LStoreNamedGeneric* instr) {
3569 void LCodeGen::DoBoundsCheck(LBoundsCheck* instr) {
3575 void LCodeGen::DoStoreKeyedFastElement(LStoreKeyedFastElement* instr) {
3610 void LCodeGen::DoStoreKeyedFastDoubleElement(
3652 void LCodeGen::DoStoreKeyedSpecializedArrayElement(
3716 void LCodeGen::DoStoreKeyedGeneric(LStoreKeyedGeneric* instr) {
3728 void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) {
3770 void LCodeGen::DoStringAdd(LStringAdd* instr) {
3778 void LCodeGen::DoStringCharCodeAt(LStringCharCodeAt* instr) {
3781 DeferredStringCharCodeAt(LCodeGen* codegen, LStringCharCodeAt* instr)
3801 void LCodeGen::DoDeferredStringCharCodeAt(LStringCharCodeAt* instr) {
3833 void LCodeGen::DoStringCharFromCode(LStringCharFromCode* instr) {
3836 DeferredStringCharFromCode(LCodeGen* codegen, LStringCharFromCode* instr)
3864 void LCodeGen::DoDeferredStringCharFromCode(LStringCharFromCode* instr) {
3881 void LCodeGen::DoStringLength(LStringLength* instr) {
3888 void LCodeGen::DoInteger32ToDouble(LInteger32ToDouble* instr) {
3905 void LCodeGen::DoNumberTagI(LNumberTagI* instr) {
3908 DeferredNumberTagI(LCodeGen* codegen, LNumberTagI* instr)
3926 void LCodeGen::DoDeferredNumberTagI(LNumberTagI* instr) {
3973 void LCodeGen::DoNumberTagD(LNumberTagD* instr) {
3976 DeferredNumberTagD(LCodeGen* codegen, LNumberTagD* instr)
4003 void LCodeGen::DoDeferredNumberTagD(LNumberTagD* instr) {
4016 void LCodeGen::DoSmiTag(LSmiTag* instr) {
4022 void LCodeGen::DoSmiUntag(LSmiUntag* instr) {
4036 void LCodeGen::EmitNumberUntagD(Register input_reg,
4094 void LCodeGen::DoDeferredTaggedToI(LTaggedToI* instr) {
4175 void LCodeGen::DoTaggedToI(LTaggedToI* instr) {
4178 DeferredTaggedToI(LCodeGen* codegen, LTaggedToI* instr)
4204 void LCodeGen::DoNumberUntagD(LNumberUntagD* instr) {
4220 void LCodeGen::DoDoubleToI(LDoubleToI* instr) {
4255 void LCodeGen::DoCheckSmi(LCheckSmi* instr) {
4262 void LCodeGen::DoCheckNonSmi(LCheckNonSmi* instr) {
4269 void LCodeGen::DoCheckInstanceType(LCheckInstanceType* instr) {
4312 void LCodeGen::DoCheckFunction(LCheckFunction* instr) {
4329 void LCodeGen::DoCheckMapCommon(Register reg,
4341 void LCodeGen::DoCheckMap(LCheckMap* instr) {
4352 void LCodeGen::DoClampDToUint8(LClampDToUint8* instr) {
4360 void LCodeGen::DoClampIToUint8(LClampIToUint8* instr) {
4367 void LCodeGen::DoClampTToUint8(LClampTToUint8* instr) {
4404 void LCodeGen::DoCheckPrototypeMaps(LCheckPrototypeMaps* instr) {
4433 void LCodeGen::DoAllocateObject(LAllocateObject* instr) {
4436 DeferredAllocateObject(LCodeGen* codegen, LAllocateObject* instr)
4490 void LCodeGen::DoDeferredAllocateObject(LAllocateObject* instr) {
4507 void LCodeGen::DoArrayLiteral(LArrayLiteral* instr) {
4558 void LCodeGen::EmitDeepCopy(Handle<JSObject> object,
4660 void LCodeGen::DoFastLiteral(LFastLiteral* instr) {
4682 void LCodeGen::DoObjectLiteral(LObjectLiteral* instr) {
4711 void LCodeGen::DoToFastProperties(LToFastProperties* instr) {
4718 void LCodeGen::DoRegExpLiteral(LRegExpLiteral* instr) {
4773 void LCodeGen::DoFunctionLiteral(LFunctionLiteral* instr) {
4794 void LCodeGen::DoTypeof(LTypeof* instr) {
4801 void LCodeGen::DoTypeofIsAndBranch(LTypeofIsAndBranch* instr) {
4818 Condition LCodeGen::EmitTypeofIs(Label* true_label,
4891 void LCodeGen::DoIsConstructCallAndBranch(LIsConstructCallAndBranch* instr) {
4901 void LCodeGen::EmitIsConstructCall(Register temp1, Register temp2) {
4920 void LCodeGen::EnsureSpaceForLazyDeopt() {
4937 void LCodeGen::DoLazyBailout(LLazyBailout* instr) {
4946 void LCodeGen::DoDeoptimize(LDeoptimize* instr) {
4951 void LCodeGen::DoDeleteProperty(LDeleteProperty* instr) {
4966 void LCodeGen::DoIn(LIn* instr) {
4978 void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) {
4989 void LCodeGen::DoStackCheck(LStackCheck* instr) {
4992 DeferredStackCheck(LCodeGen* codegen, LStackCheck* instr)
5035 void LCodeGen::DoOsrEntry(LOsrEntry* instr) {
5052 void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) {
5088 void LCodeGen::DoForInCacheArray(LForInCacheArray* instr) {
5101 void LCodeGen::DoCheckMapValue(LCheckMapValue* instr) {
5110 void LCodeGen::DoLoadFieldByIndex(LLoadFieldByIndex* instr) {