HomeSort by relevance Sort by last modified time
    Searched full:bitwidth (Results 1 - 25 of 205) sorted by null

1 2 3 4 5 6 7 8 9

  /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.
apint-div1.ll 2 ; This test is for Integer BitWidth < 64 && BitWidth % 2 != 0.
apint-div2.ll 2 ; This test is for Integer BitWidth >= 64 && BitWidth <= 1024.
apint-rem1.ll 2 ; This test is for Integer BitWidth < 64 && BitWidth % 2 != 0.
apint-rem2.ll 2 ; This test is for Integer BitWidth >= 64 && BitWidth <= 1024.
apint-add1.ll 2 ; This test is for Integer BitWidth <= 64 && BitWidth % 8 != 0.
apint-or.ll 3 ; These tests are for Integer BitWidth <= 64 && BitWidth % 2 != 0.
42 ; These tests are for Integer BitWidth > 64 && BitWidth <= 1024.
apint-and1.ll 2 ; This test is for Integer BitWidth <= 64 && BitWidth % 8 != 0.
apint-xor1.ll 2 ; This test is for Integer BitWidth <= 64 && BitWidth % 8 != 0.
apint-xor2.ll 2 ; This test is for Integer BitWidth > 64 && BitWidth <= 1024.
  /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...]
  /external/llvm/lib/Analysis/
DemandedBits.cpp 75 unsigned BitWidth = AB.getBitWidth();
84 [&](unsigned BitWidth, const Value *V1, const Value *V2) {
86 KnownZero = APInt(BitWidth, 0);
87 KnownOne = APInt(BitWidth, 0);
92 KnownZero2 = APInt(BitWidth, 0);
93 KnownOne2 = APInt(BitWidth, 0);
116 ComputeKnownBits(BitWidth, I, nullptr);
117 AB = APInt::getHighBitsSet(BitWidth,
118 std::min(BitWidth, KnownOne.countLeadingZeros()+1));
126 ComputeKnownBits(BitWidth, I, nullptr)
    [all...]
ValueTracking.cpp 73 /// Returns the bitwidth of the given scalar or pointer type (if unknown returns
74 /// 0). For vector types, returns the element type's bitwidth.
76 if (unsigned BitWidth = Ty->getScalarSizeInBits())
77 return BitWidth;
239 unsigned BitWidth = KnownZero.getBitWidth();
241 // NLZ can't be BitWidth with no sign bit
242 APInt MaskV = APInt::getHighBitsSet(BitWidth, NLZ+1);
251 KnownZero = APInt::getHighBitsSet(BitWidth, NLZ2);
257 unsigned BitWidth = KnownZero.getBitWidth();
261 APInt LHSKnownZero(BitWidth, 0), LHSKnownOne(BitWidth, 0)
    [all...]
  /external/llvm/lib/ExecutionEngine/Orc/
OrcMCJITReplacement.cpp 91 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
92 if (BitWidth == 1)
93 rv.IntVal = APInt(BitWidth, ((bool (*)())(intptr_t)FPtr)());
94 else if (BitWidth <= 8)
95 rv.IntVal = APInt(BitWidth, ((char (*)())(intptr_t)FPtr)());
96 else if (BitWidth <= 16)
97 rv.IntVal = APInt(BitWidth, ((short (*)())(intptr_t)FPtr)());
98 else if (BitWidth <= 32)
99 rv.IntVal = APInt(BitWidth, ((int (*)())(intptr_t)FPtr)());
100 else if (BitWidth <= 64
    [all...]
  /external/llvm/lib/Support/
APInt.cpp 91 assert(BitWidth && "Bitwidth too small");
108 : BitWidth(numBits), VAL(0) {
113 : BitWidth(numBits), VAL(0) {
118 : BitWidth(numbits), VAL(0) {
119 assert(BitWidth && "Bitwidth too small");
128 if (BitWidth == RHS.getBitWidth()) {
151 BitWidth = RHS.BitWidth;
    [all...]
  /external/llvm/test/Transforms/InstSimplify/
apint-or.ll 3 ; Test the case where integer BitWidth <= 64 && BitWidth % 2 != 0.
35 ; Test the case where Integer BitWidth > 64 && BitWidth <= 1024.
  /frameworks/compile/slang/
slang_rs_reflect_utils.cpp 120 int bitwidth, GeneratedFile &out) {
122 out.indent() << "// return byte array representation of the " << bitwidth
124 out.indent() << "public static byte[] getBitCode" << bitwidth << "()";
126 out.indent() << "return getBitCode" << bitwidth << "Internal();\n";
133 static bool GenerateSegmentMethod(const char *buff, int blen, int bitwidth,
135 out.indent() << "private static byte[] getSegment" << bitwidth << "_"
165 int bitwidth, GeneratedFile &out) {
168 if (bitwidth == 64) {
179 GenerateAccessorMethod(context, bitwidth, out);
190 GenerateSegmentMethod(buff, read_length, bitwidth, seg_num, out)
    [all...]
  /external/llvm/test/CodeGen/AArch64/
arm64-fastisel-gep-promote-before-add.ll 1 ; fastisel should not fold add with non-pointer bitwidth
  /external/llvm/test/CodeGen/ARM/
fastisel-gep-promote-before-add.ll 1 ; fastisel should not fold add with non-pointer bitwidth
  /external/llvm/test/CodeGen/PowerPC/
fastisel-gep-promote-before-add.ll 1 ; fastisel should not fold add with non-pointer bitwidth
  /external/llvm/test/Transforms/Float2Int/
toolarge.ll 9 ; up to i64, so it should fail (even though the max integer bitwidth is 256).

Completed in 957 milliseconds

1 2 3 4 5 6 7 8 9