Home
last modified time | relevance | path

Searched refs:Index (Results 1 – 25 of 1109) sorted by relevance

12345678910>>...45

/freebsd/sys/contrib/dev/acpica/components/dispatcher/
H A Ddsmthdat.c167 UINT32 Index,
173 UINT32 Index,
181 UINT32 Index,
264 UINT32 Index; in AcpiDsMethodDataDeleteAll() local
272 for (Index = 0; Index < ACPI_METHOD_NUM_LOCALS; Index++) in AcpiDsMethodDataDeleteAll()
274 if (WalkState->LocalVariables[Index].Object) in AcpiDsMethodDataDeleteAll()
277 Index, WalkState->LocalVariables[Index].Object)); in AcpiDsMethodDataDeleteAll()
281 AcpiNsDetachObject (&WalkState->LocalVariables[Index]); in AcpiDsMethodDataDeleteAll()
287 for (Index = 0; Index < ACPI_METHOD_NUM_ARGS; Index++) in AcpiDsMethodDataDeleteAll()
289 if (WalkState->Arguments[Index].Object) in AcpiDsMethodDataDeleteAll()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Option/
H A DOption.cpp114 unsigned &Index) const { in acceptInternal()
116 const size_t ArgStringSize = StringRef(Args.getArgString(Index)).size(); in acceptInternal()
121 return std::make_unique<Arg>(*this, Spelling, Index++); in acceptInternal()
124 const char *Value = Args.getArgString(Index) + SpellingSize; in acceptInternal()
125 return std::make_unique<Arg>(*this, Spelling, Index++, Value); in acceptInternal()
129 const char *Str = Args.getArgString(Index) + SpellingSize; in acceptInternal()
130 auto A = std::make_unique<Arg>(*this, Spelling, Index++); in acceptInternal()
160 Index += 2; in acceptInternal()
161 if (Index > Args.getNumInputArgStrings() || in acceptInternal()
162 Args.getArgString(Index - 1) == nullptr) in acceptInternal()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DTypeLocBuilder.cpp72 unsigned NewIndex = Index + NewCapacity - Capacity; in grow()
74 &Buffer[Index], in grow()
75 Capacity - Index); in grow()
82 Index = NewIndex; in grow()
96 if (LocalSize > Index) { in pushImpl()
97 size_t RequiredCapacity = Capacity + (LocalSize - Index); in pushImpl()
122 memmove(&Buffer[Index - 4], &Buffer[Index], NumBytesAtAlign4); in pushImpl()
123 Index -= 4; in pushImpl()
133 memmove(&Buffer[Index + 4], &Buffer[Index], NumBytesAtAlign4); in pushImpl()
134 Index += 4; in pushImpl()
[all …]
/freebsd/sys/contrib/dev/acpica/compiler/
H A Daslmessages.c455 UINT32 Index; in AeDecodeMessageId() local
464 Index = MessageId; in AeDecodeMessageId()
466 if (Index >= ACPI_ARRAY_LENGTH (AslCompilerMsgs)) in AeDecodeMessageId()
477 Index = MessageId - ASL_MSG_TABLE_COMPILER; in AeDecodeMessageId()
479 if (Index >= ACPI_ARRAY_LENGTH (AslTableCompilerMsgs)) in AeDecodeMessageId()
490 Index = MessageId - ASL_MSG_PREPROCESSOR; in AeDecodeMessageId()
492 if (Index >= ACPI_ARRAY_LENGTH (AslPreprocessorMsgs)) in AeDecodeMessageId()
505 return (MessageTable[Index]); in AeDecodeMessageId()
602 UINT32 Index = 1; in AhDecodeAslException() local
618 for (i = 1; Index < ACPI_ARRAY_LENGTH (AslCompilerMsgs); i++, Index++) in AhDecodeAslException()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DLazyRandomTypeCollection.cpp79 uint32_t LazyRandomTypeCollection::getOffsetOfType(TypeIndex Index) { in getOffsetOfType() argument
80 error(ensureTypeExists(Index)); in getOffsetOfType()
81 assert(contains(Index)); in getOffsetOfType()
83 return Records[Index.toArrayIndex()].Offset; in getOffsetOfType()
86 CVType LazyRandomTypeCollection::getType(TypeIndex Index) { in getType() argument
87 assert(!Index.isSimple()); in getType()
89 auto EC = ensureTypeExists(Index); in getType()
91 assert(contains(Index)); in getType()
93 return Records[Index.toArrayIndex()].Type; in getType()
96 std::optional<CVType> LazyRandomTypeCollection::tryGetType(TypeIndex Index) { in tryGetType() argument
[all …]
H A DTypeTableCollection.cpp37 CVType TypeTableCollection::getType(TypeIndex Index) { in getType() argument
38 assert(Index.toArrayIndex() < Records.size()); in getType()
39 return CVType(Records[Index.toArrayIndex()]); in getType()
42 StringRef TypeTableCollection::getTypeName(TypeIndex Index) { in getTypeName() argument
43 if (Index.isNoneType() || Index.isSimple()) in getTypeName()
44 return TypeIndex::simpleTypeName(Index); in getTypeName()
46 uint32_t I = Index.toArrayIndex(); in getTypeName()
48 StringRef Result = NameStorage.save(computeTypeName(*this, Index)); in getTypeName()
54 bool TypeTableCollection::contains(TypeIndex Index) { in contains() argument
55 return Index.toArrayIndex() <= size(); in contains()
[all …]
H A DGlobalTypeTableBuilder.cpp46 CVType GlobalTypeTableBuilder::getType(TypeIndex Index) { in getType() argument
47 CVType Type(SeenRecords[Index.toArrayIndex()]); in getType()
51 StringRef GlobalTypeTableBuilder::getTypeName(TypeIndex Index) { in getTypeName() argument
55 bool GlobalTypeTableBuilder::contains(TypeIndex Index) { in contains() argument
56 if (Index.isSimple() || Index.isNoneType()) in contains()
59 return Index.toArrayIndex() < SeenRecords.size(); in contains()
107 bool GlobalTypeTableBuilder::replaceType(TypeIndex &Index, CVType Data, in replaceType() argument
109 assert(Index.toArrayIndex() < SeenRecords.size() && in replaceType()
120 auto Result = HashedRecords.try_emplace(Hash, Index.toArrayIndex()); in replaceType()
122 Index = Result.first->second; in replaceType()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600RegisterInfo.td44 foreach Index = 0-127 in {
47 def T#Index#_#Chan : R600RegWithChan <"T"#Index#"."#Chan, Index, Chan>;
50 def Addr#Index#_#Chan : R600RegWithChan <"T("#Index#" + AR.x)."#Chan,
51 Index, Chan>;
54 def T#Index#_XYZW : R600Reg_128 <"T"#Index#"",
55 [!cast<Register>("T"#Index#"_X"),
56 !cast<Register>("T"#Index#"_Y"),
57 !cast<Register>("T"#Index#"_Z"),
58 !cast<Register>("T"#Index#"_W")],
59 Index>;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBlockRanges.h57 IndexType(unsigned Idx) : Index(Idx) {} in IndexType()
59 static bool isInstr(IndexType X) { return X.Index >= First; } in isInstr()
75 unsigned Index = None; member
178 assert(Index >= First);
179 return Index;
183 return Index == x;
187 return Index == Idx.Index;
191 return Index != x;
195 return Index != Idx.Index;
200 assert(Index != None);
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DCoalescingBitVector.h97 void set(IndexT Index) { in set() argument
98 assert(!test(Index) && "Setting already-set bits not supported/efficient, " in set()
100 insert(Index, Index); in set()
115 for (IndexT Index : Indices) in set() local
116 set(Index); in set()
120 bool test(IndexT Index) const { in test() argument
121 const auto It = Intervals.find(Index); in test()
124 assert(It.stop() >= Index && "Interval must end after Index"); in test()
125 return It.start() <= Index; in test()
129 void test_and_set(IndexT Index) { in test_and_set() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfoDMR.td76 foreach Index = 0-63 in {
77 def DMRROW#Index : DMRROW<Index, "dmrrow"#Index>, DwarfRegNum<[-1, -1]>;
86 foreach Index = 0-31 in {
87 def DMRROWp#Index : DMRROWp<Index, "dmrrowp"#Index,
88 [!cast<DMRROW>("DMRROW"#!mul(Index, 2)),
89 !cast<DMRROW>("DMRROW"#!add(!mul(Index, 2), 1))]>, DwarfRegNum<[-1, -1]>;
98 foreach Index = 0-7 in {
99 def WACC#Index : WACC<Index, "wacc"#Index,
100 [!cast<DMRROWp>("DMRROWp"#!mul(Index, 4)),
101 !cast<DMRROWp>("DMRROWp"#!add(!mul(Index, 4), 1))]>, DwarfRegNum<[-1, -1]>;
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DConstructionContext.h69 const unsigned Index = 0; variable
110 ConstructionContextItem(const CallExpr *CE, unsigned Index) in ConstructionContextItem() argument
111 : Data(CE), Kind(ArgumentKind), Index(Index) {} in ConstructionContextItem()
113 ConstructionContextItem(const CXXConstructExpr *CE, unsigned Index) in ConstructionContextItem() argument
114 : Data(CE), Kind(ArgumentKind), Index(Index) {} in ConstructionContextItem()
116 ConstructionContextItem(const CXXInheritedCtorInitExpr *CE, unsigned Index) in ConstructionContextItem() argument
117 : Data(CE), Kind(ArgumentKind), Index(Index) {} in ConstructionContextItem()
119 ConstructionContextItem(const ObjCMessageExpr *ME, unsigned Index) in ConstructionContextItem() argument
120 : Data(ME), Kind(ArgumentKind), Index(Index) {} in ConstructionContextItem()
123 ConstructionContextItem(const Expr *E, unsigned Index) in ConstructionContextItem() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DThinLTOCodeGenerator.cpp132 const ModuleSummaryIndex &Index, in computePrevailingCopies() argument
138 for (auto &I : Index) { in computePrevailingCopies()
157 static void promoteModule(Module &TheModule, const ModuleSummaryIndex &Index, in promoteModule() argument
159 renameModuleForThinLTO(TheModule, Index, ClearDSOLocalOnDeclarations); in promoteModule()
209 crossImportIntoModule(Module &TheModule, const ModuleSummaryIndex &Index, in crossImportIntoModule() argument
219 FunctionImporter Importer(Index, Loader, ClearDSOLocalOnDeclarations); in crossImportIntoModule()
235 bool DebugPassManager, ModuleSummaryIndex *Index) { in optimizeModule() argument
284 MPM.addPass(PB.buildThinLTODefaultPipeline(OL, Index)); in optimizeModule()
355 StringRef CachePath, const ModuleSummaryIndex &Index, StringRef ModuleID, in ModuleCacheEntry() argument
364 if (!Index.modulePaths().count(ModuleID)) in ModuleCacheEntry()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeIndex.h105 TypeIndex() : Index(static_cast<uint32_t>(SimpleTypeKind::None)) {} in TypeIndex()
106 explicit TypeIndex(uint32_t Index) : Index(Index) {} in TypeIndex() argument
108 : Index(static_cast<uint32_t>(Kind)) {} in TypeIndex()
110 : Index(static_cast<uint32_t>(Kind) | static_cast<uint32_t>(Mode)) {} in TypeIndex()
112 uint32_t getIndex() const { return Index; } in getIndex()
113 void setIndex(uint32_t I) { Index = I; } in setIndex()
114 bool isSimple() const { return Index < FirstNonSimpleIndex; } in isSimple()
115 bool isDecoratedItemId() const { return !!(Index & DecoratedItemIdMask); } in isDecoratedItemId()
124 static TypeIndex fromArrayIndex(uint32_t Index) { in fromArrayIndex() argument
125 return TypeIndex(Index + FirstNonSimpleIndex); in fromArrayIndex()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamArray.h281 const T &operator[](uint32_t Index) const {
282 assert(Index < size());
283 uint32_t Off = Index * sizeof(T);
325 FixedStreamArrayIterator(const FixedStreamArray<T> &Array, uint32_t Index) in FixedStreamArrayIterator() argument
326 : Array(Array), Index(Index) {} in FixedStreamArrayIterator()
329 : Array(Other.Array), Index(Other.Index) {} in FixedStreamArrayIterator()
333 Index = Other.Index;
337 const T &operator*() const { return Array[Index]; }
338 const T &operator*() { return Array[Index]; }
342 return (Index == R.Index) && (Array == R.Array);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOObject.cpp26 const SymbolEntry *SymbolTable::getSymbolByIndex(uint32_t Index) const { in getSymbolByIndex()
27 assert(Index < Symbols.size() && "invalid symbol index"); in getSymbolByIndex()
28 return Symbols[Index].get(); in getSymbolByIndex()
31 SymbolEntry *SymbolTable::getSymbolByIndex(uint32_t Index) { in getSymbolByIndex() argument
33 static_cast<const SymbolTable *>(this)->getSymbolByIndex(Index)); in getSymbolByIndex()
57 for (size_t Index = 0, Size = LoadCommands.size(); Index < Size; ++Index) { in updateLoadCommandIndexes() local
58 LoadCommand &LC = LoadCommands[Index]; in updateLoadCommandIndexes()
61 CodeSignatureCommandIndex = Index; in updateLoadCommandIndexes()
66 TextSegmentCommandIndex = Index; in updateLoadCommandIndexes()
71 TextSegmentCommandIndex = Index; in updateLoadCommandIndexes()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp167 const SearchIndex &Index);
170 const SearchIndex &Index, in searchableFieldType() argument
189 PrintFatalError(Index.Loc, Twine("In table '") + Table.Name + in searchableFieldType()
190 "' lookup method '" + Index.Name + in searchableFieldType()
198 PrintFatalError(Index.Loc, in searchableFieldType()
200 Index.Name + "', key field '" + Field.Name + in searchableFieldType()
207 const SearchIndex &Index, raw_ostream &OS);
208 void emitLookupFunction(const GenericTable &Table, const SearchIndex &Index,
219 int64_t getNumericKey(const SearchIndex &Index, const Record *Rec);
226 int64_t SearchableTableEmitter::getNumericKey(const SearchIndex &Index, in getNumericKey() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DSelectorLocationsKind.cpp19 static SourceLocation getStandardSelLoc(unsigned Index, in getStandardSelLoc() argument
26 assert(Index == 0); in getStandardSelLoc()
34 assert(Index < NumSelArgs); in getStandardSelLoc()
37 const IdentifierInfo *II = Sel.getIdentifierInfoForSlot(Index); in getStandardSelLoc()
64 SourceLocation getArgLoc(unsigned Index, ArrayRef<T*> Args) { in getArgLoc() argument
65 return Index < Args.size() ? getArgLoc(Args[Index]) : SourceLocation(); in getArgLoc()
103 SourceLocation clang::getStandardSelectorLoc(unsigned Index, in getStandardSelectorLoc() argument
108 return getStandardSelLoc(Index, Sel, WithArgSpace, in getStandardSelectorLoc()
109 getArgLoc(Index, Args), EndLoc); in getStandardSelectorLoc()
120 SourceLocation clang::getStandardSelectorLoc(unsigned Index, in getStandardSelectorLoc() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp108 findRefEdges(ModuleSummaryIndex &Index, const User *CurUser, in findRefEdges() argument
143 RefEdges.insert(Index.getOrInsertValueInfo(GV)); in findRefEdges()
161 RefEdges.insert(Index.getOrInsertValueInfo(/* VTableGUID = */ in findRefEdges()
306 ModuleSummaryIndex &Index, const Module &M, const Function &F, in computeFunctionSummary() argument
335 findRefEdges(Index, &F, RefEdges, Visited, HasLocalIFuncCallOrRef); in computeFunctionSummary()
391 RefEdges.insert(Index.getOrInsertValueInfo(GV)); in computeFunctionSummary()
393 findRefEdges(Index, U, RefEdges, Visited, HasLocalIFuncCallOrRef); in computeFunctionSummary()
397 findRefEdges(Index, &I, RefEdges, Visited, HasLocalIFuncCallOrRef); in computeFunctionSummary()
453 auto &ValueInfo = CallGraphEdges[Index.getOrInsertValueInfo( in computeFunctionSummary()
492 CallGraphEdges[Index.getOrInsertValueInfo(Callee)]; in computeFunctionSummary()
[all …]
H A DRegionPass.cpp69 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in runOnFunction() local
70 RegionPass *RP = (RegionPass *)getContainedPass(Index); in runOnFunction()
81 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in runOnFunction() local
82 RegionPass *P = (RegionPass*)getContainedPass(Index); in runOnFunction()
151 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in runOnFunction() local
152 RegionPass *P = (RegionPass*)getContainedPass(Index); in runOnFunction()
167 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in dumpPassStructure() local
168 Pass *P = getContainedPass(Index); in dumpPassStructure()
H A DBlockFrequencyInfoImpl.cpp205 combineWeight(Combined[W.TargetNode.Index], W); in combineWeightsByHashing()
324 BlockNode Resolved = Working[Succ.Index].getResolvedNode(); in addToDist()
345 if (Working[Resolved.Index].getContainingLoop() != OuterLoop) { in addToDist()
427 if (auto *Loop = Working[M.Index].getPackagedLoop()) in packageLoop()
429 LLVM_DEBUG(dbgs() << " - node: " << getBlockName(M.Index) << "\n"); in packageLoop()
450 BlockMass Mass = Working[Source.Index].getMass(); in distributeMass()
460 Working[W.TargetNode.Index].getMass() += Taken; in distributeMass()
502 for (size_t Index = 0; Index < BFI.Freqs.size(); ++Index) { in convertFloatingToInteger() local
503 Scaled64 Scaled = BFI.Freqs[Index].Scaled * ScalingFactor; in convertFloatingToInteger()
504 BFI.Freqs[Index].Integer = std::max(UINT64_C(1), Scaled.toInt<uint64_t>()); in convertFloatingToInteger()
[all …]
H A DLoopPass.cpp158 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in runOnFunction() local
159 LoopPass *P = getContainedPass(Index); in runOnFunction()
178 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in runOnFunction() local
179 LoopPass *P = getContainedPass(Index); in runOnFunction()
272 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in runOnFunction() local
273 Pass *P = getContainedPass(Index); in runOnFunction()
283 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in runOnFunction() local
284 LoopPass *P = getContainedPass(Index); in runOnFunction()
294 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in dumpPassStructure() local
295 Pass *P = getContainedPass(Index); in dumpPassStructure()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGAddressAnalysis.cpp35 if ((Other.Index == Index) && (Other.IsIndexSignExt == IsIndexSignExt)) { in equalBaseIndex()
204 SDValue Index = SDValue(); in matchLSNode() local
273 return BaseIndexOffset(Base, Index, Offset, IsIndexSignExt); in matchLSNode()
276 Index = Base->getOperand(1); in matchLSNode()
280 if (Index->getOpcode() == ISD::SIGN_EXTEND) { in matchLSNode()
281 Index = Index->getOperand(0); in matchLSNode()
286 if (!Index->isAnyAdd() || !isa<ConstantSDNode>(Index->getOperand(1))) in matchLSNode()
287 return BaseIndexOffset(PotentialBase, Index, Offset, IsIndexSignExt); in matchLSNode()
289 Offset += cast<ConstantSDNode>(Index->getOperand(1))->getSExtValue(); in matchLSNode()
290 Index = Index->getOperand(0); in matchLSNode()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DTapiUniversal.h33 int Index; variable
36 ObjectForArch(const TapiUniversal *Parent, int Index) in ObjectForArch() argument
37 : Parent(Parent), Index(Index) {} in ObjectForArch()
39 ObjectForArch getNext() const { return ObjectForArch(Parent, Index + 1); } in getNext()
42 return (Parent == Other.Parent) && (Index == Other.Index);
47 MachO::getCPUTypeFromArchitecture(Parent->Libraries[Index].Arch); in getCPUType()
53 MachO::getCPUTypeFromArchitecture(Parent->Libraries[Index].Arch); in getCPUSubType()
58 return MachO::getArchitectureName(Parent->Libraries[Index].Arch); in getArchFlagName()
62 return std::string(Parent->Libraries[Index].InstallName); in getInstallName()
/freebsd/contrib/llvm-project/llvm/include/llvm/TextAPI/
H A DArchitectureSet.h84 ArchSetType Index;
88 if (Index == EndIndexVal) in findNextSetBit()
90 while (++Index < sizeof(Ty) * 8) { in findNextSetBit()
91 if (*ArchSet & (1UL << Index)) in findNextSetBit()
95 Index = EndIndexVal; in findNextSetBit()
99 arch_iterator(Ty *ArchSet, ArchSetType Index = 0)
100 : Index(Index), ArchSet(ArchSet) { in Index() function
101 if (Index != EndIndexVal && !(*ArchSet & (1UL << Index))) in Index()
105 Architecture operator*() const { return static_cast<Architecture>(Index); }
119 return std::tie(Index, ArchSet) == std::tie(o.Index, o.ArchSet);

12345678910>>...45