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

1 2 3 4 5 6

  /external/swiftshader/third_party/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);
  /device/linaro/bootloader/edk2/OvmfPkg/Include/Library/
VirtioLib.h 96 @param[out] Indices The DESC_INDICES structure to initialize.
103 OUT DESC_INDICES *Indices
119 The caller is responsible for initializing *Indices with VirtioPrepare()
137 @param[in,out] Indices Indices->HeadDescIdx is not accessed.
138 On input, Indices->NextDescIdx identifies the next
140 Indices->NextDescIdx is incremented by one, modulo
151 IN OUT DESC_INDICES *Indices
166 @param[in] Indices Indices->NextDescIdx is not accessed.
    [all...]
  /external/llvm/include/llvm/CodeGen/
Analysis.h 43 /// extractvalue indices that identify a member, return the linearized index of
47 /// \param Ty is the type indexed by \p Indices.
48 /// \param Indices is an optional pointer in the indices list to the current
50 /// \param IndicesEnd is the end of the indices list.
53 /// \returns \p CurIndex plus the linear index in \p Ty the indices list.
55 const unsigned *Indices,
60 ArrayRef<unsigned> Indices,
62 return ComputeLinearIndex(Ty, Indices.begin(), Indices.end(), CurIndex)
    [all...]
  /device/linaro/bootloader/edk2/OvmfPkg/Library/VirtioLib/
VirtioLib.c 153 @param[out] Indices The DESC_INDICES structure to initialize.
160 OUT DESC_INDICES *Indices
175 Indices->HeadDescIdx = 0;
176 Indices->NextDescIdx = Indices->HeadDescIdx;
192 The caller is responsible for initializing *Indices with VirtioPrepare()
210 @param[in,out] Indices Indices->HeadDescIdx is not accessed.
211 On input, Indices->NextDescIdx identifies the next
213 Indices->NextDescIdx is incremented by one, modulo
    [all...]
  /external/llvm/lib/CodeGen/
InterleavedAccessPass.cpp 124 // Check all potential start indices from 0 to (Factor - 1).
231 SmallVector<unsigned, 4> Indices;
232 Indices.push_back(Index);
246 Indices.push_back(Index);
257 if (!TLI->lowerInterleavedLoad(LI, Shuffles, Indices, Factor))
296 // Inspect the indices of the shufflevector instruction. If the shuffle
299 SmallVector<int, 4> Indices;
300 Shuffle->getShuffleMask(Indices);
301 for (unsigned I = 0; I < Indices.size(); ++I)
302 if (Indices[I] == Index)
    [all...]
Analysis.cpp 35 /// by recursing and accumulating CurIndex as long as there are indices in the
38 const unsigned *Indices,
42 if (Indices && Indices == IndicesEnd)
51 if (Indices && *Indices == unsigned(EI - EB))
52 return ComputeLinearIndex(*EI, Indices+1, IndicesEnd, CurIndex);
55 assert(!Indices && "Unexpected out of bound");
64 if (Indices) {
65 assert(*Indices < NumElts && "Unexpected out of bound")
    [all...]
  /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/swiftshader/third_party/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...]
  /external/eigen/unsupported/Eigen/CXX11/src/Tensor/
