Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMLRegallocEvictAdvisor.cpp
H A DMLRegAllocEvictAdvisor.cpp974 SlotIndex CurrentIndex = LRPosInfo[0].Begin; in extractInstructionFeatures() local
988 while (CurrentIndex <= LRPosInfo[CurrentSegmentIndex].End && in extractInstructionFeatures()
990 int CurrentOpcode = GetOpcode(CurrentIndex); in extractInstructionFeatures()
995 if (CurrentIndex >= LastIndex) { in extractInstructionFeatures()
998 CurrentIndex = CurrentIndex.getNextIndex(); in extractInstructionFeatures()
1001 MachineBasicBlock *CurrentMBBReference = GetMBBReference(CurrentIndex); in extractInstructionFeatures()
1006 extractMBBFrequency(CurrentIndex, InstructionIndex, VisitedMBBs, in extractInstructionFeatures()
1010 assert(LRPosInfo[CurrentSegmentIndex].Begin <= CurrentIndex); in extractInstructionFeatures()
1029 LRPosInfo[OverlapCheckCurrentSegment].Begin <= CurrentIndex) { in extractInstructionFeatures()
1032 if (LRPosInfo[OverlapCheckCurrentSegment].End >= CurrentIndex) { in extractInstructionFeatures()
[all …]
H A DMLRegallocEvictAdvisor.h
H A DMLRegAllocEvictAdvisor.h44 void extractMBBFrequency(const SlotIndex CurrentIndex,
H A DCodeGenPrepare.cpp3553 size_t CurrentIndex = 0; member in __anon1d600f580d11::PhiNodeSetIterator
3649 void SkipRemovedElements(size_t &CurrentIndex) { in SkipRemovedElements() argument
3650 while (CurrentIndex < NodeList.size()) { in SkipRemovedElements()
3651 auto it = NodeMap.find(NodeList[CurrentIndex]); in SkipRemovedElements()
3654 if (it != NodeMap.end() && it->second == CurrentIndex) in SkipRemovedElements()
3656 ++CurrentIndex; in SkipRemovedElements()
3662 : Set(Set), CurrentIndex(Start) {} in PhiNodeSetIterator()
3665 assert(CurrentIndex < Set->NodeList.size() && in operator *()
3667 return Set->NodeList[CurrentIndex]; in operator *()
3671 assert(CurrentIndex < Set->NodeList.size() && in operator ++()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAcceleratorTable.h706 const NameIndex *CurrentIndex = nullptr;
751 return A.CurrentIndex == B.CurrentIndex && A.DataOffset == B.DataOffset;
761 const NameIndex *CurrentIndex; variable
767 assert(CurrentName <= CurrentIndex->getNameCount()); in next()
780 NameIterator(const NameIndex *CurrentIndex, uint32_t CurrentName) in NameIterator() argument
781 : CurrentIndex(CurrentIndex), CurrentName(CurrentName) {} in NameIterator()
784 return CurrentIndex->getNameTableEntry(CurrentName);
797 return A.CurrentIndex == B.CurrentIndex && A.CurrentName == B.CurrentName;
/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/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/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/contrib/llvm-project/llvm/lib/ProfileData/
H A DMemProf.cpp461 uint32_t CurrentIndex = RadixArray.size(); in encodeCallStack() local
465 assert(ParentIndex < CurrentIndex); in encodeCallStack()
466 RadixArray.push_back(ParentIndex - CurrentIndex); in encodeCallStack()
/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/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp58 ~PakedBitsWriter() { assert(!CurrentIndex); } in ~PakedBitsWriter()
61 assert(CurrentIndex && "Writing Bits without recording first!"); in addBit()
65 assert(CurrentIndex && "Writing Bits without recording first!"); in addBits()
70 if (!CurrentIndex) in writeBits()
73 RecordRef[*CurrentIndex] = (uint32_t)PackingBits; in writeBits()
74 CurrentIndex = std::nullopt; in writeBits()
81 CurrentIndex = RecordRef.size(); in updateBits()
88 std::optional<unsigned> CurrentIndex; member in clang::ASTStmtWriter::PakedBitsWriter
/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/llvm/lib/IR/
H A DInstructions.cpp495 unsigned CurrentIndex = BeginIndex; in populateBundleOperandInfos() local
501 BOI.Begin = CurrentIndex; in populateBundleOperandInfos()
502 BOI.End = CurrentIndex + BI->input_size(); in populateBundleOperandInfos()
503 CurrentIndex = BOI.End; in populateBundleOperandInfos()