Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DMemoryProfileInfo.cpp88 AllocationType AllocType) { in addAllocTypeAttribute() argument
89 auto AllocTypeString = getAllocTypeAttributeString(AllocType); in addAllocTypeAttribute()
100 void CallStackTrie::addCallStack(AllocationType AllocType, in addCallStack() argument
110 Alloc->AllocTypes |= static_cast<uint8_t>(AllocType); in addCallStack()
113 Alloc = new CallStackTrieNode(AllocType); in addCallStack()
122 Curr->AllocTypes |= static_cast<uint8_t>(AllocType); in addCallStack()
126 auto *New = new CallStackTrieNode(AllocType); in addCallStack()
148 AllocationType AllocType) { in createMIBNode() argument
152 MDString::get(Ctx, getAllocTypeAttributeString(AllocType))); in createMIBNode()
H A DMemoryBuiltins.cpp53 enum AllocType : uint8_t { enum
99 AllocType AllocTy;
165 getAllocationDataForFunction(const Function *Callee, AllocType AllocTy, in getAllocationDataForFunction()
207 getAllocationData(const Value *V, AllocType AllocTy, in getAllocationData()
217 getAllocationData(const Value *V, AllocType AllocTy, in getAllocationData()
/openbsd-src/gnu/llvm/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.cpp339 AllocType alloc_type) { in Allocate()
436 BufferedStackTrace *stack, AllocType alloc_type) { in Deallocate()
585 void memprof_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in memprof_free()
590 BufferedStackTrace *stack, AllocType alloc_type) { in memprof_delete()
646 AllocType alloc_type) { in memprof_memalign()
/openbsd-src/gnu/llvm/compiler-rt/lib/asan/
H A Dasan_allocator.h26 enum AllocType { enum
67 AllocType GetAllocType() const;
201 AllocType alloc_type);
202 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type);
204 BufferedStackTrace *stack, AllocType alloc_type);
H A Dasan_report.h58 AllocType alloc_type,
59 AllocType dealloc_type);
H A Dasan_allocator.cpp474 AllocType alloc_type, bool can_fill) { in Allocate()
665 BufferedStackTrace *stack, AllocType alloc_type) { in Deallocate()
689 ReportAllocTypeMismatch((uptr)ptr, stack, (AllocType)m->alloc_type, in Deallocate()
690 (AllocType)alloc_type); in Deallocate()
895 AllocType AsanChunkView::GetAllocType() const { in GetAllocType()
896 return (AllocType)chunk_->alloc_type; in GetAllocType()
943 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in asan_free()
948 BufferedStackTrace *stack, AllocType alloc_type) { in asan_delete()
1005 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.cpp244 AllocType alloc_type, in ReportAllocTypeMismatch()
245 AllocType dealloc_type) { in ReportAllocTypeMismatch()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExprCXX.cpp1751 static bool hasNewExtendedAlignment(Sema &S, QualType AllocType) { in hasNewExtendedAlignment() argument
1753 S.getASTContext().getTypeAlignIfKnown(AllocType) > in hasNewExtendedAlignment()
1903 QualType AllocType = TInfo->getType(); in ActOnCXXNew() local
1913 TypeIdParens, AllocType, TInfo, ArraySize, DirectInitRange, in ActOnCXXNew()
1972 SourceRange TypeIdParens, QualType AllocType, in BuildCXXNew() argument
2019 auto *Deduced = AllocType->getContainedDeducedType(); in BuildCXXNew()
2030 = InitializedEntity::InitializeNew(StartLoc, AllocType); in BuildCXXNew()
2031 AllocType = DeduceTemplateSpecializationFromInitializer( in BuildCXXNew()
2033 if (AllocType.isNull()) in BuildCXXNew()
2045 << AllocType << TypeRange); in BuildCXXNew()
[all …]
H A DTreeTransform.h12323 QualType AllocType = AllocTypeInfo->getType(); in TransformCXXNewExpr() local
12330 const ArrayType *ArrayT = SemaRef.Context.getAsArrayType(AllocType); in TransformCXXNewExpr()
12338 AllocType = ConsArrayT->getElementType(); in TransformCXXNewExpr()
12343 AllocType = DepArrayT->getElementType(); in TransformCXXNewExpr()
12351 /*FIXME:*/ E->getBeginLoc(), E->getTypeIdParens(), AllocType, in TransformCXXNewExpr()
/openbsd-src/gnu/llvm/llvm/lib/Support/Windows/
H A DMemory.inc109 DWORD AllocType = MEM_RESERVE | MEM_COMMIT;
114 AllocType |= MEM_LARGE_PAGES;
134 AllocType, Protect);
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DMemoryProfileInfo.h87 void addCallStack(AllocationType AllocType, ArrayRef<uint64_t> StackIds);
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExprCXX.cpp961 QualType AllocType, Address NewPtr, in StoreAnyExprIntoOneUnit() argument
964 switch (CGF.getEvaluationKind(AllocType)) { in StoreAnyExprIntoOneUnit()
967 CGF.MakeAddrLValue(NewPtr, AllocType), false); in StoreAnyExprIntoOneUnit()
970 CGF.EmitComplexExprIntoLValue(Init, CGF.MakeAddrLValue(NewPtr, AllocType), in StoreAnyExprIntoOneUnit()
975 = AggValueSlot::forAddr(NewPtr, AllocType.getQualifiers(), in StoreAnyExprIntoOneUnit()
1076 QualType AllocType = E->getAllocatedType(); in EmitNewArrayInitializer() local
1078 AllocType->getAsArrayTypeUnsafe())) { in EmitNewArrayInitializer()
1079 ElementTy = ConvertTypeForMem(AllocType); in EmitNewArrayInitializer()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExprConstant.cpp3415 QualType AllocType = QualType()) { in expandStringLiteral() argument
3417 AllocType.isNull() ? S->getType() : AllocType); in expandStringLiteral()
6713 QualType AllocType = Info.Ctx.getConstantArrayType(ElemType, Size, nullptr, in HandleOperatorNewCall() local
6715 APValue *Val = Info.createHeapAlloc(E, AllocType, Result); in HandleOperatorNewCall()
6717 Result.addArray(Info, E, cast<ConstantArrayType>(AllocType)); in HandleOperatorNewCall()
6762 QualType AllocType = Pointer.Base.getDynamicAllocType(); in CheckDeleteKind() local
6765 << DeallocKind << (*Alloc)->getKind() << AllocType; in CheckDeleteKind()
9490 QualType AllocType);
9494 QualType AllocType);
9547 QualType AllocType = E->getAllocatedType(); in VisitCXXNewExpr() local
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h328 AllocationType AllocType;
336 MIBInfo(AllocationType AllocType, SmallVector<unsigned> StackIdIndices)
337 : AllocType(AllocType), StackIdIndices(std::move(StackIdIndices)) {}
/openbsd-src/gnu/llvm/llvm/include/llvm/AsmParser/
H A DLLParser.h413 bool parseAllocType(uint8_t &AllocType);
/openbsd-src/gnu/llvm/llvm/lib/AsmParser/
H A DLLParser.cpp9853 uint8_t AllocType; in parseMemProfs() local
9854 if (parseAllocType(AllocType)) in parseMemProfs()
9874 MIBs.push_back({(AllocationType)AllocType, StackIdIndices}); in parseMemProfs()
9888 bool LLParser::parseAllocType(uint8_t &AllocType) { in parseAllocType() argument
9891 AllocType = (uint8_t)AllocationType::None; in parseAllocType()
9894 AllocType = (uint8_t)AllocationType::NotCold; in parseAllocType()
9897 AllocType = (uint8_t)AllocationType::Cold; in parseAllocType()
9900 AllocType = in parseAllocType()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1273 auto AllocType = getAllocType(AllocInfo->Info.getMaxAccessCount(), in addCallStack() local
1276 AllocTrie.addCallStack(AllocType, StackIds); in addCallStack()
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp7631 AllocationType AllocType = (AllocationType)Record[I++]; in parseEntireSummary() local
7640 MIBs.push_back(MIBInfo(AllocType, std::move(StackIdList))); in parseEntireSummary()
7654 AllocationType AllocType = (AllocationType)Record[I++]; in parseEntireSummary() local
7663 MIBs.push_back(MIBInfo(AllocType, std::move(StackIdList))); in parseEntireSummary()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h6728 SourceRange TypeIdParens, QualType AllocType,
6741 bool CheckAllocatedType(QualType AllocType, SourceLocation Loc,
6761 QualType AllocType, bool IsArray,
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DAsmWriter.cpp3243 Out << "(type: " << AllocTypeName((uint8_t)MIB.AllocType); in printFunctionSummary()
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3968 Record.push_back((uint8_t)MIB.AllocType); in writeFunctionHeapProfileRecords()