/freebsd/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/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | InterleavedAccessPass.cpp | 305 SmallVector<unsigned, 4> Indices; in lowerInterleavedLoad() local 319 Indices.push_back(Index); in lowerInterleavedLoad() 331 Indices.push_back(Index); in lowerInterleavedLoad() 333 Indices.push_back(Index); in lowerInterleavedLoad() 347 if (!TLI->lowerInterleavedLoad(LI, Shuffles, Indices, Factor)) { in lowerInterleavedLoad() 421 SmallVector<int, 4> Indices; in tryReplaceExtracts() local 422 Shuffle->getShuffleMask(Indices); in tryReplaceExtracts() 423 for (unsigned I = 0; I < Indices.size(); ++I) in tryReplaceExtracts() 424 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 runOnFunction() 310 Value *Val = B.CreateGEP(Ty, BasePtr, Indices, Name); in runOnFunction() 322 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), in runOnFunction() 324 Value *Val = B.CreateGEP(Ty, BasePtr, Indices, Name); in runOnFunction() 266 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), CreateGEP() local 279 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), CreateGEP() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCMergeStringPool.cpp | 286 Constant *Indices[2] = { in mergeModuleStringPool() local 290 PooledStructType, PooledGlobal, Indices); in mergeModuleStringPool() 311 SmallVector<Value *, 2> Indices; in replaceUsesWithGEP() local 312 Indices.push_back(ConstantInt::get(Type::getInt32Ty(*Context), 0)); in replaceUsesWithGEP() 313 Indices.push_back(ConstantInt::get(Type::getInt32Ty(*Context), ElementIndex)); in replaceUsesWithGEP() 316 ConstantExpr::getInBoundsGetElementPtr(PooledStructType, GPool, Indices); in replaceUsesWithGEP()
|
/freebsd/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 | 201 void extendToIndices(LiveRange &LR, ArrayRef<SlotIndex> Indices, 204 void extendToIndices(LiveRange &LR, ArrayRef<SlotIndex> Indices) { in extendToIndices() argument 205 extendToIndices(LR, Indices, /*Undefs=*/{}); in extendToIndices()
|
/freebsd/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() 466 Indices.clear(); in resolveTypeIndexReferences() 478 Indices.append(Run.begin(), Run.end()); in resolveTypeIndexReferences() 483 SmallVectorImpl<TypeIndex> &Indices) { in discoverTypeIndices() 484 return discoverTypeIndices(Type.RecordData, Indices); in discoverTypeIndices() 488 SmallVectorImpl<TypeIndex> &Indices) { in discoverTypeIndices() 491 resolveTypeIndexReferences(RecordData, Refs, Indices); in discoverTypeIndices() 518 ArrayRef<uint8_t> RecordData, SmallVectorImpl<TypeIndex> &Indices) { in discoverTypeIndicesInSymbol() 522 resolveTypeIndexReferences(RecordData, Refs, Indices); in discoverTypeIndicesInSymbol() 464 resolveTypeIndexReferences(ArrayRef<uint8_t> RecordData,ArrayRef<TiReference> Refs,SmallVectorImpl<TypeIndex> & Indices) resolveTypeIndexReferences() argument 482 discoverTypeIndices(const CVType & Type,SmallVectorImpl<TypeIndex> & Indices) discoverTypeIndices() argument 487 discoverTypeIndices(ArrayRef<uint8_t> RecordData,SmallVectorImpl<TypeIndex> & Indices) discoverTypeIndices() argument 517 discoverTypeIndicesInSymbol(ArrayRef<uint8_t> RecordData,SmallVectorImpl<TypeIndex> & Indices) discoverTypeIndicesInSymbol() argument
|
H A D | TypeHashing.cpp | 53 ArrayRef<TypeIndex> Indices( in hashType() 55 for (TypeIndex TI : Indices) { in hashType()
|
H A D | TypeDumpVisitor.cpp | 226 auto Indices = Args.getIndices(); in visitKnownRecord() local 227 uint32_t Size = Indices.size(); in visitKnownRecord() 231 printTypeIndex("ArgType", Indices[I]); in visitKnownRecord() 237 auto Indices = Strs.getIndices(); in visitKnownRecord() local 238 uint32_t Size = Indices.size(); in visitKnownRecord() 242 printItemIndex("String", Indices[I]); in visitKnownRecord()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | MinimalTypeDumper.cpp | 307 auto Indices = Args.getIndices(); in visitKnownRecord() local 308 if (Indices.empty()) in visitKnownRecord() 311 auto Max = llvm::max_element(Indices); in visitKnownRecord() 314 for (auto I : Indices) in visitKnownRecord() 322 auto Indices = Strings.getIndices(); in visitKnownRecord() local 323 if (Indices.empty()) in visitKnownRecord() 326 auto Max = llvm::max_element(Indices); in visitKnownRecord() 329 for (auto I : Indices) in visitKnownRecord() 492 auto Indices = BI.ArgIndices; in visitKnownRecord() local 493 if (Indices.empty()) in visitKnownRecord() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InterleavedAccess.cpp | 58 ArrayRef<unsigned> Indices; member in __anon8deb9da60111::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/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFPreserveStaticOffset.cpp | 194 SmallVector<Value *> Indices; member 202 Indices.clear(); in reset() 221 Args.append(GEP.Indices.begin(), GEP.Indices.end()); in fillCommonArgs() 279 SmallVector<Value *> Indices; in reconstructGEP() local 280 Indices.append(Call->data_operands_begin() + 6 + Delta, in reconstructGEP() 285 ArrayRef<Value *>(Indices), Call->getName()); in reconstructGEP() 346 Info.Indices.append(First->idx_begin(), First->idx_end()); in foldGEPChainAsStructAccess() 361 Info.Indices.append(GEP->idx_begin() + 1, GEP->idx_end()); in foldGEPChainAsStructAccess() 391 Info.Indices.push_back(ConstantInt::get(C, Offset)); in foldGEPChainAsU8Access()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsSEISelLowering.cpp | 2549 SmallVector<int, 16> Indices, in lowerVECTOR_SHUFFLE_SHF() argument 2553 if (Indices.size() < 4) in lowerVECTOR_SHUFFLE_SHF() 2557 for (unsigned j = i; j < Indices.size(); j += 4) { in lowerVECTOR_SHUFFLE_SHF() 2558 int Idx = Indices[j]; in lowerVECTOR_SHUFFLE_SHF() 2630 SmallVector<int, 16> Indices, in isVECTOR_SHUFFLE_SPLATI() argument 2632 assert((Indices.size() % 2) == 0); in isVECTOR_SHUFFLE_SPLATI() 2635 for (const auto &V : Indices) { in isVECTOR_SHUFFLE_SPLATI() 2642 return fitsRegularPattern<int>(Indices.begin(), 1, Indices.end(), SplatIndex, in isVECTOR_SHUFFLE_SPLATI() 2662 SmallVector<int, 16> Indices, in lowerVECTOR_SHUFFLE_ILVEV() argument 2664 assert((Indices.size() % 2) == 0); in lowerVECTOR_SHUFFLE_ILVEV() [all …]
|
/freebsd/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/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/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/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/contrib/llvm-project/llvm/include/llvm/LTO/ |
H A D | LTO.h | 191 const auto &Indices = ModuleSymIndices[I]; in module_symbols() local 192 return {Symbols.data() + Indices.first, Symbols.data() + Indices.second}; in module_symbols()
|
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 389 SmallVector<Value *, 8> Indices(GEP->indices()); in replace() local 391 GetElementPtrInst::Create(GEP->getSourceElementType(), V, Indices); in replace() 735 Value *Indices[2] = { in unpackLoadToAggregate() local 739 auto *Ptr = IC.Builder.CreateInBoundsGEP(ST, Addr, ArrayRef(Indices), in unpackLoadToAggregate() 781 Value *Indices[2] = { in unpackLoadToAggregate() local 785 auto *Ptr = IC.Builder.CreateInBoundsGEP(AT, Addr, ArrayRef(Indices), in unpackLoadToAggregate() 1261 Value *Indices[2] = { in unpackStoreToAggregate() local 1266 IC.Builder.CreateInBoundsGEP(ST, Addr, ArrayRef(Indices), AddrName); in unpackStoreToAggregate() 1307 Value *Indices[2] = { in unpackStoreToAggregate() local 1312 IC.Builder.CreateInBoundsGEP(AT, Addr, ArrayRef(Indices), AddrName); in unpackStoreToAggregate()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | ConstantInitBuilder.cpp | 99 GV->getValueType(), GV, entry.Indices); in resolveSelfReferences() 163 (void)getGEPIndicesTo(entry.Indices, position + Begin); in getAddrOfPosition() 177 (void) getGEPIndicesToCurrentPosition(entry.Indices); in getAddrOfCurrentPosition()
|
H A D | MCDCState.h | 34 llvm::SmallVector<std::array<int, 2>> Indices; member
|