Searched refs:CharWidth (Results 1 - 6 of 6) sorted by relevance
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Program.cpp | 22 const size_t CharWidth = S->getCharByteWidth(); local 23 const size_t BitWidth = CharWidth * Ctx.getCharBit(); 26 switch (CharWidth) {
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 183 const uint64_t CharWidth = CGM.getContext().getCharWidth(); local 187 unsigned OffsetWithinChar = OffsetInBits % CharWidth; 196 std::min((uint64_t)Bits.getBitWidth(), CharWidth - OffsetWithinChar); 201 if (BitsThisChar.getBitWidth() < CharWidth) 202 BitsThisChar = BitsThisChar.zext(CharWidth); 206 int Shift = Bits.getBitWidth() - CharWidth + OffsetWithinChar; 214 if (BitsThisChar.getBitWidth() > CharWidth) 215 BitsThisChar = BitsThisChar.trunc(CharWidth); 217 if (WantedBits == CharWidth) { 236 llvm::APInt UpdateMask(CharWidth, [all...] |
H A D | CGExpr.cpp | 4120 unsigned CharWidth = getContext().getCharWidth(); local 4123 Layout.getFieldOffset(field->getFieldIndex()) / CharWidth;
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/ |
H A D | LiteralSupport.cpp | 93 FullSourceLoc Loc, unsigned CharWidth, 166 if (CharWidth != 32 && (ResultChar >> CharWidth) != 0) { 168 ResultChar &= ~0U >> (32-CharWidth); 194 if (CharWidth != 32 && (ResultChar >> CharWidth) != 0) { 198 ResultChar &= ~0U >> (32-CharWidth); 1345 unsigned CharWidth = getCharWidth(Kind, PP.getTargetInfo()); 1349 CharWidth, &PP.getDiagnostics(), PP.getLangOpts()); 90 ProcessCharEscape(const char *ThisTokBegin, const char *&ThisTokBuf, const char *ThisTokEnd, bool &HadError, FullSourceLoc Loc, unsigned CharWidth, DiagnosticsEngine *Diags, const LangOptions &Features) argument
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | RecordLayoutBuilder.cpp | 106 uint64_t CharWidth; member in class:__anon265::EmptySubobjectMap 144 assert(FieldOffset % CharWidth == 0 && 170 : Context(Context), CharWidth(Context.getCharWidth()), Class(Class) {
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 17523 unsigned CharWidth = Context.getTargetInfo().getCharWidth(); local 17590 if (Packed && NumNegativeBits <= CharWidth && NumPositiveBits < CharWidth) { 17592 BestWidth = CharWidth; 17618 if (Packed && NumPositiveBits <= CharWidth) { 17621 BestWidth = CharWidth;
|
Completed in 249 milliseconds