/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/llvm-project/clang/unittests/ASTMatchers/Dynamic/ |
D | VariantValueTest.cpp | 22 EXPECT_TRUE(Value.isUnsigned()); in TEST() 39 EXPECT_FALSE(Value.isUnsigned()); in TEST() 47 EXPECT_FALSE(Value.isUnsigned()); in TEST() 79 EXPECT_FALSE(Value.isUnsigned()); in TEST() 87 EXPECT_FALSE(Value.isUnsigned()); in TEST() 98 EXPECT_FALSE(Value.isUnsigned()); in TEST() 107 EXPECT_FALSE(Value.isUnsigned()); in TEST() 112 EXPECT_TRUE(Value.isUnsigned()); in TEST() 124 EXPECT_FALSE(Value.isUnsigned()); in TEST()
|
/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/llvm-project/llvm/unittests/ADT/ |
D | APSIntTest.cpp | 18 EXPECT_TRUE(A.isUnsigned()); in TEST() 22 EXPECT_FALSE(A.isUnsigned()); in TEST() 25 EXPECT_FALSE(C.isUnsigned()); in TEST() 30 EXPECT_TRUE(D.isUnsigned()); in TEST() 34 EXPECT_TRUE(A.isUnsigned()); in TEST() 39 EXPECT_TRUE(A.isUnsigned()); in TEST() 55 EXPECT_TRUE(APSInt::getUnsigned(7).isUnsigned()); in TEST() 59 EXPECT_TRUE(APSInt::getUnsigned(-7).isUnsigned()); in TEST() 66 EXPECT_TRUE(APSInt(APInt(3, 7), true).isUnsigned()); in TEST() 68 EXPECT_TRUE(APSInt(APInt(4, 7), true).isUnsigned()); in TEST() [all …]
|
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | BasicValueFactory.h | 125 const llvm::APSInt& getValue(uint64_t X, unsigned BitWidth, bool isUnsigned); 137 const llvm::APSInt& getValue(const llvm::APInt& X, bool isUnsigned); 170 const llvm::APSInt &getIntValue(uint64_t X, bool isUnsigned) { in getIntValue() argument 171 QualType T = isUnsigned ? Ctx.UnsignedIntTy : Ctx.IntTy; in getIntValue() 216 const llvm::APSInt &getZeroWithPtrWidth(bool isUnsigned = true) { 217 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); 220 const llvm::APSInt &getIntWithPtrWidth(uint64_t X, bool isUnsigned) { in getIntWithPtrWidth() argument 221 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); in getIntWithPtrWidth()
|
D | APSIntType.h | 28 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} in APSIntType() 31 bool isUnsigned() const { return IsUnsigned; } in isUnsigned() function 49 llvm::APSInt Result(Value, Value.isUnsigned()); in convert()
|
D | SValBuilder.h | 298 NonLoc makeIntVal(const llvm::APInt& integer, bool isUnsigned) { in makeIntVal() argument 299 return nonloc::ConcreteInt(BasicVals.getValue(integer, isUnsigned)); in makeIntVal() 309 NonLoc makeIntVal(uint64_t integer, bool isUnsigned) { in makeIntVal() argument 310 return nonloc::ConcreteInt(BasicVals.getIntValue(integer, isUnsigned)); in makeIntVal() 313 NonLoc makeIntValWithPtrWidth(uint64_t integer, bool isUnsigned) { in makeIntValWithPtrWidth() argument 315 BasicVals.getIntWithPtrWidth(integer, isUnsigned)); in makeIntValWithPtrWidth()
|
/external/clang/lib/Lex/ |
D | PPExpressions.cpp | 49 bool isUnsigned() const { return Val.isUnsigned(); } in isUnsigned() function in __anond9369a770111::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/llvm-project/clang/lib/Lex/ |
D | PPExpressions.cpp | 61 bool isUnsigned() const { return Val.isUnsigned(); } in isUnsigned() function in __anon3b9c12050111::PPValue 334 Result.Val.setIsUnsigned(Literal.isUnsigned); in EvaluateValue() 340 if (!Literal.isUnsigned && Result.Val.isNegative()) { in EvaluateValue() 461 bool Overflow = !Result.isUnsigned() && Result.Val.isMinSignedValue(); in EvaluateValue() 655 Res.setIsUnsigned(LHS.isUnsigned()|RHS.isUnsigned()); in EvaluateDirectiveSubExpr() 658 if (ValueLive && Res.isUnsigned()) { in EvaluateDirectiveSubExpr() 659 if (!LHS.isUnsigned() && LHS.Val.isNegative()) in EvaluateDirectiveSubExpr() 664 if (!RHS.isUnsigned() && RHS.Val.isNegative()) in EvaluateDirectiveSubExpr() 670 LHS.Val.setIsUnsigned(Res.isUnsigned()); in EvaluateDirectiveSubExpr() 671 RHS.Val.setIsUnsigned(Res.isUnsigned()); in EvaluateDirectiveSubExpr() [all …]
|
/external/deqp-deps/glslang/glslang/MachineIndependent/preprocessor/ |
D | PpScanner.cpp | 543 bool isUnsigned = false; in scan() local 585 isUnsigned = true; in scan() 626 return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64; in scan() 637 return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16; in scan() 642 return isUnsigned ? PpAtomConstUint : PpAtomConstInt; in scan() 647 bool isUnsigned = false; in scan() local 693 isUnsigned = true; in scan() 740 return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64; in scan() 751 return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16; in scan() 754 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/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/ |
D | convert_type.cc | 112 *dtype = itype.isUnsigned() ? DT_UINT8 : DT_INT8; in ConvertScalarTypeToDataType() 115 *dtype = itype.isUnsigned() ? DT_UINT16 : DT_INT16; in ConvertScalarTypeToDataType() 118 *dtype = itype.isUnsigned() ? DT_UINT32 : DT_INT32; in ConvertScalarTypeToDataType() 121 *dtype = itype.isUnsigned() ? DT_UINT64 : DT_INT64; in ConvertScalarTypeToDataType()
|
/external/llvm-project/llvm/test/Assembler/ |
D | DIEnumeratorBig.ll | 12 ; CHECK: !DIEnumerator(name: "D1", value: 2722258935367507707706996859454145691648, isUnsigned: tru… 13 !2 = !DIEnumerator(name: "D1", value: 2722258935367507707706996859454145691648, isUnsigned: true)
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | RangedConstraintManager.cpp | 111 ComparisonType.isUnsigned() && !WraparoundType.isUnsigned()) in assumeSymInclusiveRange() 177 ComparisonType.isUnsigned() && !WraparoundType.isUnsigned()) in assumeSymRel()
|
D | BasicValueFactory.cpp | 108 bool isUnsigned) { in getValue() argument 109 llvm::APSInt V(X, isUnsigned); in getValue() 114 bool isUnsigned) { in getValue() argument 115 llvm::APSInt V(BitWidth, isUnsigned); in getValue()
|
/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()
|
/external/swiftshader/third_party/llvm-10.0/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(APInt I, bool isUnsigned = true) 34 : APInt(std::move(I)), IsUnsigned(isUnsigned) {} in APInt() 77 bool isUnsigned() const { return IsUnsigned; } in isUnsigned() function
|
/external/llvm-project/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(APInt I, bool isUnsigned = true) 34 : APInt(std::move(I)), IsUnsigned(isUnsigned) {} in APInt() 77 bool isUnsigned() const { return IsUnsigned; } in isUnsigned() function
|
/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/llvm-project/mlir/lib/IR/ |
D | Types.cpp | 65 return intTy.isUnsigned(); in isUnsignedInteger() 71 return intTy.isUnsigned() && intTy.getWidth() == width; in isUnsignedInteger()
|
/external/deqp/external/vulkancts/modules/vulkan/subgroups/ |
D | vktSubgroupsScanHelpers.cpp | 159 const bool isUnsigned = subgroups::isFormatUnsigned(format); in getIdentity() local 210 else if (isUnsigned) in getIdentity() 259 else if (isUnsigned) in getIdentity()
|