|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/APInt.h 78 APINT_BITS_PER_WORD = APINT_WORD_SIZE * CHAR_BIT
1744 return APInt(sizeof(double) * CHAR_BIT, DoubleToBits(V));
1752 return APInt(sizeof(float) * CHAR_BIT, FloatToBits(V));
include/llvm/ADT/BitVector.h 76 enum { BITWORD_SIZE = (unsigned)sizeof(BitWord) * CHAR_BIT };
include/llvm/ADT/PointerEmbeddedInt.h 32 template <typename IntT, int Bits = sizeof(IntT) * CHAR_BIT>
38 static_assert(Bits < sizeof(uintptr_t) * CHAR_BIT,
44 Shift = sizeof(uintptr_t) * CHAR_BIT - Bits,
include/llvm/ADT/SmallBitVector.h 42 NumBaseBits = sizeof(uintptr_t) * CHAR_BIT,
include/llvm/ADT/SparseBitVector.h 46 BITWORD_SIZE = sizeof(BitWord) * CHAR_BIT,
include/llvm/Bitstream/BitstreamReader.h 121 return NextChar*CHAR_BIT - BitsInCurWord;
include/llvm/CodeGen/MachineConstantPool.h 86 Alignment |= 1U << (sizeof(unsigned) * CHAR_BIT - 1);
97 return Alignment & ~(1 << (sizeof(unsigned) * CHAR_BIT - 1));
include/llvm/CodeGen/SelectionDAGNodes.h 1847 Offset |= 1 << (sizeof(unsigned)*CHAR_BIT-1);
1866 return Offset & ~(1 << (sizeof(unsigned)*CHAR_BIT-1));
include/llvm/CodeGen/TargetLowering.h 2810 TargetDAGCombineArray[(ISD::BUILTIN_OP_END+CHAR_BIT-1)/CHAR_BIT];
2810 TargetDAGCombineArray[(ISD::BUILTIN_OP_END+CHAR_BIT-1)/CHAR_BIT];
include/llvm/IR/DebugInfoMetadata.h 624 uint32_t getAlignInBytes() const { return getAlignInBits() / CHAR_BIT; }
2250 uint32_t getAlignInBytes() const { return getAlignInBits() / CHAR_BIT; }
include/llvm/IR/Type.h 427 int noOfBits = sizeof(ScalarTy) * CHAR_BIT;
include/llvm/Support/CommandLine.h 1621 assert(BitPos < sizeof(unsigned) * CHAR_BIT &&
1657 assert(BitPos < sizeof(unsigned) * CHAR_BIT &&
include/llvm/Support/MathExtras.h 250 const unsigned Bits = CHAR_BIT * sizeof(T);
258 return ~maskTrailingOnes<T>(CHAR_BIT * sizeof(T) - N);
264 return maskLeadingOnes<T>(CHAR_BIT * sizeof(T) - N);
270 return maskTrailingOnes<T>(CHAR_BIT * sizeof(T) - N);
lib/Analysis/ScalarEvolution.cpp 7905 assert(BEs.getActiveBits() < CHAR_BIT * sizeof(unsigned) &&
lib/Bitcode/Reader/BitcodeAnalyzer.cpp 615 uint64_t BufferSizeBits = Stream.getBitcodeBytes().size() * CHAR_BIT;
lib/CodeGen/AsmPrinter/DwarfUnit.cpp 1383 CTy->getSizeInBits() / CHAR_BIT);
lib/IR/Attributes.cpp 725 sizeof(AvailableAttrs) * CHAR_BIT,
913 sizeof(AvailableFunctionAttrs) * CHAR_BIT,
lib/Support/StringRef.cpp 237 std::bitset<1 << CHAR_BIT> CharBits;
262 std::bitset<1 << CHAR_BIT> CharBits;
278 std::bitset<1 << CHAR_BIT> CharBits;
303 std::bitset<1 << CHAR_BIT> CharBits;
lib/Support/regcomp.c 1206 p->ncsalloc += CHAR_BIT;
1211 nbytes = nc / CHAR_BIT * css;
1224 p->g->sets[i].ptr = p->g->setbits + css*(i/CHAR_BIT);
1233 cs->ptr = p->g->setbits + css*((no)/CHAR_BIT);
1234 cs->mask = 1 << ((no) % CHAR_BIT);
1393 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT;
1393 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT;
1410 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT;
1410 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT;
lib/Support/regexec.c 158 if (g->nstates <= (long)(CHAR_BIT*sizeof(states1)) && !(eflags®_LARGE))
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp 3710 if (!isUInt<sizeof(KD.group_segment_fixed_size) * CHAR_BIT>(Val))
3714 if (!isUInt<sizeof(KD.private_segment_fixed_size) * CHAR_BIT>(Val))
lib/Target/AMDGPU/SIRegisterInfo.cpp 638 unsigned NumSubRegs = AMDGPU::getRegBitWidth(RC->getID()) / (EltSize * CHAR_BIT);
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp 510 Buffer[Size - II - 1] = uint8_t(Inst >> I * CHAR_BIT);
525 Buffer[Size - II - 2] = uint8_t(Inst >> I0 * CHAR_BIT);
526 Buffer[Size - II - 1] = uint8_t(Inst >> I1 * CHAR_BIT);
lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp 62 Buffer[Size - II - 1] = uint8_t(Inst >> I * CHAR_BIT);
75 Buffer[Size - II - 2] = uint8_t(Inst >> I0 * CHAR_BIT);
76 Buffer[Size - II - 1] = uint8_t(Inst >> I1 * CHAR_BIT);
lib/Target/X86/X86ISelLowering.cpp 9970 assert(i < sizeof(NonZeros) * CHAR_BIT); // Ensure the shift is in range.
10025 assert(i < sizeof(NonZeros) * CHAR_BIT); // Ensure the shift is in range.
lib/Transforms/Scalar/AlignmentFromAssumptions.cpp 250 unsigned(sizeof(unsigned) * CHAR_BIT - 1));
lib/Transforms/Utils/Local.cpp 1194 TrailZ = std::min(TrailZ, unsigned(sizeof(unsigned) * CHAR_BIT - 1));
projects/compiler-rt/lib/builtins/absvdi2.c 20 const int N = (int)(sizeof(di_int) * CHAR_BIT);
projects/compiler-rt/lib/builtins/absvsi2.c 20 const int N = (int)(sizeof(si_int) * CHAR_BIT);
projects/compiler-rt/lib/builtins/absvti2.c 22 const int N = (int)(sizeof(ti_int) * CHAR_BIT);
projects/compiler-rt/lib/builtins/ashldi3.c 20 const int bits_in_word = (int)(sizeof(si_int) * CHAR_BIT);
projects/compiler-rt/lib/builtins/ashlti3.c 22 const int bits_in_dword = (int)(sizeof(di_int) * CHAR_BIT);
projects/compiler-rt/lib/builtins/ashrdi3.c 20 const int bits_in_word = (int)(sizeof(si_int) * CHAR_BIT);
projects/compiler-rt/lib/builtins/ashrti3.c 22 const int bits_in_dword = (int)(sizeof(di_int) * CHAR_BIT);
projects/compiler-rt/lib/builtins/clzdi2.c 34 (f & ((si_int)(sizeof(si_int) * CHAR_BIT)));
projects/compiler-rt/lib/builtins/clzti2.c 26 ((si_int)f & ((si_int)(sizeof(di_int) * CHAR_BIT)));
projects/compiler-rt/lib/builtins/ctzdi2.c 34 (f & ((si_int)(sizeof(si_int) * CHAR_BIT)));
projects/compiler-rt/lib/builtins/ctzti2.c 26 ((si_int)f & ((si_int)(sizeof(di_int) * CHAR_BIT)));
projects/compiler-rt/lib/builtins/divdi3.c 18 const int bits_in_dword_m1 = (int)(sizeof(di_int) * CHAR_BIT) - 1;
projects/compiler-rt/lib/builtins/divsi3.c 18 const int bits_in_word_m1 = (int)(sizeof(si_int) * CHAR_BIT) - 1;
projects/compiler-rt/lib/builtins/divti3.c 20 const int bits_in_tword_m1 = (int)(sizeof(ti_int) * CHAR_BIT) - 1;
projects/compiler-rt/lib/builtins/ffsdi2.c 24 return __builtin_ctz(x.s.high) + (1 + sizeof(si_int) * CHAR_BIT);
projects/compiler-rt/lib/builtins/ffsti2.c 26 return __builtin_ctzll(x.s.high) + (1 + sizeof(di_int) * CHAR_BIT);
projects/compiler-rt/lib/builtins/fixunsxfdi.c 41 if ((unsigned)e > sizeof(du_int) * CHAR_BIT)
projects/compiler-rt/lib/builtins/fixunsxfsi.c 41 if ((unsigned)e > sizeof(su_int) * CHAR_BIT)
projects/compiler-rt/lib/builtins/fixunsxfti.c 34 if ((unsigned)e > sizeof(tu_int) * CHAR_BIT)
projects/compiler-rt/lib/builtins/fixxfdi.c 42 if ((unsigned)e >= sizeof(di_int) * CHAR_BIT)
projects/compiler-rt/lib/builtins/fixxfti.c 37 if ((unsigned)e >= sizeof(ti_int) * CHAR_BIT)
projects/compiler-rt/lib/builtins/floatsidf.c 22 const int aWidth = sizeof a * CHAR_BIT;
projects/compiler-rt/lib/builtins/floatsisf.c 22 const int aWidth = sizeof a * CHAR_BIT;
projects/compiler-rt/lib/builtins/floattidf.c 28 const unsigned N = sizeof(ti_int) * CHAR_BIT;
projects/compiler-rt/lib/builtins/floattisf.c 27 const unsigned N = sizeof(ti_int) * CHAR_BIT;
projects/compiler-rt/lib/builtins/floattixf.c 29 const unsigned N = sizeof(ti_int) * CHAR_BIT;
projects/compiler-rt/lib/builtins/floatunsidf.c 22 const int aWidth = sizeof a * CHAR_BIT;
projects/compiler-rt/lib/builtins/floatunsisf.c 22 const int aWidth = sizeof a * CHAR_BIT;
projects/compiler-rt/lib/builtins/floatuntidf.c 28 const unsigned N = sizeof(tu_int) * CHAR_BIT;
projects/compiler-rt/lib/builtins/floatuntisf.c 27 const unsigned N = sizeof(tu_int) * CHAR_BIT;
projects/compiler-rt/lib/builtins/floatuntixf.c 29 const unsigned N = sizeof(tu_int) * CHAR_BIT;
projects/compiler-rt/lib/builtins/fp_extend_impl.inc 43 const int srcBits = sizeof(src_t) * CHAR_BIT;
55 const int dstBits = sizeof(dst_t) * CHAR_BIT;
projects/compiler-rt/lib/builtins/fp_fixint_impl.inc 31 if ((unsigned)exponent >= sizeof(fixint_t) * CHAR_BIT)
projects/compiler-rt/lib/builtins/fp_fixuint_impl.inc 29 if ((unsigned)exponent >= sizeof(fixuint_t) * CHAR_BIT)
projects/compiler-rt/lib/builtins/fp_trunc_impl.inc 44 const int srcBits = sizeof(src_t) * CHAR_BIT;
59 const int dstBits = sizeof(dst_t) * CHAR_BIT;
projects/compiler-rt/lib/builtins/lshrdi3.c 20 const int bits_in_word = (int)(sizeof(si_int) * CHAR_BIT);
projects/compiler-rt/lib/builtins/lshrti3.c 22 const int bits_in_dword = (int)(sizeof(di_int) * CHAR_BIT);
projects/compiler-rt/lib/builtins/moddi3.c 18 const int bits_in_dword_m1 = (int)(sizeof(di_int) * CHAR_BIT) - 1;
projects/compiler-rt/lib/builtins/modti3.c 20 const int bits_in_tword_m1 = (int)(sizeof(ti_int) * CHAR_BIT) - 1;
projects/compiler-rt/lib/builtins/muldi3.c 19 const int bits_in_word_2 = (int)(sizeof(si_int) * CHAR_BIT) / 2;
projects/compiler-rt/lib/builtins/mulodi4.c 20 const int N = (int)(sizeof(di_int) * CHAR_BIT);
projects/compiler-rt/lib/builtins/mulosi4.c 20 const int N = (int)(sizeof(si_int) * CHAR_BIT);
projects/compiler-rt/lib/builtins/muloti4.c 22 const int N = (int)(sizeof(ti_int) * CHAR_BIT);
projects/compiler-rt/lib/builtins/multi3.c 21 const int bits_in_dword_2 = (int)(sizeof(di_int) * CHAR_BIT) / 2;
projects/compiler-rt/lib/builtins/mulvdi3.c 20 const int N = (int)(sizeof(di_int) * CHAR_BIT);
projects/compiler-rt/lib/builtins/mulvsi3.c 20 const int N = (int)(sizeof(si_int) * CHAR_BIT);
projects/compiler-rt/lib/builtins/mulvti3.c 22 const int N = (int)(sizeof(ti_int) * CHAR_BIT);
projects/compiler-rt/lib/builtins/negvdi2.c 20 const di_int MIN = (di_int)1 << ((int)(sizeof(di_int) * CHAR_BIT) - 1);
projects/compiler-rt/lib/builtins/negvsi2.c 20 const si_int MIN = (si_int)1 << ((int)(sizeof(si_int) * CHAR_BIT) - 1);
projects/compiler-rt/lib/builtins/negvti2.c 22 const ti_int MIN = (ti_int)1 << ((int)(sizeof(ti_int) * CHAR_BIT) - 1);
projects/compiler-rt/lib/builtins/udivmoddi4.c 28 const unsigned n_uword_bits = sizeof(su_int) * CHAR_BIT;
29 const unsigned n_udword_bits = sizeof(du_int) * CHAR_BIT;
projects/compiler-rt/lib/builtins/udivmodti4.c 23 const unsigned n_udword_bits = sizeof(du_int) * CHAR_BIT;
24 const unsigned n_utword_bits = sizeof(tu_int) * CHAR_BIT;
projects/compiler-rt/lib/builtins/udivsi3.c 21 const unsigned n_uword_bits = sizeof(su_int) * CHAR_BIT;
projects/openmp/runtime/src/kmp_affinity.h 245 static const int BITS_PER_MASK_T = sizeof(mask_t) * CHAR_BIT;
projects/openmp/runtime/src/kmp_gsupport.cpp 1699 for (int i = sizeof(T) * CHAR_BIT - 1; i >= 0L; --i) {
tools/clang/lib/AST/ExprConstant.cpp 6577 assert(CHAR_BIT == 8 && Info.Ctx.getTargetInfo().getCharWidth() == 8 &&
tools/clang/lib/AST/Interp/Descriptor.h 194 static constexpr uint64_t PER_FIELD = sizeof(T) * CHAR_BIT;
tools/clang/lib/AST/ODRHash.cpp 208 const unsigned unsigned_bits = sizeof(unsigned) * CHAR_BIT;
tools/clang/lib/StaticAnalyzer/Checkers/ConversionChecker.cpp 161 if (RepresentsUntilExp >= sizeof(unsigned long long) * CHAR_BIT) {
tools/clang/tools/extra/clang-tidy/modernize/RawStringLiteralCheck.h 19 using CharsBitSet = std::bitset<1 << CHAR_BIT>;
tools/lldb/source/Plugins/ABI/SysV-arc/ABISysV_arc.cpp 524 byte_size /= CHAR_BIT;
541 const size_t byte_size = retType.getPrimitiveSizeInBits() / CHAR_BIT;
tools/lldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp 1198 uint32_t byte_size = (bit_width + (CHAR_BIT - 1)) / CHAR_BIT;
1198 uint32_t byte_size = (bit_width + (CHAR_BIT - 1)) / CHAR_BIT;
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp 536 reg_info.byte_size /= CHAR_BIT;
4358 StringConvert::ToUInt32(value.data(), 0, 0) / CHAR_BIT;
tools/lldb/source/Symbol/ClangASTContext.cpp 6598 CHAR_BIT;
tools/lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp 170 Info.byte_size /= CHAR_BIT;
tools/polly/lib/External/isl/imath/imath.c 1860 need = ((len * CHAR_BIT) + (MP_DIGIT_BIT - 1)) / MP_DIGIT_BIT;
1868 if (buf[0] >> (CHAR_BIT - 1)) {
1875 s_qmul(z, (mp_size) CHAR_BIT);
1894 bytes = (res + (CHAR_BIT - 1)) / CHAR_BIT;
1894 bytes = (res + (CHAR_BIT - 1)) / CHAR_BIT;
1899 if (bytes * CHAR_BIT == res)
1922 need = ((len * CHAR_BIT) + (MP_DIGIT_BIT - 1)) / MP_DIGIT_BIT;
1929 (void) s_qmul(z, CHAR_BIT);
1944 bytes = (res + (CHAR_BIT - 1)) / CHAR_BIT;
1944 bytes = (res + (CHAR_BIT - 1)) / CHAR_BIT;
3078 s >>= CHAR_BIT;
3099 d >>= CHAR_BIT;
3112 if (pad != 0 && (buf[pos - 1] >> (CHAR_BIT - 1))) {
tools/polly/lib/External/isl/isl_int_sioimath.h 1181 return sizeof(int32_t) * CHAR_BIT - 1;
tools/polly/lib/Support/GICHelper.cpp 61 int NumBits = CHAR_BIT * ChunkSize * NumChunks;
unittests/ADT/PointerEmbeddedIntTest.cpp 16 PointerEmbeddedInt<int, CHAR_BIT> I = 42, J = 43;
20 EXPECT_EQ(sizeof(uintptr_t) * CHAR_BIT - CHAR_BIT,
20 EXPECT_EQ(sizeof(uintptr_t) * CHAR_BIT - CHAR_BIT,
46 PointerEmbeddedInt<intptr_t, CHAR_BIT> IPos = 42, INeg = -42;
50 PointerEmbeddedInt<uintptr_t, CHAR_BIT> U = 42, USaturated = 255;
68 PointerEmbeddedInt<int, CHAR_BIT> I = 42;
unittests/ADT/SCCIteratorTest.cpp 27 static_assert(NUM_GRAPHS < sizeof(unsigned) * CHAR_BIT, "Too many graphs!");
unittests/ADT/TestGraph.h 44 assert(N <= sizeof(BitVector)*CHAR_BIT && "Graph too big!");
utils/TableGen/CodeGenDAGPatterns.h 61 static unsigned constexpr WordWidth = CHAR_BIT*sizeof(WordType);
utils/benchmark/src/sysinfo.cc 226 using CPUMask = std::bitset<sizeof(std::uintptr_t) * CHAR_BIT>;