Home
last modified time | relevance | path

Searched refs:EndIndex (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Analysis/
H A DCloneDetection.h46 unsigned EndIndex; variable
62 unsigned EndIndex);
100 return EndIndex - StartIndex; in size()
119 bool holdsSequence() const { return EndIndex != 0; } in holdsSequence()
136 return std::tie(S, StartIndex, EndIndex) ==
137 std::tie(Other.S, Other.StartIndex, Other.EndIndex);
141 return std::tie(S, StartIndex, EndIndex) !=
142 std::tie(Other.S, Other.StartIndex, Other.EndIndex);
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DDbgEntityHistoryCalculator.h79 : Instr(Instr, Kind), EndIndex(NoEntry) {} in Entry()
82 EntryIndex getEndIndex() const { return EndIndex; } in getEndIndex()
87 bool isClosed() const { return EndIndex != NoEntry; } in isClosed()
89 void endEntry(EntryIndex EndIndex);
93 EntryIndex EndIndex; variable
/llvm-project-15.0.7/clang/lib/Format/
H A DWhitespaceManager.h184 unsigned EndIndex = 0; member
190 EndIndex == Other.EndIndex;
285 calculateCellWidth(PrevIter->Index, PrevIter->EndIndex, true) + 1; in getNetWidth()
294 calculateCellWidth(CellIter->Index, CellIter->EndIndex, true); in getMaximumCellWidth()
299 auto ThisWidth = calculateCellWidth(Next->Index, Next->EndIndex, true); in getMaximumCellWidth()
H A DWhitespaceManager.cpp1145 calculateCellWidth(CellIter->Index, CellIter->EndIndex, true) + in alignArrayInitializersRightJustified()
1151 alignToStartOfCell(CellIter->Index, CellIter->EndIndex); in alignArrayInitializersRightJustified()
1155 calculateCellWidth(Next->Index, Next->EndIndex, true) + NetWidth; in alignArrayInitializersRightJustified()
1160 alignToStartOfCell(Next->Index, Next->EndIndex); in alignArrayInitializersRightJustified()
1258 Cells.back().EndIndex = i; in getCells()
1265 Cells.back().EndIndex = i; in getCells()
H A DContinuationIndenter.cpp2210 for (unsigned LineIndex = 0, EndIndex = Token->getLineCount(); in breakProtrudingToken() local
2211 LineIndex != EndIndex; ++LineIndex) { in breakProtrudingToken()
2236 if (LineIndex < EndIndex - 1) { in breakProtrudingToken()
2377 if (LineIndex + 1 != EndIndex) { in breakProtrudingToken()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDbgEntityHistoryCalculator.cpp106 EndIndex = Index; in endEntry()
186 EntryIndex EndIndex = EI->getEndIndex(); in trimLocationRanges() local
188 if (EndIndex != NoEntry) in trimLocationRanges()
189 ReferenceCount[EndIndex] += 1; in trimLocationRanges()
198 const MachineInstr *EndMI = EndIndex != NoEntry in trimLocationRanges()
199 ? HistoryMapEntries[EndIndex].getInstr() in trimLocationRanges()
214 if (EndIndex != NoEntry) in trimLocationRanges()
215 ReferenceCount[EndIndex] -= 1; in trimLocationRanges()
250 Entry.EndIndex -= Offsets[Entry.EndIndex]; in trimLocationRanges()
/llvm-project-15.0.7/bolt/lib/Core/
H A DJumpTable.cpp43 size_t StartIndex = 0, EndIndex = 0; in getEntriesForAddress() local
54 EndIndex = I; in getEntriesForAddress()
56 ++EndIndex; in getEntriesForAddress()
65 return std::make_pair(StartIndex, EndIndex); in getEntriesForAddress()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCloneDetection.cpp24 unsigned StartIndex, unsigned EndIndex) in StmtSequence() argument
25 : S(Stmt), D(D), StartIndex(StartIndex), EndIndex(EndIndex) { in StmtSequence()
27 assert(StartIndex < EndIndex && "Given array should not be empty"); in StmtSequence()
28 assert(EndIndex <= Stmt->size() && "Given array too big for this Stmt"); in StmtSequence()
32 : S(Stmt), D(D), StartIndex(0), EndIndex(0) {} in StmtSequence()
35 : S(nullptr), D(nullptr), StartIndex(0), EndIndex(0) {} in StmtSequence()
72 return CS->body_begin() + EndIndex; in end()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DPostRASchedulerList.cpp140 unsigned EndIndex = 0; member in __anon3b4013580111::SchedulePostRATDList
157 void setEndIndex(unsigned EndIdx) { EndIndex = EndIdx; } in setEndIndex()
394 EndIndex, DbgValues); in schedule()
425 AntiDepBreak->Observe(MI, Count, EndIndex); in Observe()
H A DMachineBasicBlock.cpp1162 SlotIndex EndIndex = Indexes->getMBBEndIdx(NMBB); in SplitCriticalEdge() local
1181 LI.addSegment(LiveInterval::Segment(StartIndex, EndIndex, VNI)); in SplitCriticalEdge()
1200 LI.addSegment(LiveInterval::Segment(StartIndex, EndIndex, VNI)); in SplitCriticalEdge()
1202 LI.removeSegment(StartIndex, EndIndex); in SplitCriticalEdge()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1798 uint64_t EndIndex = EndOffset / ElementSize; in isVectorPromotionViableForSlice() local
1799 if (EndIndex * ElementSize != EndOffset || in isVectorPromotionViableForSlice()
1804 uint64_t NumElements = EndIndex - BeginIndex; in isVectorPromotionViableForSlice()
2176 unsigned NumElements = EndIndex - BeginIndex; in extractVector()
2226 if (i >= BeginIndex && i < EndIndex) in insertVector()
2447 unsigned EndIndex = getIndex(NewEndOffset); in rewriteVectorizedLoadInst() local
2596 unsigned EndIndex = getIndex(NewEndOffset); in rewriteVectorizedStoreInst() local
2822 unsigned EndIndex = getIndex(NewEndOffset); in visitMemSetInst() local
3715 if (Index == EndIndex) in getTypePartition()
3725 assert(Index < EndIndex); in getTypePartition()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSourceCode.cpp1075 llvm::Expected<size_t> EndIndex = positionToOffset(Contents, End, false); in applyChange() local
1076 if (!EndIndex) in applyChange()
1077 return EndIndex.takeError(); in applyChange()
1079 if (*EndIndex < *StartIndex) in applyChange()
1092 lspLength(Contents.substr(*StartIndex, *EndIndex - *StartIndex)); in applyChange()
1100 Contents.replace(*StartIndex, *EndIndex - *StartIndex, Change.text); in applyChange()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGClass.cpp1700 unsigned EndIndex; member in __anon858dc5ae0411::SanitizeDtorFieldRange
1704 unsigned EndIndex) in SanitizeDtorFieldRange() argument
1705 : Dtor(Dtor), StartIndex(StartIndex), EndIndex(EndIndex) {} in SanitizeDtorFieldRange()
1728 if (EndIndex >= Layout.getFieldCount()) { in Emit()
1732 Context.toCharUnitsFromBits(Layout.getFieldOffset(EndIndex)); in Emit()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp313 unsigned EndIndex = in simplifyAMDGCNImageIntrinsic() local
316 OperandIndex < EndIndex; OperandIndex++) { in simplifyAMDGCNImageIntrinsic()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaInit.cpp1087 unsigned EndIndex = (Index == StartIndex? StartIndex : Index - 1); in CheckImplicitInitList() local
1090 if (EndIndex < ParentIList->getNumInits() && in CheckImplicitInitList()
1091 ParentIList->getInit(EndIndex)) { in CheckImplicitInitList()
1093 = ParentIList->getInit(EndIndex)->getSourceRange().getEnd(); in CheckImplicitInitList()
3241 Expr *EndIndex = static_cast<Expr *>(D.getArrayRangeEnd()); in ActOnDesignatedInitializer() local
3246 bool EndDependent = EndIndex->isTypeDependent() || in ActOnDesignatedInitializer()
3247 EndIndex->isValueDependent(); in ActOnDesignatedInitializer()
3252 EndIndex = CheckArrayDesignatorExpr(*this, EndIndex, EndValue).get(); in ActOnDesignatedInitializer()
3254 if (!StartIndex || !EndIndex) in ActOnDesignatedInitializer()
3268 << StartIndex->getSourceRange() << EndIndex->getSourceRange(); in ActOnDesignatedInitializer()
[all …]