Lines Matching refs:Node

32   static int FirstValueIndex(const Node* node) { return 0; }
33 static int FirstContextIndex(Node* node) { return PastValueIndex(node); }
34 static int FirstFrameStateIndex(Node* node) { return PastContextIndex(node); }
35 static int FirstEffectIndex(Node* node) { return PastFrameStateIndex(node); }
36 static int FirstControlIndex(Node* node) { return PastEffectIndex(node); }
38 static int PastValueIndex(Node* node) {
42 static int PastContextIndex(Node* node) {
47 static int PastFrameStateIndex(Node* node) {
52 static int PastEffectIndex(Node* node) {
56 static int PastControlIndex(Node* node) {
63 static Node* GetValueInput(Node* node, int index) {
69 static const Node* GetValueInput(const Node* node, int index) {
75 static Node* GetContextInput(Node* node) {
80 static Node* GetFrameStateInput(Node* node) {
85 static Node* GetEffectInput(Node* node, int index = 0) {
91 static Node* GetControlInput(Node* node, int index = 0) {
109 static bool IsCommon(Node* node) {
112 static bool IsControl(Node* node) {
115 static bool IsConstant(Node* node) {
118 static bool IsPhi(Node* node) {
125 static bool IsExceptionalCall(Node* node, Node** out_exception = nullptr);
129 static Node* FindSuccessfulControlProjection(Node* node);
133 static bool IsValueIdentity(Node* node, Node** out_value) {
148 static bool IsFreshObject(Node* node);
153 static void ReplaceValueInput(Node* node, Node* value, int index);
154 static void ReplaceContextInput(Node* node, Node* context);
155 static void ReplaceControlInput(Node* node, Node* control, int index = 0);
156 static void ReplaceEffectInput(Node* node, Node* effect, int index = 0);
157 static void ReplaceFrameStateInput(Node* node, Node* frame_state);
158 static void RemoveNonValueInputs(Node* node);
159 static void RemoveValueInputs(Node* node);
162 static void ReplaceValueInputs(Node* node, Node* value);
167 Node* node);
172 Node* node);
177 static void ReplaceUses(Node* node, Node* value, Node* effect = nullptr,
178 Node* success = nullptr, Node* exception = nullptr);
182 static void ChangeOp(Node* node, const Operator* new_op);
190 static Node* FindFrameStateBefore(Node* node, Node* unreachable_sentinel);
193 static Node* FindProjection(Node* node, size_t projection_index);
196 static void CollectValueProjections(Node* node, Node** proj, size_t count);
203 static void CollectControlProjections(Node* node, Node** proj, size_t count);
206 static bool IsSame(Node* a, Node* b);
210 static bool Equals(Node* a, Node* b);
212 static size_t HashCode(Node* node);
223 static InferMapsResult InferMapsUnsafe(JSHeapBroker* broker, Node* receiver,
229 Node* receiver);
234 static bool NoObservableSideEffectBetween(Node* effect, Node* dominator);
239 static bool CanBePrimitive(JSHeapBroker* broker, Node* receiver,
244 static bool CanBeNullOrUndefined(JSHeapBroker* broker, Node* receiver,
253 static Node* GetOuterContext(Node* node, size_t* depth);
258 static bool IsTyped(const Node* node) { return !node->type().IsInvalid(); }
259 static Type GetType(const Node* node) {
263 static Type GetTypeOrAny(const Node* node);
264 static void SetType(Node* node, Type type) {
268 static void RemoveType(Node* node) { node->set_type(Type::Invalid()); }
269 static bool AllValueInputsAreTyped(Node* node);