| /freebsd-14.2/sys/contrib/dev/acpica/components/dispatcher/ |
| H A D | dsmthdat.c | 167 UINT32 Index, 173 UINT32 Index, 272 for (Index = 0; Index < ACPI_METHOD_NUM_LOCALS; Index++) in AcpiDsMethodDataDeleteAll() 277 Index, WalkState->LocalVariables[Index].Object)); in AcpiDsMethodDataDeleteAll() 287 for (Index = 0; Index < ACPI_METHOD_NUM_ARGS; Index++) in AcpiDsMethodDataDeleteAll() 292 Index, WalkState->Arguments[Index].Object)); in AcpiDsMethodDataDeleteAll() 344 Params[Index]) in AcpiDsMethodDataInitArgs() 352 ACPI_REFCLASS_ARG, Index, Params[Index], WalkState); in AcpiDsMethodDataInitArgs() 358 Index++; in AcpiDsMethodDataInitArgs() 581 Index, Node)); in AcpiDsMethodDataGetValue() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Option/ |
| H A D | Option.cpp | 158 Index += 2; in acceptInternal() 159 if (Index > Args.getNumInputArgStrings() || in acceptInternal() 170 Index += 1 + getNumArgs(); in acceptInternal() 171 if (Index > Args.getNumInputArgStrings()) in acceptInternal() 188 Index += 2; in acceptInternal() 189 if (Index > Args.getNumInputArgStrings() || in acceptInternal() 198 Index += 2; in acceptInternal() 199 if (Index > Args.getNumInputArgStrings() || in acceptInternal() 212 Args.getArgString(Index) != nullptr) in acceptInternal() 222 Index++; in acceptInternal() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | TypeLocBuilder.cpp | 82 Index = NewIndex; in grow() 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() 144 memmove(&Buffer[Index - 4], &Buffer[Index], NumBytesAtAlign4); in pushImpl() 145 Index -= 4; in pushImpl() 156 memmove(&Buffer[Index - 4], &Buffer[Index], NumBytesAtAlign4); in pushImpl() 157 Index -= 4; in pushImpl() 167 memmove(&Buffer[Index + 4], &Buffer[Index], NumBytesAtAlign4); in pushImpl() [all …]
|
| /freebsd-14.2/sys/contrib/dev/acpica/compiler/ |
| H A D | aslmessages.c | 454 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() 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() 623 Index = ASL_MSG_TABLE_COMPILER; in AhDecodeAslException() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
| H A D | LazyRandomTypeCollection.cpp | 82 error(ensureTypeExists(Index)); in getOffsetOfType() 83 assert(contains(Index)); in getOffsetOfType() 89 assert(!Index.isSimple()); in getType() 91 auto EC = ensureTypeExists(Index); in getType() 93 assert(contains(Index)); in getType() 99 if (Index.isSimple()) in tryGetType() 107 assert(contains(Index)); in tryGetType() 112 if (Index.isNoneType() || Index.isSimple()) in getTypeName() 125 ensureCapacityFor(Index); in getTypeName() 134 if (Index.isSimple() || Index.isNoneType()) in contains() [all …]
|
| H A D | TypeTableCollection.cpp | 38 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 D | GlobalTypeTableBuilder.cpp | 47 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() 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() 130 SeenRecords[Index.toArrayIndex()] = Record; in replaceType() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonBlockRanges.h | 179 return Index; 183 return Index == x; 187 return Index == Idx.Index; 195 return Index != Idx.Index; 203 Index = First; 205 ++Index; 215 if (Index == Idx.Index) 219 if (Index == None || Idx.Index == None) 223 if (Index == Exit || Idx.Index == Entry) 227 if (Index == Entry || Idx.Index == Exit) [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | R600RegisterInfo.td | 44 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, 54 def T#Index#_XYZW : R600Reg_128 <"T"#Index#"", 61 def T#Index#_XY : R600Reg_64 <"T"#Index#"", 86 foreach Index = 159-128 in { 89 def KC0_#Index#_#Chan : R600RegWithChan <"KC0["#!add(Index,-128)#"]."#Chan, Index, Chan>; 92 def KC0_#Index#_XYZW : R600Reg_128 <"KC0["#!add(Index, -128)#"].XYZW", 104 def KC1_#Index#_#Chan : R600RegWithChan <"KC1["#!add(Index,-160)#"]."#Chan, Index, Chan>; 107 def KC1_#Index#_XYZW : R600Reg_128 <"KC1["#!add(Index, -160)#"].XYZW", [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | XCOFFDump.cpp | 144 printRawData(Bytes.slice(Index, 4), Address + Index, OS, STI); \ 153 uint64_t Index = 0; in dumpTracebackTable() local 158 Index += 4; in dumpTracebackTable() 187 printRawData(Bytes.slice(Index, 4), Address + Index, FOS, STI); in dumpTracebackTable() 188 Index += 4; in dumpTracebackTable() 201 printRawData(Bytes.slice(Index, N), Address + Index, OS, STI); in dumpTracebackTable() 202 Index += N; in dumpTracebackTable() 308 printRawData(Bytes.slice(Index, PrintLen), Address + Index, OS, STI); in dumpTracebackTable() 360 if (Index % 4) { in dumpTracebackTable() 399 uint64_t LineLength = std::min(4 - Index % 4, Size - Index); in dumpTracebackTable() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | CoalescingBitVector.h | 97 void set(IndexT Index) { in set() argument 100 insert(Index, Index); in set() 116 set(Index); in set() 130 if (!test(Index)) in test_and_set() 131 set(Index); in test_and_set() 135 void reset(IndexT Index) { in reset() argument 145 if (Index < Start) in reset() 151 if (Start < Index) in reset() 153 if (Index < Stop) in reset() 342 advanceTo(Index); in advanceToLowerBound() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCRegisterInfoDMR.td | 76 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)), 98 foreach Index = 0-7 in { 99 def WACC#Index : WACC<Index, "wacc"#Index, 108 foreach Index = 0-7 in { 109 def WACC_HI#Index : WACC_HI<Index, "wacc_hi"#Index, 120 foreach Index = 0-7 in { [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | ConstructionContext.h | 111 : Data(CE), Kind(ArgumentKind), Index(Index) {} in ConstructionContextItem() 114 : Data(CE), Kind(ArgumentKind), Index(Index) {} in ConstructionContextItem() 117 : Data(CE), Kind(ArgumentKind), Index(Index) {} in ConstructionContextItem() 120 : Data(ME), Kind(ArgumentKind), Index(Index) {} in ConstructionContextItem() 124 : Data(E), Kind(ArgumentKind), Index(Index) { in ConstructionContextItem() 134 : Data(LE), Kind(LambdaCaptureKind), Index(Index) {} in ConstructionContextItem() 171 return Index; in getIndex() 658 unsigned Index; variable 668 Index(Index), BTE(BTE) { in ArgumentConstructionContext() 689 unsigned Index; variable [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/LTO/ |
| H A D | ThinLTOCodeGenerator.cpp | 137 const ModuleSummaryIndex &Index, in computePrevailingCopies() argument 143 for (auto &I : Index) { in computePrevailingCopies() 486 &Index); in ProcessThinLTOModule() 512 ModuleSummaryIndex &Index, in resolvePrevailingInIndex() argument 668 ModuleSummaryIndex &Index, in computeDeadSymbolsInIndex() argument 1017 auto Index = linkCombinedIndex(); in run() local 1027 writeIndexToFile(*Index, OS); in run() 1054 computeSyntheticCounts(*Index); in run() 1060 Index->setWithWholeProgramVisibility(); in run() 1063 updateVCallVisibilityInIndex(*Index, in run() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeIndex.h | 105 explicit TypeIndex(uint32_t Index) : Index(Index) {} in TypeIndex() argument 107 : Index(static_cast<uint32_t>(Kind)) {} in TypeIndex() 111 uint32_t getIndex() const { return Index; } in getIndex() 112 void setIndex(uint32_t I) { Index = I; } in setIndex() 124 return TypeIndex(Index + FirstNonSimpleIndex); in fromArrayIndex() 199 Index += N; 204 Index += 1; 215 assert(Index >= N); 216 Index -= N; 221 Index -= 1; [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOObject.cpp | 28 return Symbols[Index].get(); in getSymbolByIndex() 44 for (size_t Index = 0, Size = LoadCommands.size(); Index < Size; ++Index) { in updateLoadCommandIndexes() local 48 CodeSignatureCommandIndex = Index; in updateLoadCommandIndexes() 53 TextSegmentCommandIndex = Index; in updateLoadCommandIndexes() 58 TextSegmentCommandIndex = Index; in updateLoadCommandIndexes() 61 SymTabCommandIndex = Index; in updateLoadCommandIndexes() 64 DySymTabCommandIndex = Index; in updateLoadCommandIndexes() 68 DyLdInfoCommandIndex = Index; in updateLoadCommandIndexes() 71 DataInCodeCommandIndex = Index; in updateLoadCommandIndexes() 80 DylibCodeSignDRsIndex = Index; in updateLoadCommandIndexes() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | BinaryStreamArray.h | 282 assert(Index < size()); 326 : Array(Array), Index(Index) {} in FixedStreamArrayIterator() 329 : Array(Other.Array), Index(Other.Index) {} in FixedStreamArrayIterator() 333 Index = Other.Index; 342 return (Index == R.Index) && (Array == R.Array); 346 Index += N; 352 Index -= N; 358 assert(Index >= R.Index); 359 return Index - R.Index; 364 return Index < RHS.Index; [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | SelectorLocationsKind.cpp | 19 static SourceLocation getStandardSelLoc(unsigned Index, in getStandardSelLoc() argument 26 assert(Index == 0); in getStandardSelLoc() 34 assert(Index < NumSelArgs); in getStandardSelLoc() 37 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() 125 return getStandardSelLoc(Index, Sel, WithArgSpace, in getStandardSelectorLoc() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ModuleSummaryAnalysis.cpp | 528 Index.addBlockCount(F.size()); in computeFunctionSummary() 749 if (!Index.enableSplitLTOUnit()) { in computeVariableSummary() 969 setLiveRoot(Index, "llvm.used"); in buildModuleSummaryIndex() 975 for (auto &GlobalList : Index) { in buildModuleSummaryIndex() 1013 Index.exportToDot(OSDot, {}); in buildModuleSummaryIndex() 1016 return Index; in buildModuleSummaryIndex() 1062 Index.emplace(buildModuleSummaryIndex( in runOnModule() 1080 Index.reset(); in doFinalization() 1094 const ModuleSummaryIndex *Index) in ImmutableModuleSummaryIndexWrapperPass() argument 1095 : ImmutablePass(ID), Index(Index) { in ImmutableModuleSummaryIndexWrapperPass() [all …]
|
| H A D | RegionPass.cpp | 69 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 D | LoopPass.cpp | 157 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in runOnFunction() local 158 LoopPass *P = getContainedPass(Index); in runOnFunction() 177 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in runOnFunction() local 178 LoopPass *P = getContainedPass(Index); in runOnFunction() 271 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in runOnFunction() local 272 Pass *P = getContainedPass(Index); in runOnFunction() 282 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in runOnFunction() local 283 LoopPass *P = getContainedPass(Index); in runOnFunction() 293 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in dumpPassStructure() local 294 Pass *P = getContainedPass(Index); in dumpPassStructure()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MCA/HardwareUnits/ |
| H A D | ResourceManager.cpp | 124 ResIndex2ProcResID[Index] = I; in ResourceManager() 130 Resources[Index] = in ResourceManager() 132 Strategies[Index] = getStrategyFor(*Resources[Index]); in ResourceManager() 144 uint64_t GroupMaskIdx = 1ULL << Index; in ResourceManager() 163 Strategies[Index] = std::move(S); in setCustomStrategyImpl() 180 ResourceState &RS = *Resources[Index]; in selectPipe() 395 ResourceState &Resource = *Resources[Index]; in reserveResource() 399 ReservedResourceGroups ^= 1ULL << Index; in reserveResource() 404 ResourceState &Resource = *Resources[Index]; in releaseResource() 407 ReservedResourceGroups ^= 1ULL << Index; in releaseResource() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | TapiUniversal.h | 32 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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | FunctionImport.cpp | 193 [&Index, CalleeSummaryList, in qualifyCalleeCandidates() 293 const ModuleSummaryIndex &Index; member in GlobalsImporter 384 : Index(Index), DefinedGVSummaries(DefinedGVSummaries), in GlobalsImporter() 403 const ModuleSummaryIndex &Index; member in ModuleImportsManager 411 : IsPrevailing(IsPrevailing), Index(Index), ExportLists(ExportLists) {} in ModuleImportsManager() 562 for (auto &I : Index) { in WorkloadImportsManager() 970 return GVS && (Index.isReadOnly(GVS) || Index.isWriteOnly(GVS)) && in checkVariableImport() 1198 ModuleSummaryIndex &Index, in computeDeadSymbolsAndUpdateIndirectCalls() argument 1206 updateIndirectCalls(Index); in computeDeadSymbolsAndUpdateIndirectCalls() 1314 ModuleSummaryIndex &Index, in computeDeadSymbolsWithConstProp() argument [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | SearchableTableEmitter.cpp | 181 PrintFatalError(Index.Loc, in searchableFieldType() 211 assert(Index.Fields.size() == 1); in getNumericKey() 213 if (Index.Fields[0].Enum) { in getNumericKey() 372 if (Index.Fields.size() == 1 && in emitLookupFunction() 373 (Index.Fields[0].Enum || isa<BitsRecTy>(Index.Fields[0].RecType))) { in emitLookupFunction() 396 if (Index.EarlyOut) { in emitLookupFunction() 420 PrintFatalError(Index.Loc, in emitLookupFunction() 552 Index->Name = std::string(Name); in parseSearchIndex() 553 Index->Loc = KeyRecVal->getLoc(); in parseSearchIndex() 554 Index->EarlyOut = EarlyOut; in parseSearchIndex() [all …]
|