Home
last modified time | relevance | path

Searched refs:ValueList (Results 1 – 25 of 61) sorted by relevance

123

/third_party/skia/src/core/
DSkTMultiMap.h20 struct ValueList { struct
21 explicit ValueList(T* value) : fValue(value), fNext(nullptr) {} in ValueList() argument
23 static const Key& GetKey(const ValueList& e) { return HashTraits::GetKey(*e.fValue); } in GetKey() argument
26 ValueList* fNext; argument
36 fHash.foreach([&](ValueList* vl) { in reset()
37 ValueList* next; in reset()
38 for (ValueList* it = vl; it; it = next) { in reset()
49 ValueList* list = fHash.find(key); in insert()
53 ValueList* newEntry = new ValueList(list->fValue); in insert()
60 fHash.add(new ValueList(value)); in insert()
[all …]
/third_party/flutter/skia/src/core/
DSkTMultiMap.h21 struct ValueList { struct
22 explicit ValueList(T* value) : fValue(value), fNext(nullptr) {} in ValueList() argument
24 static const Key& GetKey(const ValueList& e) { return HashTraits::GetKey(*e.fValue); } in GetKey() argument
27 ValueList* fNext; argument
33 typename SkTDynamicHash<ValueList, Key>::Iter iter(&fHash); in ~SkTMultiMap()
35 ValueList* next; in ~SkTMultiMap()
36 for (ValueList* cur = &(*iter); cur; cur = next) { in ~SkTMultiMap()
45 ValueList* list = fHash.find(key); in insert()
49 ValueList* newEntry = new ValueList(list->fValue); in insert()
56 fHash.add(new ValueList(value)); in insert()
[all …]
/third_party/mindspore/mindspore/core/ir/
Dvalue.h85 class MS_CORE_API ValueList : public ValueSequeue {
87 explicit ValueList(const std::vector<ValuePtr> &elements) : ValueSequeue(elements) {} in ValueList() function
88 ValueList(const std::initializer_list<ValuePtr> &elements) : ValueSequeue(elements) {} in ValueList() function
89 ~ValueList() override = default;
90 MS_DECLARE_PARENT(ValueList, ValueSequeue)
96 using ValueListPtr = std::shared_ptr<ValueList>;
Dvalue_extends.cc53 abstract::AbstractBasePtr ValueList::ToAbstract() { in ToAbstract()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp498 BitcodeReaderValueList ValueList; member in __anond4790c120411::BitcodeReader
631 return ValueList.getValueFwdRef(ID, Ty, FullTy); in getFnValueByID()
861 ValueList(Context, Stream.SizeInBytes()) { in BitcodeReader()
2017 if (ValueID >= ValueList.size() || !ValueList[ValueID]) in recordValue()
2019 Value *V = ValueList[ValueID]; in recordValue()
2102 cast<Function>(ValueList[Record[0]]), Record); in parseGlobalValueSymbolTable()
2247 if (ValID >= ValueList.size()) { in resolveGlobalAndIndirectSymbolInits()
2251 if (Constant *C = dyn_cast_or_null<Constant>(ValueList[ValID])) in resolveGlobalAndIndirectSymbolInits()
2261 if (ValID >= ValueList.size()) { in resolveGlobalAndIndirectSymbolInits()
2264 Constant *C = dyn_cast_or_null<Constant>(ValueList[ValID]); in resolveGlobalAndIndirectSymbolInits()
[all …]
DCMakeLists.txt6 ValueList.cpp
DMetadataLoader.cpp423 BitcodeReaderValueList &ValueList; member in MetadataLoader::MetadataLoaderImpl
636 BitcodeReaderValueList &ValueList, in MetadataLoaderImpl() argument
640 ValueList(ValueList), Stream(Stream), Context(TheModule.getContext()), in MetadataLoaderImpl()
836 if (ValueID >= ValueList.size()) in lazyLoadModuleMetadataBlock()
838 if (auto *GO = dyn_cast<GlobalObject>(ValueList[ValueID])) in lazyLoadModuleMetadataBlock()
1159 LocalAsMetadata::get(ValueList.getValueFwdRef(Record[1], Ty)), in parseOneMetadata()
1179 ValueAsMetadata::get(ValueList.getValueFwdRef(Record[i + 1], Ty)); in parseOneMetadata()
1199 ValueAsMetadata::get(ValueList.getValueFwdRef(Record[1], Ty)), in parseOneMetadata()
1903 if (ValueID >= ValueList.size()) in parseOneMetadata()
1905 if (auto *GO = dyn_cast<GlobalObject>(ValueList[ValueID])) in parseOneMetadata()
[all …]
DMetadataLoader.h43 BitcodeReaderValueList &ValueList, bool IsImporting,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
DValueEnumerator.h49 using ValueList = std::vector<std::pair<const Value *, unsigned>>; variable
64 ValueList Values;
198 const ValueList &getValues() const { return Values; } in getValues()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/graph_util/
Dnode_info.cc68 (IsValueNode<ValueList>(node_inputs[1]) || IsValueNode<ValueTuple>(node_inputs[1]))) { in ExtractInputParameterByNode()
70 if (IsValueNode<ValueList>(node_inputs[1])) { in ExtractInputParameterByNode()
158 (IsValueNode<ValueList>(node_inputs[1]) || IsValueNode<ValueTuple>(node_inputs[1]))) { in ExtractInputTypeLengthByNode()
160 if (IsValueNode<ValueList>(node_inputs[1])) { in ExtractInputTypeLengthByNode()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/other/
Dboundingbox_encode_gpu_kernel.h105 if (means->isa<ValueTuple>() || means->isa<ValueList>()) { in Init()
117 if (stds->isa<ValueTuple>() || stds->isa<ValueList>()) { in Init()
Dboundingbox_decode_gpu_kernel.h106 if (means->isa<ValueTuple>() || means->isa<ValueList>()) { in Init()
119 if (stds->isa<ValueTuple>() || stds->isa<ValueList>()) { in Init()
/third_party/mindspore/mindspore/core/ops/
Ddropout_gen_mask.cc123 auto max_value = shape_max->isa<ValueList>() ? shape_max->cast<ValueListPtr>()->value() in InferShape()
128 auto min_value = shape_min->isa<ValueList>() ? shape_min->cast<ValueListPtr>()->value() in InferShape()
Dreduce_sum.cc40 if (axis->isa<ValueTuple>() || axis->isa<ValueList>()) { in InferImplReduceFuncCalShape()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dboundingbox_encode_cpu_kernel.cc32 AnfAlgo::GetCNodePrimitive(kernel_node)->GetAttr("means")->isa<ValueList>()) { in InitKernel()
44 AnfAlgo::GetCNodePrimitive(kernel_node)->GetAttr("stds")->isa<ValueList>()) { in InitKernel()
Dboundingbox_decode_cpu_kernel.cc32 AnfAlgo::GetCNodePrimitive(kernel_node)->GetAttr("means")->isa<ValueList>()) { in InitKernel()
44 AnfAlgo::GetCNodePrimitive(kernel_node)->GetAttr("stds")->isa<ValueList>()) { in InitKernel()
Dreduce_cpu_kernel.cc43 if (axis_addr->isa<ValueTuple>() || axis_addr->isa<ValueList>()) { in InitKernel()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Dstep_parallel_utils.cc86 if (IsValueNode<ValueList>(node)) { in GetValueListShape()
108 if (IsValueNode<ValueList>(node) || IsValueNode<ValueTuple>(node)) { in GetNodeShape()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/
Dresolve.cc230 if (elem->isa<ValueTuple>() || elem->isa<ValueList>()) { in IsAllFuncInValueSequence()
250 if (elem->isa<ValueTuple>() || elem->isa<ValueList>()) { in TransformToMakeTupleNodes()
305 if (IsValueNode<ValueTuple>(resolved_node) || IsValueNode<ValueList>(resolved_node)) { in ResolveObjectAndAddToManager()
/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/
Dop_adapter_util.h49 if (!value->isa<ValueTuple>() && !value->isa<ValueList>()) { in ConvertAnyUtil()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp531 using ValueList = SmallVector<Value *, 8>; typedef in llvm::slpvectorizer::BoUpSLP
1205 ValueList getVL(unsigned OpIdx) const { in getVL()
1206 ValueList OpVL(OpsVec[OpIdx].size()); in getVL()
1444 ValueList Scalars;
1478 SmallVector<ValueList, 2> Operands;
1514 ValueList &getOperand(unsigned OpIdx) { in getOperand()
2591 SmallVector<ValueList, 2> OperandsVec; in buildTree_rec()
2593 ValueList Operands; in buildTree_rec()
2616 ValueList Op0; in buildTree_rec()
2639 ValueList Op0; in buildTree_rec()
[all …]
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/pipeline_transformer/
Dpipeline_transformer.cc502 auto shape_list = std::make_shared<ValueList>(element); in GetShapeType()
810 send_out.depend->set_user_data<ValueList>(SHAPE, send_out.shape); in HandleParameterGraph()
861 send_out.depend->set_user_data<ValueList>(SHAPE, send_out.shape); in CutBorder()
909 shape_ = send_ops.back()->user_data<ValueList>(SHAPE); in CutGraph()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h626 const EVT *ValueList;
967 SDVTList X = { ValueList, NumValues };
1003 return ValueList[ResNo];
1022 value_iterator value_begin() const { return ValueList; }
1023 value_iterator value_end() const { return ValueList+NumValues; }
1097 : NodeType(Opc), ValueList(VTs.VTs), NumValues(VTs.NumVTs),
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/
Dget_next_info.cc147 if (iter->second->isa<ValueList>()) { in GetAttrTypes()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dkernel_select_graph_kernel.cc164 if (axis_value->isa<ValueList>()) { in UpdateFracNZReduceOp()
165 auto value_list = dyn_cast<ValueList>(axis_value); in UpdateFracNZReduceOp()

123