/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | CheckPlacementNew.cpp | 95 C.getASTContext().getCharWidth(), in getExtentSizeOfNewTarget() 173 return StorageTAlign / C.getASTContext().getCharWidth(); in getStorageAlign() 222 TheOffsetRegion.getOffset() / C.getASTContext().getCharWidth(); in checkElementRegionAlign() 252 Offset.getOffset() / C.getASTContext().getCharWidth(); in checkFieldRegionAlign() 280 C.getASTContext().getCharWidth(); in checkPlaceIsAlignedProperly()
|
/external/clang/lib/Basic/ |
D | TargetInfo.cpp | 137 if (getCharWidth() < getIntWidth()) in getTypeConstantSuffix() 173 case UnsignedChar: return getCharWidth(); in getTypeWidth() 187 if (getCharWidth() == BitWidth) in getIntTypeByWidth() 202 if (getCharWidth() >= BitWidth) in getLeastIntTypeByWidth()
|
/external/llvm-project/clang/lib/Basic/ |
D | TargetInfo.cpp | 191 if (getCharWidth() < getIntWidth()) in getTypeConstantSuffix() 229 case UnsignedChar: return getCharWidth(); in getTypeWidth() 243 if (getCharWidth() == BitWidth) in getIntTypeByWidth() 258 if (getCharWidth() >= BitWidth) in getLeastIntTypeByWidth() 419 NewAlign = Opts.NewAlignOverride * getCharWidth(); in adjust()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cert/ |
D | DefaultOperatorNewAlignmentCheck.cpp | 57 unsigned CharWidth = Context.getTargetInfo().getCharWidth(); in check()
|
/external/clang/lib/CodeGen/ |
D | CGObjCRuntime.cpp | 69 CGM.getContext().getCharWidth(); in ComputeIvarBaseOffset() 76 CGM.getContext().getCharWidth(); in ComputeIvarBaseOffset() 120 uint64_t BitOffset = FieldBitOffset % CGF.CGM.getContext().getCharWidth(); in EmitValueForIvarAtOffset()
|
D | CodeGenTBAA.cpp | 197 Layout.getFieldOffset(idx) / Context.getCharWidth(); in CollectFields() 269 FieldNode, Layout.getFieldOffset(idx) / Context.getCharWidth())); in getTBAAStructTypeInfo()
|
/external/llvm-project/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 205 Twine(BitWidth / TI.getCharWidth())); in DefineTypeSizeof() 407 Twine(TI.getNewAlign() / TI.getCharWidth()) + in InitializeStandardPredefinedMacros() 817 assert(TI.getCharWidth() == 8 && "Only support 8-bit char so far"); in InitializePredefinedMacros() 818 Builder.defineMacro("__CHAR_BIT__", Twine(TI.getCharWidth())); in InitializePredefinedMacros() 898 Twine(TI.getSuitableAlign() / TI.getCharWidth()) ); in InitializePredefinedMacros() 912 if (TI.getShortWidth() > TI.getCharWidth()) in InitializePredefinedMacros() 928 if (TI.getShortWidth() > TI.getCharWidth()) { in InitializePredefinedMacros()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | DynamicSize.cpp | 61 MRegion->getMemRegionManager().getContext().getCharWidth()); in getDynamicSizeWithOffset()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGObjCRuntime.cpp | 34 CGM.getContext().getCharWidth(); in ComputeIvarBaseOffset() 42 CGM.getContext().getCharWidth(); in ComputeIvarBaseOffset() 91 uint64_t BitOffset = FieldBitOffset % CGF.CGM.getContext().getCharWidth(); in EmitValueForIvarAtOffset()
|
D | CodeGenTBAA.cpp | 301 Layout.getFieldOffset(idx) / Context.getCharWidth(); in CollectFields()
|
D | CGCoroutine.cpp | 546 unsigned NewAlign = TI.getNewAlign() / TI.getCharWidth(); in EmitCoroutineBody()
|
D | CGNonTrivialStruct.cpp | 119 uint64_t RoundedFEnd = llvm::alignTo(FEndInBits, Ctx.getCharWidth()); in visitTrivial() 541 Size.getQuantity() * this->CGF->getContext().getCharWidth()); in flushTrivialFields()
|
/external/clang/include/clang/Basic/ |
D | TargetInfo.h | 303 unsigned getCharWidth() const { return 8; } // FIXME in getCharWidth() function 421 (AtomicSizeInBits <= getCharWidth() || in hasBuiltinAtomic() 422 llvm::isPowerOf2_64(AtomicSizeInBits / getCharWidth())); in hasBuiltinAtomic()
|
/external/llvm-project/clang/lib/AST/Interp/ |
D | Context.cpp | 110 return Ctx.getTargetInfo().getCharWidth(); in getCharBit()
|
D | ByteCodeExprGen.h | 99 return ASTContext.getTargetInfo().getCharWidth(); in getCharBit()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | SuspiciousMemsetUsageCheck.cpp | 86 const auto UCharMax = (1 << Result.Context->getCharWidth()) - 1; in check()
|
/external/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 223 Twine(BitWidth / TI.getCharWidth())); in DefineTypeSizeof() 679 assert(TI.getCharWidth() == 8 && "Only support 8-bit char so far"); in InitializePredefinedMacros() 757 Twine(TI.getSuitableAlign() / TI.getCharWidth()) ); in InitializePredefinedMacros() 771 if (TI.getShortWidth() > TI.getCharWidth()) in InitializePredefinedMacros() 787 if (TI.getShortWidth() > TI.getCharWidth()) { in InitializePredefinedMacros()
|
/external/llvm-project/clang-tools-extra/clang-tidy/altera/ |
D | StructPackAlignCheck.cpp | 72 uint64_t CharSize = Result.Context->getCharWidth(); in check()
|
/external/clang/lib/Lex/ |
D | LiteralSupport.cpp | 26 static unsigned getCharWidth(tok::TokenKind kind, const TargetInfo &Target) { in getCharWidth() function 33 return Target.getCharWidth(); in getCharWidth() 1066 assert(PP.getTargetInfo().getCharWidth() == 8 && in CharLiteralParser() 1153 unsigned CharWidth = getCharWidth(Kind, PP.getTargetInfo()); in CharLiteralParser() 1328 CharByteWidth = getCharWidth(Kind, Target); in init()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | TargetInfo.h | 421 unsigned getCharWidth() const { return 8; } // FIXME in getCharWidth() function 695 (AtomicSizeInBits <= getCharWidth() || in hasBuiltinAtomic() 696 llvm::isPowerOf2_64(AtomicSizeInBits / getCharWidth())); in hasBuiltinAtomic()
|
/external/llvm-project/clang/lib/Lex/ |
D | LiteralSupport.cpp | 39 static unsigned getCharWidth(tok::TokenKind kind, const TargetInfo &Target) { in getCharWidth() function 46 return Target.getCharWidth(); in getCharWidth() 1275 assert(PP.getTargetInfo().getCharWidth() == 8 && in CharLiteralParser() 1362 unsigned CharWidth = getCharWidth(Kind, PP.getTargetInfo()); in CharLiteralParser() 1537 CharByteWidth = getCharWidth(Kind, Target); in init()
|
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 170 : Context(Context), CharWidth(Context.getCharWidth()), Class(Class) { in EmptySubobjectMap() 764 assert(Size % Context.getCharWidth() == 0); in getSize() 775 assert(DataSize % Context.getCharWidth() == 0); in getDataSize() 1660 (FieldSize ? TypeSize : Context.getTargetInfo().getCharWidth()); in LayoutBitField() 1869 unsigned CharBitNum = Context.getTargetInfo().getCharWidth(); in FinishLayout() 1957 unsigned CharBitNum = Context.getTargetInfo().getCharWidth(); in CheckFieldPadding()
|
/external/llvm-project/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 171 : Context(Context), CharWidth(Context.getCharWidth()), Class(Class) { in EmptySubobjectMap() 803 assert(Size % Context.getCharWidth() == 0); in getSize() 814 assert(DataSize % Context.getCharWidth() == 0); in getDataSize() 1747 : Context.getTargetInfo().getCharWidth()); in LayoutBitField() 2084 unsigned CharBitNum = Context.getTargetInfo().getCharWidth(); in FinishLayout() 2181 unsigned CharBitNum = Context.getTargetInfo().getCharWidth(); in CheckFieldPadding()
|
/external/llvm-project/clang/lib/Basic/Targets/ |
D | X86.h | 156 MaxVectorAlign = MaxTLSAlign = 8192u * getCharWidth(); in X86TargetInfo()
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | ClangASTSource.cpp | 1570 size = record_layout.getSize().getQuantity() * m_ast_context->getCharWidth(); in layoutRecordType() 1572 m_ast_context->getCharWidth(); in layoutRecordType()
|