| /llvm-project-15.0.7/mlir/lib/Dialect/Quant/IR/ |
| H A D | QuantTypes.cpp | 63 Type QuantizedType::getStorageType() const { in getStorageType() function in QuantizedType 104 if (candidateType == getStorageType()) { in castFromStorageType() 111 candidateType.cast<RankedTensorType>().getShape(), getStorageType()); in castFromStorageType() 115 return UnrankedTensorType::get(getStorageType()); in castFromStorageType() 120 getStorageType()); in castFromStorageType() 129 return quantizedType.cast<QuantizedType>().getStorageType(); in castToStorageType() 138 sType.getElementType().cast<QuantizedType>().getStorageType(); in castToStorageType()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Quant/Utils/ |
| H A D | QuantizeUtils.cpp | 27 outConvertedType = quantizedElementType.getStorageType(); in convertPrimitiveValueAttr() 28 return IntegerAttr::get(quantizedElementType.getStorageType(), in convertPrimitiveValueAttr()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGRecordLayoutBuilder.cpp | 147 llvm::Type *getStorageType(const FieldDecl *FD) { in getStorageType() function 155 llvm::Type *getStorageType(const CXXRecordDecl *RD) { in getStorageType() function 324 llvm::Type *FieldType = getStorageType(Field); in lowerUnion() 330 llvm::Type *FieldType = getStorageType(Field); in lowerUnion() 384 getStorageType(*Field), *Field)); in accumulateFields() 514 getStorageType(BaseDecl), BaseDecl)); in accumulateBases() 527 MemberInfo::Base, getStorageType(BaseDecl), BaseDecl)); in accumulateBases() 697 getStorageType(BaseDecl), BaseDecl)); in accumulateVBases()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/ |
| H A D | UniformSupport.h | 71 assert(uniformType.getStorageType().isSignlessInteger()); in UniformQuantizedValueConverter() 188 assert(uniformType.getStorageType().isSignlessInteger()); in UniformQuantizedPerAxisValueConverter()
|
| H A D | QuantTypes.h | 112 Type getStorageType() const;
|
| /llvm-project-15.0.7/mlir/tools/mlir-tblgen/ |
| H A D | OpPythonBindingGen.cpp | 461 if (namedAttr.attr.getStorageType().trim().equals("::mlir::UnitAttr")) { in emitAttributeAccessors() 472 if (!attributeClasses.count(namedAttr.attr.getStorageType().trim())) in emitAttributeAccessors() 476 attributeClasses.lookup(namedAttr.attr.getStorageType()); in emitAttributeAccessors() 669 StringRef storageType = attr.getStorageType().trim(); in getAttributeDefaultValue() 697 if (attribute->attr.getStorageType().trim().equals("::mlir::UnitAttr")) { in populateBuilderLinesAttr()
|
| H A D | OpDefinitionsGen.cpp | 191 return attr.getReturnType() != attr.getStorageType() && in canUseUnwrappedRawValue() 995 auto *method = opClass.addMethod(attr.getStorageType(), name + "Attr"); in genAttrGetters() 1002 attr.getStorageType()); in genAttrGetters() 1094 MethodParameter(attr.getStorageType(), "attr")); in genAttrSetters() 2004 type = attr.getStorageType(); in buildParamList() 2010 type = attr.getStorageType(); in buildParamList() 2907 auto *method = adaptor.addMethod(attr.getStorageType(), emitName + "Attr"); in OpOperandAdaptorEmitter() 2915 attr.getStorageType()); in OpOperandAdaptorEmitter()
|
| H A D | OpDocGen.cpp | 169 StringRef storageType = it.attr.getStorageType(); in emitOpDoc()
|
| H A D | OpFormatGen.cpp | 808 body << llvm::formatv(" {0} {1}Attr;\n", var->attr.getStorageType(), in genElementParserStorage() 1245 var->attr.getStorageType() == "::mlir::Attribute") in genElementParser() 2036 var->attr.getStorageType() == "::mlir::Attribute") in genElementPrinter() 2432 attr->getVar()->attr.getStorageType() == "::mlir::Attribute")) in verifyAttributeColon()
|
| H A D | RewriterGen.cpp | 766 opName, attr.getStorageType(), namedAttr->name); in emitAttributeMatch() 783 attr.getStorageType())); in emitAttributeMatch()
|
| /llvm-project-15.0.7/mlir/include/mlir/TableGen/ |
| H A D | Attribute.h | 54 StringRef getStorageType() const;
|
| /llvm-project-15.0.7/mlir/lib/TableGen/ |
| H A D | Attribute.cpp | 58 StringRef Attribute::getStorageType() const { in getStorageType() function in Attribute
|
| H A D | Pattern.cpp | 249 ->attr.getStorageType() in getVarTypeStr()
|
| /llvm-project-15.0.7/mlir/unittests/Dialect/Quant/ |
| H A D | QuantizationUtilsTest.cpp | 29 return APInt(qtype.getStorageType().cast<IntegerType>().getWidth(), 5L); in quantizeFloatToInt()
|
| /llvm-project-15.0.7/mlir/lib/CAPI/Dialect/ |
| H A D | Quant.cpp | 55 return wrap(unwrap(type).cast<quant::QuantizedType>().getStorageType()); in mlirQuantizedTypeGetStorageType()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Tosa/IR/ |
| H A D | TosaOps.cpp | 150 inputETy = quantType.getStorageType(); in verify() 153 resultETy = quantType.getStorageType(); in verify()
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/ |
| H A D | Parser.cpp | 865 attr.attr.getStorageType())); in processTdIncludeRecords() 890 constraint.getStorageType())); in processTdIncludeRecords()
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | ClangAttrEmitter.cpp | 115 static StringRef getStorageType(StringRef type) { in getStorageType() function 763 std::string StorageType = std::string(getStorageType(getType())); in writePCHReadDecls()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 103 static QualType getStorageType(const ASTContext &Ctx, const Expr *E) { in getStorageType() function 7520 getStorageType(Info.Ctx, E->getOpaqueValue()), in VisitBinaryConditionalOperator() 7585 OVE, getStorageType(Info.Ctx, OVE), in VisitPseudoObjectExpr() 10786 getStorageType(Info.Ctx, E->getCommonExpr()), in VisitArrayInitLoopExpr() 15116 if (!CheckConstantExpression(Info, getExprLoc(), getStorageType(Ctx, this), in EvaluateAsConstantExpr()
|