Home
last modified time | relevance | path

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

123456

/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/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/flutter/skia/third_party/externals/icu/source/common/unicode/
Dstringtriebuilder.h277 class ValueNode : public Node {
279 ValueNode(int32_t initialHash) : Node(initialHash), hasValue(FALSE), value(0) {} in ValueNode() function
295 class IntermediateValueNode : public ValueNode {
298 : ValueNode(0x222222u*37u+hashCode(nextNode)), next(nextNode) { setValue(v); } in IntermediateValueNode()
312 class LinearMatchNode : public ValueNode {
315 : ValueNode((0x333333u*37u+len)*37u+hashCode(nextNode)), in LinearMatchNode()
387 class BranchHeadNode : public ValueNode {
390 : ValueNode((0x666666u*37u+len)*37u+hashCode(subNode)), in BranchHeadNode()
/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/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/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/mindspore/tests/ut/cpp/ir/
Danf_test.cc38 ASSERT_EQ(c->isa<ValueNode>(), true); in TEST_F()
43 ValueNode c1(fg); in TEST_F()
73 assert(!a.isa<ValueNode>()); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/
Dconvert_const_scalar_to_tensor.cc29 if (!input_node->isa<ValueNode>()) { in CreateTensorInput()
44 auto tensor_input = std::make_shared<ValueNode>(tensor_ptr); in CreateTensorInput()
64 if (node->isa<ValueNode>() && node == func_graph->output()) { in Process()
Dcommon_subexpression_elimination.cc103 if (main->isa<ValueNode>() && node->isa<ValueNode>()) { in CheckReplace()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/
Dcse.cc84 if (node->isa<ValueNode>()) { in BuildOrderGroupAndDoReplaceForOneGraph()
159 if (main->isa<ValueNode>() && node->isa<ValueNode>()) { in CheckReplace()
227 if ((k + 1 + clear_set.size() == group.size()) || (k > 0 && main->isa<ValueNode>())) { in DoReplace()
Dpy_pass.cc65 return std::make_shared<ValueNode>(prim); in BuildPrimitive()
74 return std::make_shared<ValueNode>(input_tensor); in BuildNewTensor()
83 return std::make_shared<ValueNode>(prim); in BuildPrimitiveValueNode()
129 return std::make_shared<ValueNode>(scalar_value_ptr); in BuildImmNode()
/third_party/flutter/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/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=(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/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/mindspore/mindspore/ccsrc/transform/express_ir/
Donnx_exporter.cc459 auto value_node_ptr = dyn_cast<ValueNode>(node); in GetInt64Value()
746 if (input_shape->isa<ValueNode>()) { in ExportPrimReshape()
759 ConvertTupleToTensor(dyn_cast<ValueNode>(input_shape)->value(), attr_proto->mutable_t()); in ExportPrimReshape()
791 if (input_axis->isa<ValueNode>()) { in ExportPrimReduce()
795 auto axis_value = dyn_cast<ValueNode>(input_axis)->value(); in ExportPrimReduce()
829 if (input_perm->isa<ValueNode>()) { in ExportPrimTranspose()
833 auto perm_value = dyn_cast<ValueNode>(input_perm)->value(); in ExportPrimTranspose()
857 if (begin->isa<ValueNode>()) { in ExportPrimStridedSlice()
869 ConvertTupleToTensor(dyn_cast<ValueNode>(begin)->value(), attr_proto->mutable_t()); in ExportPrimStridedSlice()
877 if (end->isa<ValueNode>()) { in ExportPrimStridedSlice()
[all …]
/third_party/mindspore/mindspore/core/ir/
Danf.h62 class ValueNode; variable
63 using ValueNodePtr = std::shared_ptr<ValueNode>;
486 class MS_CORE_API ValueNode : public ANode {
488 explicit ValueNode(const ValuePtr &value) : value_(value) {} in ValueNode() function
489 ~ValueNode() override = default;
490 MS_DECLARE_PARENT(ValueNode, ANode);
512 if (!other.isa<ValueNode>()) {
515 auto v = static_cast<const ValueNode &>(other);
637 if (!node->isa<ValueNode>()) { in GetValueNode()
Danf_extends.cc97 void ValueNode::accept(AnfIrVisitor *v) { v->Visit(shared_from_base<ValueNode>()); } in accept()
/third_party/mindspore/mindspore/ccsrc/runtime/framework/
Dcontrol_node_parser.cc120 } else if (tuple_inputs[i]->isa<ValueNode>() && IsValueNode<FuncGraph>(tuple_inputs[i])) { in FetchParameterBySwitchLayerNode()
355 } else if (graph_output->isa<ValueNode>()) { in FetchOutputByCallNode()
520 …return inputs[0]->isa<CNode>() || (inputs[0]->isa<ValueNode>() && IsValueNode<FuncGraph>(inputs[0]… in IsCallNode()
544 } else if (tuple_inputs[kMakeTupleInputStartPos]->isa<ValueNode>() && in IsSubCallNode()
551 (output->isa<ValueNode>() && IsValueNode<FuncGraph>(output)); in IsSubCallNode()
610 } else if (call_inputs[0]->isa<ValueNode>() && IsValueNode<FuncGraph>(call_inputs[0])) { in FetchFuncGraphbyCallNode()
649 …} else if (inputs[i]->isa<ValueNode>() && inputs[i]->cast<ValueNodePtr>()->value()->isa<ValueTuple… in FetchOutputSizebyCallNode()
868 if (input->isa<ValueNode>()) { in FetchValueNodeBySwitchNode()
890 if (func_graph->output()->isa<ValueNode>()) { in FetchValueNodeBySwitchNode()
903 if (inputs[0]->isa<ValueNode>() && IsValueNode<FuncGraph>(inputs[0])) { in FetchFrontValueNode()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/enhancer/
Dsplit_n_optimizer.cc60 if (anf_node->isa<ValueNode>()) { in VisitSplitKernel()
99 if (in_node->isa<Parameter>() || in_node->isa<ValueNode>()) { in InputCheck()
109 …ode_name == kTransDataOpName && (trans_input->isa<Parameter>() || trans_input->isa<ValueNode>())) { in InputCheck()
/third_party/mindspore/mindspore/ccsrc/debug/
Ddraw.cc99 if (t->isa<ValueNode>() && (*sub_graphs).find(nd->func_graph()) != (*sub_graphs).end()) { in DrawValueNodes()
129 if (t->isa<ValueNode>() || t->isa<Parameter>()) { in DrawEdges()
281 if (node->isa<CNode>() || (node->isa<ValueNode>() && !IsValueNode<FuncGraph>(node))) { in Head()
536 } else if (node->isa<ValueNode>() && !IsValueNode<FuncGraph>(node)) { in Node()
630 } else if (node->isa<ValueNode>() && !IsValueNode<FuncGraph>(node)) { in Node()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dparameter_and_transop_fusion.cc50 if (next_node->isa<Parameter>() || next_node->isa<ValueNode>()) { in ParamTransRoad()
55 } else if (node->isa<Parameter>() || node->isa<ValueNode>()) { in ParamTransRoad()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/trt_pass/
Dgraph_partitioner.cc141 …if (input_node == nullptr || input_node->isa<ValueNode>() || input_node->isa<Parameter>()) continu… in ExistCycleAfterMerge()
165 …if (input_node == nullptr || input_node->isa<ValueNode>() || input_node->isa<Parameter>()) continu… in MergeParentBranchRecursively()
194 …if (input_node == nullptr || input_node->isa<ValueNode>() || input_node->isa<Parameter>()) continu… in NodeGrouping()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Ddecrease_compute_precision.cc95 if (cur_input->isa<ValueNode>()) { in InsertCastForGraphKernel()
100 if (cur_input->isa<ValueNode>()) { in InsertCastForGraphKernel()
105 auto value_node = std::make_shared<ValueNode>(itensor); in InsertCastForGraphKernel()
/third_party/mindspore/mindspore/lite/tools/optimizer/graph/
Dredundant_op_remove_pass.cc47 if (utils::isa<ValueNode>(first_input)) { in ProcessInputIsMonad()
55 if (utils::isa<ValueNode>(second_input)) { in ProcessInputIsMonad()
208 if (!utils::isa<ValueNode>(index_vnode)) { in ReplaceTupleGetItem()
278 } else if (utils::isa<ValueNode>(padding_node)) { in GetConstDataFromInputNode()

123456