Home
last modified time | relevance | path

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

12

/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/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()
DCGObjCMac.cpp2209 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth(); in BuildRCRecordLayout()
2443 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth(); in getBitmapBlockLayout()
2594 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth(); in BuildRCBlockLayout()
5977 InstanceStart = RL.getFieldOffset(0) / CGM.getContext().getCharWidth(); in GetClassSizeInfo()
DCGObjCGNU.cpp1664 CGM.getContext().getCharWidth())); in GenerateClassStructure()
2533 CGM.getContext().getCharWidth())); in ModuleInitFunction()
DCGExprConstant.cpp160 const uint64_t CharWidth = Context.getCharWidth(); in AppendBitField()
DCGAtomic.cpp81 C.toCharUnitsFromBits(Offset + OrigBFI.Size + C.getCharWidth() - 1) in AtomicInfo()
DCGClass.cpp1026 CGF.getContext().getCharWidth() - 1; in getMemcpySize()
DCodeGenModule.cpp918 unsigned alignment = D->getMaxAlignment() / Context.getCharWidth(); in SetLLVMFunctionAttributesForDefinition()
DCGDebugInfo.cpp1998 FieldOffset %= CGM.getContext().getCharWidth(); in CreateTypeDefinition()
DCGExprScalar.cpp1955 CGF.getContext().getCharWidth(); in VisitOffsetOfExpr()
/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/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/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()
DPPExpressions.cpp354 NumBits = TI.getCharWidth(); in EvaluateValue()
/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()
DMicrosoftMangle.cpp538 assert(FieldOffset % getASTContext().getCharWidth() == 0 && in mangleMemberDataPointer()
540 FieldOffset /= getASTContext().getCharWidth(); in mangleMemberDataPointer()
DASTContext.cpp1354 unsigned Align = Target->getCharWidth(); in getDeclAlign()
1603 Width = Target->getCharWidth(); in getTypeInfoImpl()
1859 return CharUnits::fromQuantity(BitSize / getCharWidth()); in toCharUnitsFromBits()
1864 return CharSize.getQuantity() * getCharWidth(); in toBits()
DExpr.cpp807 CharByteWidth = target.getCharWidth(); in mapCharByteWidth()
DExprConstant.cpp2225 APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(), in extractStringLiteralCharacter()
2245 APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(), in expandStringLiteral()
/external/clang/lib/StaticAnalyzer/Core/
DMemRegion.cpp1342 Offset += BaseOffset.getQuantity() * getContext().getCharWidth(); in getAsOffset()
DRegionStore.cpp818 Length = ExtentInt.getLimitedValue() * SVB.getContext().getCharWidth(); in collectSubRegionBindings()
/external/clang/include/clang/AST/
DASTContext.h1817 uint64_t getCharWidth() const { in getCharWidth() function
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocChecker.cpp1761 int offsetBytes = Offset.getOffset() / C.getASTContext().getCharWidth(); in ReportOffsetFree()
/external/clang/lib/Sema/
DSemaExprCXX.cpp1794 << unsigned(Align / Context.getCharWidth()) in BuildCXXNew()
1795 << unsigned(SuitableAlign / Context.getCharWidth()); in BuildCXXNew()

12