Home
last modified time | relevance | path

Searched refs:ValueNode (Results 1 – 22 of 22) sorted by relevance

/third_party/node/deps/v8/src/maglev/
Dmaglev-regalloc.h32 ValueNode* register_values_[Register::kNumRegisters];
49 void UpdateUse(ValueNode* node, InputLocation* input_location);
55 void AllocateNodeResult(ValueNode* node);
60 void FreeRegisters(ValueNode* node) { in FreeRegisters()
67 ValueNode* GetRegisterValue(Register reg) const { in GetRegisterValue()
69 ValueNode* node = register_values_[reg.code()]; in GetRegisterValue()
78 void AllocateSpillSlot(ValueNode* node);
79 void Spill(ValueNode* node);
83 compiler::AllocatedOperand AllocateRegister(ValueNode* node);
84 compiler::AllocatedOperand ForceAllocate(Register reg, ValueNode* node);
[all …]
Dmaglev-interpreter-frame-state.h45 void set_accumulator(ValueNode* value) { in set_accumulator()
48 ValueNode* accumulator() const { in accumulator()
52 void set(interpreter::Register reg, ValueNode* value) { in set()
60 ValueNode* get(interpreter::Register reg) const { in get()
69 const RegisterFrameArray<ValueNode*>& frame() const { return frame_; } in frame()
72 RegisterFrameArray<ValueNode*> frame_;
80 info.zone()->NewArray<ValueNode*>(SizeFor(info, liveness))), in CompactInterpreterFrameState()
87 ForEachValue(info, [&](ValueNode*& entry, interpreter::Register reg) { in CompactInterpreterFrameState()
165 ValueNode*& accumulator(const MaglevCompilationUnit& info) { in accumulator()
168 ValueNode* accumulator(const MaglevCompilationUnit& info) const { in accumulator()
[all …]
Dmaglev-regalloc.cc61 bool IsLiveAtTarget(ValueNode* node, ControlNode* source, BasicBlock* target) { in IsLiveAtTarget()
201 ValueNode* node = GetRegisterValue(reg); in PrintLiveRegs()
311 ValueNode* node, InputLocation* input_location) { in UpdateUse()
329 *compilation_unit_, [&](ValueNode* node, interpreter::Register reg) { in UpdateUse()
342 *compilation_unit_, [&](ValueNode* node, interpreter::Register reg) { in UpdateUse()
362 if (node->Is<ValueNode>()) AllocateNodeResult(node->Cast<ValueNode>()); in AllocateNode()
378 void StraightForwardRegisterAllocator::AllocateNodeResult(ValueNode* node) { in AllocateNodeResult()
440 ValueNode* node = GetRegisterValue(reg); in DropRegisterValue()
490 ValueNode* node = GetRegisterValue(reg); in InitializeConditionalBranchRegisters()
581 void StraightForwardRegisterAllocator::Spill(ValueNode* node) { in Spill()
[all …]
Dmaglev-graph-builder.h215 NodeT* AddNewNode(std::initializer_list<ValueNode*> inputs, Args&&... args) { in AddNewNode()
234 ValueNode* GetContext() const { in GetContext()
254 ValueNode* GetConstant(const compiler::ObjectRef& ref) { in GetConstant()
273 ValueNode* GetTaggedValue(interpreter::Register reg) { in GetTaggedValue()
276 ValueNode* value = current_interpreter_frame_.get(reg); in GetTaggedValue()
282 ValueNode* tagged = AddNewNode<CheckedSmiTag>({value}); in GetTaggedValue()
287 ValueNode* GetSmiUntaggedValue(interpreter::Register reg) { in GetSmiUntaggedValue()
290 ValueNode* value = current_interpreter_frame_.get(reg); in GetSmiUntaggedValue()
294 ValueNode* untagged = AddNewNode<CheckedSmiUntag>({value}); in GetSmiUntaggedValue()
299 ValueNode* GetAccumulatorTaggedValue() { in GetAccumulatorTaggedValue()
[all …]
Dmaglev-graph-builder.cc92 ValueNode* undefined_value = in MaglevGraphBuilder()
145 ValueNode* value = GetAccumulatorTaggedValue(); in BuildGenericUnaryOperationNode()
152 ValueNode* left = LoadRegisterTaggedValue(0); in BuildGenericBinaryOperationNode()
153 ValueNode* right = GetAccumulatorTaggedValue(); in BuildGenericBinaryOperationNode()
161 ValueNode* left = GetAccumulatorTaggedValue(); in BuildGenericBinarySmiOperationNode()
163 ValueNode* right = AddNewNode<SmiConstant>({}, constant); in BuildGenericBinarySmiOperationNode()
184 ValueNode *left, *right; in VisitBinaryOperation()
213 ValueNode* left = GetAccumulatorSmiUntaggedValue(); in VisitBinarySmiOperation()
224 ValueNode* right = AddNewNode<Int32Constant>({}, constant); in VisitBinarySmiOperation()
269 ValueNode* context = GetContext(); in MAGLEV_UNIMPLEMENTED_BYTECODE()
[all …]
Dmaglev-regalloc-data.h16 class ValueNode; variable
55 ValueNode* node;
68 inline bool LoadMergeState(RegisterState state, ValueNode** node, in LoadMergeState()
75 *node = static_cast<ValueNode*>(state.GetPointer()); in LoadMergeState()
Dmaglev-compiler.cc95 ValueNode* input = phi->input(i).node(); in Process()
105 ValueNode* input = phi->input(i).node(); in Process()
120 [&](ValueNode* node, interpreter::Register reg) { in MarkCheckpointNodes()
133 [&](ValueNode* node, interpreter::Register reg) { in MarkCheckpointNodes()
Dmaglev-ir.h166 class ValueNode; variable
314 explicit Input(ValueNode* node) : node_(node) {} in Input()
315 ValueNode* node() const { return node_; } in node()
318 ValueNode* node_;
401 static Derived* New(Zone* zone, std::initializer_list<ValueNode*> inputs, in New()
407 for (ValueNode* input : inputs) { in New()
564 void set_input(int index, ValueNode* input) { in set_input()
647 constexpr bool NodeBase::Is<ValueNode>() const {
689 class ValueNode : public Node {
784 explicit ValueNode(uint32_t bitfield) in ValueNode() function
[all …]
Dmaglev-code-generator.cc117 if (std::is_base_of<ValueNode, NodeT>::value) { in Process()
118 ValueNode* value_node = node->template Cast<ValueNode>(); in Process()
449 void EmitDeoptFrameSingleValue(ValueNode* value, in EmitDeoptFrameSingleValue()
489 compilation_unit, [&](ValueNode* value, interpreter::Register reg) { in EmitDeoptFrameValues()
511 compilation_unit, [&](ValueNode* value, interpreter::Register reg) { in EmitDeoptFrameValues()
537 ValueNode* value = checkpoint_state->accumulator(compilation_unit); in EmitDeoptFrameValues()
Dmaglev-graph-verifier.h43 ValueNode* input = node->input(i).node(); in CheckValueInputIs()
Dmaglev-graph-printer.cc320 [&](ValueNode* node, interpreter::Register reg) { in PrintEagerDeopt()
360 [&](ValueNode* node, interpreter::Register reg) { in PrintLazyDeopt()
Dmaglev-ir.cc304 const ValueNode* node) { in PrintResult()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DStringTrieBuilder.java164 private final ValueNode registerFinalValue(int value) { in registerFinalValue()
170 return (ValueNode)oldNode; in registerFinalValue()
172 ValueNode newNode=new ValueNode(value); in registerFinalValue()
264 private static class ValueNode extends Node { class in StringTrieBuilder
265 public ValueNode() {} in ValueNode() method in StringTrieBuilder.ValueNode
266 public ValueNode(int v) { in ValueNode() method in StringTrieBuilder.ValueNode
295 ValueNode o=(ValueNode)other; in equals()
304 ValueNode node=builder.createSuffixNode(s, start, sValue); in add()
317 private static final class IntermediateValueNode extends ValueNode {
353 private static final class LinearMatchNode extends ValueNode {
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DStringTrieBuilder.java163 private final ValueNode registerFinalValue(int value) { in registerFinalValue()
169 return (ValueNode)oldNode; in registerFinalValue()
171 ValueNode newNode=new ValueNode(value); in registerFinalValue()
263 private static class ValueNode extends Node { class in StringTrieBuilder
264 public ValueNode() {} in ValueNode() method in StringTrieBuilder.ValueNode
265 public ValueNode(int v) { in ValueNode() method in StringTrieBuilder.ValueNode
294 ValueNode o=(ValueNode)other; in equals()
303 ValueNode node=builder.createSuffixNode(s, start, sValue); in add()
316 private static final class IntermediateValueNode extends ValueNode {
352 private static final class LinearMatchNode extends ValueNode {
[all …]
/third_party/node/deps/icu-small/source/common/unicode/
Dstringtriebuilder.h280 class ValueNode : public Node {
282 ValueNode(int32_t initialHash) : Node(initialHash), hasValue(false), value(0) {} in ValueNode() function
298 class IntermediateValueNode : public ValueNode {
301 : ValueNode(0x222222u*37u+hashCode(nextNode)), next(nextNode) { setValue(v); } in IntermediateValueNode()
315 class LinearMatchNode : public ValueNode {
318 : ValueNode((0x333333u*37u+len)*37u+hashCode(nextNode)), in LinearMatchNode()
390 class BranchHeadNode : public ValueNode {
393 : ValueNode((0x666666u*37u+len)*37u+hashCode(subNode)), in BranchHeadNode()
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dstringtriebuilder.h280 class ValueNode : public Node {
282 ValueNode(int32_t initialHash) : Node(initialHash), hasValue(false), value(0) {} in ValueNode() function
298 class IntermediateValueNode : public ValueNode {
301 : ValueNode(0x222222u*37u+hashCode(nextNode)), next(nextNode) { setValue(v); } in IntermediateValueNode()
315 class LinearMatchNode : public ValueNode {
318 : ValueNode((0x333333u*37u+len)*37u+hashCode(nextNode)), in LinearMatchNode()
390 class BranchHeadNode : public ValueNode {
393 : ValueNode((0x666666u*37u+len)*37u+hashCode(subNode)), in BranchHeadNode()
/third_party/icu/icu4c/source/common/unicode/
Dstringtriebuilder.h280 class ValueNode : public Node {
282 ValueNode(int32_t initialHash) : Node(initialHash), hasValue(false), value(0) {} in ValueNode() function
298 class IntermediateValueNode : public ValueNode {
301 : ValueNode(0x222222u*37u+hashCode(nextNode)), next(nextNode) { setValue(v); } in IntermediateValueNode()
315 class LinearMatchNode : public ValueNode {
318 : ValueNode((0x333333u*37u+len)*37u+hashCode(nextNode)), in LinearMatchNode()
390 class BranchHeadNode : public ValueNode {
393 : ValueNode((0x666666u*37u+len)*37u+hashCode(subNode)), in BranchHeadNode()
/third_party/node/deps/icu-small/source/common/
Dstringtriebuilder.cpp249 ((ValueNode *)node)->setValue(value); in makeNode()
417 StringTrieBuilder::ValueNode::operator==(const Node &other) const { in operator ==()
424 const ValueNode &o=static_cast<const ValueNode &>(other); in operator ==()
433 if(!ValueNode::operator==(other)) { in operator ==()
459 if(!ValueNode::operator==(other)) { in operator ==()
592 if(!ValueNode::operator==(other)) { in operator ==()
/third_party/skia/third_party/externals/icu/source/common/
Dstringtriebuilder.cpp249 ((ValueNode *)node)->setValue(value); in makeNode()
417 StringTrieBuilder::ValueNode::operator==(const Node &other) const { in operator ==()
424 const ValueNode &o=(const ValueNode &)other; in operator ==()
433 if(!ValueNode::operator==(other)) { in operator ==()
459 if(!ValueNode::operator==(other)) { in operator ==()
592 if(!ValueNode::operator==(other)) { in operator ==()
/third_party/icu/icu4c/source/common/
Dstringtriebuilder.cpp249 ((ValueNode *)node)->setValue(value); in makeNode()
417 StringTrieBuilder::ValueNode::operator==(const Node &other) const { in operator ==()
424 const ValueNode &o=(const ValueNode &)other; in operator ==()
433 if(!ValueNode::operator==(other)) { in operator ==()
459 if(!ValueNode::operator==(other)) { in operator ==()
592 if(!ValueNode::operator==(other)) { in operator ==()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DSpirvShaderDebugger.cpp861 struct ValueNode struct
867 std::unordered_map<uint32_t, std::unique_ptr<ValueNode>> children; argument
869 ValueNode values; // Used if definition == Definition::Values
1190 debug::LocalVariable::ValueNode const *node);
1201 debug::LocalVariable::ValueNode const *const node;
1822 auto child = std::make_unique<debug::LocalVariable::ValueNode>(); in process()
1828 if(node->debugValueIndex == debug::LocalVariable::ValueNode::NoDebugValueIndex) in process()
2025 debug::LocalVariable::ValueNode const *node) in LocalVariableValue()
2053 auto newActiveValue = (node->debugValueIndex != debug::LocalVariable::ValueNode::NoDebugValueIndex) in updateValue()
/third_party/mindspore/patches/
D0005-micro-for-ohos.patch18608 + if (left_pre_node->isa<Parameter>() || left_pre_node->isa<ValueNode>()) {