Home
last modified time | relevance | path

Searched refs:Indices (Results 1 – 25 of 181) sorted by relevance

12345678

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DInterleavedAccessPass.cpp318 SmallVector<unsigned, 4> Indices; in lowerInterleavedLoad() local
319 Indices.push_back(Index); in lowerInterleavedLoad()
333 Indices.push_back(Index); in lowerInterleavedLoad()
344 if (!TLI->lowerInterleavedLoad(LI, Shuffles, Indices, Factor)) in lowerInterleavedLoad()
383 SmallVector<int, 4> Indices; in tryReplaceExtracts() local
384 Shuffle->getShuffleMask(Indices); in tryReplaceExtracts()
385 for (unsigned I = 0; I < Indices.size(); ++I) in tryReplaceExtracts()
386 if (Indices[I] == Index) { in tryReplaceExtracts()
DAnalysis.cpp36 const unsigned *Indices, in ComputeLinearIndex() argument
40 if (Indices && Indices == IndicesEnd) in ComputeLinearIndex()
49 if (Indices && *Indices == unsigned(EI - EB)) in ComputeLinearIndex()
50 return ComputeLinearIndex(*EI, Indices+1, IndicesEnd, CurIndex); in ComputeLinearIndex()
53 assert(!Indices && "Unexpected out of bound"); in ComputeLinearIndex()
62 if (Indices) { in ComputeLinearIndex()
63 assert(*Indices < NumElts && "Unexpected out of bound"); in ComputeLinearIndex()
66 CurIndex += EltLinearOffset* *Indices; in ComputeLinearIndex()
67 return ComputeLinearIndex(EltTy, Indices+1, IndicesEnd, CurIndex); in ComputeLinearIndex()
DShadowStackGCLowering.cpp261 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), in CreateGEP() local
264 Value *Val = B.CreateGEP(Ty, BasePtr, Indices, Name); in CreateGEP()
274 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), in CreateGEP() local
276 Value *Val = B.CreateGEP(Ty, BasePtr, Indices, Name); in CreateGEP()
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/compute/variable_pointer/dynamic_offset/
Dselect_descriptor_array.amber65 OpMemberDecorate %Indices 0 Offset 0
66 OpMemberDecorate %Indices 1 Offset 4
67 OpMemberDecorate %Indices 2 Offset 8
68 OpDecorate %Indices Block
84 %Indices = OpTypeStruct %int %int %int
85 %_ptr_PushConstant_Indices = OpTypePointer PushConstant %Indices
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld.h107 LLVMValueRef Pointer, LLVMValueRef *Indices, in LLVMBuildGEP2() argument
110 return LLVMBuildGEP(B, Pointer, Indices, NumIndices, Name); in LLVMBuildGEP2()
115 LLVMValueRef Pointer, LLVMValueRef *Indices, in LLVMBuildInBoundsGEP2() argument
118 return LLVMBuildInBoundsGEP(B, Pointer, Indices, NumIndices, Name); in LLVMBuildInBoundsGEP2()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DAnalysis.h55 const unsigned *Indices,
60 ArrayRef<unsigned> Indices,
62 return ComputeLinearIndex(Ty, Indices.begin(), Indices.end(), CurIndex);
DLiveIntervals.h184 void extendToIndices(LiveRange &LR, ArrayRef<SlotIndex> Indices,
187 void extendToIndices(LiveRange &LR, ArrayRef<SlotIndex> Indices) { in extendToIndices() argument
188 extendToIndices(LR, Indices, /*Undefs=*/{}); in extendToIndices()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DTypeIndexDiscovery.h31 SmallVectorImpl<TypeIndex> &Indices);
33 SmallVectorImpl<TypeIndex> &Indices);
42 SmallVectorImpl<TypeIndex> &Indices);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp175 IndicesVector Indices; in doPromotion() local
176 Indices.reserve(UI->getNumOperands() - 1); in doPromotion()
182 Indices.push_back(cast<ConstantInt>(*II)->getSExtValue()); in doPromotion()
184 if (Indices.size() == 1 && Indices.front() == 0) in doPromotion()
185 Indices.clear(); in doPromotion()
186 ArgIndices.insert(std::make_pair(SrcTy, Indices)); in doPromotion()
193 OriginalLoads[std::make_pair(&*I, Indices)] = OrigLoad; in doPromotion()
516 static bool prefixIn(const IndicesVector &Indices, in prefixIn() argument
519 Low = Set.upper_bound(Indices); in prefixIn()
527 return Low != Set.end() && isPrefix(*Low, Indices); in prefixIn()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DTypeIndexDiscovery.cpp463 SmallVectorImpl<TypeIndex> &Indices) { in resolveTypeIndexReferences() argument
464 Indices.clear(); in resolveTypeIndexReferences()
476 Indices.append(Run.begin(), Run.end()); in resolveTypeIndexReferences()
481 SmallVectorImpl<TypeIndex> &Indices) { in discoverTypeIndices() argument
482 return discoverTypeIndices(Type.RecordData, Indices); in discoverTypeIndices()
486 SmallVectorImpl<TypeIndex> &Indices) { in discoverTypeIndices() argument
489 resolveTypeIndexReferences(RecordData, Refs, Indices); in discoverTypeIndices()
516 ArrayRef<uint8_t> RecordData, SmallVectorImpl<TypeIndex> &Indices) { in discoverTypeIndicesInSymbol() argument
520 resolveTypeIndexReferences(RecordData, Refs, Indices); in discoverTypeIndicesInSymbol()
DRecordName.cpp76 auto Indices = Args.getIndices(); in visitKnownRecord() local
77 uint32_t Size = Indices.size(); in visitKnownRecord()
80 assert(Indices[I] < CurrentTypeIndex); in visitKnownRecord()
82 Name.append(Types.getTypeName(Indices[I])); in visitKnownRecord()
92 auto Indices = Strings.getIndices(); in visitKnownRecord() local
93 uint32_t Size = Indices.size(); in visitKnownRecord()
96 Name.append(Types.getTypeName(Indices[I])); in visitKnownRecord()
DTypeHashing.cpp53 ArrayRef<TypeIndex> Indices( in hashType()
55 for (TypeIndex TI : Indices) { in hashType()
DTypeDumpVisitor.cpp225 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp2555 SmallVector<int, 16> Indices, in lowerVECTOR_SHUFFLE_SHF() argument
2559 if (Indices.size() < 4) in lowerVECTOR_SHUFFLE_SHF()
2563 for (unsigned j = i; j < Indices.size(); j += 4) { in lowerVECTOR_SHUFFLE_SHF()
2564 int Idx = Indices[j]; in lowerVECTOR_SHUFFLE_SHF()
2636 SmallVector<int, 16> Indices, in isVECTOR_SHUFFLE_SPLATI() argument
2638 assert((Indices.size() % 2) == 0); in isVECTOR_SHUFFLE_SPLATI()
2641 for (const auto &V : Indices) { in isVECTOR_SHUFFLE_SPLATI()
2648 return fitsRegularPattern<int>(Indices.begin(), 1, Indices.end(), SplatIndex, in isVECTOR_SHUFFLE_SPLATI()
2668 SmallVector<int, 16> Indices, in lowerVECTOR_SHUFFLE_ILVEV() argument
2670 assert((Indices.size() % 2) == 0); in lowerVECTOR_SHUFFLE_ILVEV()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InterleavedAccess.cpp58 ArrayRef<unsigned> Indices; member in __anon8f7c1b6f0111::X86InterleavedAccessGroup
114 : Inst(I), Shuffles(Shuffs), Indices(Ind), Factor(F), Subtarget(STarget), in X86InterleavedAccessGroup()
189 createSequentialMask(Builder, Indices[i], 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()
834 SmallVector<unsigned, 4> Indices; in lowerInterleavedStore() local
837 Indices.push_back(Mask[i]); in lowerInterleavedStore()
843 X86InterleavedAccessGroup Grp(SI, Shuffles, Indices, Factor, Subtarget, in lowerInterleavedStore()
DX86TargetTransformInfo.h161 unsigned Factor, ArrayRef<unsigned> Indices,
166 unsigned Factor, ArrayRef<unsigned> Indices,
171 unsigned Factor, ArrayRef<unsigned> Indices,
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Dvariant_benchmark.cc39 template <class Indices>
42 template <std::size_t... Indices>
43 struct VariantOfAlternativesImpl<absl::index_sequence<Indices...>> {
44 using type = absl::variant<VariantAlternative<Indices>...>;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyMemIntrinsicResults.cpp97 SmallVector<SlotIndex, 4> Indices; in replaceDominatedUses() local
128 Indices.push_back(WhereIdx.getRegSlot()); in replaceDominatedUses()
134 LIS.extendToIndices(*ToLI, Indices); in replaceDominatedUses()
DWebAssemblyFixIrreducibleControlFlow.cpp367 DenseMap<MachineBasicBlock *, unsigned> Indices; in makeSingleEntryLoop() local
369 auto Pair = Indices.insert(std::make_pair(Entry, 0)); in makeSingleEntryLoop()
443 .addImm(Indices[Entry]); in makeSingleEntryLoop()
455 if (Op.isMBB() && Indices.count(Op.getMBB())) in makeSingleEntryLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/XRay/
DBlockIndexer.h39 Index &Indices;
44 explicit BlockIndexer(Index &I) : RecordVisitor(), Indices(I) {} in BlockIndexer()
/third_party/rust/crates/clap/src/parser/matches/
Darg_matches.rs853 pub fn indices_of(&self, id: &str) -> Option<Indices<'_>> { in indices_of()
855 let i = Indices { in indices_of()
1829 pub struct Indices<'a> { struct
1834 impl<'a> Iterator for Indices<'a> { argument
1845 impl<'a> DoubleEndedIterator for Indices<'a> { implementation
1851 impl<'a> ExactSizeIterator for Indices<'a> {} implementation
1854 impl<'a> Default for Indices<'a> { implementation
1858 Indices { in default()
1906 let mut indices: Indices = Indices::default(); in test_default_indices()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSROA.cpp1399 SmallVectorImpl<Value *> &Indices, Twine NamePrefix) { in buildGEP() argument
1400 if (Indices.empty()) in buildGEP()
1405 if (Indices.size() == 1 && cast<ConstantInt>(Indices.back())->isZero()) in buildGEP()
1409 BasePtr, Indices, NamePrefix + "sroa_idx"); in buildGEP()
1423 SmallVectorImpl<Value *> &Indices, in getNaturalGEPWithType() argument
1426 return buildGEP(IRB, BasePtr, Indices, NamePrefix); in getNaturalGEPWithType()
1441 Indices.push_back(IRB.getIntN(OffsetSize, 0)); in getNaturalGEPWithType()
1444 Indices.push_back(IRB.getInt32(0)); in getNaturalGEPWithType()
1449 Indices.push_back(IRB.getInt32(0)); in getNaturalGEPWithType()
1456 Indices.erase(Indices.end() - NumLayers, Indices.end()); in getNaturalGEPWithType()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DNativeEnumTypes.cpp51 std::vector<codeview::TypeIndex> Indices) in NativeEnumTypes() argument
52 : Matches(std::move(Indices)), Index(0), Session(PDBSession) {} in NativeEnumTypes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp309 SmallVector<Value *, 8> Indices; in replace() local
310 Indices.append(GEP->idx_begin(), GEP->idx_end()); in replace()
312 V->getType()->getPointerElementType(), V, Indices); in replace()
687 Value *Indices[2] = { in unpackLoadToAggregate() local
691 auto *Ptr = IC.Builder.CreateInBoundsGEP(ST, Addr, makeArrayRef(Indices), in unpackLoadToAggregate()
739 Value *Indices[2] = { in unpackLoadToAggregate() local
743 auto *Ptr = IC.Builder.CreateInBoundsGEP(AT, Addr, makeArrayRef(Indices), in unpackLoadToAggregate()
1220 Value *Indices[2] = { in unpackStoreToAggregate() local
1224 auto *Ptr = IC.Builder.CreateInBoundsGEP(ST, Addr, makeArrayRef(Indices), in unpackStoreToAggregate()
1270 Value *Indices[2] = { in unpackStoreToAggregate() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/
DLTO.h182 const auto &Indices = ModuleSymIndices[I]; in module_symbols() local
183 return {Symbols.data() + Indices.first, Symbols.data() + Indices.second}; in module_symbols()

12345678