Home
last modified time | relevance | path

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

12345678910>>...42

/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.cpp112 unsigned &Index) const { in acceptInternal()
114 const size_t ArgStringSize = StringRef(Args.getArgString(Index)).size(); in acceptInternal()
119 return std::make_unique<Arg>(*this, Spelling, Index++); in acceptInternal()
122 const char *Value = Args.getArgString(Index) + SpellingSize; in acceptInternal()
123 return std::make_unique<Arg>(*this, Spelling, Index++, Value); in acceptInternal()
127 const char *Str = Args.getArgString(Index) + SpellingSize; in acceptInternal()
128 auto A = std::make_unique<Arg>(*this, Spelling, Index++); in acceptInternal()
158 Index += 2; in acceptInternal()
159 if (Index > Args.getNumInputArgStrings() || in acceptInternal()
160 Args.getArgString(Index 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.c454 UINT32 Index; in AeDecodeMessageId() local
463 Index = MessageId; in AeDecodeMessageId()
465 if (Index >= ACPI_ARRAY_LENGTH (AslCompilerMsgs)) in AeDecodeMessageId()
476 Index = MessageId - ASL_MSG_TABLE_COMPILER; in AeDecodeMessageId()
478 if (Index >= ACPI_ARRAY_LENGTH (AslTableCompilerMsgs)) in AeDecodeMessageId()
489 Index = MessageId - ASL_MSG_PREPROCESSOR; in AeDecodeMessageId()
491 if (Index >= ACPI_ARRAY_LENGTH (AslPreprocessorMsgs)) in AeDecodeMessageId()
504 return (MessageTable[Index]); in AeDecodeMessageId()
601 UINT32 Index = 1; in AhDecodeAslException() local
617 for (i = 1; Index < ACPI_ARRAY_LENGTH (AslCompilerMsgs); i++, Index++) in AhDecodeAslException()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DLazyRandomTypeCollection.cpp81 uint32_t LazyRandomTypeCollection::getOffsetOfType(TypeIndex Index) {
82 error(ensureTypeExists(Index)); in getOffsetOfType() argument
83 assert(contains(Index)); in getOffsetOfType()
85 return Records[Index.toArrayIndex()].Offset; in getOffsetOfType()
88 CVType LazyRandomTypeCollection::getType(TypeIndex Index) {
89 assert(!Index.isSimple()); in getType() argument
91 auto EC = ensureTypeExists(Index); in getType()
93 assert(contains(Index)); in getType()
95 return Records[Index.toArrayIndex()].Type; in getType()
98 std::optional<CVType> LazyRandomTypeCollection::tryGetType(TypeIndex Index) {
99 tryGetType(TypeIndex Index) tryGetType() argument
112 getTypeName(TypeIndex Index) getTypeName() argument
134 contains(TypeIndex Index) contains() argument
156 ensureCapacityFor(TypeIndex Index) ensureCapacityFor() argument
280 replaceType(TypeIndex & Index,CVType Data,bool Stabilize) replaceType() argument
[all...]
H A DTypeTableCollection.cpp38 CVType TypeTableCollection::getType(TypeIndex Index) { in getType() argument
39 assert(Index.toArrayIndex() < Records.size()); in getType()
40 return CVType(Records[Index.toArrayIndex()]); in getType()
43 StringRef TypeTableCollection::getTypeName(TypeIndex Index) { in getTypeName() argument
44 if (Index.isNoneType() || Index.isSimple()) in getTypeName()
45 return TypeIndex::simpleTypeName(Index); in getTypeName()
47 uint32_t I = Index.toArrayIndex(); in getTypeName()
49 StringRef Result = NameStorage.save(computeTypeName(*this, Index)); in getTypeName()
55 bool TypeTableCollection::contains(TypeIndex Index) { in contains() argument
56 return Index.toArrayIndex() <= size(); in contains()
[all …]
H A DGlobalTypeTableBuilder.cpp47 CVType GlobalTypeTableBuilder::getType(TypeIndex Index) { in getType() argument
48 CVType Type(SeenRecords[Index.toArrayIndex()]); in getType()
52 StringRef GlobalTypeTableBuilder::getTypeName(TypeIndex Index) { in getTypeName() argument
56 bool GlobalTypeTableBuilder::contains(TypeIndex Index) { in contains() argument
57 if (Index.isSimple() || Index.isNoneType()) in contains()
60 return Index.toArrayIndex() < SeenRecords.size(); in contains()
108 bool GlobalTypeTableBuilder::replaceType(TypeIndex &Index, CVType Data, in replaceType() argument
110 assert(Index.toArrayIndex() < SeenRecords.size() && in replaceType()
121 auto Result = HashedRecords.try_emplace(Hash, Index.toArrayIndex()); in replaceType()
123 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/tools/llvm-objdump/
H A DXCOFFDump.cpp117 if (SymbolInfo.XCOFFSymInfo.Index) in getXCOFFSymbolDescription()
119 ("(idx: " + Twine(*SymbolInfo.XCOFFSymInfo.Index) + ") " + SymbolName) in getXCOFFSymbolDescription()
144 printRawData(Bytes.slice(Index, 4), Address + Index, OS, STI); \
145 Index += 4; \
153 uint64_t Index = 0; in dumpTracebackTable()
156 printRawData(Bytes.slice(Index, 4), Address, OS, STI); in dumpTracebackTable()
158 Index += 4; in dumpTracebackTable()
167 XCOFFTracebackTable::create(Bytes.data() + Index, SizeCopy, Is64Bit); in dumpTracebackTable()
177 uint64_t LastNonZero = Index; in dumpTracebackTable()
154 uint64_t Index = 0; dumpTracebackTable() local
[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.cpp138 const ModuleSummaryIndex &Index, in computePrevailingCopies() argument
144 for (auto &I : Index) { in computePrevailingCopies()
163 static void promoteModule(Module &TheModule, const ModuleSummaryIndex &Index, in promoteModule() argument
165 if (renameModuleForThinLTO(TheModule, Index, ClearDSOLocalOnDeclarations)) in promoteModule()
216 crossImportIntoModule(Module &TheModule, const ModuleSummaryIndex &Index, in crossImportIntoModule() argument
226 FunctionImporter Importer(Index, Loader, ClearDSOLocalOnDeclarations); in crossImportIntoModule()
242 bool DebugPassManager, ModuleSummaryIndex *Index) { in optimizeModule() argument
291 MPM.addPass(PB.buildThinLTODefaultPipeline(OL, Index)); in optimizeModule()
363 StringRef CachePath, const ModuleSummaryIndex &Index, StringRef ModuleID, in ModuleCacheEntry() argument
372 if (!Index.modulePaths().count(ModuleID)) in ModuleCacheEntry()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeIndex.h104 TypeIndex() : Index(static_cast<uint32_t>(SimpleTypeKind::None)) {} in TypeIndex()
105 explicit TypeIndex(uint32_t Index) : Index(Index) {} in TypeIndex() argument
107 : Index(static_cast<uint32_t>(Kind)) {} in TypeIndex()
109 : Index(static_cast<uint32_t>(Kind) | static_cast<uint32_t>(Mode)) {} in TypeIndex()
111 uint32_t getIndex() const { return Index; } in getIndex()
112 void setIndex(uint32_t I) { Index = I; } in setIndex()
113 bool isSimple() const { return Index < FirstNonSimpleIndex; } in isSimple()
114 bool isDecoratedItemId() const { return !!(Index & DecoratedItemIdMask); } in isDecoratedItemId()
123 static TypeIndex fromArrayIndex(uint32_t Index) { in fromArrayIndex() argument
124 return TypeIndex(Index + FirstNonSimpleIndex); in fromArrayIndex()
[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()
33 static_cast<const SymbolTable *>(this)->getSymbolByIndex(Index)); in getSymbolByIndex()
44 for (size_t Index = 0, Size = LoadCommands.size(); Index < Size; ++Index) { in updateLoadCommandIndexes()
45 LoadCommand &LC = LoadCommands[Index]; in updateLoadCommandIndexes()
48 CodeSignatureCommandIndex = Index; in updateLoadCommandIndexes()
30 getSymbolByIndex(uint32_t Index) getSymbolByIndex() argument
43 for (size_t Index = 0, Size = LoadCommands.size(); Index < Size; ++Index) { updateLoadCommandIndexes() local
[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/utils/TableGen/
H A DSearchableTableEmitter.cpp156 bool compareBy(Record *LHS, Record *RHS, const SearchIndex &Index);
159 const SearchIndex &Index, in searchableFieldType() argument
177 PrintFatalError(Index.Loc, Twine("In table '") + Table.Name + in searchableFieldType()
178 "' lookup method '" + Index.Name + in searchableFieldType()
185 PrintFatalError(Index.Loc, in searchableFieldType()
187 Index.Name + "', key field '" + Field.Name + in searchableFieldType()
194 const SearchIndex &Index, raw_ostream &OS);
195 void emitLookupFunction(const GenericTable &Table, const SearchIndex &Index,
209 int64_t getNumericKey(const SearchIndex &Index, Record *Rec);
216 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/MCA/HardwareUnits/
H A DResourceManager.cpp65 ResourceState::ResourceState(const MCProcResourceDesc &Desc, unsigned Index, in ResourceState() argument
67 : ProcResourceDescIndex(Index), ResourceMask(Mask), in ResourceState()
123 unsigned Index = getResourceStateIndex(ProcResID2Mask[I]); in ResourceManager() local
124 ResIndex2ProcResID[Index] = I; in ResourceManager()
129 unsigned Index = getResourceStateIndex(Mask); in ResourceManager() local
130 Resources[Index] = in ResourceManager()
132 Strategies[Index] = getStrategyFor(*Resources[Index]); in ResourceManager()
137 unsigned Index = getResourceStateIndex(Mask); in ResourceManager() local
138 const ResourceState &RS = *Resources[Index]; in ResourceManager()
160 unsigned Index = getResourceStateIndex(ResourceMask); setCustomStrategyImpl() local
178 unsigned Index = getResourceStateIndex(ResourceID); selectPipe() local
327 unsigned Index = getResourceStateIndex(ResourceMask); checkAvailability() local
394 const unsigned Index = getResourceStateIndex(ResourceID); reserveResource() local
403 const unsigned Index = getResourceStateIndex(ResourceID); releaseResource() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp102 static bool findRefEdges(ModuleSummaryIndex &Index, const User *CurUser, in findRefEdges() argument
137 RefEdges.insert(Index.getOrInsertValueInfo(GV)); in findRefEdges()
155 RefEdges.insert(Index.getOrInsertValueInfo(/* VTableGUID = */ in findRefEdges()
298 ModuleSummaryIndex &Index, const Module &M, const Function &F, in computeFunctionSummary() argument
327 findRefEdges(Index, &F, RefEdges, Visited, HasLocalIFuncCallOrRef); in computeFunctionSummary()
383 RefEdges.insert(Index.getOrInsertValueInfo(GV)); in computeFunctionSummary()
385 findRefEdges(Index, U, RefEdges, Visited, HasLocalIFuncCallOrRef); in computeFunctionSummary()
389 findRefEdges(Index, &I, RefEdges, Visited, HasLocalIFuncCallOrRef); in computeFunctionSummary()
440 auto &ValueInfo = CallGraphEdges[Index.getOrInsertValueInfo( in computeFunctionSummary()
479 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/include/llvm/Object/
H A DTapiUniversal.h32 int Index; variable
35 ObjectForArch(const TapiUniversal *Parent, int Index) in ObjectForArch() argument
36 : Parent(Parent), Index(Index) {} in ObjectForArch()
38 ObjectForArch getNext() const { return ObjectForArch(Parent, Index + 1); } in getNext()
41 return (Parent == Other.Parent) && (Index == Other.Index);
46 MachO::getCPUTypeFromArchitecture(Parent->Libraries[Index].Arch); in getCPUType()
52 MachO::getCPUTypeFromArchitecture(Parent->Libraries[Index].Arch); in getCPUSubType()
57 return MachO::getArchitectureName(Parent->Libraries[Index].Arch); in getArchFlagName()
61 return std::string(Parent->Libraries[Index].InstallName); in getInstallName()

12345678910>>...42