Searched refs:Seq (Results 1 - 25 of 48) sorted by relevance

12

/freebsd-current/contrib/llvm-project/clang/include/clang/Serialization/
H A DSourceLocationEncoding.h70 /// SourceLocationSequence::State Seq;
71 /// EmitContainedThing(Seq);
72 /// EmitRecursiveThing(Seq);
76 /// void EmitContainedThing(SourceLocationSequence *Seq = nullptr) {
77 /// Record.push_back(SourceLocationEncoding::encode(SomeLoc, Seq));
82 /// SourceLocationSequence::State Seq(ParentSeq);
83 /// Record.push_back(SourceLocationEncoding::encode(SomeLoc, Seq));
84 /// EmitRecursiveThing(Seq);
140 SourceLocationSequence Seq; member in class:clang::SourceLocationSequence::State
146 : Seq(Paren
152 encode(SourceLocation Loc, SourceLocationSequence *Seq) argument
157 decode(uint64_t Encoded, SourceLocationSequence *Seq) argument
[all...]
H A DASTRecordWriter.h137 void AddSourceLocation(SourceLocation Loc, LocSeq *Seq = nullptr) {
138 return Writer->AddSourceLocation(Loc, *Record, Seq);
145 void AddSourceRange(SourceRange Range, LocSeq *Seq = nullptr) {
146 return Writer->AddSourceRange(Range, *Record, Seq);
212 void AddTypeLoc(TypeLoc TL, LocSeq *Seq = nullptr);
H A DASTRecordReader.h170 void readTypeLoc(TypeLoc TL, LocSeq *Seq = nullptr);
280 SourceLocation readSourceLocation(LocSeq *Seq = nullptr) {
281 return Reader->ReadSourceLocation(*F, Record, Idx, Seq);
285 SourceRange readSourceRange(LocSeq *Seq = nullptr) {
286 return Reader->ReadSourceRange(*F, Record, Idx, Seq);
H A DASTReader.h2224 LocSeq *Seq = nullptr) const {
2225 return SourceLocationEncoding::decode(Raw, Seq);
2231 LocSeq *Seq = nullptr) const {
2232 SourceLocation Loc = ReadUntranslatedSourceLocation(Raw, Seq);
2253 LocSeq *Seq = nullptr) {
2254 return ReadSourceLocation(ModuleFile, Record[Idx++], Seq);
2271 unsigned &Idx, LocSeq *Seq = nullptr);
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsAnalyzeImmediate.cpp89 void MipsAnalyzeImmediate::ReplaceADDiuSLLWithLUi(InstSeq &Seq) { argument
92 if ((Seq.size() < 2) || (Seq[0].Opc != ADDiu) ||
93 (Seq[1].Opc != SLL) || (Seq[1].ImmOpnd < 16))
97 int64_t Imm = SignExtend64<16>(Seq[0].ImmOpnd);
98 int64_t ShiftedImm = (uint64_t)Imm << (Seq[1].ImmOpnd - 16);
104 Seq[0].Opc = LUi;
105 Seq[0].ImmOpnd = (unsigned)(ShiftedImm & 0xffff);
106 Seq
[all...]
H A DMipsAnalyzeImmediate.h53 void ReplaceADDiuSLLWithLUi(InstSeq &Seq);
H A DMipsSEInstrInfo.cpp601 const MipsAnalyzeImmediate::InstSeq &Seq = local
603 MipsAnalyzeImmediate::InstSeq::const_iterator Inst = Seq.begin();
605 assert(Seq.size() && (!LastInstrIsADDiu || (Seq.size() > 1)));
618 // Build the remaining instructions in Seq.
619 for (++Inst; Inst != Seq.end() - LastInstrIsADDiu; ++Inst)
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DPtrState.h111 unsigned char Seq : 8;
116 PtrState() : Seq(S_None) {}
150 Sequence GetSeq() const { return static_cast<Sequence>(Seq); }
H A DPtrState.cpp137 Seq = NewSeq;
148 Seq = MergeSeqs(GetSeq(), Other.GetSeq(), TopDown);
152 if (Seq == S_None) {
236 LLVM_DEBUG(dbgs() << " CanAlterRefCount: Seq: " << S << "; "
293 LLVM_DEBUG(dbgs() << " CanUse: Seq: " << GetSeq() << "; "
298 LLVM_DEBUG(dbgs() << " ReleaseUse: Seq: " << GetSeq() << "; "
306 LLVM_DEBUG(dbgs() << " PreciseStopUse: Seq: " << GetSeq()
386 LLVM_DEBUG(dbgs() << " CanAlterRefCount: Seq: " << GetSeq() << "; "
424 LLVM_DEBUG(dbgs() << " CanUse: Seq: " << GetSeq() << "; "
/freebsd-current/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVPostRAExpandPseudoInsts.cpp91 RISCVMatInt::InstSeq Seq = local
93 assert(!Seq.empty());
H A DRISCVISelDAGToDAG.cpp177 RISCVMatInt::InstSeq &Seq) {
179 for (const RISCVMatInt::Inst &Inst : Seq) {
207 RISCVMatInt::InstSeq Seq = RISCVMatInt::generateInstSeq(Imm, Subtarget); local
210 if (Seq.size() == 2 && UsePseudoMovImm)
221 if (Seq.size() > 3) {
225 if (!SeqLo.empty() && (SeqLo.size() + 2) < Seq.size()) {
237 return selectImmSeq(CurDAG, DL, VT, Seq);
2290 RISCVMatInt::InstSeq Seq = RISCVMatInt::generateInstSeq(CVal, *Subtarget); local
2294 if (Seq.back().getOpcode() != RISCV::ADDI)
2296 Lo12 = Seq
176 selectImmSeq(SelectionDAG *CurDAG, const SDLoc &DL, const MVT VT, RISCVMatInt::InstSeq &Seq) argument
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/Analysis/
H A DCloneDetection.cpp99 static bool containsAnyInGroup(StmtSequence &Seq, argument
102 if (Seq.contains(GroupSeq))
419 const StmtSequence &Seq, std::size_t Limit,
421 if (Seq.empty())
426 ASTContext &Context = Seq.getASTContext();
430 data_collection::getMacroStack(Seq.getBeginLoc(), Context);
446 if (Seq.holdsSequence()) {
447 for (const Stmt *S : Seq) {
449 StmtSequence(S, Seq.getContainingDecl()), Limit, MacroStack);
454 for (const Stmt *S : Seq
418 calculateStmtComplexity( const StmtSequence &Seq, std::size_t Limit, const std::string &ParentMacroStack) argument
[all...]
/freebsd-current/contrib/llvm-project/clang/include/clang/Basic/
H A DOpenACCKinds.h152 Seq, member in class:clang::OpenACCClauseKind
255 case OpenACCClauseKind::Seq:
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DBottleneckAnalysis.cpp262 SmallVectorImpl<const DependencyEdge *> &Seq) const {
277 Seq.resize(Nodes[IID].Depth);
278 for (const DependencyEdge *&DE : llvm::reverse(Seq)) {
301 SmallVector<const DependencyEdge *, 16> Seq;
302 DG.getCriticalSequence(Seq);
303 if (Seq.empty())
308 const DependencyEdge &FirstEdge = *Seq[0];
339 for (const DependencyEdge *&DE : Seq) {
H A DBottleneckAnalysis.h280 void getCriticalSequence(SmallVectorImpl<const DependencyEdge *> &Seq) const;
/freebsd-current/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerCompileUnit.cpp1548 std::vector<DWARFDebugLine::Row> Seq; local
1576 if (StopAddress != -1ULL && !Seq.empty()) {
1579 auto NextLine = Seq.back();
1585 Seq.push_back(NextLine);
1586 insertLineSequence(Seq, NewRows);
1594 if (Row.EndSequence && Seq.empty())
1599 Seq.emplace_back(Row);
1602 insertLineSequence(Seq, NewRows);
1611 void CompileUnit::insertLineSequence(std::vector<DWARFDebugLine::Row> &Seq, argument
1613 if (Seq
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonGenInsert.cpp393 assert(Idx < Seq.size());
394 return Seq[Idx];
398 return Seq.size();
404 iterator begin() { return Seq.begin(); }
405 iterator end() { return Seq.end(); }
406 const_iterator begin() const { return Seq.begin(); }
407 const_iterator end() const { return Seq.end(); }
413 ListType Seq;
443 iterator L = llvm::lower_bound(Seq, VR, Ord);
444 if (L == Seq
[all...]
H A DHexagonConstExtenders.cpp143 void order(SmallVectorImpl<Node*> &Seq) const {
144 order(Root, Seq);
161 void order(Node *N, SmallVectorImpl<Node*> &Seq) const;
163 SmallVectorImpl<Node*> &Seq) const;
603 void RangeTree::order(Node *N, SmallVectorImpl<Node*> &Seq) const {
606 order(N->Left, Seq);
607 Seq.push_back(N);
608 order(N->Right, Seq);
612 SmallVectorImpl<Node*> &Seq) const {
615 nodesWith(N->Left, P, CheckA, Seq);
[all...]
/freebsd-current/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenSchedule.cpp596 RecVec Seq = RWDef->getValueAsListOfDefs("Writes"); local
597 for (Record *WSRec : Seq)
736 std::string CodeGenSchedModels::genRWName(ArrayRef<unsigned> Seq, bool IsRead) { argument
739 for (unsigned I : Seq) {
855 unsigned CodeGenSchedModels::findRWForSequence(ArrayRef<unsigned> Seq, argument
859 auto I = find_if(RWVec, [Seq](CodeGenSchedRW &RW) {
860 return ArrayRef(RW.Sequence) == Seq;
867 unsigned CodeGenSchedModels::findOrInsertRW(ArrayRef<unsigned> Seq, argument
869 assert(!Seq.empty() && "cannot insert empty sequence");
870 if (Seq
1582 SmallVectorImpl<unsigned> &Seq = RWSequences.back(); local
1773 SmallVectorImpl<unsigned> &Seq = LastTransitions[0].WriteSequences.back(); local
1782 SmallVectorImpl<unsigned> &Seq = LastTransitions[0].ReadSequences.back(); local
[all...]
H A DCodeGenSchedule.h78 CodeGenSchedRW(unsigned Idx, bool Read, ArrayRef<unsigned> Seq, argument
81 HasVariants(false), IsVariadic(false), IsSequence(true), Sequence(Seq) {
574 unsigned findOrInsertRW(ArrayRef<unsigned> Seq, bool IsRead);
590 std::string genRWName(ArrayRef<unsigned> Seq, bool IsRead);
591 unsigned findRWForSequence(ArrayRef<unsigned> Seq, bool IsRead);
/freebsd-current/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinker.cpp2050 /// Insert the new line info sequence \p Seq into the current
2052 static void insertLineSequence(std::vector<DWARFDebugLine::Row> &Seq, argument
2054 if (Seq.empty())
2057 if (!Rows.empty() && Rows.back().Address < Seq.front().Address) {
2058 llvm::append_range(Rows, Seq);
2059 Seq.clear();
2063 object::SectionedAddress Front = Seq.front().Address;
2073 *InsertPoint = Seq.front();
2074 Rows.insert(InsertPoint + 1, Seq.begin() + 1, Seq
2147 std::vector<DWARFDebugLine::Row> Seq; local
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchInstrInfo.cpp192 auto Seq = LoongArchMatInt::generateInstSeq(Val); local
193 assert(!Seq.empty());
195 for (auto &Inst : Seq) {
/freebsd-current/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStub.cpp1046 static size_t size(IO &IO, std::vector<const MachO::InterfaceFile *> &Seq) { argument
1047 return Seq.size();
1050 element(IO &IO, std::vector<const InterfaceFile *> &Seq, size_t Index) { argument
1051 if (Index >= Seq.size())
1052 Seq.resize(Index + 1);
1053 return Seq[Index];
/freebsd-current/contrib/llvm-project/clang/include/clang/Analysis/
H A DCloneDetection.h286 size_t calculateStmtComplexity(const StmtSequence &Seq, std::size_t Limit,
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLine.cpp1273 const DWARFDebugLine::Sequence &Seq,
1275 if (!Seq.containsPC(Address))
1277 assert(Seq.SectionIndex == Address.SectionIndex);
1288 RowIter FirstRow = Rows.begin() + Seq.FirstRowIndex;
1289 RowIter LastRow = Rows.begin() + Seq.LastRowIndex;
1295 assert(Seq.SectionIndex == RowPos->Address.SectionIndex);
1272 findRowInSeq( const DWARFDebugLine::Sequence &Seq, object::SectionedAddress Address) const argument

Completed in 264 milliseconds

12