Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Dialect/Quant/Utils/
DUniformSupport.cpp82 Type newElementType = IntegerType::get(storageBitWidth, attr.getContext()); in convert() local
83 return attr.mapValues(newElementType, [&](const APFloat &old) { in convert()
/external/llvm-project/mlir/lib/IR/
DBuiltinAttributes.cpp473 ElementsAttr::mapValues(Type newElementType, in mapValues() argument
476 return intOrFpAttr.mapValues(newElementType, mapping); in mapValues()
481 ElementsAttr::mapValues(Type newElementType, in mapValues() argument
484 return intOrFpAttr.mapValues(newElementType, mapping); in mapValues()
1078 DenseElementsAttr::mapValues(Type newElementType, in mapValues() argument
1080 return cast<DenseIntElementsAttr>().mapValues(newElementType, mapping); in mapValues()
1084 Type newElementType, function_ref<APInt(const APFloat &)> mapping) const { in mapValues() argument
1085 return cast<DenseFPElementsAttr>().mapValues(newElementType, mapping); in mapValues()
1245 Type newElementType, in mappingHelper() argument
1247 size_t bitWidth = getDenseElementBitWidth(newElementType); in mappingHelper()
[all …]
/external/llvm-project/mlir/include/mlir/IR/
DBuiltinAttributes.h481 ElementsAttr mapValues(Type newElementType,
487 ElementsAttr mapValues(Type newElementType,
971 DenseElementsAttr mapValues(Type newElementType,
978 mapValues(Type newElementType,
1123 mapValues(Type newElementType,
1160 DenseElementsAttr mapValues(Type newElementType,
DBuiltinTypes.h566 Builder &setElementType(Type newElementType) { in setElementType() argument
567 elementType = newElementType; in setElementType()