Home
last modified time | relevance | path

Searched refs:newElementType (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBuiltinTypes.h181 Builder &setElementType(Type newElementType) { in setElementType() argument
182 elementType = newElementType; in setElementType()
232 Builder &setElementType(Type newElementType) { in setElementType() argument
233 elementType = newElementType; in setElementType()
300 Builder &setElementType(Type newElementType) { in setElementType() argument
301 elementType = newElementType; in setElementType()
H A DBuiltinAttributes.h668 DenseElementsAttr mapValues(Type newElementType,
675 mapValues(Type newElementType,
892 mapValues(Type newElementType,
933 DenseElementsAttr mapValues(Type newElementType,
/llvm-project-15.0.7/mlir/lib/Dialect/Quant/Utils/
H A DUniformSupport.cpp82 Type newElementType = IntegerType::get(attr.getContext(), storageBitWidth); in convert() local
83 return attr.mapValues(newElementType, [&](const APFloat &old) { in convert()
/llvm-project-15.0.7/mlir/lib/IR/
H A DBuiltinAttributes.cpp1318 DenseElementsAttr::mapValues(Type newElementType, in mapValues() argument
1320 return cast<DenseIntElementsAttr>().mapValues(newElementType, mapping); in mapValues()
1325 return cast<DenseFPElementsAttr>().mapValues(newElementType, mapping); in mapValues()
1499 Type newElementType, in mappingHelper() argument
1501 size_t bitWidth = getDenseElementBitWidth(newElementType); in mappingHelper()
1506 newArrayType = RankedTensorType::get(inType.getShape(), newElementType); in mappingHelper()
1508 newArrayType = RankedTensorType::get(inType.getShape(), newElementType); in mappingHelper()
1510 newArrayType = VectorType::get(vType.getShape(), newElementType, in mappingHelper()
1542 mappingHelper(mapping, *this, getType(), newElementType, elementData); in mapValues()
1558 Type newElementType, function_ref<APInt(const APInt &)> mapping) const { in mapValues() argument
[all …]