| /freebsd-14.2/contrib/llvm-project/clang/lib/Format/ |
| H A D | ObjCPropertyAttributeOrderFixer.cpp | 52 SmallVector<int> Indices; in sortPropertyAttributes() local 100 if (Ordinal >= Indices.size()) in sortPropertyAttributes() 101 Indices.resize(Ordinal + 1); in sortPropertyAttributes() 102 Indices[Ordinal] = Index++; in sortPropertyAttributes() 116 const auto Index = Indices[Ordinal]; in sortPropertyAttributes() 139 const auto &PropertyEntry = PropertyAttributes[Indices[Ordinal]]; in sortPropertyAttributes()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeIndexDiscovery.h | 31 SmallVectorImpl<TypeIndex> &Indices); 33 SmallVectorImpl<TypeIndex> &Indices); 42 SmallVectorImpl<TypeIndex> &Indices);
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
| H A D | MinimalTypeDumper.cpp | 306 auto Indices = Args.getIndices(); in visitKnownRecord() local 307 if (Indices.empty()) in visitKnownRecord() 310 auto Max = std::max_element(Indices.begin(), Indices.end()); in visitKnownRecord() 313 for (auto I : Indices) in visitKnownRecord() 322 if (Indices.empty()) in visitKnownRecord() 325 auto Max = std::max_element(Indices.begin(), Indices.end()); in visitKnownRecord() 328 for (auto I : Indices) in visitKnownRecord() 491 auto Indices = BI.ArgIndices; in visitKnownRecord() local 492 if (Indices.empty()) in visitKnownRecord() 495 auto Max = std::max_element(Indices.begin(), Indices.end()); in visitKnownRecord() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | InterleavedAccessPass.cpp | 327 SmallVector<unsigned, 4> Indices; in lowerInterleavedLoad() local 341 Indices.push_back(Index); in lowerInterleavedLoad() 353 Indices.push_back(Index); in lowerInterleavedLoad() 355 Indices.push_back(Index); in lowerInterleavedLoad() 369 if (!TLI->lowerInterleavedLoad(LI, Shuffles, Indices, Factor)) { in lowerInterleavedLoad() 442 SmallVector<int, 4> Indices; in tryReplaceExtracts() local 443 Shuffle->getShuffleMask(Indices); in tryReplaceExtracts() 444 for (unsigned I = 0; I < Indices.size(); ++I) in tryReplaceExtracts() 445 if (Indices[I] == Index) { in tryReplaceExtracts()
|
| H A D | Analysis.cpp | 34 const unsigned *Indices, in ComputeLinearIndex() argument 38 if (Indices && Indices == IndicesEnd) in ComputeLinearIndex() 45 if (Indices && *Indices == I.index()) in ComputeLinearIndex() 46 return ComputeLinearIndex(ET, Indices + 1, IndicesEnd, CurIndex); in ComputeLinearIndex() 49 assert(!Indices && "Unexpected out of bound"); in ComputeLinearIndex() 58 if (Indices) { in ComputeLinearIndex() 59 assert(*Indices < NumElts && "Unexpected out of bound"); in ComputeLinearIndex() 62 CurIndex += EltLinearOffset* *Indices; in ComputeLinearIndex() 63 return ComputeLinearIndex(EltTy, Indices+1, IndicesEnd, CurIndex); in ComputeLinearIndex()
|
| H A D | ShadowStackGCLowering.cpp | 307 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), in CreateGEP() local 310 Value *Val = B.CreateGEP(Ty, BasePtr, Indices, Name); in CreateGEP() 322 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), in CreateGEP() local 324 Value *Val = B.CreateGEP(Ty, BasePtr, Indices, Name); in CreateGEP()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
| H A D | RecordName.cpp | 81 auto Indices = Args.getIndices(); in visitKnownRecord() local 82 uint32_t Size = Indices.size(); in visitKnownRecord() 85 if (Indices[I] < CurrentTypeIndex) in visitKnownRecord() 86 Name.append(Types.getTypeName(Indices[I])); in visitKnownRecord() 88 Name.append("<unknown 0x" + utohexstr(Indices[I].getIndex()) + ">"); in visitKnownRecord() 98 auto Indices = Strings.getIndices(); in visitKnownRecord() local 99 uint32_t Size = Indices.size(); in visitKnownRecord() 102 Name.append(Types.getTypeName(Indices[I])); in visitKnownRecord()
|
| H A D | TypeIndexDiscovery.cpp | 465 SmallVectorImpl<TypeIndex> &Indices) { in resolveTypeIndexReferences() argument 466 Indices.clear(); in resolveTypeIndexReferences() 478 Indices.append(Run.begin(), Run.end()); in resolveTypeIndexReferences() 483 SmallVectorImpl<TypeIndex> &Indices) { in discoverTypeIndices() argument 484 return discoverTypeIndices(Type.RecordData, Indices); in discoverTypeIndices() 488 SmallVectorImpl<TypeIndex> &Indices) { in discoverTypeIndices() argument 491 resolveTypeIndexReferences(RecordData, Refs, Indices); in discoverTypeIndices() 518 ArrayRef<uint8_t> RecordData, SmallVectorImpl<TypeIndex> &Indices) { in discoverTypeIndicesInSymbol() argument 522 resolveTypeIndexReferences(RecordData, Refs, Indices); in discoverTypeIndicesInSymbol()
|
| H A D | TypeHashing.cpp | 53 ArrayRef<TypeIndex> Indices( in hashType() 55 for (TypeIndex TI : Indices) { in hashType()
|
| H A D | TypeDumpVisitor.cpp | 225 auto Indices = Args.getIndices(); in visitKnownRecord() local 226 uint32_t Size = Indices.size(); in visitKnownRecord() 230 printTypeIndex("ArgType", Indices[I]); in visitKnownRecord() 236 auto Indices = Strs.getIndices(); in visitKnownRecord() local 237 uint32_t Size = Indices.size(); in visitKnownRecord() 241 printItemIndex("String", Indices[I]); in visitKnownRecord()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | Analysis.h | 48 const unsigned *Indices, 53 ArrayRef<unsigned> Indices, 55 return ComputeLinearIndex(Ty, Indices.begin(), Indices.end(), CurIndex);
|
| H A D | LiveIntervals.h | 189 void extendToIndices(LiveRange &LR, ArrayRef<SlotIndex> Indices, 192 void extendToIndices(LiveRange &LR, ArrayRef<SlotIndex> Indices) { in extendToIndices() argument 193 extendToIndices(LR, Indices, /*Undefs=*/{}); in extendToIndices()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InterleavedAccess.cpp | 58 ArrayRef<unsigned> Indices; member in __anona9d6d59c0111::X86InterleavedAccessGroup 114 : Inst(I), Shuffles(Shuffs), Indices(Ind), Factor(F), Subtarget(STarget), in X86InterleavedAccessGroup() 189 createSequentialMask(Indices[i], SubVecTy->getNumElements(), in decompose() 754 Shuffles[i]->replaceAllUsesWith(TransposedVectors[Indices[i]]); in lowerIntoOptimizedSequence() 808 ArrayRef<unsigned> Indices, unsigned Factor) const { in lowerInterleavedLoad() argument 812 assert(Shuffles.size() == Indices.size() && in lowerInterleavedLoad() 817 X86InterleavedAccessGroup Grp(LI, Shuffles, Indices, Factor, Subtarget, in lowerInterleavedLoad() 835 SmallVector<unsigned, 4> Indices; in lowerInterleavedStore() local 838 Indices.push_back(Mask[i]); in lowerInterleavedStore() 844 X86InterleavedAccessGroup Grp(SI, Shuffles, Indices, Factor, Subtarget, in lowerInterleavedStore()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFPreserveStaticOffset.cpp | 193 SmallVector<Value *> Indices; member 201 Indices.clear(); in reset() 220 Args.append(GEP.Indices.begin(), GEP.Indices.end()); in fillCommonArgs() 278 SmallVector<Value *> Indices; in reconstructGEP() local 279 Indices.append(Call->data_operands_begin() + 6 + Delta, in reconstructGEP() 284 ArrayRef<Value *>(Indices), Call->getName()); in reconstructGEP() 345 Info.Indices.append(First->idx_begin(), First->idx_end()); in foldGEPChainAsStructAccess() 360 Info.Indices.append(GEP->idx_begin() + 1, GEP->idx_end()); in foldGEPChainAsStructAccess() 390 Info.Indices.push_back(ConstantInt::get(C, Offset)); in foldGEPChainAsU8Access()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsSEISelLowering.cpp | 2546 if (Indices.size() < 4) in lowerVECTOR_SHUFFLE_SHF() 2551 int Idx = Indices[j]; in lowerVECTOR_SHUFFLE_SHF() 2628 for (const auto &V : Indices) { in isVECTOR_SHUFFLE_SPLATI() 2635 return fitsRegularPattern<int>(Indices.begin(), 1, Indices.end(), SplatIndex, in isVECTOR_SHUFFLE_SPLATI() 2662 const auto &End = Indices.end(); in lowerVECTOR_SHUFFLE_ILVEV() 2708 const auto &End = Indices.end(); in lowerVECTOR_SHUFFLE_ILVOD() 2850 const auto &Mid = Indices.begin() + Indices.size() / 2; in lowerVECTOR_SHUFFLE_PCKEV() 2893 const auto &Mid = Indices.begin() + Indices.size() / 2; in lowerVECTOR_SHUFFLE_PCKOD() 2936 int Idx = Indices[i]; in lowerVECTOR_SHUFFLE_VSHF() 2944 for (int Idx : Indices) in lowerVECTOR_SHUFFLE_VSHF() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCMergeStringPool.cpp | 299 SmallVector<Value *, 2> Indices; in replaceUsesWithGEP() local 300 Indices.push_back(ConstantInt::get(Type::getInt32Ty(*Context), 0)); in replaceUsesWithGEP() 301 Indices.push_back(ConstantInt::get(Type::getInt32Ty(*Context), ElementIndex)); in replaceUsesWithGEP() 304 ConstantExpr::getInBoundsGetElementPtr(PooledStructType, GPool, Indices); in replaceUsesWithGEP()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/XRay/ |
| H A D | BlockIndexer.h | 39 Index &Indices; 44 explicit BlockIndexer(Index &I) : Indices(I) {} in BlockIndexer()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyMemIntrinsicResults.cpp | 97 SmallVector<SlotIndex, 4> Indices; in replaceDominatedUses() local 127 Indices.push_back(WhereIdx.getRegSlot()); in replaceDominatedUses() 133 LIS.extendToIndices(*ToLI, Indices); in replaceDominatedUses()
|
| H A D | WebAssemblyFixIrreducibleControlFlow.cpp | 376 DenseMap<MachineBasicBlock *, unsigned> Indices; in makeSingleEntryLoop() local 378 auto Pair = Indices.insert(std::make_pair(Entry, 0)); in makeSingleEntryLoop() 454 .addImm(Indices[Entry]); in makeSingleEntryLoop() 466 if (Op.isMBB() && Indices.count(Op.getMBB())) in makeSingleEntryLoop()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeEnumTypes.cpp | 53 std::vector<codeview::TypeIndex> Indices) in NativeEnumTypes() argument 54 : Matches(std::move(Indices)), Index(0), Session(PDBSession) {} in NativeEnumTypes()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/ |
| H A D | DXContainerPSVInfo.cpp | 47 FinalElement.Rows = static_cast<uint8_t>(El.Indices.size()); in ProcessElementList() 58 size_t Idx = FindSequence(IndexBuffer, El.Indices); in ProcessElementList() 61 IndexBuffer.insert(IndexBuffer.end(), El.Indices.begin(), in ProcessElementList() 62 El.Indices.end()); in ProcessElementList()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 385 SmallVector<Value *, 8> Indices; in replace() local 386 Indices.append(GEP->idx_begin(), GEP->idx_end()); in replace() 388 GetElementPtrInst::Create(GEP->getSourceElementType(), V, Indices); in replace() 736 Value *Indices[2] = { in unpackLoadToAggregate() local 740 auto *Ptr = IC.Builder.CreateInBoundsGEP(ST, Addr, ArrayRef(Indices), in unpackLoadToAggregate() 782 Value *Indices[2] = { in unpackLoadToAggregate() local 786 auto *Ptr = IC.Builder.CreateInBoundsGEP(AT, Addr, ArrayRef(Indices), in unpackLoadToAggregate() 1262 Value *Indices[2] = { in unpackStoreToAggregate() local 1267 IC.Builder.CreateInBoundsGEP(ST, Addr, ArrayRef(Indices), AddrName); in unpackStoreToAggregate() 1308 Value *Indices[2] = { in unpackStoreToAggregate() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/LTO/ |
| H A D | LTO.h | 189 const auto &Indices = ModuleSymIndices[I]; in module_symbols() local 190 return {Symbols.data() + Indices.first, Symbols.data() + Indices.second}; in module_symbols()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DataLayout.cpp | 921 ArrayRef<Value *> Indices) const { in getIndexedOffsetInType() 925 GTI = gep_type_begin(ElemTy, Indices), in getIndexedOffsetInType() 926 GTE = gep_type_end(ElemTy, Indices); in getIndexedOffsetInType() 1001 SmallVector<APInt> Indices; in getGEPIndicesForOffset() local 1002 Indices.push_back(getElementIndex(getTypeAllocSize(ElemTy), Offset)); in getGEPIndicesForOffset() 1007 Indices.push_back(*Index); in getGEPIndicesForOffset() 1010 return Indices; in getGEPIndicesForOffset()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/ |
| H A D | mdspan | 118 template<class... Indices> 119 constexpr index_type operator()(Indices...) const noexcept; 172 template<class... Indices> 173 constexpr index_type operator()(Indices...) const noexcept; 228 template<class... Indices> 229 constexpr index_type operator()(Indices...) const noexcept;
|