/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | StringMap.h | 129 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 D | ScopedHashTable.h | 151 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 D | MemoryBuiltins.cpp | 106 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 D | ScalarEvolution.cpp | 4413 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 D | Allocator.h | 67 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 D | InstCombineLoadStoreAlloca.cpp | 927 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 D | IRBuilder.cpp | 302 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 D | MemProfContextDisambiguation.cpp | 3755 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 D | ScalarEvolution.h | 678 const SCEV *getSizeOfExpr(Type *IntTy, Type *AllocTy);
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IRBuilder.h | 628 CallInst *CreateMalloc(Type *IntPtrTy, Type *AllocTy, Value *AllocSize, 637 CallInst *CreateMalloc(Type *IntPtrTy, Type *AllocTy, Value *AllocSize,
|