Lines Matching refs:Node
9 #include "src/compiler/common-node-cache.h"
14 #include "src/compiler/node-properties.h"
44 Node* AllocateInNewSpaceStubConstant();
45 Node* AllocateInOldSpaceStubConstant();
46 Node* ToNumberBuiltinConstant();
47 Node* CEntryStubConstant(int result_size,
51 Node* EmptyFixedArrayConstant();
52 Node* EmptyStringConstant();
53 Node* FixedArrayMapConstant();
54 Node* FixedDoubleArrayMapConstant();
55 Node* HeapNumberMapConstant();
56 Node* OptimizedOutConstant();
57 Node* StaleRegisterConstant();
58 Node* UndefinedConstant();
59 Node* TheHoleConstant();
60 Node* TrueConstant();
61 Node* FalseConstant();
62 Node* NullConstant();
63 Node* ZeroConstant();
64 Node* OneConstant();
65 Node* NaNConstant();
67 // Creates a HeapConstant node, possibly canonicalized, and may access the
69 Node* HeapConstant(Handle<HeapObject> value);
71 // Creates a Constant node of the appropriate type for the given object.
74 Node* Constant(Handle<Object> value);
76 // Creates a NumberConstant node, usually canonicalized.
77 Node* Constant(double value);
79 // Creates a NumberConstant node, usually canonicalized.
80 Node* Constant(int32_t value);
82 // Creates a NumberConstant node, usually canonicalized.
83 Node* Constant(uint32_t value);
85 // Creates a Int32Constant node, usually canonicalized.
86 Node* Int32Constant(int32_t value);
87 Node* Uint32Constant(uint32_t value) {
91 // Creates a HeapConstant node for either true or false.
92 Node* BooleanConstant(bool is_true) {
96 // Creates a Int64Constant node, usually canonicalized.
97 Node* Int64Constant(int64_t value);
98 Node* Uint64Constant(uint64_t value) {
102 // Creates a Int32Constant/Int64Constant node, depending on the word size of
106 Node* IntPtrConstant(intptr_t value) {
111 Node* RelocatableInt32Constant(int32_t value, RelocInfo::Mode rmode);
112 Node* RelocatableInt64Constant(int64_t value, RelocInfo::Mode rmode);
113 Node* RelocatableIntPtrConstant(intptr_t value, RelocInfo::Mode rmode);
115 // Creates a Float32Constant node, usually canonicalized.
116 Node* Float32Constant(float value);
118 // Creates a Float64Constant node, usually canonicalized.
119 Node* Float64Constant(double value);
121 // Creates a PointerConstant node (asm.js only).
122 Node* PointerConstant(intptr_t value);
124 Node* PointerConstant(T* value) {
128 // Creates an ExternalConstant node, usually canonicalized.
129 Node* ExternalConstant(ExternalReference ref);
130 Node* ExternalConstant(Runtime::FunctionId function_id);
132 Node* SmiConstant(int32_t immediate) {
137 // Creates a dummy Constant node, used to satisfy calling conventions of
139 Node* NoContextConstant() { return ZeroConstant(); }
141 // Creates an empty StateValues node, used when we don't have any concrete
143 Node* EmptyStateValues();
145 // Create a control node that serves as dependency for dead nodes.
146 Node* Dead();
195 Node* cached_nodes_[kNumCachedNodes];
197 Node* NumberConstant(double value);