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

12

/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DCheckPlacementNew.cpp95 C.getASTContext().getCharWidth(),
173 return StorageTAlign / C.getASTContext().getCharWidth();
222 TheOffsetRegion.getOffset() / C.getASTContext().getCharWidth();
252 Offset.getOffset() / C.getASTContext().getCharWidth();
280 C.getASTContext().getCharWidth();
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DDynamicExtent.cpp72 MRegion->getMemRegionManager().getContext().getCharWidth());
H A DMemRegion.cpp1497 Offset += BaseOffset.getQuantity() * R->getContext().getCharWidth();
H A DRegionStore.cpp876 Length = ExtentInt.getLimitedValue() * SVB.getContext().getCharWidth();
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DContext.cpp110 return Ctx.getTargetInfo().getCharWidth();
H A DByteCodeExprGen.h99 return ASTContext.getTargetInfo().getCharWidth();
/netbsd-current/external/apache2/llvm/dist/clang/lib/Basic/
H A DTargetInfo.cpp199 if (getCharWidth() < getIntWidth())
237 case UnsignedChar: return getCharWidth();
251 if (getCharWidth() == BitWidth)
266 if (getCharWidth() >= BitWidth)
427 NewAlign = Opts.NewAlignOverride * getCharWidth();
/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGObjCRuntime.cpp34 CGM.getContext().getCharWidth();
42 CGM.getContext().getCharWidth();
91 uint64_t BitOffset = FieldBitOffset % CGF.CGM.getContext().getCharWidth();
H A DCodeGenTBAA.cpp301 Layout.getFieldOffset(idx) / Context.getCharWidth();
H A DCGRecordLayoutBuilder.cpp130 unsigned AlignedBits = llvm::alignTo(NumBits, Context.getCharWidth());
136 Context.getCharWidth());
H A DCGNonTrivialStruct.cpp119 uint64_t RoundedFEnd = llvm::alignTo(FEndInBits, Ctx.getCharWidth());
541 Size.getQuantity() * this->CGF->getContext().getCharWidth());
H A DCGCoroutine.cpp546 unsigned NewAlign = TI.getNewAlign() / TI.getCharWidth();
H A DCGObjCGNU.cpp281 CGM.getContext().getCharWidth());
1177 CGM.getContext().getCharWidth());
1833 CGM.getContext().getCharWidth());
2808 CGM.getContext().getCharWidth());
2951 CGM.getContext().getCharWidth());
H A DCGCall.cpp2066 Context.getTargetInfo().getCharWidth());
3268 int CharWidth = Context.getCharWidth();
3330 (uint64_t(1) << Context.getCharWidth()) - 1);
3364 int CharWidth = CGM.getContext().getCharWidth();
3382 int CharWidth = CGM.getContext().getCharWidth();
H A DCGClass.cpp952 FirstByteOffset + Ctx.getCharWidth() - 1;
1742 Context.getCharWidth() - 1);
/netbsd-current/external/apache2/llvm/dist/clang/lib/Frontend/
H A DInitPreprocessor.cpp205 Twine(BitWidth / TI.getCharWidth()));
412 Twine(TI.getNewAlign() / TI.getCharWidth()) +
865 assert(TI.getCharWidth() == 8 && "Only support 8-bit char so far");
866 Builder.defineMacro("__CHAR_BIT__", Twine(TI.getCharWidth()));
946 Twine(TI.getSuitableAlign() / TI.getCharWidth()) );
960 if (TI.getShortWidth() > TI.getCharWidth())
976 if (TI.getShortWidth() > TI.getCharWidth()) {
/netbsd-current/external/apache2/llvm/dist/clang/lib/Lex/
H A DLiteralSupport.cpp39 static unsigned getCharWidth(tok::TokenKind kind, const TargetInfo &Target) { function
46 return Target.getCharWidth();
1295 assert(PP.getTargetInfo().getCharWidth() == 8 &&
1382 unsigned CharWidth = getCharWidth(Kind, PP.getTargetInfo());
1557 CharByteWidth = getCharWidth(Kind, Target);
H A DPPExpressions.cpp394 NumBits = TI.getCharWidth();
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DTargetInfo.h438 unsigned getCharWidth() const { return 8; } // FIXME function in class:clang::TargetInfo
712 (AtomicSizeInBits <= getCharWidth() ||
713 llvm::isPowerOf2_64(AtomicSizeInBits / getCharWidth()));
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/
H A DRecordLayoutBuilder.cpp171 : Context(Context), CharWidth(Context.getCharWidth()), Class(Class) {
807 assert(Size % Context.getCharWidth() == 0);
818 assert(DataSize % Context.getCharWidth() == 0);
1792 : Context.getTargetInfo().getCharWidth());
2129 unsigned CharBitNum = Context.getTargetInfo().getCharWidth();
2226 unsigned CharBitNum = Context.getTargetInfo().getCharWidth();
H A DASTContext.cpp1704 unsigned Align = Target->getCharWidth();
1758 Align = Target->getCharWidth();
2011 Width = Target->getCharWidth();
2266 getCharWidth(), llvm::PowerOf2Ceil(EIT->getNumBits()))),
2356 Width = Target->getCharWidth();
2411 return CharUnits::fromQuantity(BitSize / getCharWidth());
2416 return CharSize.getQuantity() * getCharWidth();
H A DExprConstant.cpp3383 APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(),
3406 APSInt Value(S->getCharByteWidth() * Info.Ctx.getCharWidth(),
6873 assert(FieldOffsetBits % Info.Ctx.getCharWidth() == 0 &&
7014 APSInt Val(SizeOf.getQuantity() * Info.Ctx.getCharWidth(), true);
7080 assert(FieldOffsetBits % Info.Ctx.getCharWidth() == 0);
7083 CharUnits::fromQuantity(FieldOffsetBits / Info.Ctx.getCharWidth()) +
7225 assert(CHAR_BIT == 8 && Info.Ctx.getTargetInfo().getCharWidth() == 8 &&
9134 DesiredVal = Desired.trunc(Info.Ctx.getCharWidth()).getZExtValue();
H A DMicrosoftMangle.cpp659 assert(FieldOffset % getASTContext().getCharWidth() == 0 &&
661 FieldOffset /= getASTContext().getCharWidth();
/netbsd-current/external/apache2/llvm/dist/clang/lib/Basic/Targets/
H A DX86.h161 MaxVectorAlign = MaxTLSAlign = 8192u * getCharWidth();
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExprCXX.cpp2250 Alignment / Context.getCharWidth()),
2280 << unsigned(Alignment / Context.getCharWidth())
2281 << unsigned(NewAlignment / Context.getCharWidth());

Completed in 339 milliseconds

12