/external/clang/test/SemaCXX/ |
D | make_integer_seq.cpp | 6 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/lib/Target/Mips/ |
D | MipsAnalyzeImmediate.cpp | 86 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-7.0/llvm/lib/Target/Mips/ |
D | MipsAnalyzeImmediate.cpp | 90 void MipsAnalyzeImmediate::ReplaceADDiuSLLWithLUi(InstSeq &Seq) { in ReplaceADDiuSLLWithLUi() argument 93 if ((Seq.size() < 2) || (Seq[0].Opc != ADDiu) || in ReplaceADDiuSLLWithLUi() 94 (Seq[1].Opc != SLL) || (Seq[1].ImmOpnd < 16)) in ReplaceADDiuSLLWithLUi() 98 int64_t Imm = SignExtend64<16>(Seq[0].ImmOpnd); in ReplaceADDiuSLLWithLUi() 99 int64_t ShiftedImm = (uint64_t)Imm << (Seq[1].ImmOpnd - 16); in ReplaceADDiuSLLWithLUi() 105 Seq[0].Opc = LUi; in ReplaceADDiuSLLWithLUi() 106 Seq[0].ImmOpnd = (unsigned)(ShiftedImm & 0xffff); in ReplaceADDiuSLLWithLUi() 107 Seq.erase(Seq.begin() + 1); in ReplaceADDiuSLLWithLUi()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceThreading.cpp | 22 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()
|
D | IceThreading.h | 177 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/ |
D | SequenceToOffsetTable.h | 68 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()
|
D | CodeGenSchedule.cpp | 186 RecVec Seq = RWDef->getValueAsListOfDefs("Writes"); in scanSchedRW() local 187 for (RecIter I = Seq.begin(), E = Seq.end(); I != E; ++I) in scanSchedRW() 329 std::string CodeGenSchedModels::genRWName(ArrayRef<unsigned> Seq, bool IsRead) { in genRWName() argument 331 for (auto I = Seq.begin(), E = Seq.end(); I != E; ++I) { in genRWName() 332 if (I != Seq.begin()) in genRWName() 460 unsigned CodeGenSchedModels::findRWForSequence(ArrayRef<unsigned> Seq, in findRWForSequence() argument 466 if (makeArrayRef(I->Sequence) == Seq) in findRWForSequence() 474 unsigned CodeGenSchedModels::findOrInsertRW(ArrayRef<unsigned> Seq, in findOrInsertRW() argument 476 assert(!Seq.empty() && "cannot insert empty sequence"); in findOrInsertRW() 477 if (Seq.size() == 1) in findOrInsertRW() [all …]
|
D | CodeGenSchedule.h | 75 CodeGenSchedRW(unsigned Idx, bool Read, ArrayRef<unsigned> Seq, in CodeGenSchedRW() 78 HasVariants(false), IsVariadic(false), IsSequence(true), Sequence(Seq) { in CodeGenSchedRW() 380 unsigned findOrInsertRW(ArrayRef<unsigned> Seq, bool IsRead); 396 std::string genRWName(ArrayRef<unsigned> Seq, bool IsRead); 397 unsigned findRWForSequence(ArrayRef<unsigned> Seq, bool IsRead);
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
D | SequenceToOffsetTable.h | 68 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()
|
D | CodeGenSchedule.cpp | 307 RecVec Seq = RWDef->getValueAsListOfDefs("Writes"); in scanSchedRW() local 308 for (Record *WSRec : Seq) in scanSchedRW() 447 std::string CodeGenSchedModels::genRWName(ArrayRef<unsigned> Seq, bool IsRead) { in genRWName() argument 449 for (auto I = Seq.begin(), E = Seq.end(); I != E; ++I) { in genRWName() 450 if (I != Seq.begin()) in genRWName() 568 unsigned CodeGenSchedModels::findRWForSequence(ArrayRef<unsigned> Seq, in findRWForSequence() argument 572 auto I = find_if(RWVec, [Seq](CodeGenSchedRW &RW) { in findRWForSequence() 573 return makeArrayRef(RW.Sequence) == Seq; in findRWForSequence() 580 unsigned CodeGenSchedModels::findOrInsertRW(ArrayRef<unsigned> Seq, in findOrInsertRW() argument 582 assert(!Seq.empty() && "cannot insert empty sequence"); in findOrInsertRW() [all …]
|
/external/skia/tests/ |
D | SkPEGTest.cpp | 165 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/skqp/tests/ |
D | SkPEGTest.cpp | 165 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/swiftshader/third_party/llvm-7.0/llvm/utils/lit/tests/unit/ |
D | ShUtil.py | 5 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/ |
D | SkPEG.h | 87 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/skia/experimental/svg/model/ |
D | SkPEG.h | 87 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/ |
D | ShUtil.py | 5 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/clang/test/PCH/ |
D | make-integer-seq.cpp | 5 struct Seq { struct 10 using MakeSeq = __make_integer_seq<Seq, T, N>; argument
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/ObjCARC/ |
D | PtrState.h | 112 unsigned char Seq : 8; variable 117 PtrState() : Seq(S_None) {} in PtrState() 151 Sequence GetSeq() const { return static_cast<Sequence>(Seq); } in GetSeq()
|
D | PtrState.cpp | 141 Seq = NewSeq; in SetSeq() 152 Seq = MergeSeqs(GetSeq(), Other.GetSeq(), TopDown); in Merge() 156 if (Seq == S_None) { in Merge() 290 } else if (Seq == S_Release && IsUser(Class)) { in HandlePotentialUse()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | PtrState.h | 110 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()
|
D | PtrState.cpp | 128 Seq = NewSeq; in SetSeq() 139 Seq = MergeSeqs(GetSeq(), Other.GetSeq(), TopDown); in Merge() 143 if (Seq == S_None) { in Merge() 263 } else if (Seq == S_Release && IsUser(Class)) { in HandlePotentialUse()
|
/external/pdfium/third_party/lcms/src/ |
D | cmsvirt.c | 67 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 …]
|
D | cmsnamed.c | 764 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonGenInsert.cpp | 390 assert(Idx < Seq.size()); in operator []() 391 return Seq[Idx]; in operator []() 395 return Seq.size(); in size() 401 iterator begin() { return Seq.begin(); } in begin() 402 iterator end() { return Seq.end(); } in end() 403 const_iterator begin() const { return Seq.begin(); } in begin() 404 const_iterator end() const { return Seq.end(); } in end() 410 ListType Seq; member in __anon5087ef7d0311::OrderedRegisterList 440 iterator L = std::lower_bound(Seq.begin(), Seq.end(), VR, Ord); in insert() 441 if (L == Seq.end()) in insert() [all …]
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerFnAdapter.h | 136 template <int...> struct Seq {}; struct 141 template <int... S> struct GenSeq<0, S...> { typedef Seq<S...> type; }; 157 Seq<S...>) {
|