Searched refs:indices (Results 1 - 20 of 20) sorted by relevance

/freebsd-13-stable/sys/dev/nvdimm/
H A Dnvdimm.c248 struct nvdimm_label_index *indices, *index1; local
263 indices = malloc(2 * index_size, M_NVDIMM, M_WAITOK);
264 index1 = (void *)((uint8_t *)indices + index_size);
265 error = read_label_area(nv, (void *)indices, 0, 2 * index_size);
267 free(indices, M_NVDIMM);
270 index_0_valid = label_index_is_valid(indices, num_labels, index_size,
272 index_1_valid = label_index_is_valid(indices, num_labels, index_size,
275 free(indices, M_NVDIMM);
279 if (((int)indices->seq - (int)index1->seq + 3) % 3 == 1) {
293 bcopy(index_0_valid ? indices
[all...]
/freebsd-13-stable/contrib/llvm-project/libcxx/src/
H A Dhash.cpp75 // potential primes = 210*k + indices[i], k >= 1
78 const unsigned indices[] = member in namespace:__anon2613
180 // Start searching list of potential primes: L * k0 + indices[in]
181 const size_t M = sizeof(indices) / sizeof(indices[0]);
185 size_t in = static_cast<size_t>(std::lower_bound(indices, indices + M, n - k0 * L)
186 - indices);
187 n = L * k0 + indices[in];
557 n = L * k0 + indices[i
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DConstantInitBuilder.cpp182 llvm::SmallVectorImpl<llvm::Constant*> &indices,
186 Parent->getGEPIndicesTo(indices, Begin);
190 assert(indices.empty());
191 indices.push_back(llvm::ConstantInt::get(Builder.CGM.Int32Ty, 0));
195 // We have to use i32 here because struct GEPs demand i32 indices.
197 indices.push_back(llvm::ConstantInt::get(Builder.CGM.Int32Ty,
181 getGEPIndicesTo( llvm::SmallVectorImpl<llvm::Constant*> &indices, size_t position) const argument
H A DCGExprAgg.cpp486 llvm::Value *indices[] = { zero, zero }; local
488 Builder.CreateInBoundsGEP(DestPtr.getPointer(), indices, "arrayinit.begin");
1664 llvm::Value *indices[] = {zero, zero}; local
1665 llvm::Value *begin = Builder.CreateInBoundsGEP(destPtr.getPointer(), indices,
H A DCGExpr.cpp2229 // FIXME: since we're shuffling with undef, can we just use the indices
3506 ArrayRef<llvm::Value*> indices,
3512 return CGF.EmitCheckedInBoundsGEP(ptr, indices, signedIndices,
3516 return CGF.Builder.CreateGEP(ptr, indices, name);
3581 ArrayRef<llvm::Value *> indices,
3587 // All the indices except that last must be zero.
3589 for (auto idx : indices.drop_back())
3595 // the thing that the indices are expressed in terms of.
3603 getArrayElementAlign(addr.getAlignment(), indices.back(), eltSize);
3606 auto LastIndex = dyn_cast<llvm::ConstantInt>(indices
3504 emitArraySubscriptGEP(CodeGenFunction &CGF, llvm::Value *ptr, ArrayRef<llvm::Value*> indices, bool inbounds, bool signedIndices, SourceLocation loc, const llvm::Twine &name = �) argument
3580 emitArraySubscriptGEP(CodeGenFunction &CGF, Address addr, ArrayRef<llvm::Value *> indices, QualType eltType, bool inbounds, bool signedIndices, SourceLocation loc, QualType *arrayType = nullptr, const Expr *Base = nullptr, const llvm::Twine &name = �) argument
[all...]
/freebsd-13-stable/contrib/googletest/googlemock/scripts/generator/cpp/
H A Dast.py995 indices = name
997 indices = return_type[0]
1062 return self._CreateVariable(indices, name.name, indices.name,
1075 return self._CreateVariable(indices, real_name.name, indices.name,
1109 return Method(indices.start, indices.end, name.name, in_class,
1112 return Function(indices.start, indices
[all...]
/freebsd-13-stable/sys/kern/
H A Dkern_lockf.c157 static int graph_add_indices(int *indices, int n,
159 static int graph_assign_indices(struct owner_graph *g, int *indices,
2192 graph_add_indices(int *indices, int n, struct owner_vertex_list *set) argument
2199 i > 0 && indices[i - 1] > v->v_order; i--)
2202 indices[j + 1] = indices[j];
2203 indices[i] = v->v_order;
2211 graph_assign_indices(struct owner_graph *g, int *indices, int nextunused, argument
2223 vlowest->v_order = indices[nextunused];
2238 int *indices; local
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/CodeGen/
H A DConstantInitBuilder.h321 llvm::SmallVectorImpl<llvm::Constant*> &indices) {
322 getGEPIndicesTo(indices, Builder.Buffer.size());
323 return indices;
331 void getGEPIndicesTo(llvm::SmallVectorImpl<llvm::Constant*> &indices,
320 getGEPIndicesToCurrentPosition( llvm::SmallVectorImpl<llvm::Constant*> &indices) argument
/freebsd-13-stable/sys/dev/extres/clk/
H A Dclk.h151 const char ***out_names, uint32_t **indices);
H A Dclk.c1519 * Get "clock-output-names" and (optional) "clock-indices" lists.
1526 uint32_t **indices)
1531 *indices = NULL;
1540 if (!OF_hasprop(node, "clock-indices"))
1542 rv = OF_getencprop_alloc_multi(node, "clock-indices", sizeof (uint32_t),
1543 (void **)indices);
1546 "'clock-indices' differs\n");
1548 OF_prop_free(*indices);
1525 clk_parse_ofw_out_names(device_t dev, phandle_t node, const char ***out_names, uint32_t **indices) argument
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp291 RecordIndices &indices = record_indices[tag.asTag().getUniqueName()]; local
293 indices.forward = *ti;
295 indices.full = *ti;
297 if (indices.full != TypeIndex::None() &&
298 indices.forward != TypeIndex::None()) {
299 forward_to_full[indices.forward] = indices.full;
300 full_to_forward[indices.full] = indices.forward;
349 // Now that we know the forward -> full mapping of all type indices, w
[all...]
/freebsd-13-stable/crypto/openssh/
H A Dsftp.c937 u_int i, j, nentries, *indices = NULL, c = 1; local
985 * an array of indices into it and sort that. For the usual
986 * unsorted case, the indices are just the identity 1=1, 2=2, etc.
990 indices = calloc(nentries, sizeof(*indices));
992 indices[i] = i;
997 qsort(indices, nentries, sizeof(*indices), sglob_comp);
1002 i = indices[j];
1030 free(indices);
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp285 SmallVector<Value *, 8> indices(op_cursor, op_end);
290 m_target_data.getIndexedOffsetInType(src_elem_ty, indices);
980 SmallVector<Value *, 8> indices(gep_inst->idx_begin(),
985 for (IndexIterator ii = indices.begin(), ie = indices.end(); ii != ie;
/freebsd-13-stable/contrib/llvm-project/lldb/bindings/interface/
H A DSBData.i150 for x in range(*key.indices(self.__len__())):
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRForTarget.cpp1579 // OperandList[1]... are indices
1604 ArrayRef<Value *> indices(index_vector);
1607 nullptr, ptr, indices, "",
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h897 assert(Ty && "Invalid GetElementPtrInst indices for type!");
911 /// list of indices. The first ctor can optionally insert before an existing
1022 /// Null is returned if the indices are invalid for the specified
1041 inline iterator_range<op_iterator> indices() { function in class:llvm::GetElementPtrInst
1045 inline iterator_range<const_op_iterator> indices() const { function in class:llvm::GetElementPtrInst
1098 /// Return true if all of the indices of this GEP are
1103 /// Return true if all of the indices of this GEP are
2287 /// value and a list of indices. The first ctor can optionally insert before
2325 /// Null is returned if the indices are invalid for the specified type.
2332 inline iterator_range<idx_iterator> indices() cons function in class:llvm::CallInst::ShuffleVectorInst::ExtractValueInst
2453 inline iterator_range<idx_iterator> indices() const { function in class:llvm::CallInst::ShuffleVectorInst::InsertValueInst
[all...]
/freebsd-13-stable/contrib/googletest/googlemock/include/gmock/
H A Dgmock-generated-matchers.h259 // Prints the indices of the selected fields.
262 const int indices[10] = { k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 }; local
264 if (indices[i] < 0)
270 *os << "#" << indices[i]; local
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.h246 /// Hold the indices to generate specific scalar instructions. Null indicates
869 /// Hold VPValues for the base and indices of the GEP.
882 for (auto Index : enumerate(GEP->indices()))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp949 for (auto Idx : EVI->indices())
952 for (auto Idx : IVI->indices())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp2979 // Check the preceding GEP to identify non-const indices.
2981 if (!all_of(GEP->indices(), [](Value *V) { return isa<Constant>(V); }))
3860 // operation will use 16 x 64 indices which do not fit in a zmm and needs
4241 // \p Indices contains the indices for a strided load: when the
4243 // If Indices is empty (or if the number of indices is equal to the size
4364 // \p Indices contains indices for strided load.

Completed in 501 milliseconds