Home
last modified time | relevance | path

Searched refs:Seq (Results 1 – 25 of 128) sorted by relevance

123456

/external/llvm-project/clang/test/SemaCXX/
Dmake_integer_seq.cpp6 struct Seq { struct
11 using MakeSeq = __make_integer_seq<Seq, T, N>; argument
13 static_assert(__is_same(MakeSeq<int, 0>, Seq<int>), "");
14 static_assert(__is_same(MakeSeq<int, 1>, Seq<int, 0>), "");
15 static_assert(__is_same(MakeSeq<int, 2>, Seq<int, 0, 1>), "");
16 static_assert(__is_same(MakeSeq<int, 3>, Seq<int, 0, 1, 2>), "");
17 static_assert(__is_same(MakeSeq<int, 4>, Seq<int, 0, 1, 2, 3>), "");
19 static_assert(__is_same(MakeSeq<unsigned int, 0U>, Seq<unsigned int>), "");
20 static_assert(__is_same(MakeSeq<unsigned int, 1U>, Seq<unsigned int, 0U>), "");
21 static_assert(__is_same(MakeSeq<unsigned int, 2U>, Seq<unsigned int, 0U, 1U>), "");
[all …]
/external/clang/test/SemaCXX/
Dmake_integer_seq.cpp6 struct Seq { struct
11 using MakeSeq = __make_integer_seq<Seq, T, N>; argument
13 static_assert(__is_same(MakeSeq<int, 0>, Seq<int>), "");
14 static_assert(__is_same(MakeSeq<int, 1>, Seq<int, 0>), "");
15 static_assert(__is_same(MakeSeq<int, 2>, Seq<int, 0, 1>), "");
16 static_assert(__is_same(MakeSeq<int, 3>, Seq<int, 0, 1, 2>), "");
17 static_assert(__is_same(MakeSeq<int, 4>, Seq<int, 0, 1, 2, 3>), "");
19 static_assert(__is_same(MakeSeq<unsigned int, 0U>, Seq<unsigned int>), "");
20 static_assert(__is_same(MakeSeq<unsigned int, 1U>, Seq<unsigned int, 0U>), "");
21 static_assert(__is_same(MakeSeq<unsigned int, 2U>, Seq<unsigned int, 0U, 1U>), "");
[all …]
/external/llvm-project/llvm/lib/Target/Mips/
DMipsAnalyzeImmediate.cpp89 void MipsAnalyzeImmediate::ReplaceADDiuSLLWithLUi(InstSeq &Seq) { in ReplaceADDiuSLLWithLUi() argument
92 if ((Seq.size() < 2) || (Seq[0].Opc != ADDiu) || in ReplaceADDiuSLLWithLUi()
93 (Seq[1].Opc != SLL) || (Seq[1].ImmOpnd < 16)) in ReplaceADDiuSLLWithLUi()
97 int64_t Imm = SignExtend64<16>(Seq[0].ImmOpnd); in ReplaceADDiuSLLWithLUi()
98 int64_t ShiftedImm = (uint64_t)Imm << (Seq[1].ImmOpnd - 16); in ReplaceADDiuSLLWithLUi()
104 Seq[0].Opc = LUi; in ReplaceADDiuSLLWithLUi()
105 Seq[0].ImmOpnd = (unsigned)(ShiftedImm & 0xffff); in ReplaceADDiuSLLWithLUi()
106 Seq.erase(Seq.begin() + 1); in ReplaceADDiuSLLWithLUi()
/external/llvm/lib/Target/Mips/
DMipsAnalyzeImmediate.cpp86 void MipsAnalyzeImmediate::ReplaceADDiuSLLWithLUi(InstSeq &Seq) { in ReplaceADDiuSLLWithLUi() argument
89 if ((Seq.size() < 2) || (Seq[0].Opc != ADDiu) || in ReplaceADDiuSLLWithLUi()
90 (Seq[1].Opc != SLL) || (Seq[1].ImmOpnd < 16)) in ReplaceADDiuSLLWithLUi()
94 int64_t Imm = SignExtend64<16>(Seq[0].ImmOpnd); in ReplaceADDiuSLLWithLUi()
95 int64_t ShiftedImm = (uint64_t)Imm << (Seq[1].ImmOpnd - 16); in ReplaceADDiuSLLWithLUi()
101 Seq[0].Opc = LUi; in ReplaceADDiuSLLWithLUi()
102 Seq[0].ImmOpnd = (unsigned)(ShiftedImm & 0xffff); in ReplaceADDiuSLLWithLUi()
103 Seq.erase(Seq.begin() + 1); in ReplaceADDiuSLLWithLUi()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsAnalyzeImmediate.cpp89 void MipsAnalyzeImmediate::ReplaceADDiuSLLWithLUi(InstSeq &Seq) { in ReplaceADDiuSLLWithLUi() argument
92 if ((Seq.size() < 2) || (Seq[0].Opc != ADDiu) || in ReplaceADDiuSLLWithLUi()
93 (Seq[1].Opc != SLL) || (Seq[1].ImmOpnd < 16)) in ReplaceADDiuSLLWithLUi()
97 int64_t Imm = SignExtend64<16>(Seq[0].ImmOpnd); in ReplaceADDiuSLLWithLUi()
98 int64_t ShiftedImm = (uint64_t)Imm << (Seq[1].ImmOpnd - 16); in ReplaceADDiuSLLWithLUi()
104 Seq[0].Opc = LUi; in ReplaceADDiuSLLWithLUi()
105 Seq[0].ImmOpnd = (unsigned)(ShiftedImm & 0xffff); in ReplaceADDiuSLLWithLUi()
106 Seq.erase(Seq.begin() + 1); in ReplaceADDiuSLLWithLUi()
/external/swiftshader/third_party/subzero/src/
DIceThreading.cpp22 EmitterWorkItem::EmitterWorkItem(uint32_t Seq) in EmitterWorkItem() argument
23 : Sequence(Seq), Kind(WI_Nop), GlobalInits(nullptr), Function(nullptr), in EmitterWorkItem()
25 EmitterWorkItem::EmitterWorkItem(uint32_t Seq, in EmitterWorkItem() argument
27 : Sequence(Seq), Kind(WI_GlobalInits), GlobalInits(std::move(D)), in EmitterWorkItem()
29 EmitterWorkItem::EmitterWorkItem(uint32_t Seq, std::unique_ptr<Assembler> A) in EmitterWorkItem() argument
30 : Sequence(Seq), Kind(WI_Asm), GlobalInits(nullptr), Function(std::move(A)), in EmitterWorkItem()
32 EmitterWorkItem::EmitterWorkItem(uint32_t Seq, std::unique_ptr<Cfg> F) in EmitterWorkItem() argument
33 : Sequence(Seq), Kind(WI_Cfg), GlobalInits(nullptr), Function(nullptr), in EmitterWorkItem()
DIceThreading.h177 explicit EmitterWorkItem(uint32_t Seq);
179 EmitterWorkItem(uint32_t Seq, std::unique_ptr<VariableDeclarationList> D);
181 EmitterWorkItem(uint32_t Seq, std::unique_ptr<Assembler> A);
183 EmitterWorkItem(uint32_t Seq, std::unique_ptr<Cfg> F);
/external/llvm/utils/TableGen/
DSequenceToOffsetTable.h68 void add(const SeqT &Seq) { in add() argument
70 typename SeqMap::iterator I = Seqs.lower_bound(Seq); in add()
74 if (I != Seqs.end() && isSuffix(Seq, I->first)) in add()
77 I = Seqs.insert(I, std::make_pair(Seq, 0u)); in add()
80 if (I != Seqs.begin() && isSuffix((--I)->first, Seq)) in add()
104 unsigned get(const SeqT &Seq) const { in get() argument
106 typename SeqMap::const_iterator I = Seqs.lower_bound(Seq); in get()
107 assert(I != Seqs.end() && isSuffix(Seq, I->first) && in get()
109 return I->second + (I->first.size() - Seq.size()); in get()
/external/skqp/tests/
DSkPEGTest.cpp165 REPORTER_ASSERT(r, (Seq<LIT<'X'>, EOS>::Match("X"))); in test_Seq()
166 REPORTER_ASSERT(r, !(Seq<LIT<'X'>, EOS>::Match("x"))); in test_Seq()
167 REPORTER_ASSERT(r, !(Seq<LIT<'X'>, EOS>::Match("xX"))); in test_Seq()
168 REPORTER_ASSERT(r, !(Seq<LIT<'X'>, EOS>::Match("XX"))); in test_Seq()
169 REPORTER_ASSERT(r, (Seq<LIT<'X'>, Seq<LIT<'X'>, EOS>>::Match("XX"))); in test_Seq()
170 REPORTER_ASSERT(r, (Seq<LIT<'X'>, Seq<LIT<'X'>, EOS>>::Match("XX"))); in test_Seq()
172 REPORTER_ASSERT(r, !(Seq<LIT<'F', 'o', 'o'>, EOS>::Match("FooBar"))); in test_Seq()
173 REPORTER_ASSERT(r, (Seq<LIT<'F', 'o', 'o'>, EOS>::Match("Foo"))); in test_Seq()
176 const auto m = Seq<LIT<'x'>, Digit>::Match("x5"); in test_Seq()
181 const auto m = Seq<Digit, Digit>::Match("42"); in test_Seq()
[all …]
/external/llvm-project/llvm/utils/TableGen/
DSequenceToOffsetTable.h123 void add(const SeqT &Seq) { in add() argument
125 typename SeqMap::iterator I = Seqs.lower_bound(Seq); in add()
129 if (I != Seqs.end() && isSuffix(Seq, I->first)) in add()
132 I = Seqs.insert(I, std::make_pair(Seq, 0u)); in add()
135 if (I != Seqs.begin() && isSuffix((--I)->first, Seq)) in add()
159 unsigned get(const SeqT &Seq) const { in get() argument
161 typename SeqMap::const_iterator I = Seqs.lower_bound(Seq); in get()
162 assert(I != Seqs.end() && isSuffix(Seq, I->first) && in get()
164 return I->second + (I->first.size() - Seq.size()); in get()
/external/llvm-project/llvm/utils/lit/tests/unit/
DShUtil.py5 from lit.ShUtil import Command, Pipeline, Seq, ShLexer, ShParser
79 Seq(Pipeline([Command(['a'], [])], False),
84 Seq(Pipeline([Command(['a'], [])], False),
89 Seq(Pipeline([Command(['a'], [])], False),
94 Seq(Pipeline([Command(['a'], [])], False),
99 Seq(Seq(Pipeline([Command(['a'], [])], False),
106 Seq(Pipeline([Command(['a'], [])], False),
/external/skqp/experimental/svg/model/
DSkPEG.h87 template <typename... E> struct Seq;
90 struct Seq<> {
100 struct Seq<E, Es...> {
103 V(const typename E::V& head, const typename Seq<Es...>::V& tail)
118 typename Seq<Es...>::V fTailV;
128 const auto tailMatch = Seq<Es...>::Match(headMatch.fNext);
198 using Some = Seq<E, Any<E>>;
/external/llvm/utils/lit/lit/
DShUtil.py5 from lit.ShCommands import Command, Pipeline, Seq
244 lhs = Seq(lhs, operator[0], self.parse_pipeline())
323 Seq(Pipeline([Command(['a'], [])], False),
328 Seq(Pipeline([Command(['a'], [])], False),
333 Seq(Pipeline([Command(['a'], [])], False),
338 Seq(Pipeline([Command(['a'], [])], False),
343 Seq(Seq(Pipeline([Command(['a'], [])], False),
350 Seq(Pipeline([Command(['a'], [])], False),
/external/llvm-project/clang/lib/Analysis/
DCloneDetection.cpp99 static bool containsAnyInGroup(StmtSequence &Seq, in containsAnyInGroup() argument
102 if (Seq.contains(GroupSeq)) in containsAnyInGroup()
420 const StmtSequence &Seq, std::size_t Limit, in calculateStmtComplexity() argument
422 if (Seq.empty()) in calculateStmtComplexity()
427 ASTContext &Context = Seq.getASTContext(); in calculateStmtComplexity()
431 data_collection::getMacroStack(Seq.getBeginLoc(), Context); in calculateStmtComplexity()
447 if (Seq.holdsSequence()) { in calculateStmtComplexity()
448 for (const Stmt *S : Seq) { in calculateStmtComplexity()
450 StmtSequence(S, Seq.getContainingDecl()), Limit, MacroStack); in calculateStmtComplexity()
455 for (const Stmt *S : Seq.front()->children()) { in calculateStmtComplexity()
[all …]
/external/llvm-project/clang/test/PCH/
Dmake-integer-seq.cpp8 struct Seq { struct
13 using MakeSeq = __make_integer_seq<Seq, T, N>; argument
/external/clang/test/PCH/
Dmake-integer-seq.cpp5 struct Seq { struct
10 using MakeSeq = __make_integer_seq<Seq, T, N>; argument
/external/llvm-project/clang/test/Import/builtin-template/Inputs/
DS.cpp2 struct Seq { struct
7 using MakeSeq = __make_integer_seq<Seq, T, N>; argument
/external/llvm-project/llvm/lib/Transforms/ObjCARC/
DPtrState.h111 unsigned char Seq : 8; variable
116 PtrState() : Seq(S_None) {} in PtrState()
150 Sequence GetSeq() const { return static_cast<Sequence>(Seq); } in GetSeq()
/external/llvm/lib/Transforms/ObjCARC/
DPtrState.h110 unsigned char Seq : 8; variable
115 PtrState() : KnownPositiveRefCount(false), Partial(false), Seq(S_None) {} in PtrState()
149 Sequence GetSeq() const { return static_cast<Sequence>(Seq); } in GetSeq()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/
DPtrState.h111 unsigned char Seq : 8; variable
116 PtrState() : Seq(S_None) {} in PtrState()
150 Sequence GetSeq() const { return static_cast<Sequence>(Seq); } in GetSeq()
/external/llvm-project/llvm/tools/llvm-mca/Views/
DBottleneckAnalysis.cpp264 SmallVectorImpl<const DependencyEdge *> &Seq) const { in getCriticalSequence()
278 Seq.resize(Nodes[IID].Depth); in getCriticalSequence()
279 for (unsigned I = Seq.size(), E = 0; I > E; --I) { in getCriticalSequence()
281 Seq[I - 1] = &N.CriticalPredecessor; in getCriticalSequence()
303 SmallVector<const DependencyEdge *, 16> Seq; in printCriticalSequence() local
304 DG.getCriticalSequence(Seq); in printCriticalSequence()
305 if (Seq.empty()) in printCriticalSequence()
310 const DependencyEdge &FirstEdge = *Seq[0]; in printCriticalSequence()
341 for (const DependencyEdge *&DE : Seq) { in printCriticalSequence()
/external/pdfium/third_party/lcms/src/
Dcmsvirt.c67 cmsSEQ* Seq = cmsAllocProfileSequenceDescription(ContextID, 1); in SetSeqDescTag() local
69 if (Seq == NULL) return FALSE; in SetSeqDescTag()
71 Seq->seq[0].deviceMfg = (cmsSignature) 0; in SetSeqDescTag()
72 Seq->seq[0].deviceModel = (cmsSignature) 0; in SetSeqDescTag()
75 Seq->seq[0].attributes[0] = 0; in SetSeqDescTag()
76 Seq->seq[0].attributes[1] = 0; in SetSeqDescTag()
78 Seq->seq[0].attributes = 0; in SetSeqDescTag()
81 Seq->seq[0].technology = (cmsTechnologySignature) 0; in SetSeqDescTag()
83 cmsMLUsetASCII( Seq->seq[0].Manufacturer, cmsNoLanguage, cmsNoCountry, "Little CMS"); in SetSeqDescTag()
84 cmsMLUsetASCII( Seq->seq[0].Model, cmsNoLanguage, cmsNoCountry, Model); in SetSeqDescTag()
[all …]
Dcmsnamed.c764 cmsSEQ* Seq; in cmsAllocProfileSequenceDescription() local
773 Seq = (cmsSEQ*) _cmsMallocZero(ContextID, sizeof(cmsSEQ)); in cmsAllocProfileSequenceDescription()
774 if (Seq == NULL) return NULL; in cmsAllocProfileSequenceDescription()
776 Seq -> ContextID = ContextID; in cmsAllocProfileSequenceDescription()
777 Seq -> seq = (cmsPSEQDESC*) _cmsCalloc(ContextID, n, sizeof(cmsPSEQDESC)); in cmsAllocProfileSequenceDescription()
778 Seq -> n = n; in cmsAllocProfileSequenceDescription()
780 if (Seq -> seq == NULL) { in cmsAllocProfileSequenceDescription()
781 _cmsFree(ContextID, Seq); in cmsAllocProfileSequenceDescription()
786 Seq -> seq[i].Manufacturer = NULL; in cmsAllocProfileSequenceDescription()
787 Seq -> seq[i].Model = NULL; in cmsAllocProfileSequenceDescription()
[all …]
/external/rust/crates/hashlink/tests/
Dserde.rs39 assert_tokens(&set, &[Token::Seq { len: Some(0) }, Token::SeqEnd]); in set_serde_tokens_empty()
52 Token::Seq { len: Some(3) }, in set_serde_tokens()
/external/rust/crates/hashbrown/tests/
Dserde.rs45 assert_tokens(&set, &[Token::Seq { len: Some(0) }, Token::SeqEnd]); in set_serde_tokens_empty()
58 Token::Seq { len: Some(3) }, in set_serde_tokens()

123456