/external/llvm/include/llvm/CodeGen/ |
H A D | Analysis.h | 38 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 D | LiveIntervalAnalysis.h | 150 /// Indices. The points in the Indices array must be jointly dominated by 153 /// If a SlotIndex in Indices is the end index of a basic block, LI will be 157 void extendToIndices(LiveInterval *LI, ArrayRef<SlotIndex> Indices);
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
H A D | metafunctions.cpp | 149 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/XCore/ |
H A D | XCoreLowerThreadLocal.cpp | 118 SmallVector<Value *, 2> Indices; local 119 Indices.push_back(Constant::getNullValue(Type::getInt64Ty(Ctx))); 120 Indices.push_back(ThreadID); 121 Value *Addr = Builder.CreateInBoundsGEP(NewGV, Indices);
|
/external/llvm/include/llvm/Analysis/ |
H A D | ConstantFolding.h | 90 ArrayRef<Constant*> Indices);
|
/external/llvm/lib/Transforms/IPO/ |
H A D | ArgumentPromotion.cpp | 248 /// Checks if Indices, or a prefix of Indices, is in Set. 249 static bool PrefixIn(const ArgPromotion::IndicesVector &Indices, argument 252 Low = Set.upper_bound(Indices); 255 // Low is now the last element smaller than or equal to Indices. This means 256 // it points to a prefix of Indices (possibly Indices itself), if such 260 return Low != Set.end() && IsPrefix(*Low, Indices); 265 /// is already a prefix of Indices in Safe, Indices ar 340 IndicesVector Indices; local 554 IndicesVector Indices; local [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | ProfilingUtils.cpp | 118 std::vector<Constant*> Indices(2); 119 Indices[0] = Constant::getNullValue(Type::getInt32Ty(Context)); 120 Indices[1] = ConstantInt::get(Type::getInt32Ty(Context), CounterNum); 122 ConstantExpr::getGetElementPtr(CounterArray, Indices);
|
/external/llvm/lib/CodeGen/ |
H A D | Analysis.cpp | 34 const unsigned *Indices, 38 if (Indices && Indices == IndicesEnd) 47 if (Indices && *Indices == unsigned(EI - EB)) 48 return ComputeLinearIndex(*EI, Indices+1, IndicesEnd, CurIndex); 57 if (Indices && *Indices == i) 58 return ComputeLinearIndex(EltTy, Indices+1, IndicesEnd, CurIndex); 33 ComputeLinearIndex(Type *Ty, const unsigned *Indices, const unsigned *IndicesEnd, unsigned CurIndex) argument
|
H A D | ShadowStackGC.cpp | 351 Value *Indices[] = { ConstantInt::get(Type::getInt32Ty(Context), 0), local 354 Value* Val = B.CreateGEP(BasePtr, Indices, Name); 364 Value *Indices[] = { ConstantInt::get(Type::getInt32Ty(Context), 0), local 366 Value *Val = B.CreateGEP(BasePtr, Indices, Name);
|
H A D | LiveIntervalAnalysis.cpp | 446 ArrayRef<SlotIndex> Indices) { 449 for (unsigned i = 0, e = Indices.size(); i != e; ++i) 450 LRCalc->extend(LI, Indices[i]); 445 extendToIndices(LiveInterval *LI, ArrayRef<SlotIndex> Indices) argument
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 1161 SmallVectorImpl<Value *> &Indices) { 1162 if (Indices.empty()) 1167 if (Indices.size() == 1 && cast<ConstantInt>(Indices.back())->isZero()) 1170 return IRB.CreateInBoundsGEP(BasePtr, Indices, "idx"); 1177 /// Indices, and arrived at the Ty type. The goal is to continue to GEP with 1181 /// indicated by Indices to have the correct offset. 1184 SmallVectorImpl<Value *> &Indices) { 1186 return buildGEP(IRB, BasePtr, Indices); 1199 Indices 1160 buildGEP(IRBuilderTy &IRB, Value *BasePtr, SmallVectorImpl<Value *> &Indices) argument 1182 getNaturalGEPWithType(IRBuilderTy &IRB, const DataLayout &DL, Value *BasePtr, Type *Ty, Type *TargetTy, SmallVectorImpl<Value *> &Indices) argument 1220 getNaturalGEPRecursively(IRBuilderTy &IRB, const DataLayout &DL, Value *Ptr, Type *Ty, APInt &Offset, Type *TargetTy, SmallVectorImpl<Value *> &Indices) argument 1290 getNaturalGEPWithOffset(IRBuilderTy &IRB, const DataLayout &DL, Value *Ptr, APInt Offset, Type *TargetTy, SmallVectorImpl<Value *> &Indices) argument 1335 SmallVector<Value *, 4> Indices; local 2680 SmallVector<unsigned, 4> Indices; member in class:__anon22623::AggLoadStoreRewriter::OpSplitter [all...] |
H A D | ScalarReplAggregates.cpp | 510 SmallVector<Value*, 8> Indices(GEP->op_begin()+1, GEP->op_end()); 517 GEPNonConstantIdx = Indices.pop_back_val(); 524 Indices); 610 SmallVector<Value*, 8> Indices(GEP->op_begin()+1, GEP->op_end()); 615 GEPNonConstantIdx = Indices.pop_back_val(); 619 Indices); 1733 SmallVector<Value*, 8> Indices(GEPI->op_begin() + 1, GEPI->op_end()); 1738 Indices.pop_back(); 1739 Offset += TD->getIndexedOffset(GEPI->getPointerOperandType(), Indices); 2042 SmallVector<Value*, 8> Indices(GEP [all...] |
/external/llvm/lib/IR/ |
H A D | DataLayout.cpp | 633 ArrayRef<Value *> Indices) const { 639 TI = gep_type_begin(ptrTy, Indices); 640 for (unsigned CurIDX = 0, EndIDX = Indices.size(); CurIDX != EndIDX; 643 assert(Indices[CurIDX]->getType() == 646 unsigned FieldNo = cast<ConstantInt>(Indices[CurIDX])->getZExtValue(); 661 if (int64_t arrayIdx = cast<ConstantInt>(Indices[CurIDX])->getSExtValue())
|
H A D | ConstantsContext.h | 173 Indices(IdxList) { 177 /// Indices - These identify which value to extract. 178 const SmallVector<unsigned, 4> Indices; member in class:llvm::ExtractValueConstantExpr 199 Indices(IdxList) { 204 /// Indices - These identify the position for the insertion. 205 const SmallVector<unsigned, 4> Indices; member in class:llvm::InsertValueConstantExpr
|
/external/llvm/bindings/ocaml/llvm/ |
H A D | llvm_ocaml.c | 709 CAMLprim LLVMValueRef llvm_const_gep(LLVMValueRef ConstantVal, value Indices) { argument 710 return LLVMConstGEP(ConstantVal, (LLVMValueRef*) Op_val(Indices), 711 Wosize_val(Indices)); 716 value Indices) { 717 return LLVMConstInBoundsGEP(ConstantVal, (LLVMValueRef*) Op_val(Indices), 718 Wosize_val(Indices)); 723 value Indices) { 724 CAMLparam1(Indices); 725 int size = Wosize_val(Indices); 731 idxs[i] = Int_val(Field(Indices, 715 llvm_const_in_bounds_gep(LLVMValueRef ConstantVal, value Indices) argument 722 llvm_const_extractvalue(LLVMValueRef Aggregate, value Indices) argument 740 llvm_const_insertvalue(LLVMValueRef Aggregate, LLVMValueRef Val, value Indices) argument 1698 llvm_build_gep(LLVMValueRef Pointer, value Indices, value Name, value B) argument 1706 llvm_build_in_bounds_gep(LLVMValueRef Pointer, value Indices, value Name, value B) argument [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 2263 SmallVector<Constant*, 16> Indices; local 2265 Indices.push_back(ConstantInt::get(Int32Ty, i+CV)); 2269 Value *SV = llvm::ConstantVector::get(Indices); 2299 SmallVector<Constant*, 2> Indices; local 2300 Indices.push_back(ConstantInt::get(Int32Ty, 1-Lane)); 2301 Indices.push_back(ConstantInt::get(Int32Ty, Lane)); 2302 SV = llvm::ConstantVector::get(Indices); 2772 SmallVector<Constant*, 16> Indices; local 2774 Indices.push_back(Builder.getInt32(i+vi)); 2775 Indices 2792 SmallVector<Constant*, 16> Indices; local 2811 SmallVector<Constant*, 16> Indices; local 2926 SmallVector<llvm::Constant*, 8> Indices; local 2957 SmallVector<llvm::Constant*, 16> Indices; local 2987 SmallVector<llvm::Constant*, 32> Indices; local [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 1109 // Combine Indices - If the source pointer to this getelementptr instruction 1125 SmallVector<Value*, 8> Indices; 1161 Indices.append(Src->op_begin()+1, Src->op_end()-1); 1162 Indices.push_back(Sum); 1163 Indices.append(GEP.op_begin()+2, GEP.op_end()); 1168 Indices.append(Src->op_begin()+1, Src->op_end()); 1169 Indices.append(GEP.idx_begin()+1, GEP.idx_end()); 1172 if (!Indices.empty()) 1174 GetElementPtrInst::CreateInBounds(Src->getOperand(0), Indices, 1176 GetElementPtrInst::Create(Src->getOperand(0), Indices, GE 1778 SmallVector<Value*, 4> Indices; local [all...] |
/external/lzma/CPP/7zip/Archive/7z/ |
H A D | 7zUpdate.cpp | 322 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 D | LLParser.cpp | 1528 bool LLParser::ParseIndexList(SmallVectorImpl<unsigned> &Indices, 1542 Indices.push_back(Idx); 2444 SmallVector<unsigned, 4> Indices; 2447 ParseIndexList(Indices) || 2453 if (!ExtractValueInst::getIndexedType(Val->getType(), Indices)) 2455 ID.ConstantVal = ConstantExpr::getExtractValue(Val, Indices); 2462 SmallVector<unsigned, 4> Indices; 2467 ParseIndexList(Indices) || 2472 if (!ExtractValueInst::getIndexedType(Val0->getType(), Indices)) 2474 ID.ConstantVal = ConstantExpr::getInsertValue(Val0, Val1, Indices); [all...] |
H A D | LLParser.h | 211 bool ParseIndexList(SmallVectorImpl<unsigned> &Indices,bool &AteExtraComma); 212 bool ParseIndexList(SmallVectorImpl<unsigned> &Indices) { argument 214 if (ParseIndexList(Indices, AteExtraComma)) return true;
|
/external/llvm/lib/Object/ |
H A D | Archive.cpp | 355 const char *Indices = Buf + sizeof(support::ulittle32_t); local 360 *(reinterpret_cast<const support::ulittle16_t*>(Indices)
|
/external/llvm/include/llvm/IR/ |
H A D | DataLayout.h | 374 uint64_t getIndexedOffset(Type *Ty, ArrayRef<Value *> Indices) const;
|
H A D | Instructions.h | 1749 SmallVector<unsigned, 4> Indices; member in class:llvm::ExtractValueInst 1795 inline idx_iterator idx_begin() const { return Indices.begin(); } 1796 inline idx_iterator idx_end() const { return Indices.end(); } 1809 return Indices; 1813 return (unsigned)Indices.size(); 1855 SmallVector<unsigned, 4> Indices; member in class:llvm::InsertValueInst 1906 inline idx_iterator idx_begin() const { return Indices.begin(); } 1907 inline idx_iterator idx_end() const { return Indices.end(); } 1930 return Indices; 1934 return (unsigned)Indices [all...] |
/external/llvm/utils/TableGen/ |
H A D | CodeGenRegisters.cpp | 259 // 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"); local 555 unsigned Dim = Indices [all...] |
/external/clang/lib/AST/ |
H A D | DeclCXX.cpp | 1548 VarDecl **Indices, 1555 memcpy(MyIndices, Indices, NumIndices * sizeof(VarDecl *)); 1563 VarDecl **Indices, 1569 Indices, NumIndices); 1543 CXXCtorInitializer(ASTContext &Context, FieldDecl *Member, SourceLocation MemberLoc, SourceLocation L, Expr *Init, SourceLocation R, VarDecl **Indices, unsigned NumIndices) argument 1558 Create(ASTContext &Context, FieldDecl *Member, SourceLocation MemberLoc, SourceLocation L, Expr *Init, SourceLocation R, VarDecl **Indices, unsigned NumIndices) argument
|