/external/llvm-project/clang-tools-extra/clang-tidy/hicpp/ |
D | SignedBitwiseCheck.cpp | 34 ? expr(ignoringImpCasts(hasType(isSignedInteger())), in registerMatchers() 36 : expr(ignoringImpCasts(hasType(isSignedInteger())))) in registerMatchers()
|
/external/llvm-project/mlir/lib/IR/ |
D | Types.cpp | 51 bool Type::isSignedInteger() const { in isSignedInteger() function in Type 57 bool Type::isSignedInteger(unsigned width) const { in isSignedInteger() function in Type
|
D | Builders.cpp | 171 type, APInt(type.getIntOrFloatBitWidth(), value, type.isSignedInteger())); in getIntegerAttr()
|
D | BuiltinAttributes.cpp | 307 return get(type, APInt(intType.getWidth(), value, intType.isSignedInteger())); in get() 320 assert(getImpl()->getType().isSignedInteger() && "must be signed integer"); in getSInt()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | FoldInitTypeCheck.cpp | 94 if (InitType.isSignedInteger() == ValueType.isSignedInteger()) in isValidBuiltinFold()
|
D | SignedCharMisuseCheck.cpp | 55 qualType(isAnyCharacter(), isSignedInteger(), unless(IntTypedef)))); in charCastExpression() 58 isAnyCharacter(), unless(isSignedInteger()), unless(IntTypedef)))); in charCastExpression()
|
/external/llvm-project/mlir/include/mlir/IR/ |
D | Types.h | 128 bool isSignedInteger() const; 129 bool isSignedInteger(unsigned width) const;
|
D | OpBase.td | 390 CPred<"$_self.isSignedInteger()">, "signed integer">; 394 : Type<CPred<"$_self.isSignedInteger(" # width # ")">, 941 "isSignedInteger(" # attrValType.bitwidth # ")">]>,
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | NarrowingConversionsCheck.cpp | 373 if (RhsType->getKind() == BuiltinType::Bool && LhsType->isSignedInteger()) in handleBinaryOperator()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 324 REGISTER_MATCHER(isSignedInteger); in RegistryMaps()
|
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 422 REGISTER_MATCHER(isSignedInteger); in RegistryMaps()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 727 EXPECT_TRUE(matches("int i = 0;", varDecl(hasType(isSignedInteger())))); in TEST() 729 varDecl(hasType(isSignedInteger())))); in TEST()
|
/external/llvm-project/mlir/lib/Parser/ |
D | AttributeParser.cpp | 354 } else if ((type.isSignedInteger() || type.isIndex()) && in buildAttributeAPInt()
|
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/ |
D | ConvertSPIRVToLLVM.cpp | 38 if (type.isSignedInteger()) in isSignedIntegerOrVector() 41 return vecType.getElementType().isSignedInteger(); in isSignedIntegerOrVector()
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 608 bool isSignedInteger = in EmitOpenCLKernelMetadata() local 616 llvm::APInt(32, (uint64_t)(isSignedInteger ? 1 : 0))))}; in EmitOpenCLKernelMetadata()
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 1064 EXPECT_TRUE(matches("int i = 0;", varDecl(hasType(isSignedInteger())))); in TEST_P() 1066 notMatches("unsigned i = 0;", varDecl(hasType(isSignedInteger())))); in TEST_P()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 4094 AST_MATCHER(QualType, isSignedInteger) { in AST_MATCHER() argument
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 5763 AST_MATCHER(QualType, isSignedInteger) { in AST_MATCHER() argument
|
/external/clang/include/clang/AST/ |
D | Type.h | 2076 bool isSignedInteger() const {
|
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
D | TypeSystemClang.cpp | 3126 is_signed = builtin_type->isSignedInteger(); in IsIntegerType() 3765 if (builtin_type->isSignedInteger()) in GetTypeInfo()
|
/external/llvm-project/clang/include/clang/AST/ |
D | Type.h | 2528 bool isSignedInteger() const {
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaChecking.cpp | 12246 *SourceInt, SourceBT->isSignedInteger(), in CheckImplicitConversion()
|