Searched refs:allocType (Results 1 – 6 of 6) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/Conversion/BufferizationToMemRef/ |
| H A D | BufferizationToMemRef.cpp | 44 auto allocType = in matchAndRewrite() local 49 if (!memref::CastOp::areCastCompatible({allocType}, {memrefType})) in matchAndRewrite() 66 Value alloc = rewriter.create<memref::AllocOp>(op->getLoc(), allocType, in matchAndRewrite() 69 if (memrefType != allocType) in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/MemRefToSPIRV/ |
| H A D | MemRefToSPIRV.cpp | 248 MemRefType allocType = allocaOp.getType(); in matchAndRewrite() local 249 if (!isAllocationSupported(allocaOp, allocType)) in matchAndRewrite() 253 Type spirvType = getTypeConverter()->convertType(allocType); in matchAndRewrite() 267 MemRefType allocType = operation.getType(); in matchAndRewrite() local 268 if (!isAllocationSupported(operation, allocType)) in matchAndRewrite() 272 Type spirvType = getTypeConverter()->convertType(allocType); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/Transforms/ |
| H A D | BufferResultsToOutParams.cpp | 136 auto allocType = in updateCalls() local 139 Value outParam = builder.create<memref::AllocOp>(op.getLoc(), allocType); in updateCalls()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 1554 QualType allocType = getContext().getBaseElementType(E->getAllocatedType()); in EmitCXXNewExpr() local 1576 CharUnits allocAlign = getContext().getTypeAlignInChars(allocType); in EmitCXXNewExpr() 1647 getDebugInfo()->addHeapAllocSiteMetadata(newCall, allocType, in EmitCXXNewExpr() 1658 Target.getNewAlign(), getContext().getTypeSize(allocType))); in EmitCXXNewExpr() 1671 (!allocType.isPODType(getContext()) || E->hasInitializer() || in EmitCXXNewExpr() 1712 E, allocType); in EmitCXXNewExpr() 1715 llvm::Type *elementTy = ConvertTypeForMem(allocType); in EmitCXXNewExpr() 1735 result.getPointer(), allocType, result.getAlignment(), in EmitCXXNewExpr() 1738 EmitNewInitializer(*this, E, allocType, elementTy, result, numElements, in EmitCXXNewExpr()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/IR/ |
| H A D | BufferizationOps.cpp | 187 auto allocType = in bufferize() local 196 options.createAlloc(rewriter, loc, allocType, dynamicDims); in bufferize()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExprCXX.cpp | 1783 QualType allocType) { in doesUsualArrayDeleteWantSize() argument 1785 allocType->getBaseElementTypeUnsafe()->getAs<RecordType>(); in doesUsualArrayDeleteWantSize() 1810 /*WantAlign*/hasNewExtendedAlignment(S, allocType)); in doesUsualArrayDeleteWantSize()
|