Home
last modified time | relevance | path

Searched refs:getIndex (Results 1 – 25 of 373) sorted by relevance

12345678910>>...15

/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/
H A DFunctionId.h23 uint32_t getIndex() const { return Index; } in getIndex() function
30 return A.getIndex() == B.getIndex();
34 return A.getIndex() != B.getIndex();
38 return A.getIndex() < B.getIndex();
42 return A.getIndex() <= B.getIndex();
46 return A.getIndex() > B.getIndex();
50 return A.getIndex() >= B.getIndex();
H A DTypeIndex.h111 uint32_t getIndex() const { return Index; } in getIndex() function
120 return (getIndex() & ~DecoratedItemIdMask) - FirstNonSimpleIndex; in toArrayIndex()
232 return A.getIndex() == B.getIndex();
236 return A.getIndex() != B.getIndex();
240 return A.getIndex() < B.getIndex();
244 return A.getIndex() <= B.getIndex();
248 return A.getIndex() > B.getIndex();
252 return A.getIndex() >= B.getIndex();
262 assert(A.getIndex() >= N);
299 return DenseMapInfo<uint32_t>::getHashValue(TI.getIndex());
/llvm-project-15.0.7/llvm/unittests/DebugInfo/CodeView/
H A DTypeHashingTest.cpp107 ASSERT_EQ(0x1000U, CharPP[0].getIndex()); in TEST()
108 ASSERT_EQ(0x1001U, IntPP[0].getIndex()); in TEST()
109 ASSERT_EQ(0x1002U, IntPPP[0].getIndex()); in TEST()
110 ASSERT_EQ(0x1003U, Args[0].getIndex()); in TEST()
111 ASSERT_EQ(0x1004U, Proc[0].getIndex()); in TEST()
139 ASSERT_EQ(0x1000U, IntPP[1].getIndex()); in TEST()
140 ASSERT_EQ(0x1001U, IntPPP[1].getIndex()); in TEST()
141 ASSERT_EQ(0x1002U, CharPP[1].getIndex()); in TEST()
142 ASSERT_EQ(0x1003U, DoublePP[1].getIndex()); in TEST()
143 ASSERT_EQ(0x1004U, Args[1].getIndex()); in TEST()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DSlotIndexes.h57 unsigned getIndex() const { return index; } in getIndex() function
123 unsigned getIndex() const {
124 return listEntry()->getIndex() | getSlot();
175 return getIndex() < other.getIndex();
180 return getIndex() <= other.getIndex();
186 return getIndex() > other.getIndex();
192 return getIndex() >= other.getIndex();
203 return A.listEntry()->getIndex() < B.listEntry()->getIndex();
214 return other.getIndex() - getIndex();
220 return (other.listEntry()->getIndex() - listEntry()->getIndex())
[all …]
H A DSelectionDAGAddressAnalysis.h50 SDValue getIndex() { return Index; } in getIndex() function
51 SDValue getIndex() const { return Index; } in getIndex() function
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DProjectAware.cpp60 SymbolIndex *getIndex() const;
84 if (auto *Idx = getIndex()) in lookup()
92 if (auto *Idx = getIndex()) in refs()
101 if (auto *Idx = getIndex()) in fuzzyFind()
110 if (auto *Idx = getIndex()) in relations()
117 if (auto *Idx = getIndex()) in indexedFiles()
122 SymbolIndex *ProjectAwareIndex::getIndex() const { in getIndex() function in clang::clangd::__anonba7a63790111::ProjectAwareIndex
/llvm-project-15.0.7/clang/test/Analysis/diagnostics/
H A Dtrack_subexpressions.cpp24 int getIndex(int x) { in getIndex() function
44 int n = getIndex(x); // expected-note {{Calling 'getIndex'}} in testArrayIndexTracking()
56 int getIndex(int x) { in getIndex() function
76 int n = getIndex(x); // expected-note {{Calling 'getIndex'}} in testArrayIndexTracking()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DSlotIndexes.cpp166 unsigned index = startItr->getIndex(); in renumberIndexes()
171 } while (curItr != indexList.end() && curItr->getIndex() <= index); in renumberIndexes()
173 LLVM_DEBUG(dbgs() << "\n*** Renumbered SlotIndexes " << startItr->getIndex() in renumberIndexes()
204 assert(ListI->getIndex() >= startIdx.getIndex() && in repairIndexesInRange()
243 dbgs() << ILE.getIndex() << " "; in dump()
261 os << listEntry()->getIndex() << "Berd"[getSlot()]; in print()
H A DMachineOperand.cpp303 return getIndex() == Other.getIndex(); in isIdenticalTo()
306 return getIndex() == Other.getIndex() && getOffset() == Other.getOffset(); in isIdenticalTo()
308 return getIndex() == Other.getIndex(); in isIdenticalTo()
368 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
371 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex(), in hash_value()
374 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
428 return MF ? ::getTargetIndexName(*MF, this->getIndex()) : nullptr; in getTargetIndexName()
831 int FrameIndex = getIndex(); in print()
840 OS << "%const." << getIndex(); in print()
847 if (const auto *TargetIndexName = ::getTargetIndexName(*MF, getIndex())) in print()
[all …]
H A DNonRelocatableStringpool.cpp50 return A.getIndex() < B.getIndex(); in getEntriesForEmission()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGAddressAnalysis.cpp71 if (A->getIndex() == B->getIndex()) in equalBaseIndex()
76 if (MFI.isFixedObjectIndex(A->getIndex()) && in equalBaseIndex()
77 MFI.isFixedObjectIndex(B->getIndex())) { in equalBaseIndex()
78 Off += MFI.getObjectOffset(B->getIndex()) - in equalBaseIndex()
79 MFI.getObjectOffset(A->getIndex()); in equalBaseIndex()
133 if (A != B && (!MFI.isFixedObjectIndex(A->getIndex()) || in computeAliasing()
134 !MFI.isFixedObjectIndex(B->getIndex()))) { in computeAliasing()
/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DDwarfStringPoolEntryRefTest.cpp33 EXPECT_TRUE(Ref1.getIndex() == 0); in TEST()
38 EXPECT_TRUE(Ref2.getIndex() == 0); in TEST()
53 EXPECT_TRUE(Ref3.getIndex() == 1); in TEST()
78 EXPECT_TRUE(Ref1.getIndex() == 0); in TEST()
100 EXPECT_TRUE(Ref3.getIndex() == 1); in TEST()
H A DSelectionDAGAddressAnalysisTest.cpp106 int FI = cast<FrameIndexSDNode>(FIPtr.getNode())->getIndex(); in TEST_F()
129 int FI = cast<FrameIndexSDNode>(FIPtr.getNode())->getIndex(); in TEST_F()
157 int FI = cast<FrameIndexSDNode>(FIPtr.getNode())->getIndex(); in TEST_F()
189 int FI = cast<FrameIndexSDNode>(FIPtr.getNode())->getIndex(); in TEST_F()
216 int FI = cast<FrameIndexSDNode>(FIPtr.getNode())->getIndex(); in TEST_F()
281 int FI = cast<FrameIndexSDNode>(FIPtr.getNode())->getIndex(); in TEST_F()
322 int FI = cast<FrameIndexSDNode>(FIPtr.getNode())->getIndex(); in TEST_F()
355 int FI0 = cast<FrameIndexSDNode>(FIPtr0.getNode())->getIndex(); in TEST_F()
356 int FI1 = cast<FrameIndexSDNode>(FIPtr1.getNode())->getIndex(); in TEST_F()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DModuleSummaryAnalysis.h66 ModuleSummaryIndex &getIndex() { return *Index; } in getIndex() function
67 const ModuleSummaryIndex &getIndex() const { return *Index; } in getIndex() function
90 const ModuleSummaryIndex *getIndex() const { return Index; } in getIndex() function
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDebugLocStream.h111 size_t LI = getIndex(L); in getEntries()
117 size_t EI = getIndex(E); in getBytes()
122 size_t EI = getIndex(E); in getComments()
128 size_t getIndex(const List &L) const { in getIndex() function
133 size_t getIndex(const Entry &E) const { in getIndex() function
/llvm-project-15.0.7/llvm/lib/Target/ARC/
H A DARCISelDAGToDAG.cpp95 int FI = cast<FrameIndexSDNode>(Addr)->getIndex(); in SelectAddrModeS9()
115 int FI = cast<FrameIndexSDNode>(Base)->getIndex(); in SelectAddrModeS9()
150 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32); in SelectFrameADDR_ri()
160 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32); in SelectFrameADDR_ri()
H A DARCMCInstLower.cpp52 Symbol = Printer.GetJTISymbol(MO.getIndex()); in LowerSymbolOperand()
55 Symbol = Printer.GetCPISymbol(MO.getIndex()); in LowerSymbolOperand()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DConstructionContext.cpp148 return create<ArgumentConstructionContext>(C, E, ParentItem.getIndex(), in createBoundTemporaryFromLayers()
163 ParentItem.getIndex()); in createBoundTemporaryFromLayers()
212 return create<LambdaCaptureConstructionContext>(C, E, TopItem.getIndex()); in createFromLayers()
222 return create<ArgumentConstructionContext>(C, E, TopItem.getIndex(), in createFromLayers()
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DPointer.cpp111 Path.push_back(APValue::LValuePathEntry::ArrayIndex(Ptr.getIndex())); in toAPValue()
147 return Map->isInitialized(getIndex()); in isInitialized()
165 if (Map->initialize(getIndex())) { in initialize()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64StackTaggingPreRA.cpp198 int FI = I->getOperand(1).getIndex(); in uncheckLoadsAndStores()
209 : FI(MI.getOperand(1).getIndex()), Tag(MI.getOperand(4).getImm()) {} in SlotWithTag()
359 int FI = I.getOperand(1).getIndex(); in runOnMachineFunction()
386 int FI = I->getOperand(1).getIndex(); in runOnMachineFunction()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSemaInternal.h67 return std::make_pair(TTP->getDepth(), TTP->getIndex()); in getDepthAndIndex()
70 return std::make_pair(NTTP->getDepth(), NTTP->getIndex()); in getDepthAndIndex()
73 return std::make_pair(TTP->getDepth(), TTP->getIndex()); in getDepthAndIndex()
80 return std::make_pair(TTP->getDepth(), TTP->getIndex()); in getDepthAndIndex()
/llvm-project-15.0.7/llvm/lib/Target/VE/
H A DVEMCInstLower.cpp58 return LowerSymbolOperand(MI, MO, AP.GetCPISymbol(MO.getIndex()), AP); in LowerOperand()
67 return LowerSymbolOperand(MI, MO, AP.GetJTISymbol(MO.getIndex()), AP); in LowerOperand()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZMCInstLower.cpp55 Symbol = AsmPrinter.GetJTISymbol(MO.getIndex()); in getExpr()
60 Symbol = AsmPrinter.GetCPISymbol(MO.getIndex()); in getExpr()
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DTypeIndex.cpp104 Printer.printHex(FieldName, TypeName, TI.getIndex()); in printTypeIndex()
106 Printer.printHex(FieldName, TI.getIndex()); in printTypeIndex()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DCodeTemplate.cpp36 return VariableValues[Var.getIndex()]; in getValueFor()
40 return VariableValues[Var.getIndex()]; in getValueFor()

12345678910>>...15