Searched refs:PointerOps (Results 1 – 10 of 10) sorted by relevance
/external/rust/crates/intrusive-collections/src/ |
D | adapter.rs | 10 use crate::pointer_ops::PointerOps; 48 type PointerOps: PointerOps; typedef 58 ) -> *const <Self::PointerOps as PointerOps>::Value; in get_value() 67 value: *const <Self::PointerOps as PointerOps>::Value, in get_link() 77 fn pointer_ops(&self) -> &Self::PointerOps; in pointer_ops() argument 205 type PointerOps = $crate::DefaultPointerOps<$pointer>; 208 …elf::LinkOps as $crate::LinkOps>::LinkPtr) -> *const <Self::PointerOps as $crate::PointerOps>::Val… 212 …unsafe fn get_link(&self, value: *const <Self::PointerOps as $crate::PointerOps>::Value) -> <Self:… 227 fn pointer_ops(&self) -> &Self::PointerOps {
|
D | singly_linked_list.rs | 16 use crate::pointer_ops::PointerOps; 333 pub fn get(&self) -> Option<&'a <A::PointerOps as PointerOps>::Value> { 343 pub fn clone_pointer(&self) -> Option<<A::PointerOps as PointerOps>::Pointer> 345 <A::PointerOps as PointerOps>::Pointer: Clone, 347 let raw_pointer = self.get()? as *const <A::PointerOps as PointerOps>::Value; 406 pub fn get(&self) -> Option<&<A::PointerOps as PointerOps>::Value> { 458 pub fn remove_next(&mut self) -> Option<<A::PointerOps as PointerOps>::Pointer> { 497 val: <A::PointerOps as PointerOps>::Pointer, 498 ) -> Result<<A::PointerOps as PointerOps>::Pointer, <A::PointerOps as PointerOps>::Pointer> 534 pub fn insert_after(&mut self, val: <A::PointerOps as PointerOps>::Pointer) { [all …]
|
D | xor_linked_list.rs | 19 use crate::pointer_ops::PointerOps; 322 pub fn get(&self) -> Option<&'a <A::PointerOps as PointerOps>::Value> { 332 pub fn clone_pointer(&self) -> Option<<A::PointerOps as PointerOps>::Pointer> 334 <A::PointerOps as PointerOps>::Pointer: Clone, 336 let raw_pointer = self.get()? as *const <A::PointerOps as PointerOps>::Value; 435 pub fn get(&self) -> Option<&<A::PointerOps as PointerOps>::Value> { 527 pub fn remove(&mut self) -> Option<<A::PointerOps as PointerOps>::Pointer> { 588 val: <A::PointerOps as PointerOps>::Pointer, 589 ) -> Result<<A::PointerOps as PointerOps>::Pointer, <A::PointerOps as PointerOps>::Pointer> 648 pub fn insert_after(&mut self, val: <A::PointerOps as PointerOps>::Pointer) { [all …]
|
D | linked_list.rs | 16 use crate::pointer_ops::PointerOps; 387 pub fn get(&self) -> Option<&'a <A::PointerOps as PointerOps>::Value> { 397 pub fn clone_pointer(&self) -> Option<<A::PointerOps as PointerOps>::Pointer> 399 <A::PointerOps as PointerOps>::Pointer: Clone, 401 let raw_pointer = self.get()? as *const <A::PointerOps as PointerOps>::Value; 486 pub fn get(&self) -> Option<&<A::PointerOps as PointerOps>::Value> { 564 pub fn remove(&mut self) -> Option<<A::PointerOps as PointerOps>::Pointer> { 605 val: <A::PointerOps as PointerOps>::Pointer, 606 ) -> Result<<A::PointerOps as PointerOps>::Pointer, <A::PointerOps as PointerOps>::Pointer> 641 pub fn insert_after(&mut self, val: <A::PointerOps as PointerOps>::Pointer) { [all …]
|
D | pointer_ops.rs | 27 pub unsafe trait PointerOps { trait 72 unsafe impl<'a, T: ?Sized> PointerOps for DefaultPointerOps<&'a T> { 87 unsafe impl<T: ?Sized> PointerOps for DefaultPointerOps<UnsafeRef<T>> { 103 unsafe impl<T: ?Sized> PointerOps for DefaultPointerOps<Box<T>> { 119 unsafe impl<T: ?Sized> PointerOps for DefaultPointerOps<Rc<T>> { 135 unsafe impl<T: ?Sized> PointerOps for DefaultPointerOps<Arc<T>> { 155 pub(crate) unsafe fn clone_pointer_from_raw<T: PointerOps>( in clone_pointer_from_raw() 165 struct PointerGuard<'a, T: PointerOps> { in clone_pointer_from_raw() 170 impl<'a, T: PointerOps> Drop for PointerGuard<'a, T> { in clone_pointer_from_raw() 191 use super::{DefaultPointerOps, PointerOps};
|
D | rbtree.rs | 22 use crate::pointer_ops::PointerOps; 794 pub fn get(&self) -> Option<&'a <A::PointerOps as PointerOps>::Value> { 804 pub fn clone_pointer(&self) -> Option<<A::PointerOps as PointerOps>::Pointer> 806 <A::PointerOps as PointerOps>::Pointer: Clone, 808 let raw_pointer = self.get()? as *const <A::PointerOps as PointerOps>::Value; 896 pub fn get(&self) -> Option<&<A::PointerOps as PointerOps>::Value> { 977 pub fn remove(&mut self) -> Option<<A::PointerOps as PointerOps>::Pointer> { 1021 val: <A::PointerOps as PointerOps>::Pointer, 1022 ) -> Result<<A::PointerOps as PointerOps>::Pointer, <A::PointerOps as PointerOps>::Pointer> 1061 pub fn insert_after(&mut self, val: <A::PointerOps as PointerOps>::Pointer) { [all …]
|
D | key_adapter.rs | 10 use crate::pointer_ops::PointerOps; 65 fn get_key(&self, value: &'a <Self::PointerOps as PointerOps>::Value) -> Self::Key; in get_key()
|
D | lib.rs | 297 pub use crate::pointer_ops::{DefaultPointerOps, PointerOps};
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 2670 SmallVector<Value *, 4> PointerOps(VL.size()); in buildTree_rec() local 2671 auto POIter = PointerOps.begin(); in buildTree_rec() 2687 if (llvm::sortPtrAccesses(PointerOps, *DL, *SE, CurrentOrder)) { in buildTree_rec() 2691 Ptr0 = PointerOps.front(); in buildTree_rec() 2692 PtrN = PointerOps.back(); in buildTree_rec() 2694 Ptr0 = PointerOps[CurrentOrder.front()]; in buildTree_rec() 2695 PtrN = PointerOps[CurrentOrder.back()]; in buildTree_rec() 2928 SmallVector<Value *, 4> PointerOps(VL.size()); in buildTree_rec() local 2930 auto POIter = PointerOps.begin(); in buildTree_rec() 2949 if (llvm::sortPtrAccesses(PointerOps, *DL, *SE, CurrentOrder)) { in buildTree_rec() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 2824 SmallVector<Value *, 4> PointerOps(VL.size()); in buildTree_rec() local 2825 auto POIter = PointerOps.begin(); in buildTree_rec() 2841 if (llvm::sortPtrAccesses(PointerOps, *DL, *SE, CurrentOrder)) { in buildTree_rec() 2845 Ptr0 = PointerOps.front(); in buildTree_rec() 2846 PtrN = PointerOps.back(); in buildTree_rec() 2848 Ptr0 = PointerOps[CurrentOrder.front()]; in buildTree_rec() 2849 PtrN = PointerOps[CurrentOrder.back()]; in buildTree_rec() 2881 buildTree_rec(PointerOps, Depth + 1, {TE, 0}); in buildTree_rec() 3089 SmallVector<Value *, 4> PointerOps(VL.size()); in buildTree_rec() local 3091 auto POIter = PointerOps.begin(); in buildTree_rec() [all …]
|