Home
last modified time | relevance | path

Searched refs:getTypeSizeInChars (Results 1 – 25 of 78) sorted by relevance

1234

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOSLog.cpp145 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 DCastSizeChecker.cpp70 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
76 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
123 CharUnits typeSize = C.getASTContext().getTypeSizeInChars(ToPointeeTy); in checkPreStmt()
H A DCheckPlacementNew.cpp77 CharUnits TypeSize = AstContext.getTypeSizeInChars(ElementType); in getExtentSizeOfNewTarget()
93 llvm::APInt I(AstContext.getTypeSizeInChars(SvalBuilder.getArrayIndexType()) in getExtentSizeOfNewTarget()
H A DArrayBoundChecker.cpp76 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 DPaddingChecker.cpp203 CharUnits FieldSize = ASTContext.getTypeSizeInChars(FD->getType()); in calculateBaselinePad()
H A DVLASizeChecker.cpp100 CharUnits EleSize = Ctx.getTypeSizeInChars(VLALast->getElementType()); in checkVLA()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp161 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 DSwiftCallingConv.cpp79 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 DCGOpenCLRuntime.cpp86 .getTypeSizeInChars(PipeTy->getElementType()) in getPipeElemSize()
H A DCodeGenTypes.cpp143 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 DCGExprCXX.cpp718 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 DCGNonTrivialStruct.cpp197 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 DOSLog.h91 Size(Ctx.getTypeSizeInChars(Ctx.IntTy)), Flags(flags) {} in OSLogBufferItem()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DDynamicExtent.cpp40 return SVB.makeIntVal(SVB.getContext().getTypeSizeInChars(Ty).getQuantity(), in getElementExtent()
H A DStore.cpp208 CharUnits pointeeTySize = Ctx.getTypeSizeInChars(PointeeTy); in castRegion()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DLoongArch.cpp143 Field2Off = Field1Off + getContext().getTypeSizeInChars(EltTy); in detectFARsEligibleStructHelper()
157 CharUnits EltSize = getContext().getTypeSizeInChars(EltTy); in detectFARsEligibleStructHelper()
H A DARM.cpp437 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 DRISCV.cpp221 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 DInterpBuiltin.cpp288 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 DPointer.cpp225 Offset += (Index * ASTCtx.getTypeSizeInChars(ElemType)); in toAPValue()
254 Offset += (Index * ASTCtx.getTypeSizeInChars(ElemType)); in toAPValue()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DValue.cpp158 getASTContext().getTypeSizeInChars(getType()).getQuantity(); in Value()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp315 << context.getTypeSizeInChars(VD).getQuantity(); in HandleTranslationUnit()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExprAggregate.cpp143 cgf.getContext().getTypeSizeInChars(elementType); in emitArrayInit()
H A DCIRGenCXXExpr.cpp200 CharUnits typeSize = cgf.getContext().getTypeSizeInChars(type); in emitCXXNewAllocSize()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAsm.cpp806 unsigned Size = Context.getTypeSizeInChars(T).getQuantity(); in FillInlineAsmIdentifierInfo()
809 Type = Context.getTypeSizeInChars(ATy->getElementType()).getQuantity(); in FillInlineAsmIdentifierInfo()

1234