/external/clang/test/CodeGen/ |
pascal-wchar-string.c | 38 // CHECK: store volatile i32 1, i32* %isUnsigned 40 volatile int isUnsigned = (wchar_t)-1 > (wchar_t)0;
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
APSIntType.h | 22 bool IsUnsigned; 26 : BitWidth(Width), IsUnsigned(Unsigned) {} 29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 32 bool isUnsigned() const { return IsUnsigned; } 42 Value.setIsUnsigned(IsUnsigned); 50 llvm::APSInt Result(Value, Value.isUnsigned()); 57 return llvm::APSInt(BitWidth, IsUnsigned); 62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); [all...] |
BasicValueFactory.h | 79 const llvm::APSInt& getValue(uint64_t X, unsigned BitWidth, bool isUnsigned); 91 const llvm::APSInt& getValue(const llvm::APInt& X, bool isUnsigned); 120 const llvm::APSInt& getIntValue(uint64_t X, bool isUnsigned) { 121 QualType T = isUnsigned ? Ctx.UnsignedIntTy : Ctx.IntTy; 153 inline const llvm::APSInt& getZeroWithPtrWidth(bool isUnsigned = true) { 154 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); 157 inline const llvm::APSInt &getIntWithPtrWidth(uint64_t X, bool isUnsigned) { 158 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
|
SValBuilder.h | 257 NonLoc makeIntVal(const llvm::APInt& integer, bool isUnsigned) { 258 return nonloc::ConcreteInt(BasicVals.getValue(integer, isUnsigned)); 268 NonLoc makeIntVal(uint64_t integer, bool isUnsigned) { 269 return nonloc::ConcreteInt(BasicVals.getIntValue(integer, isUnsigned)); 272 NonLoc makeIntValWithPtrWidth(uint64_t integer, bool isUnsigned) { 274 BasicVals.getIntWithPtrWidth(integer, isUnsigned));
|
/external/llvm/unittests/ADT/ |
APSIntTest.cpp | 19 EXPECT_TRUE(A.isUnsigned()); 23 EXPECT_FALSE(A.isUnsigned()); 26 EXPECT_FALSE(C.isUnsigned()); 31 EXPECT_TRUE(D.isUnsigned()); 35 EXPECT_TRUE(A.isUnsigned()); 40 EXPECT_TRUE(A.isUnsigned()); 56 EXPECT_TRUE(APSInt::getUnsigned(7).isUnsigned()); 60 EXPECT_TRUE(APSInt::getUnsigned(-7).isUnsigned()); 67 EXPECT_TRUE(APSInt(APInt(3, 7), true).isUnsigned()); 69 EXPECT_TRUE(APSInt(APInt(4, 7), true).isUnsigned()); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
APSIntTest.cpp | 19 EXPECT_TRUE(A.isUnsigned()); 23 EXPECT_FALSE(A.isUnsigned()); 26 EXPECT_FALSE(C.isUnsigned()); 31 EXPECT_TRUE(D.isUnsigned()); 35 EXPECT_TRUE(A.isUnsigned()); 40 EXPECT_TRUE(A.isUnsigned()); 56 EXPECT_TRUE(APSInt::getUnsigned(7).isUnsigned()); 60 EXPECT_TRUE(APSInt::getUnsigned(-7).isUnsigned()); 67 EXPECT_TRUE(APSInt(APInt(3, 7), true).isUnsigned()); 69 EXPECT_TRUE(APSInt(APInt(4, 7), true).isUnsigned()); [all...] |
/external/clang/unittests/ASTMatchers/Dynamic/ |
VariantValueTest.cpp | 23 EXPECT_TRUE(Value.isUnsigned()); 40 EXPECT_FALSE(Value.isUnsigned()); 48 EXPECT_FALSE(Value.isUnsigned()); 78 EXPECT_FALSE(Value.isUnsigned()); 84 EXPECT_FALSE(Value.isUnsigned()); 92 EXPECT_TRUE(Value.isUnsigned()); 100 EXPECT_FALSE(Value.isUnsigned());
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
APSInt.h | 23 bool IsUnsigned; 30 explicit APSInt(uint32_t BitWidth, bool isUnsigned = true) 31 : APInt(BitWidth, 0), IsUnsigned(isUnsigned) {} 33 explicit APSInt(const APInt &I, bool isUnsigned = true) 34 : APInt(I), IsUnsigned(isUnsigned) {} 38 IsUnsigned = RHS.IsUnsigned; 55 bool isSigned() const { return !IsUnsigned; } [all...] |
/external/skqp/src/sksl/ir/ |
SkSLType.cpp | 35 if (this->isUnsigned() && other.isUnsigned()) { 38 if (this->isUnsigned() && other.isSigned() && other.priority() > priority()) {
|
SkSLIntLiteral.h | 48 if (target.isUnsigned()) {
|
SkSLType.h | 242 bool isUnsigned() const { 250 return isSigned() || isUnsigned();
|
/external/clang/lib/StaticAnalyzer/Core/ |
SimpleConstraintManager.cpp | 197 assert(From.isUnsigned() == To.isUnsigned() && 274 ComparisonType.isUnsigned() && !WraparoundType.isUnsigned()) 322 ComparisonType.isUnsigned() && !WraparoundType.isUnsigned())
|
BasicValueFactory.cpp | 90 bool isUnsigned) { 91 llvm::APSInt V(X, isUnsigned); 96 bool isUnsigned) { 97 llvm::APSInt V(BitWidth, isUnsigned);
|
SVals.cpp | 262 if (C.getValue().isUnsigned()) 266 os << ' ' << (C.getValue().isUnsigned() ? 'U' : 'S')
|
/external/clang/lib/Lex/ |
PPExpressions.cpp | 49 bool isUnsigned() const { return Val.isUnsigned(); } 302 Result.Val.setIsUnsigned(Literal.isUnsigned); 308 if (!Literal.isUnsigned && Result.Val.isNegative()) { 428 bool Overflow = !Result.isUnsigned() && Result.Val.isMinSignedValue(); 613 Res.setIsUnsigned(LHS.isUnsigned()|RHS.isUnsigned()); 616 if (ValueLive && Res.isUnsigned()) { 617 if (!LHS.isUnsigned() && LHS.Val.isNegative()) 622 if (!RHS.isUnsigned() && RHS.Val.isNegative() [all...] |
/external/skia/src/sksl/ir/ |
SkSLIntLiteral.h | 48 if (target.isSigned() || target.isUnsigned() || target.isFloat()) {
|
SkSLType.h | 264 bool isUnsigned() const { 272 return isSigned() || isUnsigned();
|
/external/llvm/include/llvm/ADT/ |
APSInt.h | 23 bool IsUnsigned; 27 explicit APSInt() : IsUnsigned(false) {} 31 explicit APSInt(uint32_t BitWidth, bool isUnsigned = true) 32 : APInt(BitWidth, 0), IsUnsigned(isUnsigned) {} 34 explicit APSInt(APInt I, bool isUnsigned = true) 35 : APInt(std::move(I)), IsUnsigned(isUnsigned) {} 59 bool isSigned() const { return !IsUnsigned; } 60 bool isUnsigned() const { return IsUnsigned; [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
APSInt.h | 23 bool IsUnsigned; 27 explicit APSInt() : IsUnsigned(false) {} 31 explicit APSInt(uint32_t BitWidth, bool isUnsigned = true) 32 : APInt(BitWidth, 0), IsUnsigned(isUnsigned) {} 34 explicit APSInt(APInt I, bool isUnsigned = true) 35 : APInt(std::move(I)), IsUnsigned(isUnsigned) {} 59 bool isSigned() const { return !IsUnsigned; } 60 bool isUnsigned() const { return IsUnsigned; [all...] |
/external/clang/lib/ASTMatchers/Dynamic/ |
VariantValue.cpp | 298 bool VariantValue::isUnsigned() const { 303 assert(isUnsigned()); 346 if (!isUnsigned())
|
/external/clang/include/clang/Basic/ |
TargetBuiltins.h | 123 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { 124 if (IsUnsigned) 135 bool isUnsigned() const { return (Flags & UnsignedFlag) != 0; }
|
/external/clang/include/clang/ASTMatchers/Dynamic/ |
VariantValue.h | 265 bool isUnsigned() const;
|
/external/deqp/external/vulkancts/modules/vulkan/subgroups/ |
vktSubgroupsArithmeticTests.cpp | 235 bool isUnsigned = false; 252 isUnsigned = true; 295 else if (isUnsigned) 315 else if (isUnsigned) [all...] |
vktSubgroupsClusteredTests.cpp | 179 bool isUnsigned = false; 196 isUnsigned = true; 233 else if (isUnsigned) 251 else if (isUnsigned)
|
vktSubgroupsPartitionedTests.cpp | 244 bool isUnsigned = false; 261 isUnsigned = true; 304 else if (isUnsigned) 324 else if (isUnsigned) [all...] |