| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/hicpp/ |
| H A D | SignedBitwiseCheck.cpp | 34 ? expr(ignoringImpCasts(hasType(isSignedInteger())), in registerMatchers() 36 : expr(ignoringImpCasts(hasType(isSignedInteger())))) in registerMatchers()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | Types.cpp | 49 bool Type::isSignedInteger() const { in isSignedInteger() function in Type 55 bool Type::isSignedInteger(unsigned width) const { in isSignedInteger() function in Type
|
| H A D | Builders.cpp | 174 type, APInt(type.getIntOrFloatBitWidth(), value, type.isSignedInteger())); in getIntegerAttr()
|
| H A D | BuiltinAttributes.cpp | 356 assert(getType().isSignedInteger() && "must be signed integer"); in getSInt()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | FoldInitTypeCheck.cpp | 94 if (InitType.isSignedInteger() == ValueType.isSignedInteger()) in isValidBuiltinFold()
|
| H A D | SignedCharMisuseCheck.cpp | 49 qualType(isAnyCharacter(), isSignedInteger(), unless(IntTypedef)))); in charCastExpression() 52 isAnyCharacter(), unless(isSignedInteger()), unless(IntTypedef)))); in charCastExpression()
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | Types.h | 137 bool isSignedInteger() const; 138 bool isSignedInteger(unsigned width) const;
|
| H A D | OpBase.td | 398 CPred<"$_self.isSignedInteger()">, "signed integer">; 402 : Type<CPred<"$_self.isSignedInteger(" # width # ")">, 1103 "isSignedInteger(" # attrValType.bitwidth # ")">]>,
|
| H A D | BuiltinAttributes.td | 636 APInt apValue(intTy.getWidth(), value, intTy.isSignedInteger());
|
| /llvm-project-15.0.7/clang/include/clang/Support/ |
| H A D | RISCVVIntrinsicUtils.h | 224 bool isSignedInteger() const { in isSignedInteger() function
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | NarrowingConversionsCheck.cpp | 515 if (RhsType->getKind() == BuiltinType::Bool && LhsType->isSignedInteger()) in handleBinaryOperator()
|
| /llvm-project-15.0.7/clang/lib/Support/ |
| H A D | RISCVVIntrinsicUtils.cpp | 180 if (isSignedInteger()) in initBuiltinStr()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 457 REGISTER_MATCHER(isSignedInteger); in RegistryMaps()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/SPIRVToLLVM/ |
| H A D | SPIRVToLLVM.cpp | 37 if (type.isSignedInteger()) in isSignedIntegerOrVector() 40 return vecType.getElementType().isSignedInteger(); in isSignedIntegerOrVector()
|
| /llvm-project-15.0.7/mlir/lib/AsmParser/ |
| H A D | AttributeParser.cpp | 380 } else if ((type.isSignedInteger() || type.isIndex()) && in buildAttributeAPInt()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersNarrowingTest.cpp | 1520 EXPECT_TRUE(matches("int i = 0;", varDecl(hasType(isSignedInteger())))); in TEST_P() 1522 notMatches("unsigned i = 0;", varDecl(hasType(isSignedInteger())))); in TEST_P()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 6260 AST_MATCHER(QualType, isSignedInteger) { in AST_MATCHER() argument
|
| /llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 3219 is_signed = builtin_type->isSignedInteger(); in IsIntegerType() 3872 if (builtin_type->isSignedInteger()) in GetTypeInfo()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Type.h | 2615 bool isSignedInteger() const {
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 13848 *SourceInt, SourceBT->isSignedInteger(), in CheckImplicitConversion()
|