Lines Matching defs:HGraphBuilder
600 HGraphBuilder::HGraphBuilder(CompilationInfo* info,
617 HBasicBlock* HGraphBuilder::CreateJoin(HBasicBlock* first,
634 HBasicBlock* HGraphBuilder::JoinContinue(IterationStatement* statement,
646 HBasicBlock* HGraphBuilder::CreateLoop(IterationStatement* statement,
2170 FunctionState::FunctionState(HGraphBuilder* owner,
2214 AstContext::AstContext(HGraphBuilder* owner, Expression::Context kind)
2320 HGraphBuilder* builder = owner();
2351 HGraphBuilder* builder = owner();
2368 // HGraphBuilder infrastructure for bailing out and checking bailouts.
2383 void HGraphBuilder::Bailout(const char* reason) {
2387 PrintF("Bailout in HGraphBuilder: @\"%s\": %s\n", *name, reason);
2393 void HGraphBuilder::VisitForEffect(Expression* expr) {
2399 void HGraphBuilder::VisitForValue(Expression* expr, ArgumentsAllowedFlag flag) {
2405 void HGraphBuilder::VisitForTypeOf(Expression* expr) {
2413 void HGraphBuilder::VisitForControl(Expression* expr,
2421 HValue* HGraphBuilder::VisitArgument(Expression* expr) {
2430 void HGraphBuilder::VisitArgumentList(ZoneList<Expression*>* arguments) {
2437 void HGraphBuilder::VisitExpressions(ZoneList<Expression*>* exprs) {
2444 HGraph* HGraphBuilder::CreateGraph() {
2594 HInstruction* HGraphBuilder::AddInstruction(HInstruction* instr) {
2601 void HGraphBuilder::AddSimulate(int ast_id) {
2607 void HGraphBuilder::AddPhi(HPhi* instr) {
2613 void HGraphBuilder::PushAndAdd(HInstruction* instr) {
2620 HInstruction* HGraphBuilder::PreProcessCall(Instruction* call) {
2634 void HGraphBuilder::SetUpScope(Scope* scope) {
2677 void HGraphBuilder::VisitStatements(ZoneList<Statement*>* statements) {
2684 HBasicBlock* HGraphBuilder::CreateBasicBlock(HEnvironment* env) {
2691 HBasicBlock* HGraphBuilder::CreateLoopHeaderBlock() {
2700 void HGraphBuilder::VisitBlock(Block* stmt) {
2720 void HGraphBuilder::VisitExpressionStatement(ExpressionStatement* stmt) {
2728 void HGraphBuilder::VisitEmptyStatement(EmptyStatement* stmt) {
2735 void HGraphBuilder::VisitIfStatement(IfStatement* stmt) {
2774 HBasicBlock* HGraphBuilder::BreakAndContinueScope::Get(
2813 void HGraphBuilder::VisitContinueStatement(ContinueStatement* stmt) {
2827 void HGraphBuilder::VisitBreakStatement(BreakStatement* stmt) {
2841 void HGraphBuilder::VisitReturnStatement(ReturnStatement* stmt) {
2907 void HGraphBuilder::VisitWithStatement(WithStatement* stmt) {
2915 void HGraphBuilder::VisitSwitchStatement(SwitchStatement* stmt) {
3102 bool HGraphBuilder::HasOsrEntryAt(IterationStatement* statement) {
3107 bool HGraphBuilder::PreProcessOsrEntry(IterationStatement* statement) {
3157 void HGraphBuilder::VisitLoopBody(IterationStatement* stmt,
3172 void HGraphBuilder::VisitDoWhileStatement(DoWhileStatement* stmt) {
3215 void HGraphBuilder::VisitWhileStatement(WhileStatement* stmt) {
3259 void HGraphBuilder::VisitForStatement(ForStatement* stmt) {
3311 void HGraphBuilder::VisitForInStatement(ForInStatement* stmt) {
3431 void HGraphBuilder::VisitTryCatchStatement(TryCatchStatement* stmt) {
3439 void HGraphBuilder::VisitTryFinallyStatement(TryFinallyStatement* stmt) {
3447 HGraphBuilder::VisitDebuggerStatement(DebuggerStatement* stmt) {
3475 void HGraphBuilder::VisitFunctionLiteral(FunctionLiteral* expr) {
3494 void HGraphBuilder::VisitSharedFunctionInfoLiteral(
3503 void HGraphBuilder::VisitConditional(Conditional* expr) {
3541 HGraphBuilder::GlobalPropertyAccess HGraphBuilder::LookupGlobalProperty(
3559 HValue* HGraphBuilder::BuildContextChainWalk(Variable* var) {
3572 void HGraphBuilder::VisitVariableProxy(VariableProxy* expr) {
3645 void HGraphBuilder::VisitLiteral(Literal* expr) {
3655 void HGraphBuilder::VisitRegExpLiteral(RegExpLiteral* expr) {
3730 void HGraphBuilder::VisitObjectLiteral(ObjectLiteral* expr) {
3817 void HGraphBuilder::VisitArrayLiteral(ArrayLiteral* expr) {
3942 HInstruction* HGraphBuilder::BuildStoreNamedField(HValue* object,
3977 HInstruction* HGraphBuilder::BuildStoreNamedGeneric(HValue* object,
3990 HInstruction* HGraphBuilder::BuildStoreNamed(HValue* object,
4009 HInstruction* HGraphBuilder::BuildStoreNamed(HValue* object,
4031 void HGraphBuilder::HandlePolymorphicStoreNamedField(Assignment* expr,
4106 void HGraphBuilder::HandlePropertyAssignment(Assignment* expr) {
4167 void HGraphBuilder::HandleGlobalVariableAssignment(Variable* var,
4199 void HGraphBuilder::HandleCompoundAssignment(Assignment* expr) {
4360 void HGraphBuilder::VisitAssignment(Assignment* expr) {
4487 void HGraphBuilder::VisitThrow(Throw* expr) {
4508 HLoadNamedField* HGraphBuilder::BuildLoadNamedField(HValue* object,
4533 HInstruction* HGraphBuilder::BuildLoadNamedGeneric(HValue* obj,
4546 HInstruction* HGraphBuilder::BuildLoadNamed(HValue* obj,
4570 HInstruction* HGraphBuilder::BuildLoadKeyedGeneric(HValue* object,
4577 HInstruction* HGraphBuilder::BuildExternalArrayElementAccess(
4626 HInstruction* HGraphBuilder::BuildFastElementAccess(HValue* elements,
4658 HInstruction* HGraphBuilder::BuildMonomorphicElementAccess(HValue* object,
4696 HValue* HGraphBuilder::HandlePolymorphicElementAccess(HValue* object,
4887 HValue* HGraphBuilder::HandleKeyedElementAccess(HValue* obj,
4924 HInstruction* HGraphBuilder::BuildStoreKeyedGeneric(HValue* object,
4936 bool HGraphBuilder::TryArgumentsAccess(Property* expr) {
4975 void HGraphBuilder::VisitProperty(Property* expr) {
5055 void HGraphBuilder::AddCheckConstantFunction(Call* expr,
5075 void HGraphBuilder::HandlePolymorphicCallNamed(Call* expr,
5158 void HGraphBuilder::TraceInline(Handle<JSFunction> target,
5176 bool HGraphBuilder::TryInline(CallKind call_kind,
5467 bool HGraphBuilder::TryInlineCall(Call* expr, bool drop_extra) {
5484 bool HGraphBuilder::TryInlineConstruct(CallNew* expr, HValue* receiver) {
5495 bool HGraphBuilder::TryInlineBuiltinFunctionCall(Call* expr, bool drop_extra) {
5526 bool HGraphBuilder::TryInlineBuiltinMethodCall(Call* expr,
5723 bool HGraphBuilder::TryCallApply(Call* expr) {
5801 void HGraphBuilder::VisitCall(Call* expr) {
6013 void HGraphBuilder::VisitCallNew(CallNew* expr) {
6078 // Elements of the table are member pointers to functions of HGraphBuilder.
6080 &HGraphBuilder::Generate##Name,
6082 const HGraphBuilder::InlineFunctionGenerator
6083 HGraphBuilder::kInlineFunctionGenerators[] = {
6090 void HGraphBuilder::VisitCallRuntime(CallRuntime* expr) {
6129 void HGraphBuilder::VisitUnaryOperation(UnaryOperation* expr) {
6145 void HGraphBuilder::VisitDelete(UnaryOperation* expr) {
6180 void HGraphBuilder::VisitVoid(UnaryOperation* expr) {
6186 void HGraphBuilder::VisitTypeof(UnaryOperation* expr) {
6195 void HGraphBuilder::VisitAdd(UnaryOperation* expr) {
6205 void HGraphBuilder::VisitSub(UnaryOperation* expr) {
6224 void HGraphBuilder::VisitBitNot(UnaryOperation* expr) {
6237 void HGraphBuilder::VisitNot(UnaryOperation* expr) {
6281 HInstruction* HGraphBuilder::BuildIncrement(bool returns_original_input,
6315 void HGraphBuilder::VisitCountOperation(CountOperation* expr) {
6471 HStringCharCodeAt* HGraphBuilder::BuildStringCharCodeAt(HValue* context,
6484 HInstruction* HGraphBuilder::BuildBinaryOperation(BinaryOperation* expr,
6570 void HGraphBuilder::VisitBinaryOperation(BinaryOperation* expr) {
6586 void HGraphBuilder::VisitComma(BinaryOperation* expr) {
6594 void HGraphBuilder::VisitLogicalExpression(BinaryOperation* expr) {
6684 void HGraphBuilder::VisitArithmeticExpression(BinaryOperation* expr) {
6695 void HGraphBuilder::TraceRepresentation(Token::Value op,
6715 Representation HGraphBuilder::ToRepresentation(TypeInfo info) {
6724 void HGraphBuilder::HandleLiteralCompareTypeof(CompareOperation* expr,
6796 void HGraphBuilder::VisitCompareOperation(CompareOperation* expr) {
6952 void HGraphBuilder::HandleLiteralCompareNil(CompareOperation* expr,
6966 void HGraphBuilder::VisitThisFunction(ThisFunction* expr) {
6976 void HGraphBuilder::VisitDeclarations(ZoneList<Declaration*>* declarations) {
7030 void HGraphBuilder::HandleDeclaration(VariableProxy* proxy,
7069 void HGraphBuilder::VisitVariableDeclaration(VariableDeclaration* decl) {
7074 void HGraphBuilder::VisitFunctionDeclaration(FunctionDeclaration* decl) {
7079 void HGraphBuilder::VisitModuleDeclaration(ModuleDeclaration* decl) {
7084 void HGraphBuilder::VisitImportDeclaration(ImportDeclaration* decl) {
7089 void HGraphBuilder::VisitExportDeclaration(ExportDeclaration* decl) {
7094 void HGraphBuilder::VisitModuleLiteral(ModuleLiteral* module) {
7099 void HGraphBuilder::VisitModuleVariable(ModuleVariable* module) {
7104 void HGraphBuilder::VisitModulePath(ModulePath* module) {
7109 void HGraphBuilder::VisitModuleUrl(ModuleUrl* module) {
7116 void HGraphBuilder::GenerateIsSmi(CallRuntime* call) {
7125 void HGraphBuilder::GenerateIsSpecObject(CallRuntime* call) {
7137 void HGraphBuilder::GenerateIsFunction(CallRuntime* call) {
7147 void HGraphBuilder::GenerateHasCachedArrayIndex(CallRuntime* call) {
7157 void HGraphBuilder::GenerateIsArray(CallRuntime* call) {
7167 void HGraphBuilder::GenerateIsRegExp(CallRuntime* call) {
7177 void HGraphBuilder::GenerateIsObject(CallRuntime* call) {
7186 void HGraphBuilder::GenerateIsNonNegativeSmi(CallRuntime* call) {
7191 void HGraphBuilder::GenerateIsUndetectableObject(CallRuntime* call) {
7201 void HGraphBuilder::GenerateIsStringWrapperSafeForDefaultValueOf(
7209 void HGraphBuilder::GenerateIsConstructCall(CallRuntime* call) {
7225 void HGraphBuilder::GenerateArgumentsLength(CallRuntime* call) {
7237 void HGraphBuilder::GenerateArguments(CallRuntime* call) {
7254 void HGraphBuilder::GenerateClassOf(CallRuntime* call) {
7261 void HGraphBuilder::GenerateValueOf(CallRuntime* call) {
7270 void HGraphBuilder::GenerateDateField(CallRuntime* call) {
7281 void HGraphBuilder::GenerateSetValueOf(CallRuntime* call) {
7324 void HGraphBuilder::GenerateStringCharCodeAt(CallRuntime* call) {
7337 void HGraphBuilder
7349 void HGraphBuilder::GenerateStringCharAt(CallRuntime* call) {
7365 void HGraphBuilder::GenerateObjectEquals(CallRuntime* call) {
7377 void HGraphBuilder::GenerateLog(CallRuntime* call) {
7384 void HGraphBuilder::GenerateRandomHeapNumber(CallRuntime* call) {
7394 void HGraphBuilder::GenerateStringAdd(CallRuntime* call) {
7405 void HGraphBuilder::GenerateSubString(CallRuntime* call) {
7416 void HGraphBuilder::GenerateStringCompare(CallRuntime* call) {
7428 void HGraphBuilder::GenerateRegExpExec(CallRuntime* call) {
7439 void HGraphBuilder::GenerateRegExpConstructResult(CallRuntime* call) {
7451 void HGraphBuilder::GenerateGetFromCache(CallRuntime* call) {
7457 void HGraphBuilder::GenerateNumberToString(CallRuntime* call) {
7469 void HGraphBuilder::GenerateCallFunction(CallRuntime* call) {
7513 void HGraphBuilder::GenerateMathPow(CallRuntime* call) {
7524 void HGraphBuilder::GenerateMathSin(CallRuntime* call) {
7536 void HGraphBuilder::GenerateMathCos(CallRuntime* call) {
7548 void HGraphBuilder::GenerateMathTan(CallRuntime* call) {
7560 void HGraphBuilder::GenerateMathLog(CallRuntime* call) {
7572 void HGraphBuilder::GenerateMathSqrt(CallRuntime* call) {
7578 void HGraphBuilder::GenerateIsRegExpEquivalent(CallRuntime* call) {
7583 void HGraphBuilder::GenerateGetCachedArrayIndex(CallRuntime* call) {
7592 void HGraphBuilder::GenerateFastAsciiArrayJoin(CallRuntime* call) {