| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | OSLog.cpp | 145 CharUnits Size = Ctx.getTypeSizeInChars((*Data.FieldWidth)->getType()); in computeLayout() 150 CharUnits Size = Ctx.getTypeSizeInChars((*Data.Precision)->getType()); in computeLayout() 156 CharUnits Size = Ctx.getTypeSizeInChars((*Data.Count)->getType()); in computeLayout() 168 Size = Ctx.getTypeSizeInChars(Data.E->getType()); in computeLayout() 171 auto Size = Ctx.getTypeSizeInChars(Data.E->getType()); in computeLayout()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CastSizeChecker.cpp | 70 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize() 76 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize() 123 CharUnits typeSize = C.getASTContext().getTypeSizeInChars(ToPointeeTy); in checkPreStmt()
|
| H A D | CheckPlacementNew.cpp | 77 CharUnits TypeSize = AstContext.getTypeSizeInChars(ElementType); in getExtentSizeOfNewTarget() 93 llvm::APInt I(AstContext.getTypeSizeInChars(SvalBuilder.getArrayIndexType()) in getExtentSizeOfNewTarget()
|
| H A D | ArrayBoundChecker.cpp | 76 return C.getASTContext().getTypeSizeInChars(*T).getQuantity(); in determineElementSize() 215 SVB.getContext().getTypeSizeInChars(ElemType).getQuantity()); in computeOffset() 434 int64_t ElemSize = ACtx.getTypeSizeInChars(ElemType).getQuantity(); in getExceedsMsgs()
|
| H A D | PaddingChecker.cpp | 203 CharUnits FieldSize = ASTContext.getTypeSizeInChars(FD->getType()); in calculateBaselinePad()
|
| H A D | VLASizeChecker.cpp | 100 CharUnits EleSize = Ctx.getTypeSizeInChars(VLALast->getElementType()); in checkVLA()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenTBAA.cpp | 161 uint64_t Size = Context.getTypeSizeInChars(Ty).getQuantity(); in getTypeInfoHelper() 408 uint64_t Size = Context.getTypeSizeInChars(AccessType).getQuantity(); in getAccessInfo() 429 uint64_t Size = Context.getTypeSizeInChars(QTy).getQuantity(); in CollectFields() 490 uint64_t Size = Context.getTypeSizeInChars(QTy).getQuantity(); in CollectFields() 567 uint64_t Size = Context.getTypeSizeInChars(FieldQTy).getQuantity(); in getBaseTypeInfoHelper() 584 uint64_t Size = Context.getTypeSizeInChars(Ty).getQuantity(); in getBaseTypeInfoHelper()
|
| H A D | SwiftCallingConv.cpp | 79 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType); in addTypedData() 87 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType); in addTypedData() 95 addOpaqueData(begin, begin + CGM.getContext().getTypeSizeInChars(type)); in addTypedData() 100 auto atomicSize = CGM.getContext().getTypeSizeInChars(atomicType); in addTypedData() 101 auto valueSize = CGM.getContext().getTypeSizeInChars(valueType); in addTypedData()
|
| H A D | CGOpenCLRuntime.cpp | 86 .getTypeSizeInChars(PipeTy->getElementType()) in getPipeElemSize()
|
| H A D | CodeGenTypes.cpp | 143 Context.getTypeSizeInChars(T).getQuantity()); in ConvertTypeForMem() 161 CharUnits ASTSize = Context.getTypeSizeInChars(ASTTy); in typeRequiresSplitIntoByteArray() 174 getLLVMContext(), Context.getTypeSizeInChars(T).getQuantity() * 8); in convertTypeForLoadStore()
|
| H A D | CGExprCXX.cpp | 718 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); in EmitCXXNewAllocSize() 760 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); in EmitCXXNewAllocSize() 1019 CharUnits ElementSize = getContext().getTypeSizeInChars(ElementType); in EmitNewArrayInitializer() 1039 getContext().getTypeSizeInChars(ElementType).getQuantity() * in EmitNewArrayInitializer() 1872 CharUnits DeleteTypeSize = getContext().getTypeSizeInChars(DeleteTy); in EmitDeleteCall() 2098 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitArrayDelete()
|
| H A D | CGNonTrivialStruct.cpp | 197 CharUnits EltSize = Ctx.getTypeSizeInChars(EltTy); in visitArray() 376 unsigned BaseEltSize = Ctx.getTypeSizeInChars(BaseEltQT).getQuantity(); in visitArray() 408 CharUnits EltSize = Ctx.getTypeSizeInChars(EltQT); in visitArray() 671 CharUnits Size = Ctx.getTypeSizeInChars(QualType(AT, 0)); in visitArray()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | OSLog.h | 91 Size(Ctx.getTypeSizeInChars(Ctx.IntTy)), Flags(flags) {} in OSLogBufferItem()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | DynamicExtent.cpp | 40 return SVB.makeIntVal(SVB.getContext().getTypeSizeInChars(Ty).getQuantity(), in getElementExtent()
|
| H A D | Store.cpp | 208 CharUnits pointeeTySize = Ctx.getTypeSizeInChars(PointeeTy); in castRegion()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | LoongArch.cpp | 143 Field2Off = Field1Off + getContext().getTypeSizeInChars(EltTy); in detectFARsEligibleStructHelper() 157 CharUnits EltSize = getContext().getTypeSizeInChars(EltTy); in detectFARsEligibleStructHelper()
|
| H A D | ARM.cpp | 437 getContext().getTypeSizeInChars(Ty) > CharUnits::fromQuantity(16)) { in classifyArgumentType() 459 if (getContext().getTypeSizeInChars(Ty) > CharUnits::fromQuantity(64)) { in classifyArgumentType() 808 CharUnits TySize = getContext().getTypeSizeInChars(Ty); in EmitVAArg()
|
| H A D | RISCV.cpp | 221 Field2Off = Field1Off + getContext().getTypeSizeInChars(EltTy); in detectFPCCEligibleStructHelper() 235 CharUnits EltSize = getContext().getTypeSizeInChars(EltTy); in detectFPCCEligibleStructHelper()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | InterpBuiltin.cpp | 288 assert(ElemSize == AC.getTypeSizeInChars(AC.getWCharType()).getQuantity()); in interp__builtin_strlen() 1505 CharUnits ElemSize = S.getASTContext().getTypeSizeInChars(ElemType); in interp__builtin_operator_new() 1800 unsigned DestElemSize = ASTCtx.getTypeSizeInChars(DestElemType).getQuantity(); in interp__builtin_memcpy() 1804 ASTCtx.getTypeSizeInChars(ASTCtx.getWCharType()).getQuantity(); in interp__builtin_memcpy() 1825 unsigned SrcElemSize = ASTCtx.getTypeSizeInChars(SrcElemType).getQuantity(); in interp__builtin_memcpy() 1958 ElemSize = ASTCtx.getTypeSizeInChars(ASTCtx.getWCharType()).getQuantity(); in interp__builtin_memcmp() 2112 return ASTCtx.getTypeSizeInChars(Desc->getType()).getQuantity(); in computeFullDescSize() 2115 return ASTCtx.getTypeSizeInChars(Desc->getElemQualType()).getQuantity() * in computeFullDescSize() 2119 return ASTCtx.getTypeSizeInChars(Desc->getType()).getQuantity(); in computeFullDescSize() 2136 ASTCtx.getTypeSizeInChars(D->getElemQualType()).getQuantity(); in computePointerOffset() [all …]
|
| H A D | Pointer.cpp | 225 Offset += (Index * ASTCtx.getTypeSizeInChars(ElemType)); in toAPValue() 254 Offset += (Index * ASTCtx.getTypeSizeInChars(ElemType)); in toAPValue()
|
| /freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | Value.cpp | 158 getASTContext().getTypeSizeInChars(getType()).getQuantity(); in Value()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InterfaceStubFunctionsConsumer.cpp | 315 << context.getTypeSizeInChars(VD).getQuantity(); in HandleTranslationUnit()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenExprAggregate.cpp | 143 cgf.getContext().getTypeSizeInChars(elementType); in emitArrayInit()
|
| H A D | CIRGenCXXExpr.cpp | 200 CharUnits typeSize = cgf.getContext().getTypeSizeInChars(type); in emitCXXNewAllocSize()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmtAsm.cpp | 806 unsigned Size = Context.getTypeSizeInChars(T).getQuantity(); in FillInlineAsmIdentifierInfo() 809 Type = Context.getTypeSizeInChars(ATy->getElementType()).getQuantity(); in FillInlineAsmIdentifierInfo()
|