HomeSort by relevance Sort by last modified time
    Searched refs:Indices (Results 1 - 25 of 36) sorted by null

1 2

  /external/llvm/include/llvm/CodeGen/
Analysis.h 34 /// of insertvalue or extractvalue indices that identify a member, return
38 const unsigned *Indices,
43 ArrayRef<unsigned> Indices,
45 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 32 /// of insertvalue or extractvalue indices that identify a member, return
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)
    [all...]
ShadowStackGC.cpp 351 Value *Indices[] = { ConstantInt::get(Type::getInt32Ty(Context), 0),
354 Value* Val = B.CreateGEP(BasePtr, Indices, Name);
364 Value *Indices[] = { ConstantInt::get(Type::getInt32Ty(Context), 0),
366 Value *Val = B.CreateGEP(BasePtr, Indices, Name);
  /external/llvm/include/llvm/Analysis/
ConstantFolding.h 70 /// instruction with the specified operands and indices. The constant result is
86 /// indices (with an *implied* zero pointer index that is not in the list),
90 ArrayRef<Constant*> Indices);
  /external/llvm/lib/Transforms/IPO/
ArgumentPromotion.cpp 73 /// A vector used to hold the indices of a single GEP instruction
252 /// Checks if Indices, or a prefix of Indices, is in Set.
253 static bool PrefixIn(const ArgPromotion::IndicesVector &Indices,
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);
267 /// Mark the given indices (ToMark) as safe in the given set of indice
    [all...]
  /external/llvm/lib/Transforms/Instrumentation/
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/
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/
Loads.cpp 65 SmallVector<Value*, 8> Indices(GEP->op_begin() + 1, GEP->op_end());
67 Indices);
Lint.cpp 611 ArrayRef<unsigned> Indices = CE->getIndices();
612 if (Value *W = FindInsertedValue(CE->getOperand(0), Indices))
ConstantFolding.cpp 571 /// CastGEPIndices - If array indices are not pointer-sized integers,
699 // Otherwise form a regular getelementptr. Recompute the indices so that
770 // the type of what the original indices indexed, add a cast.
    [all...]
  /external/llvm/bindings/ocaml/llvm/
llvm_ocaml.c 709 CAMLprim LLVMValueRef llvm_const_gep(LLVMValueRef ConstantVal, value Indices) {
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, i))
    [all...]
  /external/clang/lib/CodeGen/
CGBuiltin.cpp     [all...]
  /external/llvm/lib/AsmParser/
LLParser.h 190 bool ParseIndexList(SmallVectorImpl<unsigned> &Indices,bool &AteExtraComma);
191 bool ParseIndexList(SmallVectorImpl<unsigned> &Indices) {
193 if (ParseIndexList(Indices, AteExtraComma)) return true;
LLParser.cpp     [all...]
  /external/llvm/include/llvm/Target/
TargetData.h 288 /// the specified indices. This is used to implement getelementptr.
290 uint64_t getIndexedOffset(Type *Ty, ArrayRef<Value *> Indices) const;
  /external/llvm/lib/Transforms/InstCombine/
InstructionCombining.cpp 738 /// or not there is a sequence of GEP indices into the type that will land us at
799 // If this GEP has only 0 indices, it is the same pointer as
801 // the indices.
816 // Eliminate unneeded casts for indices, and replace indices which displace
825 // Skip indices into struct types.
850 // Combine Indices - If the source pointer to this getelementptr instruction
851 // is a getelementptr instruction, combine the indices of the two
    [all...]
  /external/llvm/lib/Transforms/Scalar/
ScalarReplAggregates.cpp 504 // If this is a GEP with a variable indices, we can't handle it.
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);
    [all...]
  /external/llvm/utils/TableGen/
CodeGenRegisters.cpp 243 // Expand any composed subreg indices.
245 // qsub_1 subreg, add a dsub_2 subreg. Keep growing Indices and process
246 // expanded subreg indices recursively.
247 SmallVector<CodeGenSubRegIndex*, 8> Indices = ExplicitSubRegIndices;
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()
    [all...]
  /external/llvm/lib/VMCore/
ConstantsContext.h 173 Indices(IdxList) {
177 /// Indices - These identify which value to extract.
178 const SmallVector<unsigned, 4> Indices;
199 Indices(IdxList) {
204 /// Indices - These identify the position for the insertion.
205 const SmallVector<unsigned, 4> Indices;
323 operands(ops.begin(), ops.end()), indices(inds.begin(), inds.end()) {}
328 SmallVector<unsigned, 4> indices; member in struct:llvm::ExprMapKeyType
334 this->indices == that.indices;
    [all...]
Instructions.cpp     [all...]
  /external/llvm/include/llvm/
Instructions.h 705 assert(Ty && "Invalid GetElementPtrInst indices for type!");
717 /// list of indices. The first ctor can optionally insert before an existing
774 /// Null is returned if the indices are invalid for the specified
834 /// hasAllZeroIndices - Return true if all of the indices of this GEP are
839 /// hasAllConstantIndices - Return true if all of the indices of this GEP are
    [all...]
  /external/clang/lib/AST/
DeclCXX.cpp     [all...]
  /external/llvm/include/llvm-c/
Core.h     [all...]
  /external/llvm/lib/ExecutionEngine/
ExecutionEngine.cpp 559 SmallVector<Value*, 8> Indices(CE->op_begin()+1, CE->op_end());
560 uint64_t Offset = TD->getIndexedOffset(Op0->getType(), Indices);
    [all...]

Completed in 696 milliseconds

1 2