Home
last modified time | relevance | path

Searched refs:Subscript (Results 1 – 25 of 81) sorted by relevance

1234

/external/llvm-project/flang/include/flang/Evaluate/
Dvariable.h179 struct Subscript { struct
180 EVALUATE_UNION_CLASS_BOILERPLATE(Subscript) in EVALUATE_UNION_CLASS_BOILERPLATE() argument
181 explicit Subscript(Expr<SubscriptInteger> &&s) in EVALUATE_UNION_CLASS_BOILERPLATE()
196 ArrayRef(const Symbol &symbol, std::vector<Subscript> &&ss) in CLASS_BOILERPLATE()
198 ArrayRef(Component &&c, std::vector<Subscript> &&ss) in ArrayRef()
200 ArrayRef(NamedEntity &&base, std::vector<Subscript> &&ss) in ArrayRef()
205 std::vector<Subscript> &subscript() { return subscript_; } in subscript()
206 const std::vector<Subscript> &subscript() const { return subscript_; } in subscript()
209 Subscript &at(int n) { return subscript_.at(n); } in at()
210 const Subscript &at(int n) const { return subscript_.at(n); } in at()
[all …]
/external/clang/test/Analysis/
Dobjc-subscript.m51 if (o[self]) // expected-warning {{Subscript access on an uninitialized object pointer}}
54 if (o[0]) // expected-warning {{Subscript access on an uninitialized object pointer}}
69 self[i] = input; // expected-warning {{Subscript index is an uninitialized value}}
72 (void)self[i]; // expected-warning {{Subscript index is an uninitialized value}}
78 self[o] = input; // expected-warning {{Subscript index is an uninitialized value}}
81 (void)self[o]; // expected-warning {{Subscript index is an uninitialized value}}
/external/llvm-project/clang/test/Analysis/
Dobjc-subscript.m51 if (o[self]) // expected-warning {{Subscript access on an uninitialized object pointer}}
54 if (o[0]) // expected-warning {{Subscript access on an uninitialized object pointer}}
69 self[i] = input; // expected-warning {{Subscript index is an uninitialized value}}
72 (void)self[i]; // expected-warning {{Subscript index is an uninitialized value}}
78 self[o] = input; // expected-warning {{Subscript index is an uninitialized value}}
81 (void)self[o]; // expected-warning {{Subscript index is an uninitialized value}}
Dcall-and-message.m119 …if (o[self]) // expected-warning {{Subscript access on an uninitialized object pointer [core.CallA…
122 …if (o[0]) // expected-warning {{Subscript access on an uninitialized object pointer [core.CallAn…
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopCacheAnalysis.cpp119 for (const SCEV *Subscript : R.Subscripts) in operator <<() local
120 OS << "[" << *Subscript << "]"; in operator <<()
357 return all_of(Subscripts, [&](const SCEV *Subscript) { in delinearize() argument
358 return isSimpleAddRecurrence(*Subscript, *L); in delinearize()
375 bool allCoeffForLoopAreZero = all_of(Subscripts, [&](const SCEV *Subscript) { in isLoopInvariant() argument
376 return isCoeffForLoopZeroOrInvariant(*Subscript, L); in isLoopInvariant()
386 for (const SCEV *Subscript : Subscripts) { in isConsecutive() local
387 if (Subscript == LastSubscript) in isConsecutive()
389 if (!isCoeffForLoopZeroOrInvariant(*Subscript, L)) in isConsecutive()
410 bool IndexedReference::isCoeffForLoopZeroOrInvariant(const SCEV &Subscript, in isCoeffForLoopZeroOrInvariant() argument
[all …]
DDependenceAnalysis.cpp812 void DependenceInfo::unifySubscriptType(ArrayRef<Subscript *> Pairs) { in unifySubscriptType()
819 for (Subscript *Pair : Pairs) { in unifySubscriptType()
844 for (Subscript *Pair : Pairs) { in unifySubscriptType()
869 void DependenceInfo::removeMatchingExtensions(Subscript *Pair) { in removeMatchingExtensions()
929 DependenceInfo::Subscript::ClassificationKind
936 return Subscript::NonLinear; in classifyPair()
938 return Subscript::NonLinear; in classifyPair()
943 return Subscript::ZIV; in classifyPair()
945 return Subscript::SIV; in classifyPair()
949 return Subscript::RDIV; in classifyPair()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DLoopCacheAnalysis.cpp128 for (const SCEV *Subscript : R.Subscripts) in operator <<() local
129 OS << "[" << *Subscript << "]"; in operator <<()
382 return all_of(Subscripts, [&](const SCEV *Subscript) { in delinearize() argument
383 return isSimpleAddRecurrence(*Subscript, *L); in delinearize()
400 bool allCoeffForLoopAreZero = all_of(Subscripts, [&](const SCEV *Subscript) { in isLoopInvariant() argument
401 return isCoeffForLoopZeroOrInvariant(*Subscript, L); in isLoopInvariant()
411 for (const SCEV *Subscript : Subscripts) { in isConsecutive() local
412 if (Subscript == LastSubscript) in isConsecutive()
414 if (!isCoeffForLoopZeroOrInvariant(*Subscript, L)) in isConsecutive()
436 bool IndexedReference::isCoeffForLoopZeroOrInvariant(const SCEV &Subscript, in isCoeffForLoopZeroOrInvariant() argument
[all …]
DDependenceAnalysis.cpp814 void DependenceInfo::unifySubscriptType(ArrayRef<Subscript *> Pairs) { in unifySubscriptType()
821 for (Subscript *Pair : Pairs) { in unifySubscriptType()
846 for (Subscript *Pair : Pairs) { in unifySubscriptType()
871 void DependenceInfo::removeMatchingExtensions(Subscript *Pair) { in removeMatchingExtensions()
931 DependenceInfo::Subscript::ClassificationKind
938 return Subscript::NonLinear; in classifyPair()
940 return Subscript::NonLinear; in classifyPair()
945 return Subscript::ZIV; in classifyPair()
947 return Subscript::SIV; in classifyPair()
951 return Subscript::RDIV; in classifyPair()
[all …]
/external/llvm-project/flang/lib/Evaluate/
Dfold.cpp15 FoldingContext &context, Subscript &ss, const NamedEntity &base, int dim) { in GetConstantSubscript()
110 Subscript FoldOperation(FoldingContext &context, Subscript &&subscript) { in FoldOperation()
114 return Subscript(std::move(expr)); in FoldOperation()
117 return Subscript( in FoldOperation()
126 for (Subscript &subscript : arrayRef.subscript()) { in FoldOperation()
133 std::vector<Subscript> subscript; in FoldOperation()
134 for (Subscript x : coarrayRef.subscript()) { in FoldOperation()
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_sys_exc.py12 from ..fixer_util import Attr, Call, Name, Number, Subscript, Node, syms
29 attr.append(Subscript(index))
Dfix_tuple_params.py25 from ..fixer_util import Assign, Name, Newline, Number, Subscript, syms
161 trailer = [Subscript(Number(str(i)))]
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_sys_exc.py12 from ..fixer_util import Attr, Call, Name, Number, Subscript, Node, syms
29 attr.append(Subscript(index))
Dfix_tuple_params.py25 from ..fixer_util import Assign, Name, Newline, Number, Subscript, syms
161 trailer = [Subscript(Number(unicode(i)))]
/external/llvm/lib/Analysis/
DDependenceAnalysis.cpp777 void DependenceInfo::unifySubscriptType(ArrayRef<Subscript *> Pairs) { in unifySubscriptType()
784 for (Subscript *Pair : Pairs) { in unifySubscriptType()
809 for (Subscript *Pair : Pairs) { in unifySubscriptType()
834 void DependenceInfo::removeMatchingExtensions(Subscript *Pair) { in removeMatchingExtensions()
903 DependenceInfo::Subscript::ClassificationKind
910 return Subscript::NonLinear; in classifyPair()
912 return Subscript::NonLinear; in classifyPair()
917 return Subscript::ZIV; in classifyPair()
919 return Subscript::SIV; in classifyPair()
923 return Subscript::RDIV; in classifyPair()
[all …]
/external/llvm/include/llvm/Analysis/
DDependenceAnalysis.h351 struct Subscript { struct
536 void unifySubscriptType(ArrayRef<Subscript *> Pairs);
542 void removeMatchingExtensions(Subscript *Pair);
585 Subscript::ClassificationKind classifyPair(const SCEV *Src,
781 CoefficientInfo *collectCoeffInfo(const SCEV *Subscript,
924 SmallVectorImpl<Subscript> &Pair);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DDependenceAnalysis.h344 struct Subscript { struct
529 void unifySubscriptType(ArrayRef<Subscript *> Pairs);
535 void removeMatchingExtensions(Subscript *Pair);
589 Subscript::ClassificationKind classifyPair(const SCEV *Src,
785 CoefficientInfo *collectCoeffInfo(const SCEV *Subscript,
928 SmallVectorImpl<Subscript> &Pair);
DLoopCacheAnalysis.h112 bool isCoeffForLoopZeroOrInvariant(const SCEV &Subscript,
117 bool isSimpleAddRecurrence(const SCEV &Subscript, const Loop &L) const;
/external/protobuf/python/google/protobuf/pyext/
Drepeated_scalar_container.cc278 static PyObject* Subscript(PyObject* pself, PyObject* slice) { in Subscript() function
480 ScopedPyObjectPtr new_list(Subscript(pself, full_slice.get())); in Subscript()
529 ScopedPyObjectPtr new_list(Subscript(pself, full_slice.get())); in Subscript()
580 other_list_deleter.reset(Subscript(other, full_slice.get())); in Subscript()
584 ScopedPyObjectPtr list(Subscript(pself, full_slice.get())); in Subscript()
617 ScopedPyObjectPtr list(Subscript(pself, full_slice.get())); in Subscript()
658 ScopedPyObjectPtr list(Subscript(pself, full_slice.get())); in Subscript()
709 Subscript, /* mp_subscript */ in Subscript()
Drepeated_composite_container.cc234 PyObject* Subscript(RepeatedCompositeContainer* self, PyObject* item) { in Subscript() function
280 return Subscript(reinterpret_cast<RepeatedCompositeContainer*>(self), slice); in Subscript()
343 ScopedPyObjectPtr list(Subscript(self, full_slice.get())); in Subscript()
348 Subscript(reinterpret_cast<RepeatedCompositeContainer*>(other), in Subscript()
365 ScopedPyObjectPtr list(Subscript( in Subscript()
Drepeated_composite_container.h99 PyObject* Subscript(RepeatedCompositeContainer* self, PyObject* slice);
/external/llvm-project/llvm/include/llvm/Analysis/
DDependenceAnalysis.h345 struct Subscript { struct
530 void unifySubscriptType(ArrayRef<Subscript *> Pairs);
536 void removeMatchingExtensions(Subscript *Pair);
590 Subscript::ClassificationKind classifyPair(const SCEV *Src,
786 CoefficientInfo *collectCoeffInfo(const SCEV *Subscript,
931 SmallVectorImpl<Subscript> &Pair);
DLoopCacheAnalysis.h113 bool isCoeffForLoopZeroOrInvariant(const SCEV &Subscript,
118 bool isSimpleAddRecurrence(const SCEV &Subscript, const Loop &L) const;
/external/tensorflow/tensorflow/python/autograph/converters/
Dslices.py37 if not isinstance(target, gast.Subscript):
/external/cldr/tools/java/org/unicode/cldr/draft/
DManualChanges.txt21 Symbol;Subscript;Add;[ᵢ-ᵪ]
/external/llvm-project/flang/include/flang/Semantics/
Dexpression.h335 const std::optional<parser::Subscript> &);
336 std::optional<Subscript> AnalyzeSectionSubscript(
338 std::vector<Subscript> AnalyzeSectionSubscripts(
342 MaybeExpr ApplySubscripts(DataRef &&, std::vector<Subscript> &&);

1234