| /NextBSD/contrib/llvm/tools/clang/lib/Basic/ |
| HD | TargetInfo.cpp | 133 if (getCharWidth() < getIntWidth()) in getTypeConstantSuffix() 169 case UnsignedChar: return getCharWidth(); in getTypeWidth() 183 if (getCharWidth() == BitWidth) in getIntTypeByWidth() 198 if (getCharWidth() >= BitWidth) in getLeastIntTypeByWidth()
|
| /NextBSD/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | 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()
|
| HD | CodeGenTBAA.cpp | 194 Layout.getFieldOffset(idx) / Context.getCharWidth(); in CollectFields() 266 FieldNode, Layout.getFieldOffset(idx) / Context.getCharWidth())); in getTBAAStructTypeInfo()
|
| HD | CGObjCMac.cpp | 1946 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth(); in BuildGCBlockLayout() 2072 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth(); in BuildRCRecordLayout() 2306 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth(); in getBitmapBlockLayout() 2458 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth(); in BuildRCBlockLayout() 4473 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth(); in BuildAggrIvarLayout() 5717 InstanceStart = RL.getFieldOffset(0) / CGM.getContext().getCharWidth(); in GetClassSizeInfo()
|
| HD | CGExprConstant.cpp | 160 const uint64_t CharWidth = Context.getCharWidth(); in AppendBitField()
|
| HD | CGObjCGNU.cpp | 1621 CGM.getContext().getCharWidth())); in GenerateClassStructure() 2493 CGM.getContext().getCharWidth())); in ModuleInitFunction()
|
| HD | CGAtomic.cpp | 81 C.toCharUnitsFromBits(Offset + OrigBFI.Size + C.getCharWidth() - 1) in AtomicInfo()
|
| HD | CGClass.cpp | 906 CGF.getContext().getCharWidth() - 1; in getMemcpySize()
|
| HD | CodeGenModule.cpp | 799 unsigned alignment = D->getMaxAlignment() / Context.getCharWidth(); in SetLLVMFunctionAttributesForDefinition()
|
| HD | CGDebugInfo.cpp | 1752 FieldOffset %= CGM.getContext().getCharWidth(); in CreateTypeDefinition()
|
| HD | CGExpr.cpp | 2777 getContext().getCharWidth()); in EmitLValueForField()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Basic/ |
| HD | TargetInfo.h | 287 unsigned getCharWidth() const { return 8; } // FIXME in getCharWidth() function 392 (AtomicSizeInBits <= getCharWidth() || in hasBuiltinAtomic() 393 llvm::isPowerOf2_64(AtomicSizeInBits / getCharWidth())); in hasBuiltinAtomic()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Frontend/ |
| HD | InitPreprocessor.cpp | 222 Twine(BitWidth / TI.getCharWidth())); in DefineTypeSizeof() 637 assert(TI.getCharWidth() == 8 && "Only support 8-bit char so far"); in InitializePredefinedMacros() 715 Twine(TI.getSuitableAlign() / TI.getCharWidth()) ); in InitializePredefinedMacros() 729 if (TI.getShortWidth() > TI.getCharWidth()) in InitializePredefinedMacros() 745 if (TI.getShortWidth() > TI.getCharWidth()) { in InitializePredefinedMacros()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Lex/ |
| HD | LiteralSupport.cpp | 26 static unsigned getCharWidth(tok::TokenKind kind, const TargetInfo &Target) { in getCharWidth() function 33 return Target.getCharWidth(); in getCharWidth() 1056 assert(PP.getTargetInfo().getCharWidth() == 8 && in CharLiteralParser() 1143 unsigned CharWidth = getCharWidth(Kind, PP.getTargetInfo()); in CharLiteralParser() 1318 CharByteWidth = getCharWidth(Kind, Target); in init()
|
| HD | PPExpressions.cpp | 300 NumBits = TI.getCharWidth(); in EvaluateValue()
|
| /NextBSD/contrib/llvm/tools/clang/lib/AST/ |
| HD | RecordLayoutBuilder.cpp | 171 : Context(Context), CharWidth(Context.getCharWidth()), Class(Class) { in EmptySubobjectMap() 766 assert(Size % Context.getCharWidth() == 0); in getSize() 777 assert(DataSize % Context.getCharWidth() == 0); in getDataSize() 1842 unsigned CharBitNum = Context.getTargetInfo().getCharWidth(); in FinishLayout() 1933 unsigned CharBitNum = Context.getTargetInfo().getCharWidth(); in CheckFieldPadding()
|
| HD | MicrosoftMangle.cpp | 500 assert(FieldOffset % getASTContext().getCharWidth() == 0 && in mangleMemberDataPointer() 502 FieldOffset /= getASTContext().getCharWidth(); in mangleMemberDataPointer()
|
| HD | ASTContext.cpp | 1310 unsigned Align = Target->getCharWidth(); in getDeclAlign() 1559 Width = Target->getCharWidth(); in getTypeInfoImpl() 1802 return CharUnits::fromQuantity(BitSize / getCharWidth()); in toCharUnitsFromBits() 1807 return CharSize.getQuantity() * getCharWidth(); in toBits()
|
| HD | Expr.cpp | 813 CharByteWidth = target.getCharWidth(); in mapCharByteWidth()
|
| /NextBSD/contrib/llvm/tools/lldb/source/Expression/ |
| HD | ClangASTSource.cpp | 1716 size = record_layout.getSize().getQuantity() * m_ast_context->getCharWidth(); in layoutRecordType() 1717 alignment = record_layout.getAlignment().getQuantity() * m_ast_context->getCharWidth(); in layoutRecordType()
|
| /NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| HD | MemRegion.cpp | 1275 Offset += BaseOffset.getQuantity() * getContext().getCharWidth(); in getAsOffset()
|
| HD | RegionStore.cpp | 833 Length = ExtentInt.getLimitedValue() * SVB.getContext().getCharWidth(); in collectSubRegionBindings()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/AST/ |
| HD | ASTContext.h | 1705 uint64_t getCharWidth() const { in getCharWidth() function
|
| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | SemaExprCXX.cpp | 1551 << unsigned(Align / Context.getCharWidth()) in BuildCXXNew() 1552 << unsigned(SuitableAlign / Context.getCharWidth()); in BuildCXXNew()
|
| /NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| HD | MallocChecker.cpp | 1746 int offsetBytes = Offset.getOffset() / C.getASTContext().getCharWidth(); in ReportOffsetFree()
|