/external/clang/test/Index/ |
print-bitwidth.c | 16 // RUN: c-index-test -test-print-bitwidth %s | FileCheck %s 17 // CHECK: FieldDecl=ac:2:12 (Definition) bitwidth=4 18 // CHECK: FieldDecl=:3:3 (Definition) bitwidth=4 19 // CHECK: FieldDecl=clock:4:12 (Definition) bitwidth=1 20 // CHECK: FieldDecl=:5:3 (Definition) bitwidth=0 21 // CHECK: FieldDecl=flag:6:12 (Definition) bitwidth=1 22 // CHECK: FieldDecl=light:10:12 (Definition) bitwidth=1 23 // CHECK: FieldDecl=toaster:11:12 (Definition) bitwidth=1
|
/external/llvm/test/Transforms/InstCombine/ |
apint-mul1.ll | 2 ; This test is for Integer BitWidth < 64 && BitWidth % 2 != 0.
|
apint-mul2.ll | 2 ; This test is for Integer BitWidth >= 64 && BitWidth % 2 >= 1024.
|
apint-zext2.ll | 2 ; This test is for Integer BitWidth > 64 && BitWidth <= 1024.
|
apint-zext1.ll | 2 ; This test is for Integer BitWidth <= 64 && BitWidth % 2 != 0.
|
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/ |
apint-mul1.ll | 2 ; This test is for Integer BitWidth < 64 && BitWidth % 2 != 0.
|
apint-mul2.ll | 2 ; This test is for Integer BitWidth >= 64 && BitWidth % 2 >= 1024.
|
apint-zext2.ll | 2 ; This test is for Integer BitWidth > 64 && BitWidth <= 1024.
|
apint-zext1.ll | 2 ; This test is for Integer BitWidth <= 64 && BitWidth % 2 != 0.
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
APSIntType.h | 21 uint32_t BitWidth; 26 : BitWidth(Width), IsUnsigned(Unsigned) {} 29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 31 uint32_t getBitWidth() const { return BitWidth; } 41 Value = Value.extOrTrunc(BitWidth); 57 return llvm::APSInt(BitWidth, IsUnsigned); 62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); 67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); 71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); 93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
APSIntType.h | 21 uint32_t BitWidth; 26 : BitWidth(Width), IsUnsigned(Unsigned) {} 29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 31 uint32_t getBitWidth() const { return BitWidth; } 41 Value = Value.extOrTrunc(BitWidth); 57 return llvm::APSInt(BitWidth, IsUnsigned); 62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); 67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); 71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); 93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/StaticAnalyzer/Core/PathSensitive/ |
APSIntType.h | 21 uint32_t BitWidth; 26 : BitWidth(Width), IsUnsigned(Unsigned) {} 29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 31 uint32_t getBitWidth() const { return BitWidth; } 41 Value = Value.extOrTrunc(BitWidth); 57 return llvm::APSInt(BitWidth, IsUnsigned); 62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); 67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); 71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); 93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/StaticAnalyzer/Core/PathSensitive/ |
APSIntType.h | 21 uint32_t BitWidth; 26 : BitWidth(Width), IsUnsigned(Unsigned) {} 29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 31 uint32_t getBitWidth() const { return BitWidth; } 41 Value = Value.extOrTrunc(BitWidth); 57 return llvm::APSInt(BitWidth, IsUnsigned); 62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); 67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); 71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); 93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/StaticAnalyzer/Core/PathSensitive/ |
APSIntType.h | 21 uint32_t BitWidth; 26 : BitWidth(Width), IsUnsigned(Unsigned) {} 29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 31 uint32_t getBitWidth() const { return BitWidth; } 41 Value = Value.extOrTrunc(BitWidth); 57 return llvm::APSInt(BitWidth, IsUnsigned); 62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); 67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); 71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); 93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/clang/StaticAnalyzer/Core/PathSensitive/ |
APSIntType.h | 21 uint32_t BitWidth; 26 : BitWidth(Width), IsUnsigned(Unsigned) {} 29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 31 uint32_t getBitWidth() const { return BitWidth; } 41 Value = Value.extOrTrunc(BitWidth); 57 return llvm::APSInt(BitWidth, IsUnsigned); 62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); 67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); 71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); 93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/clang/StaticAnalyzer/Core/PathSensitive/ |
APSIntType.h | 21 uint32_t BitWidth; 26 : BitWidth(Width), IsUnsigned(Unsigned) {} 29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 31 uint32_t getBitWidth() const { return BitWidth; } 41 Value = Value.extOrTrunc(BitWidth); 57 return llvm::APSInt(BitWidth, IsUnsigned); 62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); 67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); 71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); 93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/clang/StaticAnalyzer/Core/PathSensitive/ |
APSIntType.h | 21 uint32_t BitWidth; 26 : BitWidth(Width), IsUnsigned(Unsigned) {} 29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 31 uint32_t getBitWidth() const { return BitWidth; } 41 Value = Value.extOrTrunc(BitWidth); 57 return llvm::APSInt(BitWidth, IsUnsigned); 62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); 67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); 71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); 93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
APSIntType.h | 21 uint32_t BitWidth; 26 : BitWidth(Width), IsUnsigned(Unsigned) {} 29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 31 uint32_t getBitWidth() const { return BitWidth; } 41 Value = Value.extOrTrunc(BitWidth); 57 return llvm::APSInt(BitWidth, IsUnsigned); 62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); 67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); 71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); 93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/clang/StaticAnalyzer/Core/PathSensitive/ |
APSIntType.h | 21 uint32_t BitWidth; 26 : BitWidth(Width), IsUnsigned(Unsigned) {} 29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 31 uint32_t getBitWidth() const { return BitWidth; } 41 Value = Value.extOrTrunc(BitWidth); 57 return llvm::APSInt(BitWidth, IsUnsigned); 62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); 67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); 71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); 93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/clang/StaticAnalyzer/Core/PathSensitive/ |
APSIntType.h | 21 uint32_t BitWidth; 26 : BitWidth(Width), IsUnsigned(Unsigned) {} 29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 31 uint32_t getBitWidth() const { return BitWidth; } 41 Value = Value.extOrTrunc(BitWidth); 57 return llvm::APSInt(BitWidth, IsUnsigned); 62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); 67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); 71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); 93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/clang/StaticAnalyzer/Core/PathSensitive/ |
APSIntType.h | 21 uint32_t BitWidth; 26 : BitWidth(Width), IsUnsigned(Unsigned) {} 29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 31 uint32_t getBitWidth() const { return BitWidth; } 41 Value = Value.extOrTrunc(BitWidth); 57 return llvm::APSInt(BitWidth, IsUnsigned); 62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); 67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); 71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); 93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/clang/StaticAnalyzer/Core/PathSensitive/ |
APSIntType.h | 21 uint32_t BitWidth; 26 : BitWidth(Width), IsUnsigned(Unsigned) {} 29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 31 uint32_t getBitWidth() const { return BitWidth; } 41 Value = Value.extOrTrunc(BitWidth); 57 return llvm::APSInt(BitWidth, IsUnsigned); 62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); 67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); 71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); 93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned [all...] |
/prebuilts/clang/host/linux-x86/clang-4639204/include/clang/StaticAnalyzer/Core/PathSensitive/ |
APSIntType.h | 21 uint32_t BitWidth; 26 : BitWidth(Width), IsUnsigned(Unsigned) {} 29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 31 uint32_t getBitWidth() const { return BitWidth; } 41 Value = Value.extOrTrunc(BitWidth); 57 return llvm::APSInt(BitWidth, IsUnsigned); 62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); 67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); 71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); 93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned [all...] |
/prebuilts/clang/host/linux-x86/clang-4691093/include/clang/StaticAnalyzer/Core/PathSensitive/ |
APSIntType.h | 21 uint32_t BitWidth; 26 : BitWidth(Width), IsUnsigned(Unsigned) {} 29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 31 uint32_t getBitWidth() const { return BitWidth; } 41 Value = Value.extOrTrunc(BitWidth); 57 return llvm::APSInt(BitWidth, IsUnsigned); 62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); 67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); 71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); 93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Support/ |
KnownBits.h | 36 /// Create a known bits object of BitWidth bits initialized to unknown. 37 KnownBits(unsigned BitWidth) : Zero(BitWidth, 0), One(BitWidth, 0) {} 115 KnownBits trunc(unsigned BitWidth) { 116 return KnownBits(Zero.trunc(BitWidth), One.trunc(BitWidth)); 121 KnownBits zext(unsigned BitWidth) { 122 return KnownBits(Zero.zext(BitWidth), One.zext(BitWidth)); [all...] |