/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | APSIntTest.cpp | 19 EXPECT_TRUE(A.isUnsigned()); in TEST() 23 EXPECT_FALSE(A.isUnsigned()); in TEST() 26 EXPECT_FALSE(C.isUnsigned()); in TEST() 31 EXPECT_TRUE(D.isUnsigned()); in TEST() 35 EXPECT_TRUE(A.isUnsigned()); in TEST() 40 EXPECT_TRUE(A.isUnsigned()); in TEST() 56 EXPECT_TRUE(APSInt::getUnsigned(7).isUnsigned()); in TEST() 60 EXPECT_TRUE(APSInt::getUnsigned(-7).isUnsigned()); in TEST() 67 EXPECT_TRUE(APSInt(APInt(3, 7), true).isUnsigned()); in TEST() 69 EXPECT_TRUE(APSInt(APInt(4, 7), true).isUnsigned()); in TEST() [all …]
|
/external/llvm/unittests/ADT/ |
D | APSIntTest.cpp | 19 EXPECT_TRUE(A.isUnsigned()); in TEST() 23 EXPECT_FALSE(A.isUnsigned()); in TEST() 26 EXPECT_FALSE(C.isUnsigned()); in TEST() 31 EXPECT_TRUE(D.isUnsigned()); in TEST() 35 EXPECT_TRUE(A.isUnsigned()); in TEST() 40 EXPECT_TRUE(A.isUnsigned()); in TEST() 56 EXPECT_TRUE(APSInt::getUnsigned(7).isUnsigned()); in TEST() 60 EXPECT_TRUE(APSInt::getUnsigned(-7).isUnsigned()); in TEST() 67 EXPECT_TRUE(APSInt(APInt(3, 7), true).isUnsigned()); in TEST() 69 EXPECT_TRUE(APSInt(APInt(4, 7), true).isUnsigned()); in TEST() [all …]
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
D | VariantValueTest.cpp | 23 EXPECT_TRUE(Value.isUnsigned()); in TEST() 40 EXPECT_FALSE(Value.isUnsigned()); in TEST() 48 EXPECT_FALSE(Value.isUnsigned()); in TEST() 78 EXPECT_FALSE(Value.isUnsigned()); in TEST() 84 EXPECT_FALSE(Value.isUnsigned()); in TEST() 92 EXPECT_TRUE(Value.isUnsigned()); in TEST() 100 EXPECT_FALSE(Value.isUnsigned()); in TEST()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | 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) { in getIntValue() argument 121 QualType T = isUnsigned ? Ctx.UnsignedIntTy : Ctx.IntTy; in getIntValue() 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) { in getIntWithPtrWidth() argument 158 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); in getIntWithPtrWidth()
|
D | APSIntType.h | 29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} in APSIntType() 32 bool isUnsigned() const { return IsUnsigned; } in isUnsigned() function 50 llvm::APSInt Result(Value, Value.isUnsigned()); in convert()
|
D | SValBuilder.h | 257 NonLoc makeIntVal(const llvm::APInt& integer, bool isUnsigned) { in makeIntVal() argument 258 return nonloc::ConcreteInt(BasicVals.getValue(integer, isUnsigned)); in makeIntVal() 268 NonLoc makeIntVal(uint64_t integer, bool isUnsigned) { in makeIntVal() argument 269 return nonloc::ConcreteInt(BasicVals.getIntValue(integer, isUnsigned)); in makeIntVal() 272 NonLoc makeIntValWithPtrWidth(uint64_t integer, bool isUnsigned) { in makeIntValWithPtrWidth() argument 274 BasicVals.getIntWithPtrWidth(integer, isUnsigned)); in makeIntValWithPtrWidth()
|
/external/clang/lib/Lex/ |
D | PPExpressions.cpp | 49 bool isUnsigned() const { return Val.isUnsigned(); } in isUnsigned() function in __anon8cafcec00111::PPValue 302 Result.Val.setIsUnsigned(Literal.isUnsigned); in EvaluateValue() 308 if (!Literal.isUnsigned && Result.Val.isNegative()) { in EvaluateValue() 428 bool Overflow = !Result.isUnsigned() && Result.Val.isMinSignedValue(); in EvaluateValue() 613 Res.setIsUnsigned(LHS.isUnsigned()|RHS.isUnsigned()); in EvaluateDirectiveSubExpr() 616 if (ValueLive && Res.isUnsigned()) { in EvaluateDirectiveSubExpr() 617 if (!LHS.isUnsigned() && LHS.Val.isNegative()) in EvaluateDirectiveSubExpr() 622 if (!RHS.isUnsigned() && RHS.Val.isNegative()) in EvaluateDirectiveSubExpr() 628 LHS.Val.setIsUnsigned(Res.isUnsigned()); in EvaluateDirectiveSubExpr() 629 RHS.Val.setIsUnsigned(Res.isUnsigned()); in EvaluateDirectiveSubExpr() [all …]
|
/external/deqp-deps/glslang/glslang/MachineIndependent/preprocessor/ |
D | PpScanner.cpp | 523 bool isUnsigned = false; in scan() local 565 isUnsigned = true; in scan() 608 return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64; in scan() 619 return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16; in scan() 624 return isUnsigned ? PpAtomConstUint : PpAtomConstInt; in scan() 629 bool isUnsigned = false; in scan() local 675 isUnsigned = true; in scan() 724 return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64; in scan() 735 return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16; in scan() 738 return isUnsigned ? PpAtomConstUint : PpAtomConstInt; in scan() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SimpleConstraintManager.cpp | 197 assert(From.isUnsigned() == To.isUnsigned() && in assumeWithinInclusiveRange() 274 ComparisonType.isUnsigned() && !WraparoundType.isUnsigned()) in assumeSymRel() 322 ComparisonType.isUnsigned() && !WraparoundType.isUnsigned()) in assumeSymWithinInclusiveRange()
|
D | BasicValueFactory.cpp | 90 bool isUnsigned) { in getValue() argument 91 llvm::APSInt V(X, isUnsigned); in getValue() 96 bool isUnsigned) { in getValue() argument 97 llvm::APSInt V(BitWidth, isUnsigned); in getValue()
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | APSInt.h | 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) {} in APInt() 56 bool isUnsigned() const { return IsUnsigned; } in isUnsigned() function
|
/external/skqp/src/sksl/ir/ |
D | SkSLType.cpp | 35 if (this->isUnsigned() && other.isUnsigned()) { in coercionCost() 38 if (this->isUnsigned() && other.isSigned() && other.priority() > priority()) { in coercionCost()
|
D | SkSLIntLiteral.h | 48 if (target.isUnsigned()) { in coercionCost()
|
D | SkSLType.h | 242 bool isUnsigned() const { in isUnsigned() function 250 return isSigned() || isUnsigned(); in isInteger()
|
/external/llvm/include/llvm/ADT/ |
D | APSInt.h | 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) {} in APInt() 60 bool isUnsigned() const { return IsUnsigned; } in isUnsigned() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | APSInt.h | 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) {} in APInt() 60 bool isUnsigned() const { return IsUnsigned; } in isUnsigned() function
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | VariantValue.cpp | 298 bool VariantValue::isUnsigned() const { in isUnsigned() function in clang::ast_matchers::dynamic::VariantValue 303 assert(isUnsigned()); in getUnsigned() 346 if (!isUnsigned()) in isConvertibleTo()
|
/external/clang/test/CodeGen/ |
D | pascal-wchar-string.c | 40 volatile int isUnsigned = (wchar_t)-1 > (wchar_t)0; in test2() local
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/Generic/ |
D | debug-info-enum.ll | 52 !13 = !DIEnumerator(name: "A1", value: 255, isUnsigned: true) 84 !22 = !DIEnumerator(name: "A3", value: 65535, isUnsigned: true) 116 !31 = !DIEnumerator(name: "A5", value: 4294967295, isUnsigned: true) 148 !40 = !DIEnumerator(name: "A7", value: 18446744073709551615, isUnsigned: true)
|
/external/deqp/external/vulkancts/modules/vulkan/subgroups/ |
D | vktSubgroupsClusteredTests.cpp | 179 bool isUnsigned = false; in getIdentity() local 196 isUnsigned = true; in getIdentity() 233 else if (isUnsigned) in getIdentity() 251 else if (isUnsigned) in getIdentity()
|
D | vktSubgroupsPartitionedTests.cpp | 244 bool isUnsigned = false; in getIdentity() local 261 isUnsigned = true; in getIdentity() 304 else if (isUnsigned) in getIdentity() 324 else if (isUnsigned) in getIdentity()
|
D | vktSubgroupsArithmeticTests.cpp | 235 bool isUnsigned = false; in getIdentity() local 252 isUnsigned = true; in getIdentity() 295 else if (isUnsigned) in getIdentity() 315 else if (isUnsigned) in getIdentity()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Assembler/ |
D | DIEnumerator.ll | 71 !22 = !DIEnumerator(name: "A3", value: 9223372036854775808, isUnsigned: true) 72 ; CHECK: !DIEnumerator(name: "A3", value: 9223372036854775808, isUnsigned: true)
|
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 614 bool isUnsigned = false; in EmitCmp() local 644 isUnsigned = true; // FALLTHROUGH in EmitCmp() 654 isUnsigned = true; // FALLTHROUGH in EmitCmp() 664 isUnsigned = true; // FALLTHROUGH in EmitCmp() 674 isUnsigned = true; // FALLTHROUGH in EmitCmp() 684 return DAG.getNode((isUnsigned ? SystemZISD::UCMP : SystemZISD::CMP), in EmitCmp()
|
/external/skia/src/sksl/ir/ |
D | SkSLIntLiteral.h | 48 if (target.isSigned() || target.isUnsigned() || target.isFloat()) { in coercionCost()
|