Home
last modified time | relevance | path

Searched refs:IsConst (Results 1 – 25 of 27) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
Dilist_iterator.h23 template <class OptionsT, bool IsConst> struct IteratorTraits;
56 template <class OptionsT, bool IsReverse, bool IsConst>
58 friend ilist_iterator<OptionsT, IsReverse, !IsConst>;
59 friend ilist_iterator<OptionsT, !IsReverse, IsConst>;
60 friend ilist_iterator<OptionsT, !IsReverse, !IsConst>;
62 using Traits = ilist_detail::IteratorTraits<OptionsT, IsConst>;
93 typename std::enable_if<IsConst || !RHSIsConst, void *>::type = nullptr)
99 typename std::enable_if<IsConst || !RHSIsConst, ilist_iterator &>::type
114 const ilist_iterator<OptionsT, !IsReverse, IsConst> &RHS)
122 ilist_iterator<OptionsT, !IsReverse, IsConst> getReverse() const {
[all …]
DDenseMap.h54 bool IsConst = false>
1158 bool IsConst>
1168 typename std::conditional<IsConst, const Bucket, Bucket>::type;
1197 typename = typename std::enable_if<!IsConstSrc && IsConst>::type>
Dilist_node.h28 template <class OptionsT, bool IsReverse, bool IsConst> class ilist_iterator;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
Dilist_iterator.h24 template <class OptionsT, bool IsConst> struct IteratorTraits;
55 template <class OptionsT, bool IsReverse, bool IsConst>
57 friend ilist_iterator<OptionsT, IsReverse, !IsConst>;
58 friend ilist_iterator<OptionsT, !IsReverse, IsConst>;
59 friend ilist_iterator<OptionsT, !IsReverse, !IsConst>;
61 typedef ilist_detail::IteratorTraits<OptionsT, IsConst> Traits;
93 typename std::enable_if<IsConst || !RHSIsConst, void *>::type = nullptr)
99 typename std::enable_if<IsConst || !RHSIsConst, ilist_iterator &>::type
109 ilist_iterator<OptionsT, !IsReverse, IsConst> getReverse() const {
111 return ilist_iterator<OptionsT, !IsReverse, IsConst>(*NodePtr);
[all …]
DDenseMap.h50 typename Bucket = detail::DenseMapPair<KeyT, ValueT>, bool IsConst = false>
1033 bool IsConst>
1041 typedef typename std::conditional<IsConst, const Bucket, Bucket>::type
1064 typename = typename std::enable_if<!IsConstSrc && IsConst>::type>
Dilist_node.h30 template <class OptionsT, bool IsReverse, bool IsConst> class ilist_iterator;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Diterator.h32 template <typename ValueType, bool IsConst = false>
44 using UptrVector = typename std::conditional<IsConst, const std::vector<Uptr>,
47 typename std::conditional<IsConst, typename UptrVector::const_iterator,
77 template <bool IsConstForMethod = IsConst>
86 template <bool IsConstForMethod = IsConst>
95 template <bool IsConstForMethod = IsConst>
/third_party/spirv-tools/source/opt/
Diterator.h32 template <typename ValueType, bool IsConst = false>
44 using UptrVector = typename std::conditional<IsConst, const std::vector<Uptr>,
47 typename std::conditional<IsConst, typename UptrVector::const_iterator,
77 template <bool IsConstForMethod = IsConst>
86 template <bool IsConstForMethod = IsConst>
95 template <bool IsConstForMethod = IsConst>
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Diterator.h32 template <typename ValueType, bool IsConst = false>
44 using UptrVector = typename std::conditional<IsConst, const std::vector<Uptr>,
47 typename std::conditional<IsConst, typename UptrVector::const_iterator,
77 template <bool IsConstForMethod = IsConst>
86 template <bool IsConstForMethod = IsConst>
95 template <bool IsConstForMethod = IsConst>
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/XRay/
DGraph.h127 template <bool IsConst, bool IsOut,
129 typename T = typename std::conditional<IsConst, const EdgeValueType,
133 NeighborEdgeIteratorT<IsConst, IsOut>, BaseIt,
136 typename std::conditional<IsConst, const EdgeMapT, EdgeMapT>::type;
147 typename = typename std::enable_if<IsConstDest && !IsConst>::type>
158 NeighborEdgeIteratorT<IsConst, IsOut>, BaseIt, in NeighborEdgeIteratorT()
/third_party/node/deps/v8/src/torque/
Dcpp-builder.cc36 if (IsConst()) stream << " const"; in PrintDeclarationHeader()
109 if (IsConst()) { in PrintBeginDefinition()
Ddeclarable.h245 virtual bool IsConst() const { return true; } in IsConst() function
Dimplementation-visitor.h97 bool IsConst() const { in IsConst() function
Dimplementation-visitor.cc2552 if (reference.IsConst()) { in GenerateAssignToLocation()
/third_party/skia/modules/skottie/src/effects/
DDisplacementMapEffect.cpp160 static bool IsConst(Selector s) { in IsConst() function in skottie::internal::__anon080d4d6f0111::DisplacementNode
169 if ((IsConst(fXSelector) && IsConst(fYSelector)) || in buildEffectShader()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DRegionInfo.h574 template <bool IsConst>
577 typename std::conditional<IsConst, const BlockT, BlockT>::type *> {
580 typename std::conditional<IsConst, const BlockT, BlockT>::type *>;
583 using Self = block_iterator_wrapper<IsConst>;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DAMDGPUMetadata.h178 constexpr char IsConst[] = "IsConst"; variable
/third_party/node/deps/v8/src/compiler/
Dload-elimination.cc556 info.const_field_info.IsConst() ? that->const_fields_ : that->fields_; in AddField()
652 if (const_field_info.IsConst()) { in LookupField()
930 if (!lookup_result && access.const_field_info.IsConst()) { in ReduceLoadField()
992 bool is_const_store = access.const_field_info.IsConst(); in ReduceStoreField()
Dsimplified-operator.h57 bool IsConst() const { return !owner_map.is_null(); } in IsConst() function
Dsimplified-operator.cc39 if (const_field_info.IsConst()) { in operator <<()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAMDGPUMetadata.cpp123 YIO.mapOptional(Kernel::Arg::Key::IsConst, MD.mIsConst, false); in mapping()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonBitSimplify.cpp2423 bool IsConst = true; in simplifyExtractLow() local
2428 IsConst = IsConst && (V.is(0) || V.is(1)); in simplifyExtractLow()
2430 if (IsConst) in simplifyExtractLow()
/third_party/mindspore/patches/
D0005-micro-for-ohos.patch6326 + running_pack_ = trainable_ || !in_tensors_[FOURTH_INPUT]->IsConst();
6437 + running_pack_ = running_pack_ || !in_tensors_[i]->IsConst();
9296 + if ((!input->IsConst() || input->IsGraphInput()) &&
12847 + MS_CHECK_TRUE_MSG(input_tensors_[SECOND_INPUT]->IsConst(), RET_NOT_SUPPORT,
13031 + MS_CHECK_TRUE_MSG(input_tensors_[i]->IsConst(), RET_PARAM_INVALID,
13081 + std::string input_data = GetTensorAddr(input_tensor_, input_tensor_->IsConst(), dynamic_mem_mana…
13082 + std::string output_data = GetTensorAddr(output_tensor_, output_tensor_->IsConst(), dynamic_mem_m…
13766 + input0_ptr_str_ = GetTensorAddr(input_tensor_, input_tensor_->IsConst(), dynamic_mem_manager_, a…
13767 + input1_ptr_str_ = GetTensorAddr(filter_tensor_, filter_tensor_->IsConst(), dynamic_mem_manager_,…
13768 + output_ptr_str_ = GetTensorAddr(output_tensor_, output_tensor_->IsConst(), dynamic_mem_manager_,…
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPURegisterBankInfo.cpp401 const bool IsConst = AS == AMDGPUAS::CONSTANT_ADDRESS || in isScalarLoadLegal() local
410 (IsConst || !MMO->isVolatile()) && in isScalarLoadLegal()
412 (IsConst || MMO->isInvariant() || memOpHasNoClobbered(MMO)) && in isScalarLoadLegal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp8620 bool IsConst = true; in LowerBUILD_VECTOR() local
8624 IsConst = false; in LowerBUILD_VECTOR()
8629 if (IsConst) { in LowerBUILD_VECTOR()

12