| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemoryProfileInfo.cpp | 115 AllocationType AllocType) { in addAllocTypeAttribute() argument 116 auto AllocTypeString = getAllocTypeAttributeString(AllocType); in addAllocTypeAttribute() 127 void CallStackTrie::addCallStack(AllocationType AllocType, in addCallStack() argument 137 Alloc->AllocTypes |= static_cast<uint8_t>(AllocType); in addCallStack() 140 Alloc = new CallStackTrieNode(AllocType); in addCallStack() 149 Curr->AllocTypes |= static_cast<uint8_t>(AllocType); in addCallStack() 153 auto *New = new CallStackTrieNode(AllocType); in addCallStack() 175 AllocationType AllocType) { in createMIBNode() argument 179 MDString::get(Ctx, getAllocTypeAttributeString(AllocType))); in createMIBNode()
|
| H A D | MemoryBuiltins.cpp | 60 enum AllocType : uint8_t { enum 106 AllocType AllocTy; 180 getAllocationDataForFunction(const Function *Callee, AllocType AllocTy, in getAllocationDataForFunction() 222 getAllocationData(const Value *V, AllocType AllocTy, in getAllocationData() 232 getAllocationData(const Value *V, AllocType AllocTy, in getAllocationData()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_allocator.h | 32 enum AllocType { enum 85 AllocType alloc_type); 86 void memprof_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type); 88 BufferedStackTrace *stack, AllocType alloc_type);
|
| H A D | memprof_allocator.cpp | 343 AllocType alloc_type) { in Allocate() 440 BufferedStackTrace *stack, AllocType alloc_type) { in Deallocate() 592 void memprof_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in memprof_free() 597 BufferedStackTrace *stack, AllocType alloc_type) { in memprof_delete() 653 AllocType alloc_type) { in memprof_memalign()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_allocator.h | 26 enum AllocType { enum 67 AllocType GetAllocType() const; 271 AllocType alloc_type); 272 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type); 274 BufferedStackTrace *stack, AllocType alloc_type);
|
| H A D | asan_report.h | 59 AllocType alloc_type, 60 AllocType dealloc_type);
|
| H A D | asan_allocator.cpp | 529 AllocType alloc_type, bool can_fill) { in Allocate() 704 BufferedStackTrace *stack, AllocType alloc_type) { in Deallocate() 728 ReportAllocTypeMismatch((uptr)ptr, stack, (AllocType)m->alloc_type, in Deallocate() 729 (AllocType)alloc_type); in Deallocate() 942 AllocType AsanChunkView::GetAllocType() const { in GetAllocType() 943 return (AllocType)chunk_->alloc_type; in GetAllocType() 990 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in asan_free() 995 BufferedStackTrace *stack, AllocType alloc_type) { in asan_delete() 1052 AllocType alloc_type) { in asan_memalign()
|
| H A D | asan_errors.h | 113 AllocType alloc_type, dealloc_type; 118 AllocType alloc_type_, AllocType dealloc_type_) in ErrorAllocTypeMismatch()
|
| H A D | asan_report.cpp | 244 AllocType alloc_type, in ReportAllocTypeMismatch() 245 AllocType dealloc_type) { in ReportAllocTypeMismatch()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | MemProfContextDisambiguation.cpp | 815 Edge->AllocTypes |= (uint8_t)AllocType; in addOrUpdateCallerEdge() 891 if (AllocType == BothTypes) in computeAllocType() 892 return AllocType; in computeAllocType() 894 return AllocType; in computeAllocType() 909 if (AllocType == BothTypes) in intersectAllocTypesImpl() 910 return AllocType; in intersectAllocTypesImpl() 912 return AllocType; in intersectAllocTypesImpl() 950 if (AllocType == AllocationType::Hot) in addStackNodesForMIB() 951 AllocType = AllocationType::NotCold; in addStackNodesForMIB() 2438 bool checkColdOrNotCold(uint8_t AllocType) { in checkColdOrNotCold() argument [all …]
|
| /freebsd-14.2/sys/contrib/dev/acpica/components/utilities/ |
| H A D | uttrack.c | 182 UINT8 AllocType, 515 UINT8 AllocType, in AcpiUtTrackAllocation() argument 556 Allocation->AllocType = AllocType; in AcpiUtTrackAllocation()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExprCXX.cpp | 2070 if (AllocType.isNull()) in BuildCXXNew() 2109 AllocType = DeducedType; in BuildCXXNew() 2134 AllocType = Context.getLifetimeQualifiedType(AllocType, in BuildCXXNew() 2282 AllocType->isDependentType() ? 0 : Context.getTypeAlign(AllocType); in BuildCXXNew() 2398 << AllocType in BuildCXXNew() 2423 AllocType, in BuildCXXNew() 2431 InitType = AllocType; in BuildCXXNew() 2491 if (AllocType->isFunctionType()) in CheckAllocatedType() 2493 << AllocType << 0 << R; in CheckAllocatedType() 2496 << AllocType << 1 << R; in CheckAllocatedType() [all …]
|
| H A D | TreeTransform.h | 12562 QualType AllocType = AllocTypeInfo->getType(); in TransformCXXNewExpr() local 12569 const ArrayType *ArrayT = SemaRef.Context.getAsArrayType(AllocType); in TransformCXXNewExpr() 12577 AllocType = ConsArrayT->getElementType(); in TransformCXXNewExpr() 12582 AllocType = DepArrayT->getElementType(); in TransformCXXNewExpr() 12590 /*FIXME:*/ E->getBeginLoc(), E->getTypeIdParens(), AllocType, in TransformCXXNewExpr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/Windows/ |
| H A D | Memory.inc | 109 DWORD AllocType = MEM_RESERVE | MEM_COMMIT; 114 AllocType |= MEM_LARGE_PAGES; 134 AllocType, Protect);
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | MemoryProfileInfo.h | 93 void addCallStack(AllocationType AllocType, ArrayRef<uint64_t> StackIds);
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 965 QualType AllocType, Address NewPtr, in StoreAnyExprIntoOneUnit() argument 968 switch (CGF.getEvaluationKind(AllocType)) { in StoreAnyExprIntoOneUnit() 971 CGF.MakeAddrLValue(NewPtr, AllocType), false); in StoreAnyExprIntoOneUnit() 974 CGF.EmitComplexExprIntoLValue(Init, CGF.MakeAddrLValue(NewPtr, AllocType), in StoreAnyExprIntoOneUnit() 979 = AggValueSlot::forAddr(NewPtr, AllocType.getQualifiers(), in StoreAnyExprIntoOneUnit() 1097 QualType AllocType = E->getAllocatedType(); in EmitNewArrayInitializer() local 1099 AllocType->getAsArrayTypeUnsafe())) { in EmitNewArrayInitializer() 1100 ElementTy = ConvertTypeForMem(AllocType); in EmitNewArrayInitializer()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ModuleSummaryIndex.h | 365 AllocationType AllocType; 373 MIBInfo(AllocationType AllocType, SmallVector<unsigned> StackIdIndices) 374 : AllocType(AllocType), StackIdIndices(std::move(StackIdIndices)) {} 378 OS << "AllocType " << (unsigned)MIB.AllocType;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 3468 AllocType.isNull() ? S->getType() : AllocType); in expandStringLiteral() 9841 QualType AllocType = E->getAllocatedType(); in VisitCXXNewExpr() local 9913 AllocType = Info.Ctx.getConstantArrayType(AllocType, ArrayBound, nullptr, in VisitCXXNewExpr() 9916 assert(!AllocType->isArrayType() && in VisitCXXNewExpr() 9926 QualType AllocType; in VisitCXXNewExpr() member 9937 SubobjType << AllocType; in VisitCXXNewExpr() 9972 ImplicitValueInitExpr VIE(AllocType); in VisitCXXNewExpr() 10988 .VisitInitListExpr(ILE, AllocType); in EvaluateArrayNewInitList() 11026 AllocType.isNull() ? E->getType() : AllocType); in VisitInitListExpr() 11051 QualType AllocType) { in VisitCXXParenListOrInitListExpr() argument [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemProfiler.cpp | 647 auto AllocType = getAllocType(AllocInfo->Info.getTotalLifetimeAccessDensity(), in addCallStack() local 650 AllocTrie.addCallStack(AllocType, StackIds); in addCallStack()
|
| /freebsd-14.2/sys/contrib/dev/acpica/include/ |
| H A D | aclocal.h | 1592 UINT8 AllocType;
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/AsmParser/ |
| H A D | LLParser.h | 428 bool parseAllocType(uint8_t &AllocType);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 10029 uint8_t AllocType; in parseMemProfs() local 10030 if (parseAllocType(AllocType)) in parseMemProfs() 10050 MIBs.push_back({(AllocationType)AllocType, StackIdIndices}); in parseMemProfs() 10064 bool LLParser::parseAllocType(uint8_t &AllocType) { in parseAllocType() argument 10067 AllocType = (uint8_t)AllocationType::None; in parseAllocType() 10070 AllocType = (uint8_t)AllocationType::NotCold; in parseAllocType() 10073 AllocType = (uint8_t)AllocationType::Cold; in parseAllocType() 10076 AllocType = (uint8_t)AllocationType::Hot; in parseAllocType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 7683 AllocationType AllocType = (AllocationType)Record[I++]; in parseEntireSummary() local 7692 MIBs.push_back(MIBInfo(AllocType, std::move(StackIdList))); in parseEntireSummary() 7706 AllocationType AllocType = (AllocationType)Record[I++]; in parseEntireSummary() local 7715 MIBs.push_back(MIBInfo(AllocType, std::move(StackIdList))); in parseEntireSummary()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 6880 SourceRange TypeIdParens, QualType AllocType, 6893 bool CheckAllocatedType(QualType AllocType, SourceLocation Loc, 6913 QualType AllocType, bool IsArray,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | AsmWriter.cpp | 3303 Out << "(type: " << AllocTypeName((uint8_t)MIB.AllocType); in printFunctionSummary()
|