/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
|
/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/CodeGen/ |
H A D | Analysis.cpp | 36 const unsigned *Indices, 40 if (Indices && Indices == IndicesEnd) 49 if (Indices && *Indices == unsigned(EI - EB)) 50 return ComputeLinearIndex(*EI, Indices+1, IndicesEnd, CurIndex); 59 if (Indices && *Indices == i) 60 return ComputeLinearIndex(EltTy, Indices+1, IndicesEnd, CurIndex); 35 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);
|
/external/llvm/include/llvm/Analysis/ |
H A D | ConstantFolding.h | 90 ArrayRef<Constant*> Indices);
|
/external/llvm/lib/Transforms/IPO/ |
H A D | ArgumentPromotion.cpp | 252 /// Checks if Indices, or a prefix of Indices, is in Set. 253 static bool PrefixIn(const ArgPromotion::IndicesVector &Indices, argument 256 Low = Set.upper_bound(Indices); 259 // Low is now the last element smaller than or equal to Indices. This means 260 // it points to a prefix of Indices (possibly Indices itself), if such 264 return Low != Set.end() && IsPrefix(*Low, Indices); 269 /// is already a prefix of Indices in Safe, Indices ar 344 IndicesVector Indices; local 553 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/Target/ |
H A D | TargetData.cpp | 598 ArrayRef<Value *> Indices) const { 604 TI = gep_type_begin(ptrTy, Indices); 605 for (unsigned CurIDX = 0, EndIDX = Indices.size(); CurIDX != EndIDX; 608 assert(Indices[CurIDX]->getType() == 611 unsigned FieldNo = cast<ConstantInt>(Indices[CurIDX])->getZExtValue(); 626 if (int64_t arrayIdx = cast<ConstantInt>(Indices[CurIDX])->getSExtValue())
|
/external/llvm/lib/Analysis/ |
H A D | Loads.cpp | 65 SmallVector<Value*, 8> Indices(GEP->op_begin() + 1, GEP->op_end()); 67 Indices);
|
H A D | Lint.cpp | 611 ArrayRef<unsigned> Indices = CE->getIndices(); local 612 if (Value *W = FindInsertedValue(CE->getOperand(0), Indices))
|
H A D | ConstantFolding.cpp | 1077 ArrayRef<Constant*> Indices) { 1080 for (unsigned i = 0, e = Indices.size(); i != e; ++i) { 1081 C = C->getAggregateElement(Indices[i]); 1076 ConstantFoldLoadThroughGEPIndices(Constant *C, ArrayRef<Constant*> Indices) argument
|
/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/llvm/lib/AsmParser/ |
H A D | LLParser.h | 190 bool ParseIndexList(SmallVectorImpl<unsigned> &Indices,bool &AteExtraComma); 191 bool ParseIndexList(SmallVectorImpl<unsigned> &Indices) { argument 193 if (ParseIndexList(Indices, AteExtraComma)) return true;
|
H A D | LLParser.cpp | 1243 bool LLParser::ParseIndexList(SmallVectorImpl<unsigned> &Indices, 1257 Indices.push_back(Idx); 2151 SmallVector<unsigned, 4> Indices; 2154 ParseIndexList(Indices) || 2160 if (!ExtractValueInst::getIndexedType(Val->getType(), Indices)) 2162 ID.ConstantVal = ConstantExpr::getExtractValue(Val, Indices); 2169 SmallVector<unsigned, 4> Indices; 2174 ParseIndexList(Indices) || 2179 if (!ExtractValueInst::getIndexedType(Val0->getType(), Indices)) 2181 ID.ConstantVal = ConstantExpr::getInsertValue(Val0, Val1, Indices); [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 1817 SmallVector<Constant*, 16> Indices; local 1819 Indices.push_back(ConstantInt::get(Int32Ty, i+CV)); 1823 Value *SV = llvm::ConstantVector::get(Indices); 1853 SmallVector<Constant*, 2> Indices; local 1854 Indices.push_back(ConstantInt::get(Int32Ty, 1-Lane)); 1855 Indices.push_back(ConstantInt::get(Int32Ty, Lane)); 1856 SV = llvm::ConstantVector::get(Indices); 2314 SmallVector<Constant*, 16> Indices; local 2316 Indices.push_back(Builder.getInt32(i+vi)); 2317 Indices 2334 SmallVector<Constant*, 16> Indices; local 2353 SmallVector<Constant*, 16> Indices; local 2468 SmallVector<llvm::Constant*, 8> Indices; local 2499 SmallVector<llvm::Constant*, 16> Indices; local 2529 SmallVector<llvm::Constant*, 32> Indices; local [all...] |
/external/llvm/include/llvm/Target/ |
H A D | TargetData.h | 290 uint64_t getIndexedOffset(Type *Ty, ArrayRef<Value *> Indices) const;
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 850 // Combine Indices - If the source pointer to this getelementptr instruction 866 SmallVector<Value*, 8> Indices; 902 Indices.append(Src->op_begin()+1, Src->op_end()-1); 903 Indices.push_back(Sum); 904 Indices.append(GEP.op_begin()+2, GEP.op_end()); 909 Indices.append(Src->op_begin()+1, Src->op_end()); 910 Indices.append(GEP.idx_begin()+1, GEP.idx_end()); 913 if (!Indices.empty()) 915 GetElementPtrInst::CreateInBounds(Src->getOperand(0), Indices, 917 GetElementPtrInst::Create(Src->getOperand(0), Indices, GE 1444 SmallVector<Value*, 4> Indices; local [all...] |
/external/llvm/lib/Transforms/Scalar/ |
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); 1742 SmallVector<Value*, 8> Indices(GEPI->op_begin() + 1, GEPI->op_end()); 1747 Indices.pop_back(); 1748 Offset += TD->getIndexedOffset(GEPI->getPointerOperandType(), Indices); 2051 SmallVector<Value*, 8> Indices(GEP [all...] |
/external/llvm/utils/TableGen/ |
H A D | CodeGenRegisters.cpp | 245 // qsub_1 subreg, add a dsub_2 subreg. Keep growing Indices and process 247 SmallVector<CodeGenSubRegIndex*, 8> Indices = ExplicitSubRegIndices; local 248 for (unsigned i = 0; i != Indices.size(); ++i) { 249 CodeGenSubRegIndex *Idx = Indices[i]; 267 Indices.push_back(I->second); 273 // Work backwards in the Indices vector in order to compose subregs bottom-up. 287 while (!Indices.empty() && !Orphans.empty()) { 288 CodeGenSubRegIndex *Idx = Indices.pop_back_val(); 584 std::vector<Record*> Indices = Def->getValueAsListOfDefs("SubRegIndices"); local 585 unsigned Dim = Indices [all...] |
/external/llvm/lib/VMCore/ |
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
|
H A D | Instructions.cpp | 1655 Indices.append(Idxs.begin(), Idxs.end()); 1662 Indices(IVI.Indices) { 1679 Indices.append(Idxs.begin(), Idxs.end()); 1685 Indices(EVI.Indices) {
|
/external/llvm/include/llvm/ |
H A D | Instructions.h | 1733 SmallVector<unsigned, 4> Indices; member in class:llvm::ExtractValueInst 1779 inline idx_iterator idx_begin() const { return Indices.begin(); } 1780 inline idx_iterator idx_end() const { return Indices.end(); } 1793 return Indices; 1797 return (unsigned)Indices.size(); 1840 SmallVector<unsigned, 4> Indices; member in class:llvm::InsertValueInst 1891 inline idx_iterator idx_begin() const { return Indices.begin(); } 1892 inline idx_iterator idx_end() const { return Indices.end(); } 1915 return Indices; 1919 return (unsigned)Indices [all...] |
/external/clang/lib/AST/ |
H A D | DeclCXX.cpp | 1546 VarDecl **Indices, 1553 memcpy(MyIndices, Indices, NumIndices * sizeof(VarDecl *)); 1561 VarDecl **Indices, 1567 Indices, NumIndices); 1541 CXXCtorInitializer(ASTContext &Context, FieldDecl *Member, SourceLocation MemberLoc, SourceLocation L, Expr *Init, SourceLocation R, VarDecl **Indices, unsigned NumIndices) argument 1556 Create(ASTContext &Context, FieldDecl *Member, SourceLocation MemberLoc, SourceLocation L, Expr *Init, SourceLocation R, VarDecl **Indices, unsigned NumIndices) argument
|
/external/llvm/include/llvm-c/ |
H A D | Core.h | 2399 LLVMValueRef *Indices, unsigned NumIndices, 2402 LLVMValueRef *Indices, unsigned NumIndices,
|
/external/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 559 SmallVector<Value*, 8> Indices(CE->op_begin()+1, CE->op_end()); 560 uint64_t Offset = TD->getIndexedOffset(Op0->getType(), Indices);
|