Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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);
/freebsd/contrib/llvm-project/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
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DWhitespaceManager.h179 unsigned EndIndex = 0; member
185 EndIndex == Other.EndIndex;
298 calculateCellWidth(PrevIter->Index, PrevIter->EndIndex, true) + 1; in getNetWidth()
307 calculateCellWidth(CellIter->Index, CellIter->EndIndex, true); in getMaximumCellWidth()
312 auto ThisWidth = calculateCellWidth(Next->Index, Next->EndIndex, true); in getMaximumCellWidth()
H A DWhitespaceManager.cpp1378 calculateCellWidth(CellIter->Index, CellIter->EndIndex, true) + in alignArrayInitializersRightJustified()
1384 alignToStartOfCell(CellIter->Index, CellIter->EndIndex); in alignArrayInitializersRightJustified()
1388 calculateCellWidth(Next->Index, Next->EndIndex, true) + NetWidth; in alignArrayInitializersRightJustified()
1393 alignToStartOfCell(Next->Index, Next->EndIndex); in alignArrayInitializersRightJustified()
1494 Cells.back().EndIndex = i; in getCells()
1503 Cells.back().EndIndex = i; in getCells()
H A DContinuationIndenter.cpp2489 for (unsigned LineIndex = 0, EndIndex = Token->getLineCount(); in breakProtrudingToken() local
2490 LineIndex != EndIndex; ++LineIndex) { in breakProtrudingToken()
2515 if (LineIndex < EndIndex - 1) { in breakProtrudingToken()
2656 if (LineIndex + 1 != EndIndex) { in breakProtrudingToken()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDbgEntityHistoryCalculator.cpp106 EndIndex = Index; in endEntry()
189 EntryIndex EndIndex = EI->getEndIndex(); in trimLocationRanges() local
191 if (EndIndex != NoEntry) in trimLocationRanges()
192 ReferenceCount[EndIndex] += 1; in trimLocationRanges()
201 const MachineInstr *EndMI = EndIndex != NoEntry in trimLocationRanges()
202 ? HistoryMapEntries[EndIndex].getInstr() in trimLocationRanges()
217 if (EndIndex != NoEntry) in trimLocationRanges()
218 ReferenceCount[EndIndex] -= 1; in trimLocationRanges()
255 Entry.EndIndex -= Offsets[Entry.EndIndex]; in trimLocationRanges()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DPostRASchedulerList.cpp140 unsigned EndIndex = 0; member in __anonf33d7a280111::SchedulePostRATDList
157 void setEndIndex(unsigned EndIdx) { EndIndex = EndIdx; } in setEndIndex()
393 EndIndex, DbgValues); in schedule()
424 AntiDepBreak->Observe(MI, Count, EndIndex); in Observe()
H A DMachineBasicBlock.cpp1290 SlotIndex EndIndex = Indexes->getMBBEndIdx(NMBB); in SplitCriticalEdge() local
1309 LI.addSegment(LiveInterval::Segment(StartIndex, EndIndex, VNI)); in SplitCriticalEdge()
1311 SR.addSegment(LiveInterval::Segment(StartIndex, EndIndex, VNI)); in SplitCriticalEdge()
1330 LI.addSegment(LiveInterval::Segment(StartIndex, EndIndex, VNI)); in SplitCriticalEdge()
1335 SR.addSegment(LiveInterval::Segment(StartIndex, EndIndex, VNI)); in SplitCriticalEdge()
1338 LI.removeSegment(StartIndex, EndIndex); in SplitCriticalEdge()
1340 SR.removeSegment(StartIndex, EndIndex); in SplitCriticalEdge()
H A DRegAllocFast.cpp131 uint64_t EndIndex = Instr2PosIndex.at(&*End); in getIndex() local
132 assert(EndIndex > LastIndex && "Index must be ascending order"); in getIndex()
133 unsigned NumAvailableIndexes = EndIndex - LastIndex - 1; in getIndex()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp2034 uint64_t EndIndex = EndOffset / ElementSize; in isVectorPromotionViableForSlice() local
2035 if (EndIndex * ElementSize != EndOffset || in isVectorPromotionViableForSlice()
2036 EndIndex > cast<FixedVectorType>(Ty)->getNumElements()) in isVectorPromotionViableForSlice()
2039 assert(EndIndex > BeginIndex && "Empty vector!"); in isVectorPromotionViableForSlice()
2040 uint64_t NumElements = EndIndex - BeginIndex; in isVectorPromotionViableForSlice()
2529 unsigned EndIndex, const Twine &Name) { in extractVector() argument
2531 unsigned NumElements = EndIndex - BeginIndex; in extractVector()
2544 auto Mask = llvm::to_vector<8>(llvm::seq<int>(BeginIndex, EndIndex)); in extractVector()
2572 unsigned EndIndex = BeginIndex + cast<FixedVectorType>(Ty)->getNumElements(); in insertVector() local
2581 if (i >= BeginIndex && i < EndIndex) in insertVector()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DXCOFFObjectWriter.cpp401 uint32_t EndIndex);
403 uint32_t EndIndex);
1011 uint32_t EndIndex) { in writeSymbolAuxFunctionEntry() argument
1019 W.write<uint32_t>(EndIndex); in writeSymbolAuxFunctionEntry()
1030 uint32_t EndIndex) { in writeSymbolAuxExceptionEntry() argument
1034 W.write<uint32_t>(EndIndex); in writeSymbolAuxExceptionEntry()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGClass.cpp1742 unsigned EndIndex; member in __anon79f44e7e0411::SanitizeDtorFieldRange
1746 unsigned EndIndex) in SanitizeDtorFieldRange() argument
1747 : Dtor(Dtor), StartIndex(StartIndex), EndIndex(EndIndex) {} in SanitizeDtorFieldRange()
1768 if (EndIndex >= Layout.getFieldCount()) { in Emit()
1772 Context.toCharUnitsFromBits(Layout.getFieldOffset(EndIndex)); in Emit()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp1168 unsigned EndIndex = (Index == StartIndex? StartIndex : Index - 1); in CheckImplicitInitList() local
1171 if (EndIndex < ParentIList->getNumInits() && in CheckImplicitInitList()
1172 ParentIList->getInit(EndIndex)) { in CheckImplicitInitList()
1174 = ParentIList->getInit(EndIndex)->getSourceRange().getEnd(); in CheckImplicitInitList()
3506 Expr *EndIndex = static_cast<Expr *>(D.getArrayRangeEnd()); in ActOnDesignatedInitializer() local
3511 bool EndDependent = EndIndex->isTypeDependent() || in ActOnDesignatedInitializer()
3512 EndIndex->isValueDependent(); in ActOnDesignatedInitializer()
3517 EndIndex = CheckArrayDesignatorExpr(*this, EndIndex, EndValue).get(); in ActOnDesignatedInitializer()
3519 if (!StartIndex || !EndIndex) in ActOnDesignatedInitializer()
3533 << StartIndex->getSourceRange() << EndIndex->getSourceRange(); in ActOnDesignatedInitializer()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp316 unsigned EndIndex = in simplifyAMDGCNImageIntrinsic() local
319 OperandIndex < EndIndex; OperandIndex++) { in simplifyAMDGCNImageIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp10090 unsigned EndIndex = OrigIdx + SubVecVT.getVectorNumElements(); in lowerINSERT_SUBVECTOR()
10091 SDValue VL = getVLOp(EndIndex, ContainerVT, DL, DAG, Subtarget); in lowerINSERT_SUBVECTOR()
10095 if (VecVT.isFixedLengthVector() && EndIndex == VecVT.getVectorNumElements()) in lowerINSERT_SUBVECTOR()
10210 ElementCount EndIndex = RemIdx + SubVecVT.getVectorElementCount(); in lowerINSERT_SUBVECTOR()
10215 if (Subtarget.expandVScale(EndIndex) == in lowerINSERT_SUBVECTOR()
10088 unsigned EndIndex = OrigIdx + SubVecVT.getVectorNumElements(); lowerINSERT_SUBVECTOR() local
10208 ElementCount EndIndex = RemIdx + SubVecVT.getVectorElementCount(); lowerINSERT_SUBVECTOR() local