Home
last modified time | relevance | path

Searched refs:isUnsignedInteger (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/mlir/lib/IR/
H A DTypes.cpp61 bool Type::isUnsignedInteger() const { in isUnsignedInteger() function in Type
67 bool Type::isUnsignedInteger(unsigned width) const { in isUnsignedInteger() function in Type
H A DAsmPrinter.cpp1782 attrType.isUnsignedInteger() || attrType.isSignlessInteger(1); in printAttribute()
2011 bool isSigned = !complexElementType.isUnsignedInteger(); in printDenseIntOrFPElementsAttr()
2033 bool isSigned = !elementType.isUnsignedInteger(); in printDenseIntOrFPElementsAttr()
H A DBuiltinAttributes.cpp361 assert(getType().isUnsignedInteger() && "must be unsigned integer"); in getUInt()
370 return APSInt(getValue(), getType().isUnsignedInteger()); in getAPSInt()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvm/
H A DPreferRegisterOverUnsignedCheck.cpp26 hasType(qualType(isUnsignedInteger()).bind("varType")), in registerMatchers()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DTypes.h141 bool isUnsignedInteger() const;
142 bool isUnsignedInteger(unsigned width) const;
H A DOpBase.td421 CPred<"$_self.isUnsignedInteger()">, "unsigned integer">;
425 : Type<CPred<"$_self.isUnsignedInteger(" # width # ")">,
1132 "isUnsignedInteger(" # attrValType.bitwidth # ")">]>,
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DNarrowingConversionsCheck.cpp251 bool IsUnsignedInteger = T.isUnsignedInteger(); in createFromType()
386 if (ToType->isUnsignedInteger()) in handleIntegralCast()
/llvm-project-15.0.7/mlir/lib/AsmParser/
H A DAttributeParser.cpp419 if (isNegative && type.isUnsignedInteger()) { in parseDecOrHexAttr()
596 bool isUintType = eltTy.isUnsignedInteger(); in getIntAttrElements()
/llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/
H A DTosaToLinalg.cpp394 if (intTy.isUnsignedInteger()) { in createLinalgBodyCalculationForElementwiseOp()
477 if (srcTy.isUnsignedInteger() && dstTy.isa<FloatType>()) { in createLinalgBodyCalculationForElementwiseOp()
1271 if (valueTy.isUnsignedInteger()) { in matchAndRewrite()
1307 if (outIntType.isUnsignedInteger()) { in matchAndRewrite()
1326 if (outIntType.isUnsignedInteger()) { in matchAndRewrite()
H A DTosaToLinalgNamed.cpp190 if (inputETy.isUnsignedInteger()) in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/IR/
H A DTosaCanonicalizations.cpp360 if (inputElementType.isUnsignedInteger()) { in matchAndRewrite()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp465 REGISTER_MATCHER(isUnsignedInteger); in RegistryMaps()
/llvm-project-15.0.7/mlir/lib/Conversion/SPIRVToLLVM/
H A DSPIRVToLLVM.cpp46 if (type.isUnsignedInteger()) in isUnsignedIntegerOrVector()
49 return vecType.getElementType().isUnsignedInteger(); in isUnsignedIntegerOrVector()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNarrowingTest.cpp1526 EXPECT_TRUE(notMatches("int i = 0;", varDecl(hasType(isUnsignedInteger())))); in TEST_P()
1528 matches("unsigned i = 0;", varDecl(hasType(isUnsignedInteger())))); in TEST_P()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6246 AST_MATCHER(QualType, isUnsignedInteger) { in AST_MATCHER() argument
/llvm-project-15.0.7/clang/include/clang/AST/
H A DType.h2619 bool isUnsignedInteger() const {
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVBase.td3883 CPred<"$_self.isUnsignedInteger(" # width # ")">]>,
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp12033 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType()
12059 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forTargetOfCanonicalType()