Home
last modified time | relevance | path

Searched refs:getCharWidth (Results 1 – 25 of 77) sorted by relevance

1234

/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DCheckPlacementNew.cpp95 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/
DTargetInfo.cpp137 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/
DTargetInfo.cpp191 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/
DDefaultOperatorNewAlignmentCheck.cpp57 unsigned CharWidth = Context.getTargetInfo().getCharWidth(); in check()
/external/clang/lib/CodeGen/
DCGObjCRuntime.cpp69 CGM.getContext().getCharWidth(); in ComputeIvarBaseOffset()
76 CGM.getContext().getCharWidth(); in ComputeIvarBaseOffset()
120 uint64_t BitOffset = FieldBitOffset % CGF.CGM.getContext().getCharWidth(); in EmitValueForIvarAtOffset()
DCodeGenTBAA.cpp197 Layout.getFieldOffset(idx) / Context.getCharWidth(); in CollectFields()
269 FieldNode, Layout.getFieldOffset(idx) / Context.getCharWidth())); in getTBAAStructTypeInfo()
/external/llvm-project/clang/lib/Frontend/
DInitPreprocessor.cpp205 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/
DDynamicSize.cpp61 MRegion->getMemRegionManager().getContext().getCharWidth()); in getDynamicSizeWithOffset()
/external/llvm-project/clang/lib/CodeGen/
DCGObjCRuntime.cpp34 CGM.getContext().getCharWidth(); in ComputeIvarBaseOffset()
42 CGM.getContext().getCharWidth(); in ComputeIvarBaseOffset()
91 uint64_t BitOffset = FieldBitOffset % CGF.CGM.getContext().getCharWidth(); in EmitValueForIvarAtOffset()
DCodeGenTBAA.cpp301 Layout.getFieldOffset(idx) / Context.getCharWidth(); in CollectFields()
DCGCoroutine.cpp546 unsigned NewAlign = TI.getNewAlign() / TI.getCharWidth(); in EmitCoroutineBody()
DCGNonTrivialStruct.cpp119 uint64_t RoundedFEnd = llvm::alignTo(FEndInBits, Ctx.getCharWidth()); in visitTrivial()
541 Size.getQuantity() * this->CGF->getContext().getCharWidth()); in flushTrivialFields()
/external/clang/include/clang/Basic/
DTargetInfo.h303 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/
DContext.cpp110 return Ctx.getTargetInfo().getCharWidth(); in getCharBit()
DByteCodeExprGen.h99 return ASTContext.getTargetInfo().getCharWidth(); in getCharBit()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DSuspiciousMemsetUsageCheck.cpp86 const auto UCharMax = (1 << Result.Context->getCharWidth()) - 1; in check()
/external/clang/lib/Frontend/
DInitPreprocessor.cpp223 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/
DStructPackAlignCheck.cpp72 uint64_t CharSize = Result.Context->getCharWidth(); in check()
/external/clang/lib/Lex/
DLiteralSupport.cpp26 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/
DTargetInfo.h421 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/
DLiteralSupport.cpp39 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/
DRecordLayoutBuilder.cpp170 : 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/
DRecordLayoutBuilder.cpp171 : 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/
DX86.h156 MaxVectorAlign = MaxTLSAlign = 8192u * getCharWidth(); in X86TargetInfo()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangASTSource.cpp1570 size = record_layout.getSize().getQuantity() * m_ast_context->getCharWidth(); in layoutRecordType()
1572 m_ast_context->getCharWidth(); in layoutRecordType()

1234