/external/clang/lib/Basic/ |
D | TargetInfo.cpp | 134 if (getCharWidth() < getIntWidth()) in getTypeConstantSuffix() 170 case UnsignedChar: return getCharWidth(); in getTypeWidth() 184 if (getCharWidth() == BitWidth) in getIntTypeByWidth() 199 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 | 193 Layout.getFieldOffset(idx) / Context.getCharWidth(); in CollectFields() 265 FieldNode, Layout.getFieldOffset(idx) / Context.getCharWidth())); in getTBAAStructTypeInfo()
|
D | CGObjCMac.cpp | 2202 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth(); in BuildRCRecordLayout() 2436 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth(); in getBitmapBlockLayout() 2587 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth(); in BuildRCBlockLayout() 5900 InstanceStart = RL.getFieldOffset(0) / CGM.getContext().getCharWidth(); in GetClassSizeInfo()
|
D | CGObjCGNU.cpp | 1642 CGM.getContext().getCharWidth())); in GenerateClassStructure() 2526 CGM.getContext().getCharWidth())); in ModuleInitFunction()
|
D | CGExprConstant.cpp | 160 const uint64_t CharWidth = Context.getCharWidth(); in AppendBitField()
|
D | CGAtomic.cpp | 81 C.toCharUnitsFromBits(Offset + OrigBFI.Size + C.getCharWidth() - 1) in AtomicInfo()
|
D | CGClass.cpp | 1025 CGF.getContext().getCharWidth() - 1; in getMemcpySize()
|
D | CodeGenModule.cpp | 873 unsigned alignment = D->getMaxAlignment() / Context.getCharWidth(); in SetLLVMFunctionAttributesForDefinition()
|
D | CGExprScalar.cpp | 1968 CGF.getContext().getCharWidth(); in VisitOffsetOfExpr()
|
/external/clang/include/clang/Basic/ |
D | TargetInfo.h | 292 unsigned getCharWidth() const { return 8; } // FIXME in getCharWidth() function 399 (AtomicSizeInBits <= getCharWidth() || in hasBuiltinAtomic() 400 llvm::isPowerOf2_64(AtomicSizeInBits / getCharWidth())); in hasBuiltinAtomic()
|
/external/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 223 Twine(BitWidth / TI.getCharWidth())); in DefineTypeSizeof() 646 assert(TI.getCharWidth() == 8 && "Only support 8-bit char so far"); in InitializePredefinedMacros() 724 Twine(TI.getSuitableAlign() / TI.getCharWidth()) ); in InitializePredefinedMacros() 738 if (TI.getShortWidth() > TI.getCharWidth()) in InitializePredefinedMacros() 754 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() 1052 assert(PP.getTargetInfo().getCharWidth() == 8 && in CharLiteralParser() 1139 unsigned CharWidth = getCharWidth(Kind, PP.getTargetInfo()); in CharLiteralParser() 1314 CharByteWidth = getCharWidth(Kind, Target); in init()
|
D | PPExpressions.cpp | 300 NumBits = TI.getCharWidth(); in EvaluateValue()
|
/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() 1645 (FieldSize ? TypeSize : Context.getTargetInfo().getCharWidth()); in LayoutBitField() 1856 unsigned CharBitNum = Context.getTargetInfo().getCharWidth(); in FinishLayout() 1944 unsigned CharBitNum = Context.getTargetInfo().getCharWidth(); in CheckFieldPadding()
|
D | MicrosoftMangle.cpp | 502 assert(FieldOffset % getASTContext().getCharWidth() == 0 && in mangleMemberDataPointer() 504 FieldOffset /= getASTContext().getCharWidth(); in mangleMemberDataPointer()
|
D | ASTContext.cpp | 1359 unsigned Align = Target->getCharWidth(); in getDeclAlign() 1608 Width = Target->getCharWidth(); in getTypeInfoImpl() 1861 return CharUnits::fromQuantity(BitSize / getCharWidth()); in toCharUnitsFromBits() 1866 return CharSize.getQuantity() * getCharWidth(); in toBits()
|
D | Expr.cpp | 818 CharByteWidth = target.getCharWidth(); in mapCharByteWidth()
|
D | ExprConstant.cpp | 2129 APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(), in extractStringLiteralCharacter() 2149 APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(), in expandStringLiteral()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | MemRegion.cpp | 1288 Offset += BaseOffset.getQuantity() * getContext().getCharWidth(); in getAsOffset()
|
D | RegionStore.cpp | 817 Length = ExtentInt.getLimitedValue() * SVB.getContext().getCharWidth(); in collectSubRegionBindings()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 1792 uint64_t getCharWidth() const { in getCharWidth() function
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 1560 << unsigned(Align / Context.getCharWidth()) in BuildCXXNew() 1561 << unsigned(SuitableAlign / Context.getCharWidth()); in BuildCXXNew()
|
D | SemaChecking.cpp | 4275 if (llvm::isUIntN(S.Context.getCharWidth(), CL->getValue())) in checkFormatExpr() 5296 (Context.getTypeSize(PointeeTy) == Context.getCharWidth())) in CheckMemaccessArguments()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocChecker.cpp | 1753 int offsetBytes = Offset.getOffset() / C.getASTContext().getCharWidth(); in ReportOffsetFree()
|