Searched refs:elementPtrType (Results 1 – 2 of 2) sorted by relevance
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/ |
D | StandardToLLVM.cpp | 1079 LLVM::LLVMType elementPtrType = memRefDescriptor.getElementPtrType(); in getStridedElementPtr() local 1080 return index ? rewriter.create<LLVM::GEPOp>(loc, elementPtrType, base, index) in getStridedElementPtr() 1147 Type elementPtrType = getElementPtrType(memRefType); in getMemRefDescriptorSizes() local 1148 Value nullPtr = rewriter.create<LLVM::NullOp>(loc, elementPtrType); in getMemRefDescriptorSizes() 1150 loc, elementPtrType, ArrayRef<Value>{nullPtr, runningStride}); in getMemRefDescriptorSizes() 2056 Type elementPtrType = this->getElementPtrType(memRefType); in allocateBuffer() local 2058 createAllocCall(loc, "malloc", elementPtrType, {sizeBytes}, in allocateBuffer() 2070 rewriter.create<LLVM::IntToPtrOp>(loc, elementPtrType, alignmentInt); in allocateBuffer() 2138 Type elementPtrType = this->getElementPtrType(memRefType); in allocateBuffer() local 2140 loc, "aligned_alloc", elementPtrType, {allocAlignment, sizeBytes}, in allocateBuffer() [all …]
|
/external/llvm-project/mlir/lib/Conversion/GPUCommon/ |
D | ConvertLaunchFuncToRuntimeCalls.cpp | 367 Type elementPtrType = this->getElementPtrType(memRefType); in matchAndRewrite() local 373 rewriter.create<LLVM::BitcastOp>(loc, elementPtrType, allocatedPtr); in matchAndRewrite()
|