TensorDimensions.h 44 static inline Index run(array<Index, NumIndices> const& indices,
47 return array_get<RowMajor ? n - 1 : (NumIndices - n)>(indices) +
49 fixed_size_tensor_index_linearization_helper<Index, NumIndices, n - 1, RowMajor>::run(indices, dimensions);
92 template <typename std::ptrdiff_t... Indices>
93 struct Sizes : internal::numeric_list<std::ptrdiff_t, Indices...> {
94 typedef internal::numeric_list<std::ptrdiff_t, Indices...> Base;
95 static const std::ptrdiff_t total_size = internal::arg_prod(Indices...);
102 return internal::arg_prod(Indices...);
107 explicit EIGEN_DEVICE_FUNC Sizes(const array<DenseIndex, Base::count>& /*indices*/) {
127 size_t IndexOfColMajor(const array<DenseIndex, Base::count>& indices) const
    [all...]
TensorContraction.h 63 typedef Indices_ Indices;
74 template<typename Indices, typename LhsXprType, typename RhsXprType>
75 class TensorContractionOp : public TensorBase<TensorContractionOp<Indices, LhsXprType, RhsXprType>, ReadOnlyAccessors>
86 const LhsXprType& lhs, const RhsXprType& rhs, const Indices& dims)
90 const Indices& indices() const { return m_indices; } function in class:Eigen::TensorContractionOp
104 const Indices m_indices;
111 typedef typename internal::traits<Derived>::Indices Indices;
116 typedef TensorContractionOp<Indices, LeftArgType, RightArgType> XprType
    [all...]
  /external/clang/lib/Format/
SortJavaScriptImports.cpp 143 SmallVector<unsigned, 16> Indices;
145 Indices.push_back(i);
146 std::stable_sort(Indices.begin(), Indices.end(),
150 bool ReferencesInOrder = std::is_sorted(Indices.begin(), Indices.end());
154 for (unsigned i = 0, e = Indices.size(); i != e; ++i) {
155 JsModuleReference Reference = References[Indices[i]];
164 (Reference.IsExport != References[Indices[i + 1]].IsExport ||
165 Reference.Category != References[Indices[i + 1]].Category)
    [all...]
  /external/llvm/lib/Target/WebAssembly/
WebAssemblyFixIrreducibleControlFlow.cpp 198 DenseMap<MachineBasicBlock *, unsigned> Indices;
203 auto Pair = Indices.insert(std::make_pair(MBB, 0));
230 if (!Indices.count(Succ))
243 .addImm(Indices[Succ]);
252 if (Op.isMBB() && Indices.count(Op.getMBB()))
WebAssemblyStoreResults.cpp 91 SmallVector<SlotIndex, 4> Indices;
121 Indices.push_back(WhereIdx.getRegSlot());
127 LIS.extendToIndices(*ToLI, Indices);
  /external/llvm/lib/Analysis/
TypeMetadataUtils.cpp 54 SmallVector<Value *, 8> Indices(GEP->op_begin() + 1, GEP->op_end());
56 GEP->getSourceElementType(), Indices);
  /external/llvm/lib/Transforms/IPO/
ArgumentPromotion.cpp 92 /// A vector used to hold the indices of a single GEP instruction
402 /// Checks if Indices, or a prefix of Indices, is in Set.
403 static bool PrefixIn(const IndicesVector &Indices,
406 Low = Set.upper_bound(Indices);
409 // Low is now the last element smaller than or equal to Indices. This means
410 // it points to a prefix of Indices (possibly Indices itself), if such
414 return Low != Set.end() && IsPrefix(*Low, Indices);
417 /// Mark the given indices (ToMark) as safe in the given set of indice
    [all...]
  /external/swiftshader/third_party/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/swiftshader/third_party/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);
  /frameworks/base/libs/hwui/
Glop.h 96 struct Indices {
98 const void* indices; member in struct:android::uirenderer::Glop::Mesh::Indices
99 } indices; member in struct:android::uirenderer::Glop::Mesh
  /external/swiftshader/third_party/LLVM/lib/Target/
TargetData.cpp 533 ArrayRef<Value *> Indices) const {
539 TI = gep_type_begin(ptrTy, Indices);
540 for (unsigned CurIDX = 0, EndIDX = Indices.size(); CurIDX != EndIDX;
543 assert(Indices[CurIDX]->getType() ==
546 unsigned FieldNo = cast<ConstantInt>(Indices[CurIDX])->getZExtValue();
561 if (int64_t arrayIdx = cast<ConstantInt>(Indices[CurIDX])->getSExtValue())
  /external/llvm/lib/Target/Mips/
MipsSEISelLowering.cpp     [all...]
  /external/swiftshader/third_party/LLVM/lib/Analysis/
Loads.cpp 64 SmallVector<Value*, 8> Indices(GEP->op_begin() + 1, GEP->op_end());
66 Indices);
  /frameworks/compile/libbcc/lib/
RSX86TranslateGEPPass.cpp 65 // The difference is that this function handles non-constant array indices and
110 llvm::Value *Indices[1] = {computeGEPOffset(GEP)};
114 llvm::Type::getInt8Ty(*Context), Int8Ptr, llvm::makeArrayRef(Indices),
  /external/llvm/include/llvm/Analysis/
ConstantFolding.h 99 /// instruction with the specified operands and indices. The constant result is
105 /// specified operands and indices. The constant result is returned if
111 /// specified operands and indices. The constant result is returned if
126 /// indices (with an *implied* zero pointer index that is not in the list),
130 ArrayRef<Constant *> Indices);
  /external/llvm/lib/Target/NVPTX/
NVPTXFavorNonGenericAddrSpaces.cpp 159 SmallVector<Value *, 8> Indices(GEP->idx_begin(), GEP->idx_end());
162 // GEP = gep (addrspacecast X), indices
164 // NewGEP = gep X, indices
167 GEP->getSourceElementType(), Cast->getOperand(0), Indices,
180 Indices, GEP->isInBounds());
  /external/swiftshader/third_party/LLVM/utils/TableGen/
CodeGenRegisters.cpp 56 std::vector<Record*> Indices = TheDef->getValueAsListOfDefs("SubRegIndices");
57 if (SubList.size() != Indices.size())
64 if (!SubRegs.insert(std::make_pair(Indices[i], SR)).second)
65 throw TGError(TheDef->getLoc(), "SubRegIndex " + Indices[i]->getName() +
86 Orphans.push_back(Orphan(SI->second, Indices[i], SI->first));
107 // Resolve list of subreg indices into R2.
123 // Insert composite index. Allow overriding inherited indices etc.
147 std::vector<Record*> Indices = TheDef->getValueAsListOfDefs("SubRegIndices");
148 for (unsigned i = 0, e = Indices.size(); i != e; ++i) {
149 CodeGenRegister *SR = SubRegs.find(Indices[i])->second
    [all...]

Completed in 929 milliseconds

1 2 3 4 5 6