/external/llvm-project/llvm/test/Transforms/PhaseOrdering/ |
D | bitfield-bittests.ll | 28 %bf.clear = and i8 %a.sroa.0.0.trunc, 1 29 %bf.cast = zext i8 %bf.clear to i32 30 %bf.lshr = lshr i8 %a.sroa.0.0.trunc, 1 31 %bf.clear2 = and i8 %bf.lshr, 1 32 %bf.cast3 = zext i8 %bf.clear2 to i32 33 %or = or i32 %bf.cast, %bf.cast3 34 %bf.lshr5 = lshr i8 %a.sroa.0.0.trunc, 2 35 %bf.clear6 = and i8 %bf.lshr5, 1 36 %bf.cast7 = zext i8 %bf.clear6 to i32 37 %or8 = or i32 %or, %bf.cast7 [all …]
|
/external/llvm-project/clang/test/CodeGenCXX/ |
D | finegrain-bitfield-access.cpp | 18 …// CHECK: %bf.load = load i8, i8* getelementptr inbounds (%struct.S1, %struct.S1* @a1, i32 0, i32 … in read8_1() 19 // CHECK-NEXT: %bf.cast = zext i8 %bf.load to i32 in read8_1() 20 // CHECK-NEXT: ret i32 %bf.cast in read8_1() 22 // SANITIZE: %bf.load = load i32, i32* getelementptr inbounds {{.*}}, align 4 in read8_1() 23 // SANITIZE: %bf.lshr = lshr i32 %bf.load, 8 in read8_1() 24 // SANITIZE: %bf.clear = and i32 %bf.lshr, 255 in read8_1() 25 // SANITIZE: ret i32 %bf.clear in read8_1() 33 // SANITIZE: %bf.load = load i32, i32* getelementptr inbounds {{.*}}, align 4 in write8_1() 34 // SANITIZE-NEXT: %bf.clear = and i32 %bf.load, -65281 in write8_1() 35 // SANITIZE-NEXT: %bf.set = or i32 %bf.clear, 768 in write8_1() [all …]
|
/external/wpa_supplicant_8/src/utils/ |
D | bitfield.c | 23 struct bitfield *bf; in bitfield_alloc() local 25 bf = os_zalloc(sizeof(*bf) + (max_bits + 7) / 8); in bitfield_alloc() 26 if (bf == NULL) in bitfield_alloc() 28 bf->bits = (u8 *) (bf + 1); in bitfield_alloc() 29 bf->max_bits = max_bits; in bitfield_alloc() 30 return bf; in bitfield_alloc() 34 void bitfield_free(struct bitfield *bf) in bitfield_free() argument 36 os_free(bf); in bitfield_free() 40 void bitfield_set(struct bitfield *bf, size_t bit) in bitfield_set() argument 42 if (bit >= bf->max_bits) in bitfield_set() [all …]
|
/external/llvm-project/llvm/test/CodeGen/PowerPC/ |
D | bitfieldinsert.ll | 25 %bf.load = load i64, i64* %0, align 8 26 %bf.shl = shl nuw nsw i64 %1, 5 27 %bf.clear = and i64 %bf.load, -2097121 28 %bf.set = or i64 %bf.clear, %bf.shl 29 store i64 %bf.set, i64* %0, align 8 54 %bf.load = load i32, i32* %0, align 4 55 %bf.value = shl i32 %v, 8 56 %bf.shl = and i32 %bf.value, 16776960 57 %bf.clear = and i32 %bf.load, -16776961 58 %bf.set = or i32 %bf.clear, %bf.shl [all …]
|
D | ppc32-lshrti3.ll | 16 %bf.set3 = phi i72 [ %bf.set, %while.cond ], [ %.promoted, %entry ] 17 %bf.lshr = lshr i72 %bf.set3, 40 18 %bf.lshr.tr = trunc i72 %bf.lshr to i32 19 %bf.cast = and i32 %bf.lshr.tr, 65535 20 %dec = add nsw i32 %bf.lshr.tr, 65535 22 %bf.value = shl nuw i72 %0, 40 23 %bf.shl = and i72 %bf.value, 72056494526300160 24 %bf.clear2 = and i72 %bf.set3, -72056494526300161 25 %bf.set = or i72 %bf.shl, %bf.clear2 26 %tobool = icmp eq i32 %bf.cast, 0 [all …]
|
D | load-shift-combine.ll | 22 …%bf.load1 = load i96, i96* bitcast (%struct.S1847* getelementptr inbounds ([5 x %struct.S1847], [5… 23 %bf.clear2 = and i96 %bf.load1, 302231454903657293676543 24 %bf.set3 = or i96 %bf.clear2, -38383394772764476296921088 25 …store i96 %bf.set3, i96* bitcast (%struct.S1847* getelementptr inbounds ([5 x %struct.S1847], [5 x… 30 …%bf.load15 = load i96, i96* bitcast (%struct.S1847* getelementptr inbounds ([5 x %struct.S1847], [… 31 %bf.clear16 = and i96 %bf.load15, -18446744069414584321 32 %bf.set17 = or i96 %bf.clear16, 18446743532543672320 33 …store i96 %bf.set17, i96* bitcast (%struct.S1847* getelementptr inbounds ([5 x %struct.S1847], [5 …
|
/external/llvm/test/CodeGen/PowerPC/ |
D | ppc32-lshrti3.ll | 16 %bf.set3 = phi i72 [ %bf.set, %while.cond ], [ %.promoted, %entry ] 17 %bf.lshr = lshr i72 %bf.set3, 40 18 %bf.lshr.tr = trunc i72 %bf.lshr to i32 19 %bf.cast = and i32 %bf.lshr.tr, 65535 20 %dec = add nsw i32 %bf.lshr.tr, 65535 22 %bf.value = shl nuw i72 %0, 40 23 %bf.shl = and i72 %bf.value, 72056494526300160 24 %bf.clear2 = and i72 %bf.set3, -72056494526300161 25 %bf.set = or i72 %bf.shl, %bf.clear2 26 %tobool = icmp eq i32 %bf.cast, 0 [all …]
|
D | load-shift-combine.ll | 22 …%bf.load1 = load i96, i96* bitcast (%struct.S1847* getelementptr inbounds ([5 x %struct.S1847], [5… 23 %bf.clear2 = and i96 %bf.load1, 302231454903657293676543 24 %bf.set3 = or i96 %bf.clear2, -38383394772764476296921088 25 …store i96 %bf.set3, i96* bitcast (%struct.S1847* getelementptr inbounds ([5 x %struct.S1847], [5 x… 30 …%bf.load15 = load i96, i96* bitcast (%struct.S1847* getelementptr inbounds ([5 x %struct.S1847], [… 31 %bf.clear16 = and i96 %bf.load15, -18446744069414584321 32 %bf.set17 = or i96 %bf.clear16, 18446743532543672320 33 …store i96 %bf.set17, i96* bitcast (%struct.S1847* getelementptr inbounds ([5 x %struct.S1847], [5 …
|
/external/libwebsockets/lib/misc/lwsac/ |
D | lwsac.c | 76 struct lwsac *bf; in lwsac_extend() local 81 bf = lachead->curr; in lwsac_extend() 82 assert(bf); in lwsac_extend() 84 if (bf->alloc_size - bf->ofs < lwsac_align(amount)) in lwsac_extend() 89 memset(((uint8_t *)bf) + bf->ofs, 0, lwsac_align(amount)); in lwsac_extend() 90 bf->ofs += lwsac_align(amount); in lwsac_extend() 100 struct lwsac *bf = *head; in _lwsac_use() local 102 if (bf) in _lwsac_use() 103 lachead = (struct lwsac_head *)&bf[1]; in _lwsac_use() 113 while (bf) { in _lwsac_use() [all …]
|
/external/llvm-project/llvm/test/CodeGen/Mips/ |
D | dins.ll | 39 …%bufptr.sroa.0.0.bufptr.sroa.0.0.bufptr.sroa.0.0.bf.load = load volatile i64, i64* %bufptr.sroa.0,… 40 %bf.clear = and i64 %bufptr.sroa.0.0.bufptr.sroa.0.0.bufptr.sroa.0.0.bf.load, 134217727 41 %bf.set = or i64 %bf.clear, 16508780544 42 store volatile i64 %bf.set, i64* %bufptr.sroa.0, align 8 43 …%bufptr.sroa.4.0.bufptr.sroa.4.0.bufptr.sroa.4.8.bf.load2 = load volatile i64, i64* %bufptr.sroa.4… 44 %bf.clear3 = and i64 %bufptr.sroa.4.0.bufptr.sroa.4.0.bufptr.sroa.4.8.bf.load2, -16911433729 45 %bf.set4 = or i64 %bf.clear3, 1073741824 46 store volatile i64 %bf.set4, i64* %bufptr.sroa.4, align 8 47 …%bufptr.sroa.4.0.bufptr.sroa.4.0.bufptr.sroa.4.8.bf.load6 = load volatile i64, i64* %bufptr.sroa.4… 48 %bf.clear7 = and i64 %bufptr.sroa.4.0.bufptr.sroa.4.0.bufptr.sroa.4.8.bf.load6, 1125899906842623 [all …]
|
/external/guava/android/guava-tests/test/com/google/common/hash/ |
D | BloomFilterTest.java | 69 // Ideally we would also test the bitSize() overflow of this BF, but it runs out of heap space in testLargeBloomFilterDoesntOverflow() 77 private static void assertApproximateElementCountGuess(BloomFilter<?> bf, int sizeGuess) { in assertApproximateElementCountGuess() argument 78 assertThat(bf.approximateElementCount()).isAtLeast((long) (sizeGuess * 0.99)); in assertApproximateElementCountGuess() 79 assertThat(bf.approximateElementCount()).isAtMost((long) (sizeGuess * 1.01)); in assertApproximateElementCountGuess() 84 BloomFilter<String> bf = in testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives() local 91 // Insert "numInsertions" even numbers into the BF. in testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives() 93 bf.put(Integer.toString(i)); in testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives() 95 assertApproximateElementCountGuess(bf, numInsertions); in testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives() 97 // Assert that the BF "might" have all of the even numbers. in testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives() 99 assertTrue(bf.mightContain(Integer.toString(i))); in testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives() [all …]
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | BloomFilterTest.java | 70 // Ideally we would also test the bitSize() overflow of this BF, but it runs out of heap space in testLargeBloomFilterDoesntOverflow() 78 private static void assertApproximateElementCountGuess(BloomFilter<?> bf, int sizeGuess) { in assertApproximateElementCountGuess() argument 79 assertThat(bf.approximateElementCount()).isAtLeast((long) (sizeGuess * 0.99)); in assertApproximateElementCountGuess() 80 assertThat(bf.approximateElementCount()).isAtMost((long) (sizeGuess * 1.01)); in assertApproximateElementCountGuess() 85 BloomFilter<String> bf = in testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives() local 92 // Insert "numInsertions" even numbers into the BF. in testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives() 94 bf.put(Integer.toString(i)); in testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives() 96 assertApproximateElementCountGuess(bf, numInsertions); in testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives() 98 // Assert that the BF "might" have all of the even numbers. in testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives() 100 assertTrue(bf.mightContain(Integer.toString(i))); in testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives() [all …]
|
/external/llvm/test/Transforms/InstCombine/ |
D | 2013-03-05-Combine-BitcastTy-Into-Alloca.ll | 22 %bf.value = shl nuw nsw i96 %0, 6 23 %bf.clear = and i96 %k.sroa.0.0.copyload, -288230376151711744 25 %bf.value2 = shl nuw nsw i96 %1, 32 26 %bf.shl3 = and i96 %bf.value2, 288230371856744448 27 %bf.value.masked = and i96 %bf.value, 4294967232 29 %bf.value8 = and i96 %2, 63 30 %bf.clear4 = or i96 %bf.shl3, %bf.value.masked 31 %bf.set5 = or i96 %bf.clear4, %bf.value8 32 %bf.set10 = or i96 %bf.set5, %bf.clear 34 store i96 %bf.set10, i96* %retval.0.cast7, align 8 [all …]
|
/external/llvm-project/llvm/test/Transforms/InstCombine/ |
D | 2013-03-05-Combine-BitcastTy-Into-Alloca.ll | 22 %bf.value = shl nuw nsw i96 %0, 6 23 %bf.clear = and i96 %k.sroa.0.0.copyload, -288230376151711744 25 %bf.value2 = shl nuw nsw i96 %1, 32 26 %bf.shl3 = and i96 %bf.value2, 288230371856744448 27 %bf.value.masked = and i96 %bf.value, 4294967232 29 %bf.value8 = and i96 %2, 63 30 %bf.clear4 = or i96 %bf.shl3, %bf.value.masked 31 %bf.set5 = or i96 %bf.clear4, %bf.value8 32 %bf.set10 = or i96 %bf.set5, %bf.clear 34 store i96 %bf.set10, i96* %retval.0.cast7, align 8 [all …]
|
D | pr35515.ll | 10 %bf.load81 = load i40, i40* bitcast ({ i8, i8, i8, i8, i8 }* @g_49 to i40*), align 2 11 %bf.clear = and i40 %bf.load81, -274869518337 12 …%bf.set = or i40 %bf.clear, shl (i40 zext (i1 icmp sgt (i32 zext (i1 icmp eq (i8* getelementptr in… 13 %tmp = lshr i40 %bf.set, 23 17 %bf.shl154 = zext i32 %tmp3 to i40 18 %bf.set156 = or i40 %bf.clear, %bf.shl154
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | zext-logicop-shift-load.ll | 22 %bf.load = load i8, i8* %data, align 4 23 %bf.clear = shl i8 %bf.load, 2 24 %0 = and i8 %bf.clear, 60 45 %bf.load = load i8, i8* %data, align 4 46 %bf.clear = shl i8 %bf.load, 2 47 %0 = and i8 %bf.clear, 60 73 %bf.load = load i8, i8* %data, align 4 74 %bf.clear = shl i8 %bf.load, 2 75 %0 = xor i8 %bf.clear, 60 97 %bf.load = load i8, i8* %data, align 4 [all …]
|
D | narrow_op-1.ll | 4 %struct.bf = type { i64, i16, i16, i32 } 5 @bfi = common global %struct.bf zeroinitializer, align 16 13 …%0 = load i32, i32* bitcast (i16* getelementptr (%struct.bf, %struct.bf* @bfi, i32 0, i32 1) to i3… 15 …store i32 %1, i32* bitcast (i16* getelementptr (%struct.bf, %struct.bf* @bfi, i32 0, i32 1) to i32… 26 …%0 = load i32, i32* bitcast (i16* getelementptr (%struct.bf, %struct.bf* @bfi, i32 0, i32 1) to i3… 28 …store i32 %1, i32* bitcast (i16* getelementptr (%struct.bf, %struct.bf* @bfi, i32 0, i32 1) to i32…
|
D | clear-bitfield.ll | 13 %bf.load = load i32, i32* %0 14 %bf.clear = and i32 %bf.load, -2 15 store i32 %bf.clear, i32* %0 26 %bf.load = load i16, i16* %0 27 %bf.clear = and i16 %bf.load, -2 28 store i16 %bf.clear, i16* %0
|
/external/llvm-project/llvm/test/CodeGen/Hexagon/ |
D | insert-basic.ll | 31 %bf.value = and i32 %y1, 8388607 35 %3 = or i32 %2, %bf.value 37 %bf.value1 = and i32 %y2, 131071 38 %bf.field.offs = getelementptr %struct.structx_t, %struct.structx_t* %px, i32 0, i32 0, i32 4 39 %4 = bitcast i8* %bf.field.offs to i32* 42 %7 = or i32 %6, %bf.value1 44 %bf.value2 = and i32 %y3, 262143 45 %bf.field.offs3 = getelementptr %struct.structx_t, %struct.structx_t* %px, i32 0, i32 0, i32 8 46 %8 = bitcast i8* %bf.field.offs3 to i32* 49 %11 = or i32 %10, %bf.value2 [all …]
|
/external/llvm/test/CodeGen/Hexagon/ |
D | insert-basic.ll | 31 %bf.value = and i32 %y1, 8388607 35 %3 = or i32 %2, %bf.value 37 %bf.value1 = and i32 %y2, 131071 38 %bf.field.offs = getelementptr %struct.structx_t, %struct.structx_t* %px, i32 0, i32 0, i32 4 39 %4 = bitcast i8* %bf.field.offs to i32* 42 %7 = or i32 %6, %bf.value1 44 %bf.value2 = and i32 %y3, 262143 45 %bf.field.offs3 = getelementptr %struct.structx_t, %struct.structx_t* %px, i32 0, i32 0, i32 8 46 %8 = bitcast i8* %bf.field.offs3 to i32* 49 %11 = or i32 %10, %bf.value2 [all …]
|
/external/llvm-project/llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/ |
D | load_split_because_of_memsize_or_align.ll | 52 %bf.load = load i24, i24* %0, align 1 53 %bf.cast = zext i24 %bf.load to i32 54 ret i32 %bf.cast 78 %bf.load = load i24, i24* %0, align 2 79 %bf.cast = zext i24 %bf.load to i32 80 ret i32 %bf.cast 102 %bf.load = load i24, i24* %0, align 4 103 %bf.cast = zext i24 %bf.load to i32 104 ret i32 %bf.cast 126 %bf.load = load i24, i24* %0, align 8 [all …]
|
/external/llvm-project/llvm/test/Transforms/NewGVN/ |
D | simp-to-self.ll | 5 ; CHECK-NEXT: %bf.clear = and i32 %lv, -131072 6 ; CHECK-NEXT: %bf.set = or i32 1, %bf.clear 18 %bf.clear = and i32 %lv, -131072 19 %bf.set = or i32 %conv, %bf.clear 20 %bf.clear.1 = and i32 %bf.set, -131072 21 %bf.set.1 = or i32 1, %bf.clear.1 25 store i32 %bf.set.1, i32* bitcast (i64* @a to i32*)
|
D | pr32836.ll | 34 %bf.load1 = load i32, i32* getelementptr (%struct.anon, %struct.anon* @b, i64 0, i32 0) 35 %bf.value = and i32 %tmp1, 536870911 36 %bf.clear = and i32 %bf.load1, -536870912 37 %bf.set = or i32 %bf.clear, %bf.value 38 store i32 %bf.set, i32* getelementptr (%struct.anon, %struct.anon* @b, i64 0, i32 0) 41 %bf.load4 = load i32, i32* getelementptr (%struct.anon, %struct.anon* @b, i64 0, i32 0) 42 %tmp4 = and i32 %bf.load4, 536870911
|
/external/llvm/test/CodeGen/X86/ |
D | narrow_op-1.ll | 3 %struct.bf = type { i64, i16, i16, i32 } 4 @bfi = common global %struct.bf zeroinitializer, align 16 8 …%0 = load i32, i32* bitcast (i16* getelementptr (%struct.bf, %struct.bf* @bfi, i32 0, i32 1) to i3… 10 …store i32 %1, i32* bitcast (i16* getelementptr (%struct.bf, %struct.bf* @bfi, i32 0, i32 1) to i32… 20 …%0 = load i32, i32* bitcast (i16* getelementptr (%struct.bf, %struct.bf* @bfi, i32 0, i32 1) to i3… 22 …store i32 %1, i32* bitcast (i16* getelementptr (%struct.bf, %struct.bf* @bfi, i32 0, i32 1) to i32…
|
/external/libopus/win32/VS2015/ |
D | opus.sln | 8 …0-8D11-00A0C91BC942}") = "opus_demo", "opus_demo.vcxproj", "{016C739D-6389-43BF-8D88-24B2BF6F620F}" 68 {016C739D-6389-43BF-8D88-24B2BF6F620F}.Debug|Win32.ActiveCfg = Debug|Win32 69 {016C739D-6389-43BF-8D88-24B2BF6F620F}.Debug|Win32.Build.0 = Debug|Win32 70 {016C739D-6389-43BF-8D88-24B2BF6F620F}.Debug|x64.ActiveCfg = Debug|x64 71 {016C739D-6389-43BF-8D88-24B2BF6F620F}.Debug|x64.Build.0 = Debug|x64 72 {016C739D-6389-43BF-8D88-24B2BF6F620F}.DebugDLL_fixed|Win32.ActiveCfg = DebugDLL_fixed|Win32 73 {016C739D-6389-43BF-8D88-24B2BF6F620F}.DebugDLL_fixed|Win32.Build.0 = DebugDLL_fixed|Win32 74 {016C739D-6389-43BF-8D88-24B2BF6F620F}.DebugDLL_fixed|x64.ActiveCfg = DebugDLL_fixed|x64 75 {016C739D-6389-43BF-8D88-24B2BF6F620F}.DebugDLL_fixed|x64.Build.0 = DebugDLL_fixed|x64 76 {016C739D-6389-43BF-8D88-24B2BF6F620F}.DebugDLL|Win32.ActiveCfg = DebugDLL|Win32 [all …]
|