Home
last modified time | relevance | path

Searched refs:IndexVec (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/rand/src/seq/
Dindex.rs33 pub enum IndexVec { enum
40 impl IndexVec { implementation
45 IndexVec::U32(ref v) => v.len(), in len()
46 IndexVec::USize(ref v) => v.len(), in len()
54 IndexVec::U32(ref v) => v.is_empty(), in is_empty()
55 IndexVec::USize(ref v) => v.is_empty(), in is_empty()
66 IndexVec::U32(ref v) => v[index] as usize, in index()
67 IndexVec::USize(ref v) => v[index], in index()
75 IndexVec::U32(v) => v.into_iter().map(|i| i as usize).collect(), in into_vec()
76 IndexVec::USize(v) => v, in into_vec()
[all …]
/external/rust/crates/rand/
DCHANGELOG.md50 - Implement `IntoIterator` for `IndexVec`, replacing the `into_iter` method (#1007)
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp17710 SmallVector<unsigned, 8> IndexVec(NumElems, 0); in reduceBuildVecToShuffle() local
17716 IndexVec[i] = Index; in reduceBuildVecToShuffle()
17739 VectorMask[i] = (IndexVec[i] < SplitSize) ? 1 : 2; in reduceBuildVecToShuffle()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp18976 SmallVector<unsigned, 8> IndexVec(NumElems, 0); in reduceBuildVecToShuffle() local
18982 IndexVec[i] = Index; in reduceBuildVecToShuffle()
19005 VectorMask[i] = (IndexVec[i] < SplitSize) ? 1 : 2; in reduceBuildVecToShuffle()