Lines Matching refs:LCodeGen

41   SafepointGenerator(LCodeGen* codegen,
56 LCodeGen* codegen_;
64 bool LCodeGen::GenerateCode() {
82 void LCodeGen::FinishCode(Handle<Code> code) {
94 void LCodeGen::Abort(BailoutReason reason) {
100 void LCodeGen::Comment(const char* format, ...) {
118 bool LCodeGen::GeneratePrologue() {
256 bool LCodeGen::GenerateBody() {
287 bool LCodeGen::GenerateDeferredCode() {
333 bool LCodeGen::GenerateDeoptJumpTable() {
397 bool LCodeGen::GenerateSafepointTable() {
404 Register LCodeGen::ToRegister(int index) const {
409 DwVfpRegister LCodeGen::ToDoubleRegister(int index) const {
414 Register LCodeGen::ToRegister(LOperand* op) const {
420 Register LCodeGen::EmitLoadRegister(LOperand* op, Register scratch) {
447 DwVfpRegister LCodeGen::ToDoubleRegister(LOperand* op) const {
453 DwVfpRegister LCodeGen::EmitLoadDoubleRegister(LOperand* op,
486 Handle<Object> LCodeGen::ToHandle(LConstantOperand* op) const {
493 bool LCodeGen::IsInteger32(LConstantOperand* op) const {
498 bool LCodeGen::IsSmi(LConstantOperand* op) const {
503 int32_t LCodeGen::ToInteger32(LConstantOperand* op) const {
508 int32_t LCodeGen::ToRepresentation(LConstantOperand* op,
518 Smi* LCodeGen::ToSmi(LConstantOperand* op) const {
524 double LCodeGen::ToDouble(LConstantOperand* op) const {
531 Operand LCodeGen::ToOperand(LOperand* op) {
559 MemOperand LCodeGen::ToMemOperand(LOperand* op) const {
567 MemOperand LCodeGen::ToHighMemOperand(LOperand* op) const {
573 void LCodeGen::WriteTranslation(LEnvironment* environment,
629 void LCodeGen::AddToTranslation(LEnvironment* environment,
701 void LCodeGen::CallCode(Handle<Code> code,
709 void LCodeGen::CallCodeGeneric(Handle<Code> code,
733 void LCodeGen::CallRuntime(const Runtime::Function* function,
746 void LCodeGen::CallRuntimeFromDeferred(Runtime::FunctionId id,
755 void LCodeGen::RegisterEnvironmentForDeoptimization(LEnvironment* environment,
791 void LCodeGen::DeoptimizeIf(Condition condition,
838 void LCodeGen::DeoptimizeIf(Condition condition,
847 void LCodeGen::RegisterDependentCodeForEmbeddedMaps(Handle<Code> code) {
872 void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) {
908 int LCodeGen::DefineDeoptimizationLiteral(Handle<Object> literal) {
918 void LCodeGen::PopulateDeoptimizationLiteralsWithInlinedFunctions() {
934 void LCodeGen::RecordSafepointWithLazyDeopt(
946 void LCodeGen::RecordSafepoint(
971 void LCodeGen::RecordSafepoint(LPointerMap* pointers,
977 void LCodeGen::RecordSafepoint(Safepoint::DeoptMode deopt_mode) {
983 void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers,
991 void LCodeGen::RecordSafepointWithRegistersAndDoubles(
1000 void LCodeGen::RecordPosition(int position) {
1006 void LCodeGen::RecordAndUpdatePosition(int position) {
1021 void LCodeGen::DoLabel(LLabel* label) {
1033 void LCodeGen::DoParallelMove(LParallelMove* move) {
1038 void LCodeGen::DoGap(LGap* gap) {
1049 void LCodeGen::DoInstructionGap(LInstructionGap* instr) {
1054 void LCodeGen::DoParameter(LParameter* instr) {
1059 void LCodeGen::DoCallStub(LCallStub* instr) {
1100 void LCodeGen::DoUnknownOSRValue(LUnknownOSRValue* instr) {
1106 void LCodeGen::DoModI(LModI* instr) {
1275 void LCodeGen::EmitSignedIntegerDivisionByConstant(
1369 void LCodeGen::DoDivI(LDivI* instr) {
1480 void LCodeGen::DoMultiplyAddD(LMultiplyAddD* instr) {
1492 void LCodeGen::DoMultiplySubD(LMultiplySubD* instr) {
1504 void LCodeGen::DoMathFloorOfDiv(LMathFloorOfDiv* instr) {
1575 void LCodeGen::DoMulI(LMulI* instr) {
1684 void LCodeGen::DoBitI(LBitI* instr) {
1720 void LCodeGen::DoShiftI(LShiftI* instr) {
1721 // Both 'left' and 'right' are "used at start" (see LCodeGen::DoShift), so
1808 void LCodeGen::DoSubI(LSubI* instr) {
1829 void LCodeGen::DoRSubI(LRSubI* instr) {
1850 void LCodeGen::DoConstantI(LConstantI* instr) {
1855 void LCodeGen::DoConstantS(LConstantS* instr) {
1860 void LCodeGen::DoConstantD(LConstantD* instr) {
1868 void LCodeGen::DoConstantE(LConstantE* instr) {
1873 void LCodeGen::DoConstantT(LConstantT* instr) {
1880 void LCodeGen::DoMapEnumLength(LMapEnumLength* instr) {
1887 void LCodeGen::DoElementsKind(LElementsKind* instr) {
1901 void LCodeGen::DoValueOf(LValueOf* instr) {
1924 void LCodeGen::DoDateField(LDateField* instr) {
1963 void LCodeGen::DoSeqStringSetChar(LSeqStringSetChar* instr) {
1995 void LCodeGen::DoThrow(LThrow* instr) {
2006 void LCodeGen::DoAddI(LAddI* instr) {
2027 void LCodeGen::DoMathMinMax(LMathMinMax* instr) {
2094 void LCodeGen::DoArithmeticD(LArithmeticD* instr) {
2134 void LCodeGen::DoArithmeticT(LArithmeticT* instr) {
2148 int LCodeGen::GetNextEmittedBlock() const {
2156 void LCodeGen::EmitBranch(InstrType instr, Condition condition) {
2176 void LCodeGen::EmitFalseBranch(InstrType instr, Condition condition) {
2182 void LCodeGen::DoDebugBreak(LDebugBreak* instr) {
2187 void LCodeGen::DoIsNumberAndBranch(LIsNumberAndBranch* instr) {
2206 void LCodeGen::DoBranch(LBranch* instr) {
2342 void LCodeGen::EmitGoto(int block) {
2349 void LCodeGen::DoGoto(LGoto* instr) {
2354 Condition LCodeGen::TokenToCondition(Token::Value op, bool is_unsigned) {
2382 void LCodeGen::DoCompareNumericAndBranch(LCompareNumericAndBranch* instr) {
2428 void LCodeGen::DoCmpObjectEqAndBranch(LCmpObjectEqAndBranch* instr) {
2437 void LCodeGen::DoCmpHoleAndBranch(LCmpHoleAndBranch* instr) {
2457 Condition LCodeGen::EmitIsObject(Register input,
2484 void LCodeGen::DoIsObjectAndBranch(LIsObjectAndBranch* instr) {
2496 Condition LCodeGen::EmitIsString(Register input,
2509 void LCodeGen::DoIsStringAndBranch(LIsStringAndBranch* instr) {
2523 void LCodeGen::DoIsSmiAndBranch(LIsSmiAndBranch* instr) {
2530 void LCodeGen::DoIsUndetectableAndBranch(LIsUndetectableAndBranch* instr) {
2564 void LCodeGen::DoStringCompareAndBranch(LStringCompareAndBranch* instr) {
2598 void LCodeGen::DoHasInstanceTypeAndBranch(LHasInstanceTypeAndBranch* instr) {
2611 void LCodeGen::DoGetCachedArrayIndex(LGetCachedArrayIndex* instr) {
2622 void LCodeGen::DoHasCachedArrayIndexAndBranch(
2636 void LCodeGen::EmitClassOfTest(Label* is_true,
2701 void LCodeGen::DoClassOfTestAndBranch(LClassOfTestAndBranch* instr) {
2714 void LCodeGen::DoCmpMapAndBranch(LCmpMapAndBranch* instr) {
2724 void LCodeGen::DoInstanceOf(LInstanceOf* instr) {
2737 void LCodeGen::DoInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr) {
2740 DeferredInstanceOfKnownGlobal(LCodeGen* codegen,
2819 void LCodeGen::DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr,
2869 void LCodeGen::DoInstanceSize(LInstanceSize* instr) {
2877 void LCodeGen::DoCmpT(LCmpT* instr) {
2895 void LCodeGen::DoReturn(LReturn* instr) {
2941 void LCodeGen::DoLoadGlobalCell(LLoadGlobalCell* instr) {
2953 void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) {
2965 void LCodeGen::DoStoreGlobalCell(LStoreGlobalCell* instr) {
2990 void LCodeGen::DoStoreGlobalGeneric(LStoreGlobalGeneric* instr) {
3002 void LCodeGen::DoLoadContextSlot(LLoadContextSlot* instr) {
3018 void LCodeGen::DoStoreContextSlot(LStoreContextSlot* instr) {
3056 void LCodeGen::DoLoadNamedField(LLoadNamedField* instr) {
3083 void LCodeGen::DoLoadNamedGeneric(LLoadNamedGeneric* instr) {
3094 void LCodeGen::DoLoadFunctionPrototype(LLoadFunctionPrototype* instr) {
3138 void LCodeGen::DoLoadExternalArrayPointer(
3147 void LCodeGen::DoAccessArgumentsAt(LAccessArgumentsAt* instr) {
3168 void LCodeGen::DoLoadKeyedExternalArray(LLoadKeyed* instr) {
3247 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) {
3282 void LCodeGen::DoLoadKeyedFixedArray(LLoadKeyed* instr) {
3323 void LCodeGen::DoLoadKeyed(LLoadKeyed* instr) {
3334 MemOperand LCodeGen::PrepareKeyedOperand(Register key,
3370 void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) {
3379 void LCodeGen::DoArgumentsElements(LArgumentsElements* instr) {
3400 void LCodeGen::DoArgumentsLength(LArgumentsLength* instr) {
3422 void LCodeGen::DoWrapReceiver(LWrapReceiver* instr) {
3469 void LCodeGen::DoApplyArguments(LApplyArguments* instr) {
3519 void LCodeGen::DoPushArgument(LPushArgument* instr) {
3530 void LCodeGen::DoDrop(LDrop* instr) {
3535 void LCodeGen::DoThisFunction(LThisFunction* instr) {
3541 void LCodeGen::DoContext(LContext* instr) {
3553 void LCodeGen::DoOuterContext(LOuterContext* instr) {
3561 void LCodeGen::DoDeclareGlobals(LDeclareGlobals* instr) {
3571 void LCodeGen::DoGlobalObject(LGlobalObject* instr) {
3577 void LCodeGen::DoGlobalReceiver(LGlobalReceiver* instr) {
3584 void LCodeGen::CallKnownFunction(Handle<JSFunction> function,
3632 void LCodeGen::DoCallConstantFunction(LCallConstantFunction* instr) {
3643 void LCodeGen::DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr) {
3709 void LCodeGen::EmitIntegerMathAbs(LMathAbs* instr) {
3723 void LCodeGen::DoMathAbs(LMathAbs* instr) {
3727 DeferredMathAbsTaggedHeapNumber(LCodeGen* codegen, LMathAbs* instr)
3758 void LCodeGen::DoMathFloor(LMathFloor* instr) {
3779 void LCodeGen::DoMathRound(LMathRound* instr) {
3817 void LCodeGen::DoMathSqrt(LMathSqrt* instr) {
3824 void LCodeGen::DoMathPowHalf(LMathPowHalf* instr) {
3845 void LCodeGen::DoPower(LPower* instr) {
3880 void LCodeGen::DoRandom(LRandom* instr) {
3883 DeferredDoRandom(LCodeGen* codegen, LRandom* instr)
3951 void LCodeGen::DoDeferredRandom(LRandom* instr) {
3958 void LCodeGen::DoMathExp(LMathExp* instr) {
3972 void LCodeGen::DoMathLog(LMathLog* instr) {
3980 void LCodeGen::DoMathTan(LMathTan* instr) {
3988 void LCodeGen::DoMathCos(LMathCos* instr) {
3996 void LCodeGen::DoMathSin(LMathSin* instr) {
4004 void LCodeGen::DoInvokeFunction(LInvokeFunction* instr) {
4027 void LCodeGen::DoCallKeyed(LCallKeyed* instr) {
4038 void LCodeGen::DoCallNamed(LCallNamed* instr) {
4052 void LCodeGen::DoCallFunction(LCallFunction* instr) {
4063 void LCodeGen::DoCallGlobal(LCallGlobal* instr) {
4076 void LCodeGen::DoCallKnownGlobal(LCallKnownGlobal* instr) {
4087 void LCodeGen::DoCallNew(LCallNew* instr) {
4100 void LCodeGen::DoCallNewArray(LCallNewArray* instr) {
4144 void LCodeGen::DoCallRuntime(LCallRuntime* instr) {
4149 void LCodeGen::DoInnerAllocatedObject(LInnerAllocatedObject* instr) {
4156 void LCodeGen::DoStoreNamedField(LStoreNamedField* instr) {
4242 void LCodeGen::DoStoreNamedGeneric(LStoreNamedGeneric* instr) {
4255 void LCodeGen::ApplyCheckIf(Condition condition, LBoundsCheck* check) {
4267 void LCodeGen::DoBoundsCheck(LBoundsCheck* instr) {
4287 void LCodeGen::DoStoreKeyedExternalArray(LStoreKeyed* instr) {
4356 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) {
4400 void LCodeGen::DoStoreKeyedFixedArray(LStoreKeyed* instr) {
4447 void LCodeGen::DoStoreKeyed(LStoreKeyed* instr) {
4459 void LCodeGen::DoStoreKeyedGeneric(LStoreKeyedGeneric* instr) {
4471 void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) {
4506 void LCodeGen::DoTrapAllocationMemento(LTrapAllocationMemento* instr) {
4514 void LCodeGen::DoStringAdd(LStringAdd* instr) {
4522 void LCodeGen::DoStringCharCodeAt(LStringCharCodeAt* instr) {
4525 DeferredStringCharCodeAt(LCodeGen* codegen, LStringCharCodeAt* instr)
4545 void LCodeGen::DoDeferredStringCharCodeAt(LStringCharCodeAt* instr) {
4575 void LCodeGen::DoStringCharFromCode(LStringCharFromCode* instr) {
4578 DeferredStringCharFromCode(LCodeGen* codegen, LStringCharFromCode* instr)
4606 void LCodeGen::DoDeferredStringCharFromCode(LStringCharFromCode* instr) {
4623 void LCodeGen::DoInteger32ToDouble(LInteger32ToDouble* instr) {
4640 void LCodeGen::DoInteger32ToSmi(LInteger32ToSmi* instr) {
4651 void LCodeGen::DoUint32ToDouble(LUint32ToDouble* instr) {
4661 void LCodeGen::DoUint32ToSmi(LUint32ToSmi* instr) {
4673 void LCodeGen::DoNumberTagI(LNumberTagI* instr) {
4676 DeferredNumberTagI(LCodeGen* codegen, LNumberTagI* instr)
4698 void LCodeGen::DoNumberTagU(LNumberTagU* instr) {
4701 DeferredNumberTagU(LCodeGen* codegen, LNumberTagU* instr)
4725 void LCodeGen::DoDeferredNumberTagI(LInstruction* instr,
4780 void LCodeGen::DoNumberTagD(LNumberTagD* instr) {
4783 DeferredNumberTagD(LCodeGen* codegen, LNumberTagD* instr)
4813 void LCodeGen::DoDeferredNumberTagD(LNumberTagD* instr) {
4827 void LCodeGen::DoSmiTag(LSmiTag* instr) {
4833 void LCodeGen::DoSmiUntag(LSmiUntag* instr) {
4847 void LCodeGen::EmitNumberUntagD(Register input_reg,
4910 void LCodeGen::DoDeferredTaggedToI(LTaggedToI* instr) {
4978 void LCodeGen::DoTaggedToI(LTaggedToI* instr) {
4981 DeferredTaggedToI(LCodeGen* codegen, LTaggedToI* instr)
5007 void LCodeGen::DoNumberUntagD(LNumberUntagD* instr) {
5028 void LCodeGen::DoDoubleToI(LDoubleToI* instr) {
5056 void LCodeGen::DoDoubleToSmi(LDoubleToSmi* instr) {
5086 void LCodeGen::DoCheckSmi(LCheckSmi* instr) {
5093 void LCodeGen::DoCheckNonSmi(LCheckNonSmi* instr) {
5102 void LCodeGen::DoCheckInstanceType(LCheckInstanceType* instr) {
5145 void LCodeGen::DoCheckFunction(LCheckFunction* instr) {
5162 void LCodeGen::DoDeferredInstanceMigration(LCheckMaps* instr, Register object) {
5174 void LCodeGen::DoCheckMaps(LCheckMaps* instr) {
5177 DeferredCheckMaps(LCodeGen* codegen, LCheckMaps* instr, Register object)
5227 void LCodeGen::DoClampDToUint8(LClampDToUint8* instr) {
5234 void LCodeGen::DoClampIToUint8(LClampIToUint8* instr) {
5241 void LCodeGen::DoClampTToUint8(LClampTToUint8* instr) {
5277 void LCodeGen::DoAllocate(LAllocate* instr) {
5280 DeferredAllocate(LCodeGen* codegen, LAllocate* instr)
5345 void LCodeGen::DoDeferredAllocate(LAllocate* instr) {
5378 void LCodeGen::DoToFastProperties(LToFastProperties* instr) {
5385 void LCodeGen::DoRegExpLiteral(LRegExpLiteral* instr) {
5428 void LCodeGen::DoFunctionLiteral(LFunctionLiteral* instr) {
5448 void LCodeGen::DoTypeof(LTypeof* instr) {
5455 void LCodeGen::DoTypeofIsAndBranch(LTypeofIsAndBranch* instr) {
5468 Condition LCodeGen::EmitTypeofIs(Label* true_label,
5546 void LCodeGen::DoIsConstructCallAndBranch(LIsConstructCallAndBranch* instr) {
5554 void LCodeGen::EmitIsConstructCall(Register temp1, Register temp2) {
5573 void LCodeGen::EnsureSpaceForLazyDeopt() {
5592 void LCodeGen::DoLazyBailout(LLazyBailout* instr) {
5602 void LCodeGen::DoDeoptimize(LDeoptimize* instr) {
5617 void LCodeGen::DoDummyUse(LDummyUse* instr) {
5622 void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) {
5633 void LCodeGen::DoStackCheck(LStackCheck* instr) {
5636 DeferredStackCheck(LCodeGen* codegen, LStackCheck* instr)
5682 void LCodeGen::DoOsrEntry(LOsrEntry* instr) {
5699 void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) {
5735 void LCodeGen::DoForInCacheArray(LForInCacheArray* instr) {
5758 void LCodeGen::DoCheckMapValue(LCheckMapValue* instr) {
5767 void LCodeGen::DoLoadFieldByIndex(LLoadFieldByIndex* instr) {