Home
last modified time | relevance | path

Searched refs:AllocTy (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringMap.h113 using AllocTy = detail::AllocatorHolder<AllocatorTy>; variable
124 : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))), AllocTy(A) {} in StringMap()
128 AllocTy(A) {} in StringMap()
136 : StringMapImpl(std::move(RHS)), AllocTy(std::move(RHS.getAllocator())) {} in StringMap()
140 AllocTy(RHS.getAllocator()) { in StringMap()
194 using AllocTy::getAllocator;
H A DScopedHashTable.h151 using AllocTy = detail::AllocatorHolder<AllocatorTy>; variable
169 ScopedHashTable(AllocatorTy A) : AllocTy(A) {} in ScopedHashTable()
178 using AllocTy::getAllocator;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp106 AllocType AllocTy; member
180 getAllocationDataForFunction(const Function *Callee, AllocType AllocTy, in getAllocationDataForFunction() argument
201 if ((FnData->AllocTy & AllocTy) != FnData->AllocTy) in getAllocationDataForFunction()
222 getAllocationData(const Value *V, AllocType AllocTy, in getAllocationData() argument
227 return getAllocationDataForFunction(Callee, AllocTy, TLI); in getAllocationData()
232 getAllocationData(const Value *V, AllocType AllocTy, in getAllocationData() argument
238 Callee, AllocTy, &GetTLI(const_cast<Function &>(*Callee))); in getAllocationData()
266 Result.AllocTy = MallocLike; in getAllocationSize()
393 if (FnData->AllocTy == StrDupLike) { in getAllocSize()
1164 if (FnData->AllocTy == StrDupLike) { in visitCallBase()
H A DScalarEvolution.cpp4408 const SCEV *ScalarEvolution::getSizeOfExpr(Type *IntTy, Type *AllocTy) { in getSizeOfExpr() argument
4409 return getSizeOfExpr(IntTy, getDataLayout().getTypeAllocSize(AllocTy)); in getSizeOfExpr()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DAllocator.h67 using AllocTy = detail::AllocatorHolder<AllocatorT>; variable
82 : AllocTy(std::forward<T &&>(Allocator)) {} in BumpPtrAllocatorImpl()
87 : AllocTy(std::move(Old.getAllocator())), CurPtr(Old.CurPtr), in BumpPtrAllocatorImpl()
112 AllocTy::operator=(std::move(RHS.getAllocator()));
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp928 Type *AllocTy = GetElementPtrInst::getIndexedType(SourceElementType, Ops); in canReplaceGEPIdxWithZero() local
929 if (!AllocTy || !AllocTy->isSized()) in canReplaceGEPIdxWithZero()
932 uint64_t TyAllocSize = DL.getTypeAllocSize(AllocTy).getFixedValue(); in canReplaceGEPIdxWithZero()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp301 CallInst *IRBuilderBase::CreateMalloc(Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument
344 CallInst *IRBuilderBase::CreateMalloc(Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument
348 return CreateMalloc(IntPtrTy, AllocTy, AllocSize, ArraySize, std::nullopt, in CreateMalloc()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp3526 AllocationType AllocTy = (AllocationType)AllocNode.Versions[J]; in applyImport() local
3527 AllocTy == AllocationType::Cold ? AllocTypeColdThinBackend++ in applyImport()
3529 std::string AllocTypeString = getAllocTypeAttributeString(AllocTy); in applyImport()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolution.h677 const SCEV *getSizeOfExpr(Type *IntTy, Type *AllocTy);
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h625 CallInst *CreateMalloc(Type *IntPtrTy, Type *AllocTy, Value *AllocSize,
634 CallInst *CreateMalloc(Type *IntPtrTy, Type *AllocTy, Value *AllocSize,