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

12

/external/llvm/include/llvm/CodeGen/
H A DAnalysis.h38 const unsigned *Indices,
43 ArrayRef<unsigned> Indices,
45 return ComputeLinearIndex(Ty, Indices.begin(), Indices.end(), CurIndex);
42 ComputeLinearIndex(Type *Ty, ArrayRef<unsigned> Indices, unsigned CurIndex = 0) argument
/external/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp212 SmallVector<Value *, 2> Indices; local
213 Indices.push_back(Constant::getNullValue(Type::getInt64Ty(Ctx)));
214 Indices.push_back(ThreadID);
215 Value *Addr = Builder.CreateInBoundsGEP(NewGV, Indices);
/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/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);
H A DLiveIntervalAnalysis.cpp458 ArrayRef<SlotIndex> Indices) {
461 for (unsigned i = 0, e = Indices.size(); i != e; ++i)
462 LRCalc->extend(LR, Indices[i]);
457 extendToIndices(LiveRange &LR, ArrayRef<SlotIndex> Indices) argument
/external/llvm/lib/Object/
H A DArchive.cpp363 const char *Indices = Buf + sizeof(support::ulittle32_t); local
368 *(reinterpret_cast<const support::ulittle16_t*>(Indices)
/external/llvm/lib/Target/R600/
H A DAMDGPUPromoteAlloca.cpp314 std::vector<Value*> Indices; local
315 Indices.push_back(Constant::getNullValue(Type::getInt32Ty(Mod->getContext())));
316 Indices.push_back(TID);
318 Value *Offset = Builder.CreateGEP(GV, Indices);
/external/llvm/lib/Analysis/
H A DLint.cpp672 ArrayRef<unsigned> Indices = CE->getIndices(); local
673 if (Value *W = FindInsertedValue(CE->getOperand(0), Indices))
H A DConstantFolding.cpp1217 ArrayRef<Constant*> Indices) {
1220 for (unsigned i = 0, e = Indices.size(); i != e; ++i) {
1221 C = C->getAggregateElement(Indices[i]);
1216 ConstantFoldLoadThroughGEPIndices(Constant *C, ArrayRef<Constant*> Indices) argument
/external/llvm/lib/AsmParser/
H A DLLParser.h228 bool ParseIndexList(SmallVectorImpl<unsigned> &Indices,bool &AteExtraComma);
229 bool ParseIndexList(SmallVectorImpl<unsigned> &Indices) { argument
231 if (ParseIndexList(Indices, AteExtraComma)) return true;
/external/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp257 /// Checks if Indices, or a prefix of Indices, is in Set.
258 static bool PrefixIn(const ArgPromotion::IndicesVector &Indices, argument
261 Low = Set.upper_bound(Indices);
264 // Low is now the last element smaller than or equal to Indices. This means
265 // it points to a prefix of Indices (possibly Indices itself), if such
269 return Low != Set.end() && IsPrefix(*Low, Indices);
274 /// is already a prefix of Indices in Safe, Indices ar
353 IndicesVector Indices; local
566 IndicesVector Indices; local
[all...]
/external/llvm/lib/IR/
H A DConstantsContext.h176 Indices(IdxList) {
180 /// Indices - These identify which value to extract.
181 const SmallVector<unsigned, 4> Indices; member in class:llvm::ExtractValueConstantExpr
202 Indices(IdxList) {
207 /// Indices - These identify the position for the insertion.
208 const SmallVector<unsigned, 4> Indices; member in class:llvm::InsertValueConstantExpr
H A DAsmWriter.cpp1028 ArrayRef<unsigned> Indices = CE->getIndices(); local
1029 for (unsigned i = 0, e = Indices.size(); i != e; ++i)
1030 Out << ", " << Indices[i]; local
H A DConstants.cpp1115 return EVCE->Indices;
1117 return cast<InsertValueConstantExpr>(this)->Indices;
1847 Constant *Indices[2] = { Zero, One }; local
1848 Constant *GEP = getGetElementPtr(NullPtr, Indices);
/external/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp444 SmallVector<Value *, 8> Indices; local
445 Indices.resize(NumIndices);
447 Indices[J] = Ops[J][I];
448 Res[I] = Builder.CreateGEP(Base[I], Indices,
H A DSROA.cpp1264 SmallVectorImpl<Value *> &Indices, Twine NamePrefix) {
1265 if (Indices.empty())
1270 if (Indices.size() == 1 && cast<ConstantInt>(Indices.back())->isZero())
1273 return IRB.CreateInBoundsGEP(BasePtr, Indices, NamePrefix + "sroa_idx");
1280 /// Indices, and arrived at the Ty type. The goal is to continue to GEP with
1284 /// indicated by Indices to have the correct offset.
1287 SmallVectorImpl<Value *> &Indices,
1290 return buildGEP(IRB, BasePtr, Indices, NamePrefix);
1305 Indices
1263 buildGEP(IRBuilderTy &IRB, Value *BasePtr, SmallVectorImpl<Value *> &Indices, Twine NamePrefix) argument
1285 getNaturalGEPWithType(IRBuilderTy &IRB, const DataLayout &DL, Value *BasePtr, Type *Ty, Type *TargetTy, SmallVectorImpl<Value *> &Indices, Twine NamePrefix) argument
1329 getNaturalGEPRecursively(IRBuilderTy &IRB, const DataLayout &DL, Value *Ptr, Type *Ty, APInt &Offset, Type *TargetTy, SmallVectorImpl<Value *> &Indices, Twine NamePrefix) argument
1402 getNaturalGEPWithOffset(IRBuilderTy &IRB, const DataLayout &DL, Value *Ptr, APInt Offset, Type *TargetTy, SmallVectorImpl<Value *> &Indices, Twine NamePrefix) argument
1449 SmallVector<Value *, 4> Indices; local
2802 SmallVector<unsigned, 4> Indices; member in class:__anon25492::AggLoadStoreRewriter::OpSplitter
[all...]
/external/clang/lib/AST/
H A DDeclCXX.cpp1625 VarDecl **Indices,
1632 memcpy(MyIndices, Indices, NumIndices * sizeof(VarDecl *));
1640 VarDecl **Indices,
1646 Indices, NumIndices);
1620 CXXCtorInitializer(ASTContext &Context, FieldDecl *Member, SourceLocation MemberLoc, SourceLocation L, Expr *Init, SourceLocation R, VarDecl **Indices, unsigned NumIndices) argument
1635 Create(ASTContext &Context, FieldDecl *Member, SourceLocation MemberLoc, SourceLocation L, Expr *Init, SourceLocation R, VarDecl **Indices, unsigned NumIndices) argument
/external/llvm/utils/TableGen/
H A DCodeGenRegisters.cpp259 // qsub_1 subreg, add a dsub_2 subreg. Keep growing Indices and process
261 SmallVector<CodeGenSubRegIndex*, 8> Indices = ExplicitSubRegIndices; local
262 for (unsigned i = 0; i != Indices.size(); ++i) {
263 CodeGenSubRegIndex *Idx = Indices[i];
281 Indices.push_back(I->second);
287 // Work backwards in the Indices vector in order to compose subregs bottom-up.
301 while (!Indices.empty() && !Orphans.empty()) {
302 CodeGenSubRegIndex *Idx = Indices.pop_back_val();
554 std::vector<Record*> Indices = Def->getValueAsListOfDefs("SubRegIndices"); variable
555 unsigned Dim = Indices
[all...]
/external/lzma/CPP/7zip/Archive/7z/
H A D7zUpdate.cpp322 CRecordVector<UInt32> Indices; member in struct:NArchive::N7z::CSolidGroup
835 groups[GetGroupIndex(method.PasswordIsDefined, filteredGroup)].Indices.Add(i);
1012 int numFiles = group.Indices.Size();
1019 refItems.Add(CRefItem(group.Indices[i], updateItems[group.Indices[i]], sortByType));
/external/llvm/include/llvm/IR/
H A DInstructions.h1833 SmallVector<unsigned, 4> Indices; member in class:llvm::ExtractValueInst
1879 inline idx_iterator idx_begin() const { return Indices.begin(); }
1880 inline idx_iterator idx_end() const { return Indices.end(); }
1893 return Indices;
1897 return (unsigned)Indices.size();
1939 SmallVector<unsigned, 4> Indices; member in class:llvm::InsertValueInst
1990 inline idx_iterator idx_begin() const { return Indices.begin(); }
1991 inline idx_iterator idx_end() const { return Indices.end(); }
2014 return Indices;
2018 return (unsigned)Indices
[all...]
/external/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp2414 SmallVector<int, 16> Indices,
2418 if (Indices.size() < 4)
2422 for (unsigned j = i; j < Indices.size(); j += 4) {
2423 int Idx = Indices[j];
2472 SmallVector<int, 16> Indices,
2474 assert ((Indices.size() % 2) == 0);
2478 for (unsigned i = 0; i < Indices.size(); i += 2) {
2479 if (Indices[i] != -1 && Indices[i] != WsIdx)
2481 if (Indices[
2413 lowerVECTOR_SHUFFLE_SHF(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) argument
2471 lowerVECTOR_SHUFFLE_ILVEV(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) argument
2501 lowerVECTOR_SHUFFLE_ILVOD(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) argument
2531 lowerVECTOR_SHUFFLE_ILVL(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) argument
2561 lowerVECTOR_SHUFFLE_ILVR(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) argument
2592 lowerVECTOR_SHUFFLE_PCKEV(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) argument
2618 lowerVECTOR_SHUFFLE_PCKOD(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) argument
2642 lowerVECTOR_SHUFFLE_VSHF(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) argument
2702 SmallVector<int, 16> Indices; local
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1411 // Combine Indices - If the source pointer to this getelementptr instruction
1427 SmallVector<Value*, 8> Indices;
1463 Indices.append(Src->op_begin()+1, Src->op_end()-1);
1464 Indices.push_back(Sum);
1465 Indices.append(GEP.op_begin()+2, GEP.op_end());
1470 Indices.append(Src->op_begin()+1, Src->op_end());
1471 Indices.append(GEP.idx_begin()+1, GEP.idx_end());
1474 if (!Indices.empty())
1476 GetElementPtrInst::CreateInBounds(Src->getOperand(0), Indices,
1478 GetElementPtrInst::Create(Src->getOperand(0), Indices, GE
2126 SmallVector<Value*, 4> Indices; local
[all...]
/external/clang/lib/CodeGen/
H A DCGBuiltin.cpp2707 SmallVector<Constant*, 16> Indices; local
2709 Indices.push_back(ConstantInt::get(Int32Ty, i+CV));
2713 Value *SV = llvm::ConstantVector::get(Indices);
2903 SmallVector<Constant*, 16> Indices; local
2905 Indices.push_back(Builder.getInt32(i+vi));
2906 Indices.push_back(Builder.getInt32(i+e+vi));
2909 SV = llvm::ConstantVector::get(Indices);
2932 SmallVector<Constant*, 16> Indices; local
2934 Indices.push_back(ConstantInt::get(Int32Ty, 2*i+vi));
2937 SV = llvm::ConstantVector::get(Indices);
2951 SmallVector<Constant*, 16> Indices; local
3007 SmallVector<Constant*, 16> Indices; local
3413 SmallVector<Constant*, 2> Indices; local
5505 SmallVector<Constant*, 16> Indices; local
5525 SmallVector<Constant*, 16> Indices; local
5544 SmallVector<Constant*, 16> Indices; local
5705 SmallVector<llvm::Constant*, 8> Indices; local
5736 SmallVector<llvm::Constant*, 16> Indices; local
5766 SmallVector<llvm::Constant*, 32> Indices; local
[all...]
H A DCGExpr.cpp567 llvm::Value *Indices[] = { Builder.getInt32(0), Slot }; local
569 Builder.CreateLoad(Builder.CreateInBoundsGEP(Cache, Indices));
2459 SmallVector<unsigned, 4> Indices; local
2460 E->getEncodedElementAccess(Indices);
2463 llvm::Constant *CV = GenerateConstantVector(Builder, Indices);
2472 for (unsigned i = 0, e = Indices.size(); i != e; ++i)
2473 CElts.push_back(BaseElts->getAggregateElement(Indices[i]));

Completed in 646 milliseconds

12