Searched defs:Indices (Results 1 - 25 of 74) sorted by relevance

123

/external/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,
62 return ComputeLinearIndex(Ty, Indices.begin(), Indices.end(), CurIndex);
59 ComputeLinearIndex(Type *Ty, ArrayRef<unsigned> Indices, unsigned CurIndex = 0) argument
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
H A DAnalysis.h37 const unsigned *Indices,
42 ArrayRef<unsigned> Indices,
44 return ComputeLinearIndex(Ty, Indices.begin(), Indices.end(), CurIndex);
41 ComputeLinearIndex(Type *Ty, ArrayRef<unsigned> Indices, unsigned CurIndex = 0) argument
/external/llvm/lib/CodeGen/
H A DInterleavedAccessPass.cpp231 SmallVector<unsigned, 4> Indices;
232 Indices.push_back(Index);
246 Indices.push_back(Index);
257 if (!TLI->lowerInterleavedLoad(LI, Shuffles, Indices, Factor))
299 SmallVector<int, 4> Indices; local
300 Shuffle->getShuffleMask(Indices);
301 for (unsigned I = 0; I < Indices.size(); ++I)
302 if (Indices[I] == Index) {
H A DShadowStackGCLowering.cpp358 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), local
361 Value *Val = B.CreateGEP(Ty, BasePtr, Indices, Name);
371 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), local
373 Value *Val = B.CreateGEP(Ty, BasePtr, Indices, Name);
H A DAnalysis.cpp38 const unsigned *Indices,
42 if (Indices && Indices == IndicesEnd)
51 if (Indices && *Indices == unsigned(EI - EB))
52 return ComputeLinearIndex(*EI, Indices+1, IndicesEnd, CurIndex);
55 assert(!Indices && "Unexpected out of bound");
64 if (Indices) {
65 assert(*Indices < NumElts && "Unexpected out of bound");
68 CurIndex += EltLinearOffset* *Indices;
37 ComputeLinearIndex(Type *Ty, const unsigned *Indices, const unsigned *IndicesEnd, unsigned CurIndex) argument
[all...]
H A DMIRPrinter.cpp741 auto Indices = TII->getSerializableTargetIndices(); local
742 for (const auto &I : Indices) {
/external/llvm/lib/DebugInfo/CodeView/
H A DTypeRecord.cpp79 ArrayRef<TypeIndex> Indices; local
80 CV_DESERIALIZE(Data, L, CV_ARRAY_FIELD_N(Indices, L->NumArgs));
81 return ArgListRecord(Kind, Indices);
246 ArrayRef<TypeIndex> Indices; local
247 CV_DESERIALIZE(Data, L, CV_ARRAY_FIELD_N(Indices, L->NumArgs));
248 return BuildInfoRecord(Indices);
H A DTypeDumper.cpp243 auto Indices = Args.getIndices(); local
244 uint32_t Size = Indices.size();
249 printTypeIndex("ArgType", Indices[I]);
250 StringRef ArgTypeName = getTypeName(Indices[I]);
/external/llvm/lib/Target/WebAssembly/
H A DWebAssemblyStoreResults.cpp91 SmallVector<SlotIndex, 4> Indices; local
121 Indices.push_back(WhereIdx.getRegSlot());
127 LIS.extendToIndices(*ToLI, Indices);
H A DWebAssemblyFixIrreducibleControlFlow.cpp198 DenseMap<MachineBasicBlock *, unsigned> Indices; local
203 auto Pair = Indices.insert(std::make_pair(MBB, 0));
230 if (!Indices.count(Succ))
243 .addImm(Indices[Succ]);
252 if (Op.isMBB() && Indices.count(Op.getMBB()))
/external/swiftshader/third_party/LLVM/lib/CodeGen/
H A DAnalysis.cpp35 const unsigned *Indices,
39 if (Indices && Indices == IndicesEnd)
48 if (Indices && *Indices == unsigned(EI - EB))
49 return ComputeLinearIndex(*EI, Indices+1, IndicesEnd, CurIndex);
58 if (Indices && *Indices == i)
59 return ComputeLinearIndex(EltTy, Indices+1, IndicesEnd, CurIndex);
34 ComputeLinearIndex(Type *Ty, const unsigned *Indices, const unsigned *IndicesEnd, unsigned CurIndex) argument
H A DShadowStackGC.cpp352 Value *Indices[] = { ConstantInt::get(Type::getInt32Ty(Context), 0), local
355 Value* Val = B.CreateGEP(BasePtr, Indices, Name);
365 Value *Indices[] = { ConstantInt::get(Type::getInt32Ty(Context), 0), local
367 Value *Val = B.CreateGEP(BasePtr, Indices, Name);
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dmetafunctions.cpp149 namespace Indices { namespace
153 template<unsigned I, unsigned N, int ...Indices>
154 struct build_indices_impl<I, N, int_tuple<Indices...> >
155 : build_indices_impl<I+1, N, int_tuple<Indices..., I> > {
158 template<unsigned N, int ...Indices>
159 struct build_indices_impl<N, N, int_tuple<Indices...> > {
160 typedef int_tuple<Indices...> type;
/external/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp498 ArrayRef<unsigned> Indices,
517 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices,
496 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) argument
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp412 ArrayRef<unsigned> Indices,
410 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) argument
/external/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp299 SmallVector<unsigned, 4> Indices; local
312 Indices.push_back(ArgNo + 1);
318 if (Indices.empty())
323 AS = AS.addAttribute(Ctx, Indices, Attribute::get(Ctx, Attribute::NonNull));
H A DNaryReassociate.cpp304 SmallVector<const Value*, 4> Indices; local
306 Indices.push_back(*I);
308 Indices) == TargetTransformInfo::TCC_Free;
H A DStraightLineStrengthReduce.cpp239 SmallVector<const Value*, 4> Indices; local
241 Indices.push_back(*I);
243 Indices) == TargetTransformInfo::TCC_Free;
/external/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp497 ArrayRef<unsigned> Indices,
513 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices,
495 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) argument
/external/llvm/lib/Analysis/
H A DLint.cpp672 ArrayRef<unsigned> Indices = CE->getIndices(); local
673 if (Value *W = FindInsertedValue(CE->getOperand(0), Indices))
/external/llvm/lib/AsmParser/
H A DLLParser.h248 bool ParseIndexList(SmallVectorImpl<unsigned> &Indices,
250 bool ParseIndexList(SmallVectorImpl<unsigned> &Indices) { argument
252 if (ParseIndexList(Indices, AteExtraComma)) return true;
/external/llvm/lib/IR/
H A DConstantsContext.h171 Indices(IdxList.begin(), IdxList.end()) {
175 /// Indices - These identify which value to extract.
176 const SmallVector<unsigned, 4> Indices; member in class:llvm::ExtractValueConstantExpr
203 Indices(IdxList.begin(), IdxList.end()) {
208 /// Indices - These identify the position for the insertion.
209 const SmallVector<unsigned, 4> Indices; member in class:llvm::InsertValueConstantExpr
/external/llvm/lib/Object/
H A DArchive.cpp531 const char *Indices = Buf + 4; local
535 uint16_t OffsetIndex = read16le(Indices + SymbolIndex * 2);
/external/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp402 /// Checks if Indices, or a prefix of Indices, is in Set.
403 static bool PrefixIn(const IndicesVector &Indices, argument
406 Low = Set.upper_bound(Indices);
409 // Low is now the last element smaller than or equal to Indices. This means
410 // it points to a prefix of Indices (possibly Indices itself), if such
414 return Low != Set.end() && IsPrefix(*Low, Indices);
419 /// is already a prefix of Indices in Safe, Indices ar
498 IndicesVector Indices; local
707 IndicesVector Indices; local
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp558 Value *Indices[2] = { local
562 auto *Ptr = IC.Builder->CreateInBoundsGEP(ST, Addr, makeArrayRef(Indices),
595 Value *Indices[2] = { local
599 auto *Ptr = IC.Builder->CreateInBoundsGEP(AT, Addr, makeArrayRef(Indices),
1061 Value *Indices[2] = { local
1065 auto *Ptr = IC.Builder->CreateInBoundsGEP(ST, Addr, makeArrayRef(Indices),
1101 Value *Indices[2] = { local
1105 auto *Ptr = IC.Builder->CreateInBoundsGEP(AT, Addr, makeArrayRef(Indices),

Completed in 622 milliseconds

123