/external/clang/lib/Basic/ |
D | TargetInfo.cpp | 130 if (getCharWidth() < getIntWidth()) in getTypeConstantSuffix() 166 case UnsignedChar: return getCharWidth(); in getTypeWidth() 180 if (getCharWidth() == BitWidth) in getIntTypeByWidth() 195 if (getCharWidth() >= BitWidth) in getLeastIntTypeByWidth()
|
/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 | 194 Layout.getFieldOffset(idx) / Context.getCharWidth(); in CollectFields() 266 FieldNode, Layout.getFieldOffset(idx) / Context.getCharWidth())); in getTBAAStructTypeInfo()
|
D | 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()
|
D | CGExprConstant.cpp | 153 const uint64_t CharWidth = Context.getCharWidth(); in AppendBitField()
|
D | CGObjCGNU.cpp | 1626 CGM.getContext().getCharWidth())); in GenerateClassStructure() 2499 CGM.getContext().getCharWidth())); in ModuleInitFunction()
|
D | CGAtomic.cpp | 81 C.toCharUnitsFromBits(Offset + OrigBFI.Size + C.getCharWidth() - 1) in AtomicInfo()
|
D | CGClass.cpp | 883 CGF.getContext().getCharWidth() - 1; in getMemcpySize()
|
D | CodeGenModule.cpp | 793 unsigned alignment = D->getMaxAlignment() / Context.getCharWidth(); in SetLLVMFunctionAttributesForDefinition()
|
D | CGDebugInfo.cpp | 1770 FieldOffset %= CGM.getContext().getCharWidth(); in CreateTypeDefinition()
|
D | CGExpr.cpp | 2764 getContext().getCharWidth()); in EmitLValueForField()
|
/external/clang/include/clang/Basic/ |
D | TargetInfo.h | 284 unsigned getCharWidth() const { return 8; } // FIXME in getCharWidth() function 379 (AtomicSizeInBits <= getCharWidth() || in hasBuiltinAtomic() 380 llvm::isPowerOf2_64(AtomicSizeInBits / getCharWidth())); in hasBuiltinAtomic()
|
/external/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 221 Twine(BitWidth / TI.getCharWidth())); in DefineTypeSizeof() 634 assert(TI.getCharWidth() == 8 && "Only support 8-bit char so far"); in InitializePredefinedMacros() 712 Twine(TI.getSuitableAlign() / TI.getCharWidth()) ); in InitializePredefinedMacros() 726 if (TI.getShortWidth() > TI.getCharWidth()) in InitializePredefinedMacros() 742 if (TI.getShortWidth() > TI.getCharWidth()) { in InitializePredefinedMacros()
|
/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() 1056 assert(PP.getTargetInfo().getCharWidth() == 8 && in CharLiteralParser() 1143 unsigned CharWidth = getCharWidth(Kind, PP.getTargetInfo()); in CharLiteralParser() 1318 CharByteWidth = getCharWidth(Kind, Target); in init()
|
D | PPExpressions.cpp | 306 NumBits = TI.getCharWidth(); in EvaluateValue()
|
/external/clang/lib/AST/ |
D | 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()
|
D | MicrosoftMangle.cpp | 486 assert(FieldOffset % getASTContext().getCharWidth() == 0 && in mangleMemberDataPointer() 488 FieldOffset /= getASTContext().getCharWidth(); in mangleMemberDataPointer()
|
D | ASTContext.cpp | 1285 unsigned Align = Target->getCharWidth(); in getDeclAlign() 1534 Width = Target->getCharWidth(); in getTypeInfoImpl() 1766 return CharUnits::fromQuantity(BitSize / getCharWidth()); in toCharUnitsFromBits() 1771 return CharSize.getQuantity() * getCharWidth(); in toBits()
|
D | Expr.cpp | 813 CharByteWidth = target.getCharWidth(); in mapCharByteWidth()
|
/external/lldb/source/Expression/ |
D | ClangASTSource.cpp | 1511 size = record_layout.getSize().getQuantity() * m_ast_context->getCharWidth(); in layoutRecordType() 1512 alignment = record_layout.getAlignment().getQuantity() * m_ast_context->getCharWidth(); in layoutRecordType()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | MemRegion.cpp | 1272 Offset += BaseOffset.getQuantity() * getContext().getCharWidth(); in getAsOffset()
|
D | RegionStore.cpp | 833 Length = ExtentInt.getLimitedValue() * SVB.getContext().getCharWidth(); in collectSubRegionBindings()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 1650 uint64_t getCharWidth() const { in getCharWidth() function
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocChecker.cpp | 1745 int offsetBytes = Offset.getOffset() / C.getASTContext().getCharWidth(); in ReportOffsetFree()
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 1552 << unsigned(Align / Context.getCharWidth()) in BuildCXXNew() 1553 << unsigned(SuitableAlign / Context.getCharWidth()); in BuildCXXNew()
|