Home
last modified time | relevance | path

Searched refs:allocSize (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Tools/PDLL/AST/
H A DNodes.cpp265 unsigned allocSize = CallExpr::totalSizeToAlloc<Expr *>(arguments.size()); in create() local
266 void *rawData = ctx.getAllocator().Allocate(allocSize, alignof(CallExpr)); in create()
305 unsigned allocSize = in create() local
309 ctx.getAllocator().Allocate(allocSize, alignof(OperationExpr)); in create()
448 unsigned allocSize = in createImpl() local
453 ctx.getAllocator().Allocate(allocSize, alignof(UserConstraintDecl)); in createImpl()
516 unsigned allocSize = UserRewriteDecl::totalSizeToAlloc<VariableDecl *>( in createImpl() local
519 ctx.getAllocator().Allocate(allocSize, alignof(UserRewriteDecl)); in createImpl()
539 unsigned allocSize = in create() local
555 unsigned allocSize = Module::totalSizeToAlloc<Decl *>(children.size()); in create() local
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DPromotion.cpp47 Type elementType, Value allocSize, DataLayout &layout, in allocBuffer() argument
56 if (auto cst = allocSize.getDefiningOp<arith::ConstantIndexOp>()) { in allocBuffer()
70 b.create<arith::ConstantIndexOp>(width), allocSize); in allocBuffer()
90 Value allocSize = one; in defaultAllocBufferCallBack() local
92 allocSize = b.createOrFold<arith::MulIOp>(allocSize, size.value()); in defaultAllocBufferCallBack()
93 Value buffer = allocBuffer(b, options, viewType.getElementType(), allocSize, in defaultAllocBufferCallBack()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprCXX.cpp1573 llvm::Value *allocSize = in EmitCXXNewExpr() local
1599 allocatorArgs.add(RValue::get(allocSize), getContext().getSizeType()); in EmitCXXNewExpr()
1610 allocatorArgs.add(RValue::get(allocSize), sizeType); in EmitCXXNewExpr()
1613 if (allocSize != allocSizeWithoutCookie) { in EmitCXXNewExpr()
1700 EnterNewDeleteCleanup(*this, E, allocation, allocSize, allocAlign, in EmitCXXNewExpr()
1706 assert((allocSize == allocSizeWithoutCookie) == in EmitCXXNewExpr()
1708 if (allocSize != allocSizeWithoutCookie) { in EmitCXXNewExpr()