reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/Basic/TargetInfo.h
  633            (AtomicSizeInBits <= getCharWidth() ||
  634             llvm::isPowerOf2_64(AtomicSizeInBits / getCharWidth()));
tools/clang/lib/AST/ASTContext.cpp
 1599   unsigned Align = Target->getCharWidth();
 1653         Align = Target->getCharWidth();
 1878       Width = Target->getCharWidth();
 2186       Width = Target->getCharWidth();
tools/clang/lib/AST/Expr.cpp
 1008     CharByteWidth = Target.getCharWidth();
tools/clang/lib/AST/ExprConstant.cpp
 6577   assert(CHAR_BIT == 8 && Info.Ctx.getTargetInfo().getCharWidth() == 8 &&
tools/clang/lib/AST/Interp/ByteCodeExprGen.h
   98     return ASTContext.getTargetInfo().getCharWidth();
tools/clang/lib/AST/Interp/Context.cpp
  116   return Ctx.getTargetInfo().getCharWidth();
tools/clang/lib/AST/RecordLayoutBuilder.cpp
 1688         (FieldSize ? TypeSize : Context.getTargetInfo().getCharWidth());
 1957   unsigned CharBitNum = Context.getTargetInfo().getCharWidth();
 2046   unsigned CharBitNum = Context.getTargetInfo().getCharWidth();
tools/clang/lib/Basic/TargetInfo.cpp
  185     if (getCharWidth() < getIntWidth())
  223   case UnsignedChar:     return getCharWidth();
  237   if (getCharWidth() == BitWidth)
  252   if (getCharWidth() >= BitWidth)
  394     NewAlign = Opts.NewAlignOverride * getCharWidth();
tools/clang/lib/CodeGen/CGCoroutine.cpp
  546   unsigned NewAlign = TI.getNewAlign() / TI.getCharWidth();
tools/clang/lib/CodeGen/CGObjCMac.cpp
 2491   unsigned ByteSizeInBits = CGM.getTarget().getCharWidth();
 2723   unsigned ByteSizeInBits = CGM.getTarget().getCharWidth();
 2909   unsigned ByteSizeInBits = CGM.getTarget().getCharWidth();
tools/clang/lib/Frontend/InitPreprocessor.cpp
  205                       Twine(BitWidth / TI.getCharWidth()));
  394                         Twine(TI.getNewAlign() / TI.getCharWidth()) +
  777   assert(TI.getCharWidth() == 8 && "Only support 8-bit char so far");
  778   Builder.defineMacro("__CHAR_BIT__", Twine(TI.getCharWidth()));
  858                       Twine(TI.getSuitableAlign() / TI.getCharWidth()) );
  872   if (TI.getShortWidth() > TI.getCharWidth())
  888   if (TI.getShortWidth() > TI.getCharWidth()) {
  958     DEFINE_LOCK_FREE_MACRO(CHAR, Char);
  960       DEFINE_LOCK_FREE_MACRO(CHAR8_T, Char); // Treat char8_t like char.
tools/clang/lib/Lex/LiteralSupport.cpp
   45     return Target.getCharWidth();
 1254   assert(PP.getTargetInfo().getCharWidth() == 8 &&
tools/clang/lib/Lex/PPExpressions.cpp
  366       NumBits = TI.getCharWidth();
tools/clang/lib/Sema/SemaDecl.cpp
17372   unsigned CharWidth = Context.getTargetInfo().getCharWidth();
tools/clang/lib/Sema/SemaDeclAttr.cpp
 3872       DestWidth = S.Context.getTargetInfo().getCharWidth();