Home
last modified time | relevance | path

Searched refs:Indices (Results 1 - 25 of 116) sorted by relevance

12345

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld.h107 LLVMValueRef Pointer, LLVMValueRef *Indices, in LLVMBuildGEP2()
110 return LLVMBuildGEP(B, Pointer, Indices, NumIndices, Name); in LLVMBuildGEP2()
115 LLVMValueRef Pointer, LLVMValueRef *Indices, in LLVMBuildInBoundsGEP2()
118 return LLVMBuildInBoundsGEP(B, Pointer, Indices, NumIndices, Name); in LLVMBuildInBoundsGEP2()
106 LLVMBuildGEP2(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name) LLVMBuildGEP2() argument
114 LLVMBuildInBoundsGEP2(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name) LLVMBuildInBoundsGEP2() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
H A DAnalysis.h47 /// \param Ty is the type indexed by \p Indices.
48 /// \param Indices is an optional pointer in the indices list to the current
55 const unsigned *Indices,
60 ArrayRef<unsigned> Indices, in ComputeLinearIndex()
62 return ComputeLinearIndex(Ty, Indices.begin(), Indices.end(), CurIndex); in ComputeLinearIndex()
59 ComputeLinearIndex(Type *Ty, ArrayRef<unsigned> Indices, unsigned CurIndex = 0) ComputeLinearIndex() argument
H A DLiveIntervals.h172 /// Extend the live range \p LR to reach all points in \p Indices. The
173 /// points in the \p Indices array must be jointly dominated by the union
178 /// If a SlotIndex in \p Indices is the end index of a basic block, \p LR
180 /// If a SlotIndex in \p Indices is jointy dominated only by points in
184 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/lib/CodeGen/
H A DInterleavedAccessPass.cpp318 SmallVector<unsigned, 4> Indices; in lowerInterleavedLoad()
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()
H A DAnalysis.cpp36 const unsigned *Indices, in ComputeLinearIndex()
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()
35 ComputeLinearIndex(Type *Ty, const unsigned *Indices, const unsigned *IndicesEnd, unsigned CurIndex) ComputeLinearIndex() argument
[all...]
H A 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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
H A 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/DebugInfo/CodeView/
H A DTypeIndexDiscovery.cpp463 SmallVectorImpl<TypeIndex> &Indices) { in resolveTypeIndexReferences()
464 Indices.clear(); in resolveTypeIndexReferences()
476 Indices.append(Run.begin(), Run.end()); in resolveTypeIndexReferences()
481 SmallVectorImpl<TypeIndex> &Indices) { in discoverTypeIndices()
482 return discoverTypeIndices(Type.RecordData, Indices); in discoverTypeIndices()
486 SmallVectorImpl<TypeIndex> &Indices) { in discoverTypeIndices()
489 resolveTypeIndexReferences(RecordData, Refs, Indices); in discoverTypeIndices()
516 ArrayRef<uint8_t> RecordData, SmallVectorImpl<TypeIndex> &Indices) { in discoverTypeIndicesInSymbol()
520 resolveTypeIndexReferences(RecordData, Refs, Indices); in discoverTypeIndicesInSymbol()
461 resolveTypeIndexReferences(ArrayRef<uint8_t> RecordData, ArrayRef<TiReference> Refs, SmallVectorImpl<TypeIndex> &Indices) resolveTypeIndexReferences() argument
480 discoverTypeIndices(const CVType &Type, SmallVectorImpl<TypeIndex> &Indices) discoverTypeIndices() argument
485 discoverTypeIndices(ArrayRef<uint8_t> RecordData, SmallVectorImpl<TypeIndex> &Indices) discoverTypeIndices() argument
515 discoverTypeIndicesInSymbol( ArrayRef<uint8_t> RecordData, SmallVectorImpl<TypeIndex> &Indices) discoverTypeIndicesInSymbol() argument
H A 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();
93 uint32_t Size = Indices.size();
96 Name.append(Types.getTypeName(Indices[I]));
H A DTypeHashing.cpp53 ArrayRef<TypeIndex> Indices( in hashType()
55 for (TypeIndex TI : Indices) { in hashType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp2555 SmallVector<int, 16> Indices, in lowerVECTOR_SHUFFLE_SHF()
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()
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()
2554 lowerVECTOR_SHUFFLE_SHF(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) lowerVECTOR_SHUFFLE_SHF() argument
2635 isVECTOR_SHUFFLE_SPLATI(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) isVECTOR_SHUFFLE_SPLATI() argument
2667 lowerVECTOR_SHUFFLE_ILVEV(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) lowerVECTOR_SHUFFLE_ILVEV() argument
2713 lowerVECTOR_SHUFFLE_ILVOD(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) lowerVECTOR_SHUFFLE_ILVOD() argument
2760 lowerVECTOR_SHUFFLE_ILVR(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) lowerVECTOR_SHUFFLE_ILVR() argument
2807 lowerVECTOR_SHUFFLE_ILVL(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) lowerVECTOR_SHUFFLE_ILVL() argument
2855 lowerVECTOR_SHUFFLE_PCKEV(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) lowerVECTOR_SHUFFLE_PCKEV() argument
2898 lowerVECTOR_SHUFFLE_PCKOD(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) lowerVECTOR_SHUFFLE_PCKOD() argument
2934 lowerVECTOR_SHUFFLE_VSHF(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) lowerVECTOR_SHUFFLE_VSHF() argument
2994 SmallVector<int, 16> Indices; lowerVECTOR_SHUFFLE() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A 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()
515 /// Checks if Indices, or a prefix of Indices, i
516 prefixIn(const IndicesVector &Indices, std::set<IndicesVector> &Set) prefixIn() argument
627 IndicesVector Indices; isSafeToPromoteArgument() local
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
H A 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/X86/
H A DX86InterleavedAccess.cpp58 ArrayRef<unsigned> Indices; member in __anon24947::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()
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, Facto in lowerInterleavedStore()
806 lowerInterleavedLoad( LoadInst *LI, ArrayRef<ShuffleVectorInst *> Shuffles, ArrayRef<unsigned> Indices, unsigned Factor) const lowerInterleavedLoad() argument
[all...]
H A 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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/XRay/
H A DBlockIndexer.h39 Index &Indices; member in llvm::xray::BlockIndexer
44 explicit BlockIndexer(Index &I) : RecordVisitor(), Indices(I) {} in BlockIndexer()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMemIntrinsicResults.cpp97 SmallVector<SlotIndex, 4> Indices; in replaceDominatedUses() local
128 Indices.push_back(WhereIdx.getRegSlot()); in replaceDominatedUses()
134 LIS.extendToIndices(*ToLI, Indices); in replaceDominatedUses()
H A 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/lib/DebugInfo/PDB/Native/
H A DNativeEnumTypes.cpp51 std::vector<codeview::TypeIndex> Indices) in NativeEnumTypes()
52 : Matches(std::move(Indices)), Index(0), Session(PDBSession) {} in NativeEnumTypes()
50 NativeEnumTypes(NativeSession &PDBSession, std::vector<codeview::TypeIndex> Indices) NativeEnumTypes() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1399 SmallVectorImpl<Value *> &Indices, Twine NamePrefix) {
1400 if (Indices.empty())
1405 if (Indices.size() == 1 && cast<ConstantInt>(Indices.back())->isZero())
1409 BasePtr, Indices, NamePrefix + "sroa_idx");
1416 /// Indices, and arrived at the Ty type. The goal is to continue to GEP with
1420 /// indicated by Indices to have the correct offset.
1423 SmallVectorImpl<Value *> &Indices,
1426 return buildGEP(IRB, BasePtr, Indices, NamePrefix);
1441 Indices
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/
H A DLTO.h182 const auto &Indices = ModuleSymIndices[I]; in module_symbols() local
183 return {Symbols.data() + Indices.first, Symbols.data() + Indices.second}; in module_symbols()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp218 Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost()
221 if (Indices.size() != Factor || UseMaskForCond || UseMaskForGaps) in getInterleavedMemoryOpCost()
222 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost()
217 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace, bool UseMaskForCond, bool UseMaskForGaps) getInterleavedMemoryOpCost() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DTypeMetadataUtils.cpp63 SmallVector<Value *, 8> Indices(GEP->op_begin() + 1, GEP->op_end()); in findLoadCallsAtConstantOffset()
65 GEP->getSourceElementType(), Indices); in findLoadCallsAtConstantOffset()
/third_party/rust/crates/clap/src/parser/matches/
H A Darg_matches.rs638 /// Indices are similar to argv indices, but are not exactly 1:1.
787 /// Indices are similar to argv indices, but are not exactly 1:1.
861 pub fn indices_of(&self, id: &str) -> Option<Indices<'_>> { in indices_of()
863 let i = Indices {
1836 pub struct Indices<'a> { structure names
1841 impl<'a> Iterator for Indices<'a> {
1852 impl<'a> DoubleEndedIterator for Indices<'a> {
1858 impl<'a> ExactSizeIterator for Indices<'a> {}
1861 impl<'a> Default for Indices<'a> {
1865 Indices { in default()
[all...]
H A Dmod.rs11 pub use arg_matches::{ArgMatches, Indices};

Completed in 25 milliseconds

12345