Searched refs:getCharWidth (Results 1 - 25 of 33) sorted by relevance

12

/external/clang/lib/Basic/
H A DTargetInfo.cpp144 case UnsignedChar: return getCharWidth();
158 if (getCharWidth() == BitWidth)
173 if (getCharWidth() >= BitWidth)
/external/clang/lib/CodeGen/
H A DCGObjCRuntime.cpp69 CGM.getContext().getCharWidth();
76 CGM.getContext().getCharWidth();
120 uint64_t BitOffset = FieldBitOffset % CGF.CGM.getContext().getCharWidth();
H A DCodeGenTBAA.cpp194 Layout.getFieldOffset(idx) / Context.getCharWidth();
266 FieldNode, Layout.getFieldOffset(idx) / Context.getCharWidth()));
H A DCGExprConstant.cpp144 const uint64_t CharWidth = Context.getCharWidth();
1256 assert(StartOffset % CGM.getContext().getCharWidth() == 0 &&
H A DCGObjCMac.cpp1951 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth();
2077 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth();
2311 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth();
2463 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth();
4515 unsigned ByteSizeInBits = CGM.getTarget().getCharWidth();
5762 InstanceStart = RL.getFieldOffset(0) / CGM.getContext().getCharWidth();
H A DCGObjCGNU.cpp1620 CGM.getContext().getCharWidth()));
2492 CGM.getContext().getCharWidth()));
H A DCGClass.cpp804 CGF.getContext().getCharWidth() - 1;
H A DCGDebugInfo.cpp1755 FieldOffset %= CGM.getContext().getCharWidth();
H A DCGExpr.cpp2616 getContext().getCharWidth());
H A DCGExprScalar.cpp1862 CGF.getContext().getCharWidth();
H A DCodeGenModule.cpp755 unsigned alignment = D->getMaxAlignment() / Context.getCharWidth();
/external/clang/lib/Frontend/
H A DInitPreprocessor.cpp212 Twine(BitWidth / TI.getCharWidth()));
599 assert(TI.getCharWidth() == 8 && "Only support 8-bit char so far");
678 Builder.defineMacro("__INT" + Twine(TI.getCharWidth()) + "_TYPE__",
681 if (TI.getShortWidth() > TI.getCharWidth())
698 if (TI.getShortWidth() > TI.getCharWidth()) {
/external/clang/lib/Lex/
H A DLiteralSupport.cpp26 static unsigned getCharWidth(tok::TokenKind kind, const TargetInfo &Target) { function
32 return Target.getCharWidth();
1060 assert(PP.getTargetInfo().getCharWidth() == 8 &&
1145 unsigned CharWidth = getCharWidth(Kind, PP.getTargetInfo());
1320 CharByteWidth = getCharWidth(Kind, Target);
H A DPPExpressions.cpp303 NumBits = TI.getCharWidth();
/external/clang/include/clang/Basic/
H A DTargetInfo.h262 unsigned getCharWidth() const { return 8; } // FIXME function in class:clang::TargetInfo
/external/clang/lib/AST/
H A DRecordLayoutBuilder.cpp125 : Context(Context), CharWidth(Context.getCharWidth()), Class(Class) {
745 assert(Size % Context.getCharWidth() == 0);
756 assert(DataSize % Context.getCharWidth() == 0);
1809 unsigned CharBitNum = Context.getTargetInfo().getCharWidth();
1903 unsigned CharBitNum = Context.getTargetInfo().getCharWidth();
H A DMicrosoftMangle.cpp459 assert(FieldOffset % getASTContext().getCharWidth() == 0 &&
461 FieldOffset /= getASTContext().getCharWidth();
H A DASTContext.cpp1281 unsigned Align = Target->getCharWidth();
1521 Width = Target->getCharWidth();
1743 return CharUnits::fromQuantity(BitSize / getCharWidth());
1748 return CharSize.getQuantity() * getCharWidth();
H A DExpr.cpp775 CharByteWidth = target.getCharWidth();
/external/lldb/source/Expression/
H A DClangASTSource.cpp1511 size = record_layout.getSize().getQuantity() * m_ast_context->getCharWidth();
1512 alignment = record_layout.getAlignment().getQuantity() * m_ast_context->getCharWidth();
/external/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp1283 Offset += BaseOffset.getQuantity() * getContext().getCharWidth();
H A DRegionStore.cpp832 Length = ExtentInt.getLimitedValue() * SVB.getContext().getCharWidth();
/external/clang/include/clang/AST/
H A DASTContext.h1631 uint64_t getCharWidth() const { function in class:clang::ASTContext
/external/clang/lib/Sema/
H A DSemaChecking.cpp3134 if (llvm::isUIntN(S.Context.getCharWidth(), CL->getValue()))
4117 (Context.getTypeSize(PointeeTy) == Context.getCharWidth()))
H A DSemaExprCXX.cpp1453 << unsigned(Align / Context.getCharWidth())
1454 << unsigned(SuitableAlign / Context.getCharWidth());

Completed in 376 milliseconds

12