/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));
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/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 | 104 const llvm::APSInt& getValue(uint64_t X, unsigned BitWidth, bool isUnsigned); 117 const llvm::APSInt& getValue(const llvm::APInt& X, bool isUnsigned); 146 const llvm::APSInt& getIntValue(uint64_t X, bool isUnsigned) { 147 QualType T = isUnsigned ? Ctx.UnsignedIntTy : Ctx.IntTy; 179 inline const llvm::APSInt& getZeroWithPtrWidth(bool isUnsigned = true) { 180 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); 183 inline const llvm::APSInt &getIntWithPtrWidth(uint64_t X, bool isUnsigned) { 184 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/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 | 104 const llvm::APSInt& getValue(uint64_t X, unsigned BitWidth, bool isUnsigned); 117 const llvm::APSInt& getValue(const llvm::APInt& X, bool isUnsigned); 146 const llvm::APSInt& getIntValue(uint64_t X, bool isUnsigned) { 147 QualType T = isUnsigned ? Ctx.UnsignedIntTy : Ctx.IntTy; 179 inline const llvm::APSInt& getZeroWithPtrWidth(bool isUnsigned = true) { 180 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); 183 inline const llvm::APSInt &getIntWithPtrWidth(uint64_t X, bool isUnsigned) { 184 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/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 | 104 const llvm::APSInt& getValue(uint64_t X, unsigned BitWidth, bool isUnsigned); 117 const llvm::APSInt& getValue(const llvm::APInt& X, bool isUnsigned); 146 const llvm::APSInt& getIntValue(uint64_t X, bool isUnsigned) { 147 QualType T = isUnsigned ? Ctx.UnsignedIntTy : Ctx.IntTy; 179 inline const llvm::APSInt& getZeroWithPtrWidth(bool isUnsigned = true) { 180 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); 183 inline const llvm::APSInt &getIntWithPtrWidth(uint64_t X, bool isUnsigned) { 184 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/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 | 104 const llvm::APSInt& getValue(uint64_t X, unsigned BitWidth, bool isUnsigned); 117 const llvm::APSInt& getValue(const llvm::APInt& X, bool isUnsigned); 146 const llvm::APSInt& getIntValue(uint64_t X, bool isUnsigned) { 147 QualType T = isUnsigned ? Ctx.UnsignedIntTy : Ctx.IntTy; 179 inline const llvm::APSInt& getZeroWithPtrWidth(bool isUnsigned = true) { 180 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); 183 inline const llvm::APSInt &getIntWithPtrWidth(uint64_t X, bool isUnsigned) { 184 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/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 | 104 const llvm::APSInt& getValue(uint64_t X, unsigned BitWidth, bool isUnsigned); 117 const llvm::APSInt& getValue(const llvm::APInt& X, bool isUnsigned); 146 const llvm::APSInt& getIntValue(uint64_t X, bool isUnsigned) { 147 QualType T = isUnsigned ? Ctx.UnsignedIntTy : Ctx.IntTy; 179 inline const llvm::APSInt& getZeroWithPtrWidth(bool isUnsigned = true) { 180 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); 183 inline const llvm::APSInt &getIntWithPtrWidth(uint64_t X, bool isUnsigned) { 184 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/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 | 104 const llvm::APSInt& getValue(uint64_t X, unsigned BitWidth, bool isUnsigned); 117 const llvm::APSInt& getValue(const llvm::APInt& X, bool isUnsigned); 146 const llvm::APSInt& getIntValue(uint64_t X, bool isUnsigned) { 147 QualType T = isUnsigned ? Ctx.UnsignedIntTy : Ctx.IntTy; 179 inline const llvm::APSInt& getZeroWithPtrWidth(bool isUnsigned = true) { 180 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); 183 inline const llvm::APSInt &getIntWithPtrWidth(uint64_t X, bool isUnsigned) { 184 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/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 | 104 const llvm::APSInt& getValue(uint64_t X, unsigned BitWidth, bool isUnsigned); 117 const llvm::APSInt& getValue(const llvm::APInt& X, bool isUnsigned); 146 const llvm::APSInt& getIntValue(uint64_t X, bool isUnsigned) { 147 QualType T = isUnsigned ? Ctx.UnsignedIntTy : Ctx.IntTy; 179 inline const llvm::APSInt& getZeroWithPtrWidth(bool isUnsigned = true) { 180 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); 183 inline const llvm::APSInt &getIntWithPtrWidth(uint64_t X, bool isUnsigned) { 184 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/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 | 104 const llvm::APSInt& getValue(uint64_t X, unsigned BitWidth, bool isUnsigned); 117 const llvm::APSInt& getValue(const llvm::APInt& X, bool isUnsigned); 146 const llvm::APSInt& getIntValue(uint64_t X, bool isUnsigned) { 147 QualType T = isUnsigned ? Ctx.UnsignedIntTy : Ctx.IntTy; 179 inline const llvm::APSInt& getZeroWithPtrWidth(bool isUnsigned = true) { 180 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); 183 inline const llvm::APSInt &getIntWithPtrWidth(uint64_t X, bool isUnsigned) { 184 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), 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/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());
|
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/preprocessor/ |
PpScanner.cpp | 303 bool isUnsigned = false; 341 isUnsigned = true; 363 return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64; 366 return isUnsigned ? PpAtomConstUint : PpAtomConstInt; 371 bool isUnsigned = false; 416 isUnsigned = true; 441 return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64; 444 return isUnsigned ? PpAtomConstUint : PpAtomConstInt; 466 bool isUnsigned = false; 471 isUnsigned = true [all...] |
/frameworks/compile/slang/ |
slang_rs_export_var.h | 56 inline bool isUnsigned() const { return mIsUnsigned; }
|
/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...] |