Home
last modified time | relevance | path

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

12

/freebsd-9-stable/contrib/llvm/tools/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.cpp194 Layout.getFieldOffset(idx) / Context.getCharWidth(); in CollectFields()
266 FieldNode, Layout.getFieldOffset(idx) / Context.getCharWidth())); in getTBAAStructTypeInfo()
DCGExprConstant.cpp144 const uint64_t CharWidth = Context.getCharWidth(); in AppendBitField()
1248 assert(StartOffset % CGM.getContext().getCharWidth() == 0 && in FillInNullDataMemberPointers()
DCGRecordLayoutBuilder.cpp388 assert(fieldOffset % Types.getTarget().getCharWidth() == 0 in LayoutField()
DCGObjCMac.cpp1954 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth(); in BuildGCBlockLayout()
2081 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth(); in BuildRCRecordLayout()
2321 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth(); in getBitmapBlockLayout()
2473 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth(); in BuildRCBlockLayout()
4542 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth(); in BuildAggrIvarLayout()
5794 InstanceStart = RL.getFieldOffset(0) / CGM.getContext().getCharWidth(); in GetClassSizeInfo()
DCGObjCGNU.cpp1639 CGM.getContext().getCharWidth())); in GenerateClassStructure()
2534 CGM.getContext().getCharWidth())); in ModuleInitFunction()
DCGClass.cpp799 CGF.getContext().getCharWidth() - 1; in getMemcpySize()
DCodeGenModule.cpp737 unsigned alignment = D->getMaxAlignment() / Context.getCharWidth(); in SetLLVMFunctionAttributesForDefinition()
DCGDebugInfo.cpp1688 FieldOffset %= CGM.getContext().getCharWidth(); in CreateType()
DCGExpr.cpp2568 getContext().getCharWidth()); in EmitLValueForField()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Frontend/
DInitPreprocessor.cpp212 Twine(BitWidth / TI.getCharWidth())); in DefineTypeSizeof()
556 assert(TI.getCharWidth() == 8 && "Only support 8-bit char so far"); in InitializePredefinedMacros()
622 Builder.defineMacro("__INT" + Twine(TI.getCharWidth()) + "_TYPE__", in InitializePredefinedMacros()
625 if (TI.getShortWidth() > TI.getCharWidth()) in InitializePredefinedMacros()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Lex/
DLiteralSupport.cpp26 static unsigned getCharWidth(tok::TokenKind kind, const TargetInfo &Target) { in getCharWidth() function
32 return Target.getCharWidth(); in getCharWidth()
1006 assert(PP.getTargetInfo().getCharWidth() == 8 && in CharLiteralParser()
1091 unsigned CharWidth = getCharWidth(Kind, PP.getTargetInfo()); in CharLiteralParser()
1266 CharByteWidth = getCharWidth(Kind, Target); in init()
DPPExpressions.cpp303 NumBits = TI.getCharWidth(); in EvaluateValue()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Basic/
DTargetInfo.cpp143 case UnsignedChar: return getCharWidth(); in getTypeWidth()
157 if (getCharWidth() == BitWidth) in getIntTypeByWidth()
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Basic/
DTargetInfo.h259 unsigned getCharWidth() const { return 8; } // FIXME in getCharWidth() function
/freebsd-9-stable/contrib/llvm/tools/clang/lib/AST/
DRecordLayoutBuilder.cpp125 : Context(Context), CharWidth(Context.getCharWidth()), Class(Class) { in EmptySubobjectMap()
760 assert(Size % Context.getCharWidth() == 0); in getSize()
771 assert(DataSize % Context.getCharWidth() == 0); in getDataSize()
1743 unsigned CharBitNum = Context.getTargetInfo().getCharWidth(); in FinishLayout()
1837 unsigned CharBitNum = Context.getTargetInfo().getCharWidth(); in CheckFieldPadding()
DASTContext.cpp1265 unsigned Align = Target->getCharWidth(); in getDeclAlign()
1507 Width = Target->getCharWidth(); in getTypeInfoImpl()
1728 return CharUnits::fromQuantity(BitSize / getCharWidth()); in toCharUnitsFromBits()
1733 return CharSize.getQuantity() * getCharWidth(); in toBits()
DExpr.cpp790 CharByteWidth = target.getCharWidth(); in mapCharByteWidth()
DExprConstant.cpp1983 APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(), in extractStringLiteralCharacter()
2003 APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(), in expandStringLiteral()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
DMemRegion.cpp1285 Offset += BaseOffset.getQuantity() * getContext().getCharWidth(); in getAsOffset()
DRegionStore.cpp835 Length = ExtentInt.getLimitedValue() * SVB.getContext().getCharWidth(); in collectSubRegionBindings()
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/AST/
DASTContext.h1596 uint64_t getCharWidth() const { in getCharWidth() function
/freebsd-9-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
DMallocChecker.cpp1345 int offsetBytes = Offset.getOffset() / C.getASTContext().getCharWidth(); in ReportOffsetFree()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaExprCXX.cpp1410 << unsigned(Align / Context.getCharWidth()) in BuildCXXNew()
1411 << unsigned(SuitableAlign / Context.getCharWidth()); in BuildCXXNew()
DSemaChecking.cpp3170 if (llvm::isUIntN(S.Context.getCharWidth(), CL->getValue())) in checkFormatExpr()
3691 (Context.getTypeSize(PointeeTy) == Context.getCharWidth())) in CheckMemaccessArguments()

12