HELLO·Android
系统源代码
IT资讯
技术文章
我的收藏
注册
登录
-
我收藏的文章
创建代码块
我的代码块
我的账号
Nougat 7.0
|
7.0.0_r31
下载
查看原文件
收藏
根目录
external
v8
test
unittests
compiler
node-test-utils.h
// Copyright 2014 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ #define V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ #include "src/compiler/machine-operator.h" #include "src/machine-type.h" #include "testing/gmock/include/gmock/gmock.h" namespace v8 { namespace internal { // Forward declarations. class ExternalReference; template
class Handle; class HeapObject; template
class TypeImpl; enum TypeofMode : int; struct ZoneTypeConfig; typedef TypeImpl
Type; namespace compiler { // Forward declarations. class BufferAccess; class CallDescriptor; class ContextAccess; struct ElementAccess; struct FieldAccess; class Node; using ::testing::Matcher; Matcher
IsDead(); Matcher
IsEnd(const Matcher
& control0_matcher); Matcher
IsEnd(const Matcher
& control0_matcher, const Matcher
& control1_matcher); Matcher
IsEnd(const Matcher
& control0_matcher, const Matcher
& control1_matcher, const Matcher
& control2_matcher); Matcher
IsBranch(const Matcher
& value_matcher, const Matcher
& control_matcher); Matcher
IsMerge(const Matcher
& control0_matcher, const Matcher
& control1_matcher); Matcher
IsMerge(const Matcher
& control0_matcher, const Matcher
& control1_matcher, const Matcher
& control2_matcher); Matcher
IsLoop(const Matcher
& control0_matcher, const Matcher
& control1_matcher); Matcher
IsLoop(const Matcher
& control0_matcher, const Matcher
& control1_matcher, const Matcher
& control2_matcher); Matcher
IsIfTrue(const Matcher
& control_matcher); Matcher
IsIfFalse(const Matcher
& control_matcher); Matcher
IsIfSuccess(const Matcher
& control_matcher); Matcher
IsSwitch(const Matcher
& value_matcher, const Matcher
& control_matcher); Matcher
IsIfValue(const Matcher
& value_matcher, const Matcher
& control_matcher); Matcher
IsIfDefault(const Matcher
& control_matcher); Matcher
IsBeginRegion(const Matcher
& effect_matcher); Matcher
IsFinishRegion(const Matcher
& value_matcher, const Matcher
& effect_matcher); Matcher
IsReturn(const Matcher
& value_matcher, const Matcher
& effect_matcher, const Matcher
& control_matcher); Matcher
IsTerminate(const Matcher
& effect_matcher, const Matcher
& control_matcher); Matcher
IsExternalConstant( const Matcher
& value_matcher); Matcher
IsHeapConstant(Handle
value); Matcher
IsFloat32Constant(const Matcher
& value_matcher); Matcher
IsFloat64Constant(const Matcher
& value_matcher); Matcher
IsInt32Constant(const Matcher
& value_matcher); Matcher
IsInt64Constant(const Matcher
& value_matcher); Matcher
IsNumberConstant(const Matcher
& value_matcher); Matcher
IsSelect(const Matcher
& type_matcher, const Matcher
& value0_matcher, const Matcher
& value1_matcher, const Matcher
& value2_matcher); Matcher
IsPhi(const Matcher
& type_matcher, const Matcher
& value0_matcher, const Matcher
& value1_matcher, const Matcher
& merge_matcher); Matcher
IsPhi(const Matcher
& type_matcher, const Matcher
& value0_matcher, const Matcher
& value1_matcher, const Matcher
& value2_matcher, const Matcher
& merge_matcher); Matcher
IsEffectPhi(const Matcher
& effect0_matcher, const Matcher
& effect1_matcher, const Matcher
& merge_matcher); Matcher
IsEffectSet(const Matcher
& effect0_matcher, const Matcher
& effect1_matcher); Matcher
IsProjection(const Matcher
& index_matcher, const Matcher
& base_matcher); Matcher
IsCall(const Matcher
& descriptor_matcher, const Matcher
& value0_matcher, const Matcher
& effect_matcher, const Matcher
& control_matcher); Matcher
IsCall(const Matcher
& descriptor_matcher, const Matcher
& value0_matcher, const Matcher
& value1_matcher, const Matcher
& effect_matcher, const Matcher
& control_matcher); Matcher
IsCall(const Matcher
& descriptor_matcher, const Matcher
& value0_matcher, const Matcher
& value1_matcher, const Matcher
& value2_matcher, const Matcher
& effect_matcher, const Matcher
& control_matcher); Matcher
IsCall(const Matcher
& descriptor_matcher, const Matcher
& value0_matcher, const Matcher
& value1_matcher, const Matcher
& value2_matcher, const Matcher
& value3_matcher, const Matcher
& effect_matcher, const Matcher
& control_matcher); Matcher
IsCall(const Matcher
& descriptor_matcher, const Matcher
& value0_matcher, const Matcher
& value1_matcher, const Matcher
& value2_matcher, const Matcher
& value3_matcher, const Matcher
& value4_matcher, const Matcher
& effect_matcher, const Matcher
& control_matcher); Matcher
IsCall(const Matcher
& descriptor_matcher, const Matcher
& value0_matcher, const Matcher
& value1_matcher, const Matcher
& value2_matcher, const Matcher
& value3_matcher, const Matcher
& value4_matcher, const Matcher
& value5_matcher, const Matcher
& effect_matcher, const Matcher
& control_matcher); Matcher
IsCall( const Matcher
& descriptor_matcher, const Matcher
& value0_matcher, const Matcher
& value1_matcher, const Matcher
& value2_matcher, const Matcher
& value3_matcher, const Matcher
& value4_matcher, const Matcher
& value5_matcher, const Matcher
& value6_matcher, const Matcher
& effect_matcher, const Matcher
& control_matcher); Matcher
IsTailCall( const Matcher
& descriptor_matcher, const Matcher
& value0_matcher, const Matcher
& value1_matcher, const Matcher
& effect_matcher, const Matcher
& control_matcher); Matcher
IsTailCall( const Matcher
& descriptor_matcher, const Matcher
& value0_matcher, const Matcher
& value1_matcher, const Matcher
& value2_matcher, const Matcher
& effect_matcher, const Matcher
& control_matcher); Matcher
IsTailCall( const Matcher
& descriptor_matcher, const Matcher
& value0_matcher, const Matcher
& value1_matcher, const Matcher
& value2_matcher, const Matcher
& value3_matcher, const Matcher
& effect_matcher, const Matcher
& control_matcher); Matcher
IsTailCall( const Matcher
& descriptor_matcher, const Matcher
& value0_matcher, const Matcher
& value1_matcher, const Matcher
& value2_matcher, const Matcher
& value3_matcher, const Matcher
& value4_matcher, const Matcher
& effect_matcher, const Matcher
& control_matcher); Matcher
IsTailCall( const Matcher
& descriptor_matcher, const Matcher
& value0_matcher, const Matcher
& value1_matcher, const Matcher
& value2_matcher, const Matcher
& value3_matcher, const Matcher
& value4_matcher, const Matcher
& value5_matcher, const Matcher
& effect_matcher, const Matcher
& control_matcher); Matcher
IsTailCall( const Matcher
& descriptor_matcher, const Matcher
& value0_matcher, const Matcher
& value1_matcher, const Matcher
& value2_matcher, const Matcher
& value3_matcher, const Matcher
& value4_matcher, const Matcher
& value5_matcher, const Matcher
& value6_matcher, const Matcher
& effect_matcher, const Matcher
& control_matcher); Matcher
IsTailCall( const Matcher
& descriptor_matcher, const Matcher
& value0_matcher, const Matcher
& value1_matcher, const Matcher
& value2_matcher, const Matcher
& value3_matcher, const Matcher
& value4_matcher, const Matcher
& value5_matcher, const Matcher
& value6_matcher, const Matcher
& value7_matcher, const Matcher
& effect_matcher, const Matcher
& control_matcher); Matcher
IsBooleanNot(const Matcher
& value_matcher); Matcher
IsReferenceEqual(const Matcher
& type_matcher, const Matcher
& lhs_matcher, const Matcher
& rhs_matcher); Matcher
IsNumberEqual(const Matcher
& lhs_matcher, const Matcher
& rhs_matcher); Matcher
IsNumberLessThan(const Matcher
& lhs_matcher, const Matcher
& rhs_matcher); Matcher
IsNumberSubtract(const Matcher
& lhs_matcher, const Matcher
& rhs_matcher); Matcher
IsNumberMultiply(const Matcher
& lhs_matcher, const Matcher
& rhs_matcher); Matcher
IsNumberShiftLeft(const Matcher
& lhs_matcher, const Matcher
& rhs_matcher); Matcher
IsNumberShiftRight(const Matcher
& lhs_matcher, const Matcher
& rhs_matcher); Matcher
IsNumberShiftRightLogical(const Matcher
& lhs_matcher, const Matcher
& rhs_matcher); Matcher
IsAllocate(const Matcher
& size_matcher, const Matcher
& effect_matcher, const Matcher
& control_matcher); Matcher
IsLoadField(const Matcher
& access_matcher, const Matcher
& base_matcher, const Matcher
& effect_matcher, const Matcher
& control_matcher); Matcher
IsStoreField(const Matcher
& access_matcher, const Matcher