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.h130 using AllocTy = detail::AllocatorHolder<AllocatorTy>; variable
141 : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))), AllocTy(A) {} in StringMap()
145 AllocTy(A) {} in StringMap()
153 : StringMapImpl(std::move(RHS)), AllocTy(std::move(RHS.getAllocator())) {} in StringMap()
157 AllocTy(RHS.getAllocator()) { in StringMap()
210 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/include/llvm/Support/
H A DAllocator.h68 using AllocTy = detail::AllocatorHolder<AllocatorT>; variable
83 : AllocTy(std::forward<T &&>(Allocator)) {} in BumpPtrAllocatorImpl()
88 : AllocTy(std::move(Old.getAllocator())), CurPtr(Old.CurPtr), in BumpPtrAllocatorImpl()
113 AllocTy::operator=(std::move(RHS.getAllocator()));
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp105 AllocType AllocTy; member
177 getAllocationDataForFunction(const Function *Callee, AllocType AllocTy, in getAllocationDataForFunction() argument
198 if ((FnData->AllocTy & AllocTy) != FnData->AllocTy) in getAllocationDataForFunction()
219 getAllocationData(const Value *V, AllocType AllocTy, in getAllocationData() argument
222 return getAllocationDataForFunction(Callee, AllocTy, TLI); in getAllocationData()
227 getAllocationData(const Value *V, AllocType AllocTy, in getAllocationData() argument
231 Callee, AllocTy, &GetTLI(const_cast<Function &>(*Callee))); in getAllocationData()
254 Result.AllocTy = MallocLike; in getAllocationSize()
381 if (FnData->AllocTy == StrDupLike) { in getAllocSize()
1306 if (FnData->AllocTy == StrDupLike) { in visitCallBase()
H A DScalarEvolution.cpp4379 const SCEV *ScalarEvolution::getSizeOfExpr(Type *IntTy, Type *AllocTy) { in getSizeOfExpr() argument
4380 return getSizeOfExpr(IntTy, getDataLayout().getTypeAllocSize(AllocTy)); in getSizeOfExpr()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp935 Type *AllocTy = GetElementPtrInst::getIndexedType(SourceElementType, Ops); in canReplaceGEPIdxWithZero() local
936 if (!AllocTy || !AllocTy->isSized()) in canReplaceGEPIdxWithZero()
939 uint64_t TyAllocSize = DL.getTypeAllocSize(AllocTy).getFixedValue(); in canReplaceGEPIdxWithZero()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp259 CallInst *IRBuilderBase::CreateMalloc(Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument
302 CallInst *IRBuilderBase::CreateMalloc(Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument
306 return CreateMalloc(IntPtrTy, AllocTy, AllocSize, ArraySize, {}, MallocF, in CreateMalloc()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp5363 AllocationType AllocTy = (AllocationType)AllocNode.Versions[J]; in applyImport() local
5364 AllocTy == AllocationType::Cold ? AllocTypeColdThinBackend++ in applyImport()
5366 std::string AllocTypeString = getAllocTypeAttributeString(AllocTy); in applyImport()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h658 LLVM_ABI CallInst *CreateMalloc(Type *IntPtrTy, Type *AllocTy,
669 LLVM_ABI CallInst *CreateMalloc(Type *IntPtrTy, Type *AllocTy,
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolution.h681 LLVM_ABI const SCEV *getSizeOfExpr(Type *IntTy, Type *AllocTy);