| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | Types.cpp | 61 bool Type::isUnsignedInteger() const { in isUnsignedInteger() function in Type 67 bool Type::isUnsignedInteger(unsigned width) const { in isUnsignedInteger() function in Type
|
| H A D | AsmPrinter.cpp | 1782 attrType.isUnsignedInteger() || attrType.isSignlessInteger(1); in printAttribute() 2011 bool isSigned = !complexElementType.isUnsignedInteger(); in printDenseIntOrFPElementsAttr() 2033 bool isSigned = !elementType.isUnsignedInteger(); in printDenseIntOrFPElementsAttr()
|
| H A D | BuiltinAttributes.cpp | 361 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 D | PreferRegisterOverUnsignedCheck.cpp | 26 hasType(qualType(isUnsignedInteger()).bind("varType")), in registerMatchers()
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | Types.h | 141 bool isUnsignedInteger() const; 142 bool isUnsignedInteger(unsigned width) const;
|
| H A D | OpBase.td | 421 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 D | NarrowingConversionsCheck.cpp | 251 bool IsUnsignedInteger = T.isUnsignedInteger(); in createFromType() 386 if (ToType->isUnsignedInteger()) in handleIntegralCast()
|
| /llvm-project-15.0.7/mlir/lib/AsmParser/ |
| H A D | AttributeParser.cpp | 419 if (isNegative && type.isUnsignedInteger()) { in parseDecOrHexAttr() 596 bool isUintType = eltTy.isUnsignedInteger(); in getIntAttrElements()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/ |
| H A D | TosaToLinalg.cpp | 394 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 D | TosaToLinalgNamed.cpp | 190 if (inputETy.isUnsignedInteger()) in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Tosa/IR/ |
| H A D | TosaCanonicalizations.cpp | 360 if (inputElementType.isUnsignedInteger()) { in matchAndRewrite()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 465 REGISTER_MATCHER(isUnsignedInteger); in RegistryMaps()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/SPIRVToLLVM/ |
| H A D | SPIRVToLLVM.cpp | 46 if (type.isUnsignedInteger()) in isUnsignedIntegerOrVector() 49 return vecType.getElementType().isUnsignedInteger(); in isUnsignedIntegerOrVector()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersNarrowingTest.cpp | 1526 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 D | ASTMatchers.h | 6246 AST_MATCHER(QualType, isUnsignedInteger) { in AST_MATCHER() argument
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Type.h | 2619 bool isUnsignedInteger() const {
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVBase.td | 3883 CPred<"$_self.isUnsignedInteger(" # width # ")">]>,
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 12033 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType() 12059 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forTargetOfCanonicalType()
|