Home
last modified time | relevance | path

Searched refs:baseSize (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Conversion/SPIRVToLLVM/
H A DSPIRVToLLVM.cpp455 auto baseSize = rewriter.getIntegerAttr(integerType, getBitWidth(srcType)); in matchAndRewrite() local
460 SplatElementsAttr::get(srcType.cast<ShapedType>(), baseSize)) in matchAndRewrite()
461 : rewriter.create<LLVM::ConstantOp>(loc, dstType, baseSize); in matchAndRewrite()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1910 CharUnits baseSize = CGF.getContext().getTypeSizeInChars(baseType); in emitNonZeroVLAInit() local
1912 = llvm::ConstantInt::get(CGF.IntPtrTy, baseSize.getQuantity()); in emitNonZeroVLAInit()
1931 dest.getAlignment().alignmentOfArrayElement(baseSize); in emitNonZeroVLAInit()