Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringMap.h129 using AllocTy = detail::AllocatorHolder<AllocatorTy>; variable
140 : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))), AllocTy(A) {} in StringMap()
144 AllocTy(A) {} in StringMap()
152 : StringMapImpl(std::move(RHS)), AllocTy(std::move(RHS.getAllocator())) {} in StringMap()
156 AllocTy(RHS.getAllocator()) { in StringMap()
209 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/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.cpp4413 const SCEV *ScalarEvolution::getSizeOfExpr(Type *IntTy, Type *AllocTy) { in getSizeOfExpr() argument
4414 return getSizeOfExpr(IntTy, getDataLayout().getTypeAllocSize(AllocTy)); in getSizeOfExpr()
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp927 Type *AllocTy = GetElementPtrInst::getIndexedType(SourceElementType, Ops); in canReplaceGEPIdxWithZero() local
928 if (!AllocTy || !AllocTy->isSized()) in canReplaceGEPIdxWithZero()
931 uint64_t TyAllocSize = DL.getTypeAllocSize(AllocTy).getFixedValue(); in canReplaceGEPIdxWithZero()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp302 CallInst *IRBuilderBase::CreateMalloc(Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument
345 CallInst *IRBuilderBase::CreateMalloc(Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument
349 return CreateMalloc(IntPtrTy, AllocTy, AllocSize, ArraySize, std::nullopt, in CreateMalloc()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp3755 AllocationType AllocTy = (AllocationType)AllocNode.Versions[J]; in applyImport() local
3756 AllocTy == AllocationType::Cold ? AllocTypeColdThinBackend++ in applyImport()
3758 std::string AllocTypeString = getAllocTypeAttributeString(AllocTy); in applyImport()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolution.h678 const SCEV *getSizeOfExpr(Type *IntTy, Type *AllocTy);
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h628 CallInst *CreateMalloc(Type *IntPtrTy, Type *AllocTy, Value *AllocSize,
637 CallInst *CreateMalloc(Type *IntPtrTy, Type *AllocTy, Value *AllocSize,