Searched defs:AllocType (Results 1 - 5 of 5) sorted by relevance

/external/compiler-rt/lib/asan/
H A Dasan_allocator.h25 enum AllocType { enum in namespace:__asan
143 AllocType alloc_type);
144 void asan_free(void *ptr, StackTrace *stack, AllocType alloc_type);
/external/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp34 enum AllocType { enum
46 AllocType AllocTy;
93 static const AllocFnsTy *getAllocationData(const Value *V, AllocType AllocTy,
/external/clang/lib/CodeGen/
H A DCGExprCXX.cpp724 QualType AllocType, llvm::Value *NewPtr) {
726 CharUnits Alignment = CGF.getContext().getTypeAlignInChars(AllocType);
727 switch (CGF.getEvaluationKind(AllocType)) {
729 CGF.EmitScalarInit(Init, nullptr, CGF.MakeAddrLValue(NewPtr, AllocType,
734 CGF.EmitComplexExprIntoLValue(Init, CGF.MakeAddrLValue(NewPtr, AllocType,
740 = AggValueSlot::forAddr(NewPtr, Alignment, AllocType.getQualifiers(),
778 QualType AllocType = E->getAllocatedType(); local
780 AllocType->getAsArrayTypeUnsafe())) {
782 llvm::Type *AllocPtrTy = ConvertTypeForMem(AllocType)->getPointerTo(AS);
723 StoreAnyExprIntoOneUnit(CodeGenFunction &CGF, const Expr *Init, QualType AllocType, llvm::Value *NewPtr) argument
/external/clang/lib/Sema/
H A DSemaExprCXX.cpp1111 QualType AllocType = TInfo->getType(); local
1124 AllocType,
1157 QualType AllocType,
1196 if (TypeMayContainAuto && AllocType->isUndeducedType()) {
1199 << AllocType << TypeRange);
1204 << AllocType << TypeRange);
1209 << AllocType << TypeRange);
1215 << AllocType << Deduce->getType()
1219 AllocType = DeducedType;
1226 = Context.getAsConstantArrayType(AllocType)) {
1152 BuildCXXNew(SourceRange Range, bool UseGlobal, SourceLocation PlacementLParen, MultiExprArg PlacementArgs, SourceLocation PlacementRParen, SourceRange TypeIdParens, QualType AllocType, TypeSourceInfo *AllocTypeInfo, Expr *ArraySize, SourceRange DirectInitRange, Expr *Initializer, bool TypeMayContainAuto) argument
1559 CheckAllocatedType(QualType AllocType, SourceLocation Loc, SourceRange R) argument
1617 FindAllocationFunctions(SourceLocation StartLoc, SourceRange Range, bool UseGlobal, QualType AllocType, bool IsArray, MultiExprArg PlaceArgs, FunctionDecl *&OperatorNew, FunctionDecl *&OperatorDelete) argument
[all...]
H A DTreeTransform.h8013 QualType AllocType = AllocTypeInfo->getType(); local
8020 const ArrayType *ArrayT = SemaRef.Context.getAsArrayType(AllocType);
8028 AllocType = ConsArrayT->getElementType();
8033 AllocType = DepArrayT->getElementType();
8044 AllocType,

Completed in 246 milliseconds