Home
last modified time | relevance | path

Searched refs:AllocType (Results 1 – 18 of 18) sorted by relevance

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_allocator.h20 enum AllocType : u8 { enum
45 u64 AllocType : 2; // malloc, new, new[], or memalign member
113 void *scudoAllocate(uptr Size, uptr Alignment, AllocType Type);
114 void scudoDeallocate(void *Ptr, uptr Size, uptr Alignment, AllocType Type);
H A Dscudo_allocator.cpp302 void *allocate(uptr Size, uptr Alignment, AllocType Type, in allocate()
384 Header.AllocType = Type; in allocate()
447 AllocType Type) { in deallocate()
475 if (Header.AllocType != Type) { in deallocate()
477 if (Header.AllocType != FromMemalign || Type != FromMalloc) in deallocate()
517 if (UNLIKELY(OldHeader.AllocType != FromMalloc)) in reallocate()
701 void *scudoAllocate(uptr Size, uptr Alignment, AllocType Type) { in scudoAllocate()
711 void scudoDeallocate(void *Ptr, uptr Size, uptr Alignment, AllocType Type) { in scudoDeallocate()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_allocator.h32 enum AllocType { enum
81 AllocType alloc_type);
82 void memprof_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type);
84 BufferedStackTrace *stack, AllocType alloc_type);
H A Dmemprof_allocator.cpp514 AllocType alloc_type) { in Allocate()
612 BufferedStackTrace *stack, AllocType alloc_type) { in Deallocate()
763 void memprof_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in memprof_free()
768 BufferedStackTrace *stack, AllocType alloc_type) { in memprof_delete()
824 AllocType alloc_type) { in memprof_memalign()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_allocator.h26 enum AllocType { enum
69 AllocType GetAllocType() const;
209 AllocType alloc_type);
210 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type);
212 BufferedStackTrace *stack, AllocType alloc_type);
H A Dasan_report.h58 AllocType alloc_type,
59 AllocType dealloc_type);
H A Dasan_allocator.cpp485 AllocType alloc_type, bool can_fill) { in Allocate()
677 BufferedStackTrace *stack, AllocType alloc_type) { in Deallocate()
701 ReportAllocTypeMismatch((uptr)ptr, stack, (AllocType)m->alloc_type, in Deallocate()
702 (AllocType)alloc_type); in Deallocate()
907 AllocType AsanChunkView::GetAllocType() const { in GetAllocType()
908 return (AllocType)chunk_->alloc_type; in GetAllocType()
970 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in asan_free()
975 BufferedStackTrace *stack, AllocType alloc_type) { in asan_delete()
1032 AllocType alloc_type) { in asan_memalign()
H A Dasan_errors.h113 AllocType alloc_type, dealloc_type;
118 AllocType alloc_type_, AllocType dealloc_type_) in ErrorAllocTypeMismatch()
H A Dasan_report.cpp242 AllocType alloc_type, in ReportAllocTypeMismatch()
243 AllocType dealloc_type) { in ReportAllocTypeMismatch()
/freebsd-13.1/sys/contrib/dev/acpica/components/utilities/
H A Duttrack.c182 UINT8 AllocType,
515 UINT8 AllocType, in AcpiUtTrackAllocation() argument
556 Allocation->AllocType = AllocType; in AcpiUtTrackAllocation()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprCXX.cpp1979 if (AllocType.isNull()) in BuildCXXNew()
2011 AllocType = DeducedType; in BuildCXXNew()
2033 AllocType = Context.getLifetimeQualifiedType(AllocType, in BuildCXXNew()
2182 AllocType->isDependentType() ? 0 : Context.getTypeAlign(AllocType); in BuildCXXNew()
2296 << AllocType in BuildCXXNew()
2321 AllocType, in BuildCXXNew()
2329 InitType = AllocType; in BuildCXXNew()
2391 if (AllocType->isFunctionType()) in CheckAllocatedType()
2393 << AllocType << 0 << R; in CheckAllocatedType()
2396 << AllocType << 1 << R; in CheckAllocatedType()
[all …]
H A DTreeTransform.h11867 QualType AllocType = AllocTypeInfo->getType(); in TransformCXXNewExpr() local
11874 const ArrayType *ArrayT = SemaRef.Context.getAsArrayType(AllocType); in TransformCXXNewExpr()
11882 AllocType = ConsArrayT->getElementType(); in TransformCXXNewExpr()
11887 AllocType = DepArrayT->getElementType(); in TransformCXXNewExpr()
11895 /*FIXME:*/ E->getBeginLoc(), E->getTypeIdParens(), AllocType, in TransformCXXNewExpr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/Windows/
H A DMemory.inc111 DWORD AllocType = MEM_RESERVE | MEM_COMMIT;
116 AllocType |= MEM_LARGE_PAGES;
136 AllocSize, AllocType, Protect);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp52 enum AllocType : uint8_t { enum
65 AllocType AllocTy;
142 getAllocationDataForFunction(const Function *Callee, AllocType AllocTy, in getAllocationDataForFunction()
178 static Optional<AllocFnsTy> getAllocationData(const Value *V, AllocType AllocTy, in getAllocationData()
190 getAllocationData(const Value *V, AllocType AllocTy, in getAllocationData()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp957 QualType AllocType, Address NewPtr, in StoreAnyExprIntoOneUnit() argument
960 switch (CGF.getEvaluationKind(AllocType)) { in StoreAnyExprIntoOneUnit()
963 CGF.MakeAddrLValue(NewPtr, AllocType), false); in StoreAnyExprIntoOneUnit()
966 CGF.EmitComplexExprIntoLValue(Init, CGF.MakeAddrLValue(NewPtr, AllocType), in StoreAnyExprIntoOneUnit()
971 = AggValueSlot::forAddr(NewPtr, AllocType.getQualifiers(), in StoreAnyExprIntoOneUnit()
1077 QualType AllocType = E->getAllocatedType(); in EmitNewArrayInitializer() local
1079 AllocType->getAsArrayTypeUnsafe())) { in EmitNewArrayInitializer()
1080 ElementTy = ConvertTypeForMem(AllocType); in EmitNewArrayInitializer()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp3401 AllocType.isNull() ? S->getType() : AllocType); in expandStringLiteral()
9398 QualType AllocType = E->getAllocatedType(); in VisitCXXNewExpr() local
9472 AllocType = Info.Ctx.getConstantArrayType(AllocType, ArrayBound, nullptr, in VisitCXXNewExpr()
9475 assert(!AllocType->isArrayType() && in VisitCXXNewExpr()
9485 QualType AllocType; in VisitCXXNewExpr() member
9496 SubobjType << AllocType; in VisitCXXNewExpr()
9531 ImplicitValueInitExpr VIE(AllocType); in VisitCXXNewExpr()
9536 AllocType)) in VisitCXXNewExpr()
10446 .VisitInitListExpr(ILE, AllocType); in EvaluateArrayNewInitList()
10479 AllocType.isNull() ? E->getType() : AllocType); in VisitInitListExpr()
[all …]
/freebsd-13.1/sys/contrib/dev/acpica/include/
H A Daclocal.h1592 UINT8 AllocType;
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h6285 QualType AllocType,
6300 bool CheckAllocatedType(QualType AllocType, SourceLocation Loc,
6320 QualType AllocType, bool IsArray,