Home
last modified time | relevance | path

Searched refs:buffer_slice (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dalias_analysis.cc36 BufferAllocation::Slice buffer_slice; in AddAliasingInformationToIrArray() local
41 buffer_slice = BufferAllocation::Slice(kParameterAllocation, 0, 0); in AddAliasingInformationToIrArray()
51 buffer_slice = *slices.begin(); in AddAliasingInformationToIrArray()
55 llvm::MDNode*& alias_scope_md = alias_scope_metadata_[buffer_slice]; in AddAliasingInformationToIrArray()
58 GetAliasScopeMetadataForBuffer(buffer_slice, GetAliasDomain()); in AddAliasingInformationToIrArray()
66 llvm::MDNode*& noalias_md = noalias_metadata_[buffer_slice]; in AddAliasingInformationToIrArray()
68 noalias_md = GetNoaliasMetadataForBuffer(buffer_slice, GetAliasDomain(), in AddAliasingInformationToIrArray()
109 const BufferAllocation::Slice& buffer_slice, llvm::MDNode* domain) { in GetAliasScopeMetadataForBuffer() argument
112 if (buffer_slice.allocation() == kParameterAllocation) { in GetAliasScopeMetadataForBuffer()
118 "buffer: " + buffer_slice.ToString(), domain); in GetAliasScopeMetadataForBuffer()
[all …]
Dalias_analysis.h49 const BufferAllocation::Slice& buffer_slice, llvm::MDNode* domain);
60 const BufferAllocation::Slice& buffer_slice, llvm::MDNode* domain,
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dbuffer_allocations.cc161 const BufferAllocation::Slice& buffer_slice) const { in GetDeviceAddress()
162 se::DeviceMemoryBase base = GetDeviceAddress(buffer_slice.index()); in GetDeviceAddress()
163 CHECK_LE(buffer_slice.offset(), base.size()); in GetDeviceAddress()
164 CHECK_LE(buffer_slice.offset() + buffer_slice.size(), base.size()); in GetDeviceAddress()
166 static_cast<char*>(base.opaque()) + buffer_slice.offset(), in GetDeviceAddress()
167 buffer_slice.size(), /*is_sub_buffer=*/true); in GetDeviceAddress()
Dbuffer_allocations.h77 const BufferAllocation::Slice& buffer_slice) const;
/external/python/cpython2/Objects/
Dbufferobject.c485 buffer_slice(PyBufferObject *self, Py_ssize_t left, Py_ssize_t right) in buffer_slice() function
839 (ssizessizeargfunc)buffer_slice, /*sq_slice*/