Lines Matching defs:CodeGenerator
96 CodeGenState::CodeGenState(CodeGenerator* owner)
103 ConditionCodeGenState::ConditionCodeGenState(CodeGenerator* owner,
113 TypeInfoCodeGenState::TypeInfoCodeGenState(CodeGenerator* owner,
135 // CodeGenerator implementation.
137 CodeGenerator::CodeGenerator(MacroAssembler* masm)
158 void CodeGenerator::Generate(CompilationInfo* info) {
163 int CodeGenerator::NumberOfSlot(Slot* slot) {
169 MemOperand CodeGenerator::SlotOperand(Slot* slot, Register tmp) {
175 MemOperand CodeGenerator::ContextSlotOperandCheckExtensions(
185 void CodeGenerator::LoadCondition(Expression* x,
193 void CodeGenerator::Load(Expression* x) {
198 void CodeGenerator::LoadGlobal() {
203 void CodeGenerator::LoadGlobalReceiver(Register scratch) {
208 ArgumentsAllocationMode CodeGenerator::ArgumentsMode() {
214 void CodeGenerator::StoreArgumentsObject(bool initial) {
219 void CodeGenerator::LoadTypeofExpression(Expression* x) {
224 Reference::Reference(CodeGenerator* cgen,
240 void CodeGenerator::LoadReference(Reference* ref) {
245 void CodeGenerator::UnloadReference(Reference* ref) {
253 void CodeGenerator::ToBoolean(JumpTarget* true_target,
259 void CodeGenerator::GenericBinaryOperation(Token::Value op,
356 void CodeGenerator::SmiOperation(Token::Value op,
365 // be compared. With the CodeGenerator::cc_reg_ condition, functions will be
366 // able to evaluate correctly the condition. (eg CodeGenerator::Branch)
367 void CodeGenerator::Comparison(Condition cc,
375 void CodeGenerator::CallWithArguments(ZoneList<Expression*>* args,
382 void CodeGenerator::CallApplyLazy(Expression* applicand,
390 void CodeGenerator::Branch(bool if_true, JumpTarget* target) {
395 void CodeGenerator::CheckStack() {
400 void CodeGenerator::VisitStatements(ZoneList<Statement*>* statements) {
405 void CodeGenerator::VisitBlock(Block* node) {
410 void CodeGenerator::DeclareGlobals(Handle<FixedArray> pairs) {
415 void CodeGenerator::VisitDeclaration(Declaration* node) {
420 void CodeGenerator::VisitExpressionStatement(ExpressionStatement* node) {
425 void CodeGenerator::VisitEmptyStatement(EmptyStatement* node) {
430 void CodeGenerator::VisitIfStatement(IfStatement* node) {
435 void CodeGenerator::VisitContinueStatement(ContinueStatement* node) {
440 void CodeGenerator::VisitBreakStatement(BreakStatement* node) {
445 void CodeGenerator::VisitReturnStatement(ReturnStatement* node) {
450 void CodeGenerator::GenerateReturnSequence() {
455 void CodeGenerator::VisitWithEnterStatement(WithEnterStatement* node) {
460 void CodeGenerator::VisitWithExitStatement(WithExitStatement* node) {
465 void CodeGenerator::VisitSwitchStatement(SwitchStatement* node) {
470 void CodeGenerator::VisitDoWhileStatement(DoWhileStatement* node) {
475 void CodeGenerator::VisitWhileStatement(WhileStatement* node) {
480 void CodeGenerator::VisitForStatement(ForStatement* node) {
485 void CodeGenerator::VisitForInStatement(ForInStatement* node) {
490 void CodeGenerator::VisitTryCatchStatement(TryCatchStatement* node) {
495 void CodeGenerator::VisitTryFinallyStatement(TryFinallyStatement* node) {
500 void CodeGenerator::VisitDebuggerStatement(DebuggerStatement* node) {
505 void CodeGenerator::InstantiateFunction(
512 void CodeGenerator::VisitFunctionLiteral(FunctionLiteral* node) {
517 void CodeGenerator::VisitSharedFunctionInfoLiteral(
523 void CodeGenerator::VisitConditional(Conditional* node) {
528 void CodeGenerator::LoadFromSlot(Slot* slot, TypeofState typeof_state) {
533 void CodeGenerator::LoadFromSlotCheckForArguments(Slot* slot,
539 void CodeGenerator::StoreToSlot(Slot* slot, InitState init_state) {
544 void CodeGenerator::LoadFromGlobalSlotCheckExtensions(Slot* slot,
551 void CodeGenerator::EmitDynamicLoadFromSlotFastCase(Slot* slot,
559 void CodeGenerator::VisitSlot(Slot* node) {
564 void CodeGenerator::VisitVariableProxy(VariableProxy* node) {
569 void CodeGenerator::VisitLiteral(Literal* node) {
574 void CodeGenerator::VisitRegExpLiteral(RegExpLiteral* node) {
579 void CodeGenerator::VisitObjectLiteral(ObjectLiteral* node) {
584 void CodeGenerator::VisitArrayLiteral(ArrayLiteral* node) {
589 void CodeGenerator::VisitCatchExtensionObject(CatchExtensionObject* node) {
594 void CodeGenerator::EmitSlotAssignment(Assignment* node) {
599 void CodeGenerator::EmitNamedPropertyAssignment(Assignment* node) {
604 void CodeGenerator::EmitKeyedPropertyAssignment(Assignment* node) {
609 void CodeGenerator::VisitAssignment(Assignment* node) {
614 void CodeGenerator::VisitThrow(Throw* node) {
619 void CodeGenerator::VisitProperty(Property* node) {
624 void CodeGenerator::VisitCall(Call* node) {
629 void CodeGenerator::VisitCallNew(CallNew* node) {
634 void CodeGenerator::GenerateClassOf(ZoneList<Expression*>* args) {
639 void CodeGenerator::GenerateValueOf(ZoneList<Expression*>* args) {
644 void CodeGenerator::GenerateSetValueOf(ZoneList<Expression*>* args) {
649 void CodeGenerator::GenerateIsSmi(ZoneList<Expression*>* args) {
654 void CodeGenerator::GenerateLog(ZoneList<Expression*>* args) {
659 void CodeGenerator::GenerateIsNonNegativeSmi(ZoneList<Expression*>* args) {
664 void CodeGenerator::GenerateMathPow(ZoneList<Expression*>* args) {
669 void CodeGenerator::GenerateMathSqrt(ZoneList<Expression*>* args) {
708 void CodeGenerator::GenerateStringCharCodeAt(ZoneList<Expression*>* args) {
733 void CodeGenerator::GenerateStringCharFromCode(ZoneList<Expression*>* args) {
774 void CodeGenerator::GenerateStringCharAt(ZoneList<Expression*>* args) {
779 void CodeGenerator::GenerateIsArray(ZoneList<Expression*>* args) {
784 void CodeGenerator::GenerateIsRegExp(ZoneList<Expression*>* args) {
789 void CodeGenerator::GenerateIsObject(ZoneList<Expression*>* args) {
794 void CodeGenerator::GenerateIsSpecObject(ZoneList<Expression*>* args) {
822 void CodeGenerator::GenerateIsStringWrapperSafeForDefaultValueOf(
828 void CodeGenerator::GenerateIsFunction(ZoneList<Expression*>* args) {
833 void CodeGenerator::GenerateIsUndetectableObject(ZoneList<Expression*>* args) {
838 void CodeGenerator::GenerateIsConstructCall(ZoneList<Expression*>* args) {
843 void CodeGenerator::GenerateArgumentsLength(ZoneList<Expression*>* args) {
848 void CodeGenerator::GenerateArguments(ZoneList<Expression*>* args) {
853 void CodeGenerator::GenerateRandomHeapNumber(
859 void CodeGenerator::GenerateStringAdd(ZoneList<Expression*>* args) {
864 void CodeGenerator::GenerateSubString(ZoneList<Expression*>* args) {
869 void CodeGenerator::GenerateStringCompare(ZoneList<Expression*>* args) {
874 void CodeGenerator::GenerateRegExpExec(ZoneList<Expression*>* args) {
879 void CodeGenerator::GenerateRegExpConstructResult(ZoneList<Expression*>* args) {
903 void CodeGenerator::GenerateGetFromCache(ZoneList<Expression*>* args) {
908 void CodeGenerator::GenerateNumberToString(ZoneList<Expression*>* args) {
932 void CodeGenerator::GenerateSwapElements(ZoneList<Expression*>* args) {
937 void CodeGenerator::GenerateCallFunction(ZoneList<Expression*>* args) {
942 void CodeGenerator::GenerateMathSin(ZoneList<Expression*>* args) {
947 void CodeGenerator::GenerateMathCos(ZoneList<Expression*>* args) {
952 void CodeGenerator::GenerateMathLog(ZoneList<Expression*>* args) {
957 void CodeGenerator::GenerateObjectEquals(ZoneList<Expression*>* args) {
962 void CodeGenerator::GenerateIsRegExpEquivalent(ZoneList<Expression*>* args) {
967 void CodeGenerator::GenerateHasCachedArrayIndex(ZoneList<Expression*>* args) {
972 void CodeGenerator::GenerateGetCachedArrayIndex(ZoneList<Expression*>* args) {
977 void CodeGenerator::GenerateFastAsciiArrayJoin(ZoneList<Expression*>* args) {
982 void CodeGenerator::VisitCallRuntime(CallRuntime* node) {
987 void CodeGenerator::VisitUnaryOperation(UnaryOperation* node) {
1015 void CodeGenerator::VisitCountOperation(CountOperation* node) {
1020 void CodeGenerator::GenerateLogicalBooleanOperation(BinaryOperation* node) {
1025 void CodeGenerator::VisitBinaryOperation(BinaryOperation* node) {
1030 void CodeGenerator::VisitThisFunction(ThisFunction* node) {
1035 void CodeGenerator::VisitCompareOperation(CompareOperation* node) {
1040 void CodeGenerator::VisitCompareToNull(CompareToNull* node) {
1146 void CodeGenerator::EmitNamedLoad(Handle<String> name, bool is_contextual) {
1151 void CodeGenerator::EmitNamedStore(Handle<String> name, bool is_contextual) {
1156 void CodeGenerator::EmitKeyedLoad() {
1161 void CodeGenerator::EmitKeyedStore(StaticType* key_type,
1168 bool CodeGenerator::HasValidEntryRegisters() {