Home
last modified time | relevance | path

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

12

/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/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()
DMipsAnalyzeImmediate.h51 void ReplaceADDiuSLLWithLUi(InstSeq &Seq);
DMipsSEInstrInfo.cpp462 const MipsAnalyzeImmediate::InstSeq &Seq = in loadImmediate() local
464 MipsAnalyzeImmediate::InstSeq::const_iterator Inst = Seq.begin(); in loadImmediate()
466 assert(Seq.size() && (!LastInstrIsADDiu || (Seq.size() > 1))); in loadImmediate()
480 for (++Inst; Inst != Seq.end() - LastInstrIsADDiu; ++Inst) in loadImmediate()
/external/llvm/utils/TableGen/
DSequenceToOffsetTable.h69 void add(const SeqT &Seq) { in add() argument
71 typename SeqMap::iterator I = Seqs.lower_bound(Seq); in add()
75 if (I != Seqs.end() && isSuffix(Seq, I->first)) in add()
78 I = Seqs.insert(I, std::make_pair(Seq, 0u)); in add()
81 if (I != Seqs.begin() && isSuffix((--I)->first, Seq)) in add()
105 unsigned get(const SeqT &Seq) const { in get() argument
107 typename SeqMap::const_iterator I = Seqs.lower_bound(Seq); in get()
108 assert(I != Seqs.end() && isSuffix(Seq, I->first) && in get()
110 return I->second + (I->first.size() - Seq.size()); in get()
DCodeGenSchedule.cpp180 RecVec Seq = RWDef->getValueAsListOfDefs("Writes"); in scanSchedRW() local
181 for (RecIter I = Seq.begin(), E = Seq.end(); I != E; ++I) in scanSchedRW()
323 std::string CodeGenSchedModels::genRWName(ArrayRef<unsigned> Seq, bool IsRead) { in genRWName() argument
325 for (auto I = Seq.begin(), E = Seq.end(); I != E; ++I) { in genRWName()
326 if (I != Seq.begin()) in genRWName()
454 unsigned CodeGenSchedModels::findRWForSequence(ArrayRef<unsigned> Seq, in findRWForSequence() argument
460 if (makeArrayRef(I->Sequence) == Seq) in findRWForSequence()
468 unsigned CodeGenSchedModels::findOrInsertRW(ArrayRef<unsigned> Seq, in findOrInsertRW() argument
470 assert(!Seq.empty() && "cannot insert empty sequence"); in findOrInsertRW()
471 if (Seq.size() == 1) in findOrInsertRW()
[all …]
DCodeGenSchedule.h75 CodeGenSchedRW(unsigned Idx, bool Read, ArrayRef<unsigned> Seq, in CodeGenSchedRW()
78 HasVariants(false), IsVariadic(false), IsSequence(true), Sequence(Seq) { in CodeGenSchedRW()
369 unsigned findOrInsertRW(ArrayRef<unsigned> Seq, bool IsRead);
385 std::string genRWName(ArrayRef<unsigned> Seq, bool IsRead);
386 unsigned findRWForSequence(ArrayRef<unsigned> Seq, bool IsRead);
/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),
DShCommands.py65 class Seq: class
76 if not isinstance(other, Seq):
DTestRunner.py37 if isinstance(cmd, ShUtil.Seq):
309 cmd = ShUtil.Seq(cmd, '&&', c)
/external/clang/test/PCH/
Dmake-integer-seq.cpp5 struct Seq { struct
10 using MakeSeq = __make_integer_seq<Seq, T, N>; argument
/external/v8/src/
Deffects.h46 static Effect Seq(Effect e1, Effect e2, Zone* zone) { in Seq() function
94 void Seq(Var var, Effect effect) { in Seq() function
97 effect = Effect::Seq(locator.value(), effect, Base::zone()); in Seq()
102 void Seq(Effects that) { in Seq() function
128 Seq(override.effects); in Forget()
136 void Call(Var var, Effect effect) { self.Seq(var, effect); } in Call()
161 void Call(Var var, Effect effect) { effects.Seq(var, new_effect); } in Call()
/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()
DPtrState.cpp128 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/lcms2-2.6/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.c720 cmsSEQ* Seq; in cmsAllocProfileSequenceDescription() local
729 Seq = (cmsSEQ*) _cmsMallocZero(ContextID, sizeof(cmsSEQ)); in cmsAllocProfileSequenceDescription()
730 if (Seq == NULL) return NULL; in cmsAllocProfileSequenceDescription()
732 Seq -> ContextID = ContextID; in cmsAllocProfileSequenceDescription()
733 Seq -> seq = (cmsPSEQDESC*) _cmsCalloc(ContextID, n, sizeof(cmsPSEQDESC)); in cmsAllocProfileSequenceDescription()
734 Seq -> n = n; in cmsAllocProfileSequenceDescription()
736 if (Seq -> seq == NULL) { in cmsAllocProfileSequenceDescription()
737 _cmsFree(ContextID, Seq); in cmsAllocProfileSequenceDescription()
742 Seq -> seq[i].Manufacturer = NULL; in cmsAllocProfileSequenceDescription()
743 Seq -> seq[i].Model = NULL; in cmsAllocProfileSequenceDescription()
[all …]
/external/v8/src/crankshaft/
Dtyping.cc68 store_.Seq(parameter_index(-1), ObservedOnStack(frame->receiver())); in ObserveTypesAtOsrEntry()
70 store_.Seq(parameter_index(i), ObservedOnStack(frame->GetParameter(i))); in ObserveTypesAtOsrEntry()
74 store_.Seq(stack_local_index(i), ObservedOnStack(frame->GetExpression(i))); in ObserveTypesAtOsrEntry()
163 store_.Seq(then_effects); in VisitIfStatement()
234 store_.Seq(local_effects); in VisitSwitchStatement()
319 store_.Seq(try_effects); in VisitTryCatchStatement()
366 store_.Seq(then_effects); in VisitConditional()
465 store_.Seq(variable_index(proxy->var()), Effect(bounds_->get(expr))); in VisitAssignment()
625 store_.Seq(variable_index(proxy->var()), Effect(bounds_->get(expr))); in VisitCountOperation()
664 store_.Seq(left_effects); in VisitBinaryOperation()
/external/llvm/lib/Target/Hexagon/
DHexagonGenInsert.cpp367 assert(Idx < Seq.size()); in operator []()
368 return Seq[Idx]; in operator []()
371 return Seq.size(); in size()
376 iterator begin() { return Seq.begin(); } in begin()
377 iterator end() { return Seq.end(); } in end()
378 const_iterator begin() const { return Seq.begin(); } in begin()
379 const_iterator end() const { return Seq.end(); } in end()
384 ListType Seq; member in __anon99ed039b0711::OrderedRegisterList
413 iterator L = std::lower_bound(Seq.begin(), Seq.end(), VR, Ord); in insert()
414 if (L == Seq.end()) in insert()
[all …]
/external/llvm/unittests/Support/
DYAMLIOTest.cpp2021 OptionalTestSeq Seq; in TEST() local
2025 Seq.Tests.push_back(One); in TEST()
2026 Seq.Tests.push_back(Two); in TEST()
2027 Seq.Tests.push_back(Three); in TEST()
2028 Seq.Tests.push_back(Four); in TEST()
2034 yout << Seq; in TEST()
2124 std::vector<FlowSeq> Seq; in TEST() local
2125 Seq.emplace_back("This is str1"); in TEST()
2126 Seq.emplace_back("This is str2"); in TEST()
2127 Seq.emplace_back("This is str3"); in TEST()
[all …]
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp2877 static void insertLineSequence(std::vector<DWARFDebugLine::Row> &Seq, in insertLineSequence() argument
2879 if (Seq.empty()) in insertLineSequence()
2882 if (!Rows.empty() && Rows.back().Address < Seq.front().Address) { in insertLineSequence()
2883 Rows.insert(Rows.end(), Seq.begin(), Seq.end()); in insertLineSequence()
2884 Seq.clear(); in insertLineSequence()
2889 Rows.begin(), Rows.end(), Seq.front(), in insertLineSequence()
2899 InsertPoint->Address == Seq.front().Address && InsertPoint->EndSequence) { in insertLineSequence()
2900 *InsertPoint = Seq.front(); in insertLineSequence()
2901 Rows.insert(InsertPoint + 1, Seq.begin() + 1, Seq.end()); in insertLineSequence()
2903 Rows.insert(InsertPoint, Seq.begin(), Seq.end()); in insertLineSequence()
[all …]
/external/v8/tools/gcmole/
Dgcmole.cc666 return Seq(expr, 2, exprs, env); in DECL_VISIT_EXPR()
712 return Seq(expr, expr->getNumInits(), expr->getInits(), env); in DECL_VISIT_EXPR()
770 ExprEffect Seq(clang::Stmt* parent, in Seq() function in __anona69aa4600111::FunctionAnalyzer
952 void Seq(clang::Stmt* a, clang::Stmt* b, clang::Stmt* c) { in Seq() function in __anona69aa4600111::FunctionAnalyzer::Block
959 void Seq(clang::Stmt* a, clang::Stmt* b) { in Seq() function in __anona69aa4600111::FunctionAnalyzer::Block
966 Seq(a, b, c); in Loop()
971 Seq(a, b); in Loop()
1041 block.Seq(stmt->getCond(), stmt->getBody()); in DECL_VISIT_STMT()
/external/opencv/cvaux/src/
Dcvlee.cpp1045 T _cvSeqPush(CvSeq* Seq, T pElem);
1057 T _cvSeqPushFront(CvSeq* Seq, T pElem);
1450 CvSeq* Seq; in cvReleaseVoronoiStorage() local
1454 for(Seq = (CvSeq*)VoronoiDiagram->sites; Seq != NULL; Seq = Seq->h_next) in cvReleaseVoronoiStorage()
1455 if(Seq->storage) in cvReleaseVoronoiStorage()
1456 cvReleaseMemStorage(&Seq->storage); in cvReleaseVoronoiStorage()
1457 for(Seq = (CvSeq*)VoronoiDiagram->edges; Seq != NULL; Seq = Seq->h_next) in cvReleaseVoronoiStorage()
1458 if(Seq->storage) in cvReleaseVoronoiStorage()
1459 cvReleaseMemStorage(&Seq->storage); in cvReleaseVoronoiStorage()
4449 T _cvSeqPush(CvSeq* Seq, T pElem) in _cvSeqPush() argument
[all …]
/external/clang/lib/Format/
DFormat.cpp366 static size_t size(IO &IO, std::vector<FormatStyle> &Seq) { in size()
367 return Seq.size(); in size()
369 static FormatStyle &element(IO &IO, std::vector<FormatStyle> &Seq, in element()
371 if (Index >= Seq.size()) { in element()
372 assert(Index == Seq.size()); in element()
374 if (Seq.size() > 0 && Seq[0].Language == FormatStyle::LK_None) { in element()
375 Template = Seq[0]; in element()
380 Seq.resize(Index + 1, Template); in element()
382 return Seq[Index]; in element()
/external/llvm/include/llvm/Support/
DYAMLTraits.h743 yamlize(IO &io, T &Seq, bool) {
746 unsigned count = io.outputting() ? SequenceTraits<T>::size(io, Seq) : incnt;
750 yamlize(io, SequenceTraits<T>::element(io, Seq, i), true);
758 unsigned count = io.outputting() ? SequenceTraits<T>::size(io, Seq) : incnt;
762 yamlize(io, SequenceTraits<T>::element(io, Seq, i), true);
/external/clang/lib/Sema/
DSemaChecking.cpp7861 class Seq { class in __anoncb51d7940b11::SequenceChecker::SequenceTree
7862 explicit Seq(unsigned N) : Index(N) {} in Seq() function in __anoncb51d7940b11::SequenceChecker::SequenceTree::Seq
7866 Seq() : Index(0) {} in Seq() function in __anoncb51d7940b11::SequenceChecker::SequenceTree::Seq
7870 Seq root() const { return Seq(0); } in root()
7875 Seq allocate(Seq Parent) { in allocate()
7877 return Seq(Values.size() - 1); in allocate()
7881 void merge(Seq S) { in merge()
7888 bool isUnsequenced(Seq Cur, Seq Old) { in isUnsequenced()
7928 Usage() : Use(nullptr), Seq() {} in Usage()
7930 SequenceTree::Seq Seq; member
[all …]

12