Searched refs:Indices (Results 1 - 25 of 46) 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
H A DLiveIntervalAnalysis.h170 /// Indices. The points in the Indices array must be jointly dominated by
173 /// If a SlotIndex in Indices is the end index of a basic block, LI will be
177 void extendToIndices(LiveRange &LR, ArrayRef<SlotIndex> 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/Target/NVPTX/
H A DNVPTXFavorNonGenericAddrSpaces.cpp120 SmallVector<Value *, 8> Indices(GEP->idx_begin(), GEP->idx_end());
127 Indices,
137 Indices,
/external/llvm/include/llvm/Analysis/
H A DConstantFolding.h92 ArrayRef<Constant*> Indices);
/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/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/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/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/Scalar/
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:__anon26330::AggLoadStoreRewriter::OpSplitter
[all...]
H A DScalarReplAggregates.cpp512 SmallVector<Value*, 8> Indices(GEP->op_begin()+1, GEP->op_end());
519 GEPNonConstantIdx = Indices.pop_back_val();
526 Indices);
612 SmallVector<Value*, 8> Indices(GEP->op_begin()+1, GEP->op_end());
617 GEPNonConstantIdx = Indices.pop_back_val();
621 Indices);
1729 SmallVector<Value*, 8> Indices(GEPI->op_begin() + 1, GEPI->op_end());
1734 Indices.pop_back();
1735 Offset += DL->getIndexedOffset(GEPI->getPointerOperandType(), Indices);
2038 SmallVector<Value*, 8> Indices(GEP
[all...]
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,
/external/llvm/lib/IR/
H A DDataLayout.cpp731 ArrayRef<Value *> Indices) const {
737 TI = gep_type_begin(ptrTy, Indices);
738 for (unsigned CurIDX = 0, EndIDX = Indices.size(); CurIDX != EndIDX;
741 assert(Indices[CurIDX]->getType() ==
744 unsigned FieldNo = cast<ConstantInt>(Indices[CurIDX])->getZExtValue();
759 if (int64_t arrayIdx = cast<ConstantInt>(Indices[CurIDX])->getSExtValue())
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
/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/bindings/ocaml/llvm/
H A Dllvm_ocaml.c802 CAMLprim LLVMValueRef llvm_const_gep(LLVMValueRef ConstantVal, value Indices) { argument
803 return LLVMConstGEP(ConstantVal, (LLVMValueRef*) Op_val(Indices),
804 Wosize_val(Indices));
809 value Indices) {
810 return LLVMConstInBoundsGEP(ConstantVal, (LLVMValueRef*) Op_val(Indices),
811 Wosize_val(Indices));
822 value Indices) {
823 CAMLparam1(Indices);
824 int size = Wosize_val(Indices);
830 idxs[i] = Int_val(Field(Indices,
808 llvm_const_in_bounds_gep(LLVMValueRef ConstantVal, value Indices) argument
821 llvm_const_extractvalue(LLVMValueRef Aggregate, value Indices) argument
839 llvm_const_insertvalue(LLVMValueRef Aggregate, LLVMValueRef Val, value Indices) argument
1879 llvm_build_gep(LLVMValueRef Pointer, value Indices, value Name, value B) argument
1887 llvm_build_in_bounds_gep(LLVMValueRef Pointer, value Indices, value Name, value B) argument
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp1277 llvm::ArrayRef<unsigned> Indices) const {
1283 unsigned NumRegs = Indices.size();
1294 AddSubReg(MIB, DestReg, Indices[SubReg], RegState::Define, TRI);
1295 AddSubReg(MIB, SrcReg, Indices[SubReg], 0, TRI);
1296 AddSubReg(MIB, SrcReg, Indices[SubReg], getKillRegState(KillSrc), TRI);
1382 static const unsigned Indices[] = { AArch64::dsub0, AArch64::dsub1,
1385 Indices);
1392 static const unsigned Indices[] = { AArch64::dsub0, AArch64::dsub1,
1395 Indices);
1402 static const unsigned Indices[]
[all...]
H A DAArch64InstrInfo.h106 llvm::ArrayRef<unsigned> Indices) const;
/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/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/lib/AsmParser/
H A DLLParser.cpp1698 bool LLParser::ParseIndexList(SmallVectorImpl<unsigned> &Indices,
1712 Indices.push_back(Idx);
2614 SmallVector<unsigned, 4> Indices;
2617 ParseIndexList(Indices) ||
2623 if (!ExtractValueInst::getIndexedType(Val->getType(), Indices))
2625 ID.ConstantVal = ConstantExpr::getExtractValue(Val, Indices);
2632 SmallVector<unsigned, 4> Indices;
2637 ParseIndexList(Indices) ||
2642 if (!ExtractValueInst::getIndexedType(Val0->getType(), Indices))
2644 ID.ConstantVal = ConstantExpr::getInsertValue(Val0, Val1, Indices);
[all...]
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/Object/
H A DArchive.cpp363 const char *Indices = Buf + sizeof(support::ulittle32_t); local
368 *(reinterpret_cast<const support::ulittle16_t*>(Indices)
/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...]

Completed in 9146 milliseconds

12