|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/clang/include/clang/AST/ASTContext.h 2104 CharUnits getTypeSizeInChars(QualType T) const;
References
tools/clang/include/clang/AST/ASTContext.h 2110 return getTypeSizeInChars(Ty);
tools/clang/include/clang/AST/OSLog.h 91 Size(Ctx.getTypeSizeInChars(Ctx.IntTy)), Flags(flags) {}
tools/clang/lib/AST/APValue.cpp 536 CharUnits S = Ctx.getTypeSizeInChars(InnerTy);
tools/clang/lib/AST/ASTContext.cpp 2410 CharUnits FieldSize = Context.getTypeSizeInChars(Field->getType());
2475 Context.toBits(Context.getTypeSizeInChars(Field->getType()));
6276 CharUnits sz = getTypeSizeInChars(type);
6280 sz = std::max(sz, getTypeSizeInChars(IntTy));
6283 sz = getTypeSizeInChars(VoidPtrTy);
6337 CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy);
6445 CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy);
10377 CharUnits sizeChars = getTypeSizeInChars(AtomicTy);
tools/clang/lib/AST/ExprConstant.cpp 2768 Size = Info.Ctx.getTypeSizeInChars(Type);
6280 CharUnits ElemWidth = Info.Ctx.getTypeSizeInChars(CAT->getElementType());
6303 CharUnits Width = Info.Ctx.getTypeSizeInChars(Ty);
6318 CharUnits DstSize = Info.Ctx.getTypeSizeInChars(BCE->getType());
6461 CharUnits ElementWidth = Info.Ctx.getTypeSizeInChars(Ty->getElementType());
8257 if (IsRawByte && Info.Ctx.getTypeSizeInChars(CharTy) != CharUnits::One())
8387 uint64_t TSize = Info.Ctx.getTypeSizeInChars(T).getQuantity();
10833 if (CharTy1Size != Info.Ctx.getTypeSizeInChars(CharTy2))
11093 auto Size = Ctx.getTypeSizeInChars(Ty);
11679 CharUnits Size = Info.Ctx.getTypeSizeInChars(BaseTy);
11969 CharUnits ElementSize = Info.Ctx.getTypeSizeInChars(CurrentType);
tools/clang/lib/AST/OSLog.cpp 145 CharUnits Size = Ctx.getTypeSizeInChars((*Data.FieldWidth)->getType());
150 CharUnits Size = Ctx.getTypeSizeInChars((*Data.Precision)->getType());
156 CharUnits Size = Ctx.getTypeSizeInChars((*Data.Count)->getType());
168 Size = Ctx.getTypeSizeInChars(Data.E->getType());
171 auto Size = Ctx.getTypeSizeInChars(Data.E->getType());
tools/clang/lib/AST/Type.cpp 142 uint64_t ElementSize = Context.getTypeSizeInChars(ElementType).getQuantity();
tools/clang/lib/AST/VTableBuilder.cpp 2847 Context.getTypeSizeInChars(Context.IntTy).getQuantity() *
tools/clang/lib/CodeGen/CGAtomic.cpp 835 getContext().getTypeSizeInChars(MemTy->getPointeeType());
tools/clang/lib/CodeGen/CGBlocks.cpp 651 CharUnits size = C.getTypeSizeInChars(VT);
tools/clang/lib/CodeGen/CGBuiltin.cpp 325 CharUnits LoadSize = CGF.getContext().getTypeSizeInChars(ElTy);
339 CharUnits StoreSize = CGF.getContext().getTypeSizeInChars(ElTy);
2842 CharUnits StoreSize = getContext().getTypeSizeInChars(ElTy);
tools/clang/lib/CodeGen/CGCall.cpp 926 CharUnits FieldSize = Context.getTypeSizeInChars(FD->getType());
1005 CharUnits EltSize = CGF.getContext().getTypeSizeInChars(CAE->EltTy);
1992 RetAttrs.addDereferenceableAttr(getContext().getTypeSizeInChars(PTy)
2102 Attrs.addDereferenceableAttr(getContext().getTypeSizeInChars(PTy)
2328 CharUnits Size = getContext().getTypeSizeInChars(Ty);
2379 getContext().getTypeSizeInChars(ETy).getQuantity()*ArrSize);
tools/clang/lib/CodeGen/CGClass.cpp 1964 .alignmentOfArrayElement(getContext().getTypeSizeInChars(type));
tools/clang/lib/CodeGen/CGDecl.cpp 1665 CharUnits Size = getContext().getTypeSizeInChars(type);
1691 CharUnits EltSize = getContext().getTypeSizeInChars(VlaSize.Type);
2112 .alignmentOfArrayElement(getContext().getTypeSizeInChars(type));
tools/clang/lib/CodeGen/CGDeclCXX.cpp 151 Addr, CGF.getContext().getTypeSizeInChars(D.getType()));
tools/clang/lib/CodeGen/CGExpr.cpp 714 uint64_t TySize = getContext().getTypeSizeInChars(Ty).getQuantity();
889 uint64_t EltSize = C.getTypeSizeInChars(EltTy).getQuantity();
3425 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(eltType);
4057 getContext().getTypeSizeInChars(FieldType).getQuantity();
tools/clang/lib/CodeGen/CGExprAgg.cpp 486 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType);
731 CGF.getContext().getTypeSizeInChars(E->getType()).getQuantity());
1662 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType);
1758 return CGF.getContext().getTypeSizeInChars(E->getType());
tools/clang/lib/CodeGen/CGExprCXX.cpp 681 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type);
723 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type);
982 CharUnits ElementSize = getContext().getTypeSizeInChars(ElementType);
1002 getContext().getTypeSizeInChars(ElementType).getQuantity() *
1782 CharUnits DeleteTypeSize = getContext().getTypeSizeInChars(DeleteTy);
1993 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType);
tools/clang/lib/CodeGen/CGExprConstant.cpp 621 CharUnits ElemSize = Emitter.CGM.getContext().getTypeSizeInChars(ElemType);
tools/clang/lib/CodeGen/CGExprScalar.cpp 2665 CGF.getContext().getTypeSizeInChars(CurrentType).getQuantity());
2748 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(VlaSize.Type);
3226 = CGF.CGM.getSize(CGF.getContext().getTypeSizeInChars(objectType));
3552 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(elementType);
3566 elementSize = CGF.getContext().getTypeSizeInChars(elementType);
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp 196 CharUnits EltSize = Ctx.getTypeSizeInChars(EltTy);
350 unsigned BaseEltSize = Ctx.getTypeSizeInChars(BaseEltQT).getQuantity();
385 CharUnits EltSize = Ctx.getTypeSizeInChars(EltQT);
647 CharUnits Size = Ctx.getTypeSizeInChars(QualType(AT, 0));
tools/clang/lib/CodeGen/CGObjC.cpp 744 CharUnits size = CGF.getContext().getTypeSizeInChars(ivar->getType());
1224 CGF.CGM.getSize(CGF.getContext().getTypeSizeInChars(ivar->getType()));
tools/clang/lib/CodeGen/CGObjCGNU.cpp 1855 CGM.getContext().getTypeSizeInChars(ivarTy).getQuantity());
tools/clang/lib/CodeGen/CGObjCMac.cpp 2549 CharUnits FieldSize = CGM.getContext().getTypeSizeInChars(Field->getType());
2583 = CGM.getContext().getTypeSizeInChars(LastFieldBitfieldOrUnnamed->getType());
2947 fieldSize = CGM.getContext().getTypeSizeInChars(type);
5255 assert(CGM.getContext().getTypeSizeInChars(fieldType)
tools/clang/lib/CodeGen/CGOpenCLRuntime.cpp 103 .getTypeSizeInChars(PipeTy->getElementType())
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 893 CharUnits ElementSize = CGF.getContext().getTypeSizeInChars(ElementTy);
5087 llvm::Value *SharedsSize = CGM.getSize(C.getTypeSizeInChars(SharedsTy));
5497 CharUnits ElementSize = CGF.getContext().getTypeSizeInChars(ElementTy);
7630 CharUnits TypeSize = CGF.getContext().getTypeSizeInChars(
8842 CharUnits ElementSize = C.getTypeSizeInChars(Ty);
9670 CharUnits VarSize = CGM.getContext().getTypeSizeInChars(Ty);
9705 VarSize = CGM.getContext().getTypeSizeInChars(VD->getType());
10989 CharUnits Sz = CGM.getContext().getTypeSizeInChars(CVD->getType());
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 2131 CGM.getContext().getTypeSizeInChars(GlobalRecTy).getQuantity();
2177 CGM.getContext().getTypeSizeInChars(SecGlobalRecTy).getQuantity();
2209 unsigned Size = CGM.getContext().getTypeSizeInChars(RDTy).getQuantity();
2813 assert(!CGF.getContext().getTypeSizeInChars(CastTy).isZero() &&
2815 assert(!CGF.getContext().getTypeSizeInChars(ValTy).isZero() &&
2820 if (CGF.getContext().getTypeSizeInChars(ValTy) ==
2821 CGF.getContext().getTypeSizeInChars(CastTy))
2845 CharUnits Size = CGF.getContext().getTypeSizeInChars(ElemType);
2871 CharUnits Size = CGF.getContext().getTypeSizeInChars(ElemType);
3244 C.getTypeSizeInChars(Private->getType())
5078 unsigned RecSize = C.getTypeSizeInChars(RDTy).getQuantity();
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 268 auto SizeInChars = C.getTypeSizeInChars(Ty);
277 SizeInChars = C.getTypeSizeInChars(Ty);
665 CharUnits ElementSize = getContext().getTypeSizeInChars(ElementTy);
tools/clang/lib/CodeGen/CGValue.h 624 : Ctx.getTypeSizeInChars(Type);
tools/clang/lib/CodeGen/CodeGenFunction.cpp 1579 CharUnits baseSize = CGF.getContext().getTypeSizeInChars(baseType);
1633 CharUnits size = getContext().getTypeSizeInChars(Ty);
1646 CharUnits eltSize = getContext().getTypeSizeInChars(VlaSize.Type);
tools/clang/lib/CodeGen/CodeGenModule.cpp 518 Context.getTypeSizeInChars(Context.getWideCharType()).getQuantity();
tools/clang/lib/CodeGen/CodeGenTBAA.cpp 226 uint64_t Size = Context.getTypeSizeInChars(AccessType).getQuantity();
274 uint64_t Size = Context.getTypeSizeInChars(QTy).getQuantity();
312 uint64_t Size = Context.getTypeSizeInChars(FieldQTy).getQuantity();
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 1249 uint64_t TypeSize = getContext().getTypeSizeInChars(ThrowType).getQuantity();
2091 getContext().getTypeSizeInChars(elementType).getQuantity());
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 1028 CharUnits IntSize = Context.getTypeSizeInChars(Context.IntTy);
2222 return std::max(Ctx.getTypeSizeInChars(Ctx.getSizeType()),
4014 uint32_t Size = getContext().getTypeSizeInChars(T).getQuantity();
tools/clang/lib/CodeGen/SwiftCallingConv.cpp 78 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType);
86 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType);
94 addOpaqueData(begin, begin + CGM.getContext().getTypeSizeInChars(type));
tools/clang/lib/CodeGen/TargetInfo.cpp 1854 StackOffset += getContext().getTypeSizeInChars(Type);
3233 (unsigned)getContext().getTypeSizeInChars(SourceTy).getQuantity();
5334 CharUnits TySize = getContext().getTypeSizeInChars(Ty);
5929 getContext().getTypeSizeInChars(Ty) > CharUnits::fromQuantity(16)) {
5950 if (getContext().getTypeSizeInChars(Ty) > CharUnits::fromQuantity(64)) {
6296 CharUnits TySize = getContext().getTypeSizeInChars(Ty);
9366 Field2Off = Field1Off + getContext().getTypeSizeInChars(EltTy);
9373 CharUnits EltSize = getContext().getTypeSizeInChars(EltTy);
tools/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp 281 << context.getTypeSizeInChars(VD).getQuantity();
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp 6823 CharUnits Size = Context->getTypeSizeInChars(IVQT);
tools/clang/lib/Sema/SemaCast.cpp 2816 CharUnits DestSize = Self.Context.getTypeSizeInChars(DestType);
2817 CharUnits SourceSize = Self.Context.getTypeSizeInChars(SrcType);
tools/clang/lib/Sema/SemaChecking.cpp 5123 switch (Context.getTypeSizeInChars(ValType).getQuantity()) {
6145 CharUnits ArgSize = Context.getTypeSizeInChars(Arg.get()->getType());
tools/clang/lib/Sema/SemaDecl.cpp13125 unsigned Size = Context.getTypeSizeInChars(ReturnTy).getQuantity();
13137 unsigned Size = Context.getTypeSizeInChars(T).getQuantity();
16767 !Context.getTypeSizeInChars(FieldType).isZero())
tools/clang/lib/Sema/SemaDeclCXX.cpp12034 S.Context.getTypeSizeInChars(T).getQuantity());
tools/clang/lib/Sema/SemaExpr.cpp 3231 ConvertUTF8ToWideString(Context.getTypeSizeInChars(ResTy).getQuantity(),
9769 CharUnits ElementSize = Context.getTypeSizeInChars(rpointee);
tools/clang/lib/Sema/SemaOpenMP.cpp 1867 (Ctx.getTypeSizeInChars(Ty) >
1868 Ctx.getTypeSizeInChars(Ctx.getUIntPtrType()) ||
tools/clang/lib/Sema/SemaStmtAsm.cpp 709 unsigned Size = Context.getTypeSizeInChars(T).getQuantity();
712 Type = Context.getTypeSizeInChars(ATy->getElementType()).getQuantity();
tools/clang/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp 340 astContext.getTypeSizeInChars(elemType),
tools/clang/lib/StaticAnalyzer/Checkers/CastSizeChecker.cpp 118 CharUnits typeSize = C.getASTContext().getTypeSizeInChars(ToPointeeTy);
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp 1402 CharUnits TypeSize = AstContext.getTypeSizeInChars(ElementType);
tools/clang/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp 200 CharUnits FieldSize = ASTContext.getTypeSizeInChars(FD->getType());
tools/clang/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp 161 CharUnits EleSize = Ctx.getTypeSizeInChars(VLA->getElementType());
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp 175 CharUnits size = Ctx.getTypeSizeInChars(T);
1256 int64_t size = C.getTypeSizeInChars(elemType).getQuantity();
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp 1411 CharUnits EleSize = Ctx.getTypeSizeInChars(EleTy);
1760 if (Ctx.getTypeSizeInChars(baseT) >= Ctx.getTypeSizeInChars(elemT)) {
1760 if (Ctx.getTypeSizeInChars(baseT) >= Ctx.getTypeSizeInChars(elemT)) {
tools/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp 1150 Multiplicand = getContext().getTypeSizeInChars(pointeeType).getQuantity();
tools/clang/lib/StaticAnalyzer/Core/Store.cpp 202 CharUnits pointeeTySize = Ctx.getTypeSizeInChars(PointeeTy);
tools/clang/tools/libclang/CXType.cpp 956 return Ctx.getTypeSizeInChars(QT).getQuantity();