Home
last modified time | relevance | path

Searched refs:CurrentIndex (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAcceleratorTable.h708 const NameIndex *CurrentIndex = nullptr;
753 return A.CurrentIndex == B.CurrentIndex && A.DataOffset == B.DataOffset;
763 const NameIndex *CurrentIndex; variable
769 assert(CurrentName <= CurrentIndex->getNameCount()); in next()
783 NameIterator(const NameIndex *CurrentIndex, uint32_t CurrentName) in NameIterator() argument
784 : CurrentIndex(CurrentIndex), CurrentName(CurrentName) {} in NameIterator()
787 return CurrentIndex->getNameTableEntry(CurrentName);
801 return CurrentIndex->getNameTableEntry(idx + 1);
805 assert(CurrentIndex == other.CurrentIndex);
810 return A.CurrentIndex == B.CurrentIndex && A.CurrentName == B.CurrentName;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMLRegallocEvictAdvisor.cpp
H A DMLRegAllocEvictAdvisor.cpp1064 SlotIndex CurrentIndex = LRPosInfo[0].Begin; in extractInstructionFeatures() local
1078 while (CurrentIndex <= LRPosInfo[CurrentSegmentIndex].End && in extractInstructionFeatures()
1080 int CurrentOpcode = GetOpcode(CurrentIndex); in extractInstructionFeatures()
1085 if (CurrentIndex >= LastIndex) { in extractInstructionFeatures()
1088 CurrentIndex = CurrentIndex.getNextIndex(); in extractInstructionFeatures()
1091 MachineBasicBlock *CurrentMBBReference = GetMBBReference(CurrentIndex); in extractInstructionFeatures()
1096 extractMBBFrequency(CurrentIndex, InstructionIndex, VisitedMBBs, in extractInstructionFeatures()
1100 assert(LRPosInfo[CurrentSegmentIndex].Begin <= CurrentIndex); in extractInstructionFeatures()
1119 LRPosInfo[OverlapCheckCurrentSegment].Begin <= CurrentIndex) { in extractInstructionFeatures()
1122 if (LRPosInfo[OverlapCheckCurrentSegment].End >= CurrentIndex) { in extractInstructionFeatures()
[all …]
H A DMLRegallocEvictAdvisor.h
H A DMLRegAllocEvictAdvisor.h46 const SlotIndex CurrentIndex, const size_t CurrentInstructionIndex,
H A DCodeGenPrepare.cpp3890 size_t CurrentIndex = 0; member in __anon1d600f580f11::PhiNodeSetIterator
3986 void SkipRemovedElements(size_t &CurrentIndex) { in SkipRemovedElements() argument
3987 while (CurrentIndex < NodeList.size()) { in SkipRemovedElements()
3988 auto it = NodeMap.find(NodeList[CurrentIndex]); in SkipRemovedElements()
3991 if (it != NodeMap.end() && it->second == CurrentIndex) in SkipRemovedElements()
3993 ++CurrentIndex; in SkipRemovedElements()
3999 : Set(Set), CurrentIndex(Start) {} in PhiNodeSetIterator()
4002 assert(CurrentIndex < Set->NodeList.size() && in operator *()
4004 return Set->NodeList[CurrentIndex]; in operator *()
4008 assert(CurrentIndex < Set->NodeList.size() && in operator ++()
[all …]
/freebsd/sys/contrib/dev/acpica/components/disassembler/
H A Ddmbuffer.c216 UINT32 CurrentIndex; in AcpiDmDisasmByteList() local
239 CurrentIndex = i + j; in AcpiDmDisasmByteList()
240 if (CurrentIndex >= ByteCount) in AcpiDmDisasmByteList()
248 AcpiOsPrintf (" 0x%2.2X", ByteData[CurrentIndex]); in AcpiDmDisasmByteList()
252 if (CurrentIndex < (ByteCount - 1)) in AcpiDmDisasmByteList()
267 CurrentIndex = i + j; in AcpiDmDisasmByteList()
268 if (CurrentIndex >= ByteCount) in AcpiDmDisasmByteList()
273 BufChar = ByteData[CurrentIndex]; in AcpiDmDisasmByteList()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILCBufferAccess.cpp131 unsigned int CurrentIndex = in loadValue() local
138 auto *Elt = Builder.CreateExtractValue(CBufLoad, {CurrentIndex++}, in loadValue()
162 CurrentIndex %= Intrin.NumElts; in loadValue()
164 if (CurrentIndex == 0) in loadValue()
170 Extracts.push_back(Builder.CreateExtractValue(CBufLoad, {CurrentIndex++}, in loadValue()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFAcceleratorTable.cpp963 const Header &Hdr = CurrentIndex->Hdr; in findEntryOffsetInCurrentIndex()
966 for (const NameTableEntry &NTE : *CurrentIndex) { in findEntryOffsetInCurrentIndex()
978 uint32_t Index = CurrentIndex->getBucketArrayEntry(Bucket); in findEntryOffsetInCurrentIndex()
983 uint32_t HashAtIndex = CurrentIndex->getHashArrayEntry(Index); in findEntryOffsetInCurrentIndex()
990 NameTableEntry NTE = CurrentIndex->getNameTableEntry(Index); in findEntryOffsetInCurrentIndex()
998 auto EntryOr = CurrentIndex->getEntry(&DataOffset); in getEntryAtCurrentOffset()
1016 for (const NameIndex *End = CurrentIndex->Section.NameIndices.end(); in searchFromStartOfCurrentIndex()
1017 CurrentIndex != End; ++CurrentIndex) { in searchFromStartOfCurrentIndex()
1025 assert(CurrentIndex && "Incrementing an end() iterator?"); in next()
1032 if (IsLocal || CurrentIndex == &CurrentIndex->Section.NameIndices.back()) { in next()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DMemProfRadixTree.cpp66 uint32_t CurrentIndex = RadixArray.size(); in encodeCallStack() local
70 assert(ParentIndex < CurrentIndex); in encodeCallStack()
71 RadixArray.push_back(ParentIndex - CurrentIndex); in encodeCallStack()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h770 ArrayRef<unsigned>::iterator CurrentIndex; variable
782 CurrentIndex(RecordIndices.begin()), in Records()
785 Current(CurrentIndex == RecordIndices.end() ? Records.begin() in Records()
786 : &Records[*CurrentIndex]), in Records()
816 assert(CurrentIndex != RecordIndices.end() && "incremented past end"); in advanceOne()
817 ++CurrentIndex; in advanceOne()
818 if (CurrentIndex == RecordIndices.end()) { in advanceOne()
821 Current = &Records[*CurrentIndex]; in advanceOne()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dtsd_shared.h206 const u32 Index = atomic_fetch_add(&CurrentIndex, 1U, memory_order_relaxed); in initThread()
257 atomic_u32 CurrentIndex = {}; member
/freebsd/sys/dev/pms/RefTisa/sallsdk/spc/
H A Dmpidebug.h251 bit32 CurrentIndex; member
H A Dmpidebug.c890 pBParms->CurrentIndex = saRoot->CurrentTraceIndex; in siTraceGetInfo()
/freebsd/sys/dev/pms/RefTisa/tisa/sassata/common/
H A Dtdioctl.h607 bit32 CurrentIndex; member
H A Dtdioctl.c847 BufferParms.CurrentIndex = 0; in tiCOMMgntIOCTL()
894 BufferParms.CurrentIndex = 0; in tiCOMMgntIOCTL()
902 llist->CurrentIndex = BufferParms.CurrentIndex ; in tiCOMMgntIOCTL()
926 BufferParms.CurrentIndex = 0; in tiCOMMgntIOCTL()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp57 ~PakedBitsWriter() { assert(!CurrentIndex); } in ~PakedBitsWriter()
60 assert(CurrentIndex && "Writing Bits without recording first!"); in addBit()
64 assert(CurrentIndex && "Writing Bits without recording first!"); in addBits()
69 if (!CurrentIndex) in writeBits()
72 RecordRef[*CurrentIndex] = (uint32_t)PackingBits; in writeBits()
73 CurrentIndex = std::nullopt; in writeBits()
80 CurrentIndex = RecordRef.size(); in updateBits()
87 std::optional<unsigned> CurrentIndex; member in clang::ASTStmtWriter::PakedBitsWriter
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp3644 size_t CurrentIndex = 0; in emitInlinees() local
3645 while (CurrentIndex < SortedInlinees.size()) { in emitInlinees()
3648 std::min(ChunkSize, SortedInlinees.size() - CurrentIndex); in emitInlinees()
3652 const size_t CurrentChunkEnd = CurrentIndex + CurrentChunkSize; in emitInlinees()
3653 for (; CurrentIndex < CurrentChunkEnd; ++CurrentIndex) { in emitInlinees()
3655 OS.emitInt32(SortedInlinees[CurrentIndex].getIndex()); in emitInlinees()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp524 unsigned CurrentIndex = BeginIndex; in populateBundleOperandInfos() local
530 BOI.Begin = CurrentIndex; in populateBundleOperandInfos()
531 BOI.End = CurrentIndex + BI->input_size(); in populateBundleOperandInfos()
532 CurrentIndex = BOI.End; in populateBundleOperandInfos()