Home
last modified time | relevance | path

Searched refs:allocType (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenCXXExpr.cpp211 QualType allocType, Address newPtr, in storeAnyExprIntoOneUnit() argument
214 switch (cgf.getEvaluationKind(allocType)) { in storeAnyExprIntoOneUnit()
217 cgf.makeAddrLValue(newPtr, allocType), false); in storeAnyExprIntoOneUnit()
227 newPtr, allocType.getQualifiers(), AggValueSlot::IsDestructed, in storeAnyExprIntoOneUnit()
274 QualType allocType = getContext().getBaseElementType(e->getAllocatedType()); in emitCXXNewExpr() local
289 CharUnits allocAlign = getContext().getTypeAlignInChars(allocType); in emitCXXNewExpr()
335 target.getNewAlign(), getContext().getTypeSize(allocType))); in emitCXXNewExpr()
351 (!allocType.isPODType(getContext()) || e->hasInitializer()); in emitCXXNewExpr()
365 mlir::Type elementTy = convertTypeForMem(allocType); in emitCXXNewExpr()
379 emitNewInitializer(*this, e, allocType, elementTy, result, numElements, in emitCXXNewExpr()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp1604 QualType allocType = getContext().getBaseElementType(E->getAllocatedType()); in EmitCXXNewExpr() local
1633 CharUnits allocAlign = getContext().getTypeAlignInChars(allocType); in EmitCXXNewExpr()
1714 getDebugInfo()->addHeapAllocSiteMetadata(newCall, allocType, in EmitCXXNewExpr()
1725 Target.getNewAlign(), getContext().getTypeSize(allocType))); in EmitCXXNewExpr()
1738 (!allocType.isPODType(getContext()) || E->hasInitializer() || in EmitCXXNewExpr()
1778 E, allocType); in EmitCXXNewExpr()
1781 llvm::Type *elementTy = ConvertTypeForMem(allocType); in EmitCXXNewExpr()
1801 result, allocType, result.getAlignment(), SkippedChecks, in EmitCXXNewExpr()
1804 EmitNewInitializer(*this, E, allocType, elementTy, result, numElements, in EmitCXXNewExpr()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprCXX.cpp1973 QualType allocType) { in doesUsualArrayDeleteWantSize() argument
1975 allocType->getBaseElementTypeUnsafe()->getAs<RecordType>(); in doesUsualArrayDeleteWantSize()
1999 allocType, PassType, in doesUsualArrayDeleteWantSize()
2000 alignedAllocationModeFromBool(hasNewExtendedAlignment(S, allocType)), in doesUsualArrayDeleteWantSize()