/external/llvm/include/llvm/CodeGen/ |
Analysis.h | 33 /// of insertvalue or extractvalue indices that identify a member, return 37 const unsigned *Indices, 42 ArrayRef<unsigned> Indices, 44 return ComputeLinearIndex(Ty, Indices.begin(), Indices.end(), CurIndex);
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
metafunctions.cpp | 149 namespace Indices { 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/ |
Analysis.cpp | 31 /// of insertvalue or extractvalue indices that identify a member, return 35 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) [all...] |
ShadowStackGC.cpp | 340 Value *Indices[] = { ConstantInt::get(Type::getInt32Ty(Context), 0), 343 Value* Val = B.CreateGEP(BasePtr, Indices, Indices + 3, Name); 353 Value *Indices[] = { ConstantInt::get(Type::getInt32Ty(Context), 0), 355 Value *Val = B.CreateGEP(BasePtr, Indices, Indices + 2, Name);
|
/external/llvm/lib/Transforms/Instrumentation/ |
ProfilingUtils.cpp | 119 std::vector<Constant*> Indices(2); 120 Indices[0] = Constant::getNullValue(Type::getInt32Ty(Context)); 121 Indices[1] = ConstantInt::get(Type::getInt32Ty(Context), CounterNum); 123 ConstantExpr::getGetElementPtr(CounterArray, &Indices[0], Indices.size());
|
/external/llvm/lib/Transforms/IPO/ |
ArgumentPromotion.cpp | 73 /// A vector used to hold the indices of a single GEP instruction 255 /// Checks if Indices, or a prefix of Indices, is in Set. 256 static bool PrefixIn(const ArgPromotion::IndicesVector &Indices, 259 Low = Set.upper_bound(Indices); 262 // Low is now the last element smaller than or equal to Indices. This means 263 // it points to a prefix of Indices (possibly Indices itself), if such 267 return Low != Set.end() && IsPrefix(*Low, Indices); 270 /// Mark the given indices (ToMark) as safe in the given set of indice [all...] |
/external/llvm/lib/Target/ |
TargetData.cpp | 525 ArrayRef<Value *> Indices) const { 531 TI = gep_type_begin(ptrTy, Indices); 532 for (unsigned CurIDX = 0, EndIDX = Indices.size(); CurIDX != EndIDX; 535 assert(Indices[CurIDX]->getType() == 538 unsigned FieldNo = cast<ConstantInt>(Indices[CurIDX])->getZExtValue(); 553 if (int64_t arrayIdx = cast<ConstantInt>(Indices[CurIDX])->getSExtValue())
|
/external/llvm/lib/Analysis/ |
Loads.cpp | 64 SmallVector<Value*, 8> Indices(GEP->op_begin() + 1, GEP->op_end()); 66 Indices);
|
Lint.cpp | 608 ArrayRef<unsigned> Indices = CE->getIndices(); 609 if (Value *W = FindInsertedValue(CE->getOperand(0), Indices))
|
/external/llvm/bindings/ocaml/llvm/ |
llvm_ocaml.c | 547 CAMLprim LLVMValueRef llvm_const_gep(LLVMValueRef ConstantVal, value Indices) { 548 return LLVMConstGEP(ConstantVal, (LLVMValueRef*) Op_val(Indices), 549 Wosize_val(Indices)); 554 value Indices) { 555 return LLVMConstInBoundsGEP(ConstantVal, (LLVMValueRef*) Op_val(Indices), 556 Wosize_val(Indices)); 561 value Indices) { 562 CAMLparam1(Indices); 563 int size = Wosize_val(Indices); 569 idxs[i] = Int_val(Field(Indices, i)) [all...] |
/external/llvm/utils/TableGen/ |
CodeGenRegisters.cpp | 55 std::vector<Record*> Indices = TheDef->getValueAsListOfDefs("SubRegIndices"); 56 if (SubList.size() != Indices.size()) 63 if (!SubRegs.insert(std::make_pair(Indices[i], SR)).second) 64 throw TGError(TheDef->getLoc(), "SubRegIndex " + Indices[i]->getName() + 85 Orphans.push_back(Orphan(SI->second, Indices[i], SI->first)); 106 // Resolve list of subreg indices into R2. 122 // Insert composite index. Allow overriding inherited indices etc. 146 std::vector<Record*> Indices = TheDef->getValueAsListOfDefs("SubRegIndices"); 147 for (unsigned i = 0, e = Indices.size(); i != e; ++i) { 148 CodeGenRegister *SR = SubRegs.find(Indices[i])->second [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstructionCombining.cpp | 680 /// or not there is a sequence of GEP indices into the type that will land us at 750 // Eliminate unneeded casts for indices, and replace indices which displace 759 // Skip indices into struct types. 783 // Combine Indices - If the source pointer to this getelementptr instruction 784 // is a getelementptr instruction, combine the indices of the two 789 // If this GEP has only 0 indices, it is the same pointer as 791 // the indices. 805 SmallVector<Value*, 8> Indices; 841 Indices.append(Src->op_begin()+1, Src->op_end()-1) [all...] |
/external/llvm/lib/AsmParser/ |
LLParser.h | 183 bool ParseIndexList(SmallVectorImpl<unsigned> &Indices,bool &AteExtraComma); 184 bool ParseIndexList(SmallVectorImpl<unsigned> &Indices) { 186 if (ParseIndexList(Indices, AteExtraComma)) return true;
|
LLParser.cpp | [all...] |
/external/llvm/include/llvm/Target/ |
TargetData.h | 267 /// the specified indices. This is used to implement getelementptr. 269 uint64_t getIndexedOffset(Type *Ty, ArrayRef<Value *> Indices) const;
|
/external/llvm/lib/VMCore/ |
ConstantsContext.h | 164 Indices(IdxList) { 168 /// Indices - These identify which value to extract. 169 const SmallVector<unsigned, 4> Indices; 189 Indices(IdxList) { 194 /// Indices - These identify the position for the insertion. 195 const SmallVector<unsigned, 4> Indices; 310 operands(ops.begin(), ops.end()), indices(inds.begin(), inds.end()) {} 315 SmallVector<unsigned, 4> indices; member in struct:llvm::ExprMapKeyType 321 this->indices == that.indices; [all...] |
Constants.cpp | 759 // The remaining indices must be compile-time known integers within the 770 // All the indices checked out. 782 return EVCE->Indices; 784 return cast<InsertValueConstantExpr>(this)->Indices; [all...] |
/external/clang/lib/CodeGen/ |
CGBuiltin.cpp | [all...] |
CGExpr.cpp | [all...] |
/external/llvm/include/llvm/ |
Instructions.h | 279 assert(Ty && "Invalid GetElementPtrInst indices for type!"); 315 /// Null is returned if the indices are invalid for the specified 336 /// list of indices. The first ctor can optionally insert before an existing 446 /// Null is returned if the indices are invalid for the specified 501 /// hasAllZeroIndices - Return true if all of the indices of this GEP are 506 /// hasAllConstantIndices - Return true if all of the indices of this GEP are [all...] |
/external/llvm/lib/Transforms/Scalar/ |
ScalarReplAggregates.cpp | 512 // If this is a GEP with a variable indices, we can't handle it. 517 SmallVector<Value*, 8> Indices(GEP->op_begin()+1, GEP->op_end()); 519 Indices); 590 SmallVector<Value*, 8> Indices(GEP->op_begin()+1, GEP->op_end()); 592 Indices); [all...] |
/external/clang/lib/AST/ |
DeclCXX.cpp | [all...] |
/external/clang/include/clang/AST/ |
DeclCXX.h | [all...] |
/external/llvm/include/llvm-c/ |
Core.h | [all...] |
/external/llvm/lib/ExecutionEngine/ |
ExecutionEngine.cpp | 551 SmallVector<Value*, 8> Indices(CE->op_begin()+1, CE->op_end()); 552 uint64_t Offset = TD->getIndexedOffset(Op0->getType(), Indices); [all...] |