Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Dialect/Quant/IR/
H A DQuantTypes.cpp103 Type QuantizedType::castFromStorageType(Type candidateType) { in castFromStorageType() argument
104 if (candidateType == getStorageType()) { in castFromStorageType()
108 if (candidateType.isa<RankedTensorType>()) { in castFromStorageType()
113 if (candidateType.isa<UnrankedTensorType>()) { in castFromStorageType()
117 if (candidateType.isa<VectorType>()) { in castFromStorageType()
153 Type QuantizedType::castFromExpressedType(Type candidateType) { in castFromExpressedType() argument
154 if (candidateType == getExpressedType()) { in castFromExpressedType()
158 if (candidateType.isa<ShapedType>()) { in castFromExpressedType()
164 if (candidateType.isa<RankedTensorType>()) { in castFromExpressedType()
168 if (candidateType.isa<UnrankedTensorType>()) { in castFromExpressedType()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/
H A DQuantTypes.h147 Type castFromStorageType(Type candidateType);
160 Type castFromExpressedType(Type candidateType);
173 Type castExpressedToStorageType(Type candidateType);