Home
last modified time | relevance | path

Searched refs:isSignedInteger (Results 1 – 20 of 20) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/hicpp/
H A DSignedBitwiseCheck.cpp34 ? expr(ignoringImpCasts(hasType(isSignedInteger())), in registerMatchers()
36 : expr(ignoringImpCasts(hasType(isSignedInteger())))) in registerMatchers()
/llvm-project-15.0.7/mlir/lib/IR/
H A DTypes.cpp49 bool Type::isSignedInteger() const { in isSignedInteger() function in Type
55 bool Type::isSignedInteger(unsigned width) const { in isSignedInteger() function in Type
H A DBuilders.cpp174 type, APInt(type.getIntOrFloatBitWidth(), value, type.isSignedInteger())); in getIntegerAttr()
H A DBuiltinAttributes.cpp356 assert(getType().isSignedInteger() && "must be signed integer"); in getSInt()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DFoldInitTypeCheck.cpp94 if (InitType.isSignedInteger() == ValueType.isSignedInteger()) in isValidBuiltinFold()
H A DSignedCharMisuseCheck.cpp49 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 DTypes.h137 bool isSignedInteger() const;
138 bool isSignedInteger(unsigned width) const;
H A DOpBase.td398 CPred<"$_self.isSignedInteger()">, "signed integer">;
402 : Type<CPred<"$_self.isSignedInteger(" # width # ")">,
1103 "isSignedInteger(" # attrValType.bitwidth # ")">]>,
H A DBuiltinAttributes.td636 APInt apValue(intTy.getWidth(), value, intTy.isSignedInteger());
/llvm-project-15.0.7/clang/include/clang/Support/
H A DRISCVVIntrinsicUtils.h224 bool isSignedInteger() const { in isSignedInteger() function
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DNarrowingConversionsCheck.cpp515 if (RhsType->getKind() == BuiltinType::Bool && LhsType->isSignedInteger()) in handleBinaryOperator()
/llvm-project-15.0.7/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp180 if (isSignedInteger()) in initBuiltinStr()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp457 REGISTER_MATCHER(isSignedInteger); in RegistryMaps()
/llvm-project-15.0.7/mlir/lib/Conversion/SPIRVToLLVM/
H A DSPIRVToLLVM.cpp37 if (type.isSignedInteger()) in isSignedIntegerOrVector()
40 return vecType.getElementType().isSignedInteger(); in isSignedIntegerOrVector()
/llvm-project-15.0.7/mlir/lib/AsmParser/
H A DAttributeParser.cpp380 } else if ((type.isSignedInteger() || type.isIndex()) && in buildAttributeAPInt()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNarrowingTest.cpp1520 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 DASTMatchers.h6260 AST_MATCHER(QualType, isSignedInteger) { in AST_MATCHER() argument
/llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp3219 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 DType.h2615 bool isSignedInteger() const {
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp13848 *SourceInt, SourceBT->isSignedInteger(), in CheckImplicitConversion()