Searched refs:constArr (Results 1 – 3 of 3) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/ |
| H A D | LoweringHelpers.cpp | 119 lowerConstArrayAttr(cir::ConstArrayAttr constArr, in lowerConstArrayAttr() argument 122 const auto typedConstArr = mlir::cast<mlir::TypedAttr>(constArr); in lowerConstArrayAttr() 135 if (mlir::isa<mlir::StringAttr>(constArr.getElts())) in lowerConstArrayAttr() 136 return convertStringAttrToDenseElementsAttr(constArr, in lowerConstArrayAttr() 140 constArr, dims, type, converter->convertType(type)); in lowerConstArrayAttr() 144 constArr, dims, type, converter->convertType(type)); in lowerConstArrayAttr()
|
| /freebsd/contrib/llvm-project/clang/include/clang/CIR/ |
| H A D | LoweringHelpers.h | 37 lowerConstArrayAttr(cir::ConstArrayAttr constArr,
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/DirectToLLVM/ |
| H A D | LowerToLLVM.cpp | 1036 const auto constArr = mlir::dyn_cast<cir::ConstArrayAttr>(op.getValue()); in matchAndRewrite() local 1037 if (!constArr && !isa<cir::ZeroAttr, cir::UndefAttr>(op.getValue())) in matchAndRewrite() 1041 if (constArr && hasTrailingZeros(constArr)) { in matchAndRewrite() 1043 lowerCirAttrAsValue(op, constArr, rewriter, getTypeConverter()); in matchAndRewrite() 1046 } else if (constArr && in matchAndRewrite() 1047 (denseAttr = lowerConstArrayAttr(constArr, typeConverter))) { in matchAndRewrite()
|