Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DStringMap.h112 using AllocTy = detail::AllocatorHolder<AllocatorTy>; variable
123 : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))), AllocTy(A) {} in StringMap()
127 AllocTy(A) {} in StringMap()
135 : StringMapImpl(std::move(RHS)), AllocTy(std::move(RHS.getAllocator())) {} in StringMap()
139 AllocTy(RHS.getAllocator()) { in StringMap()
193 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;
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp104 AllocType AllocTy; member
174 getAllocationDataForFunction(const Function *Callee, AllocType AllocTy, in getAllocationDataForFunction() argument
195 if ((FnData->AllocTy & AllocTy) != FnData->AllocTy) in getAllocationDataForFunction()
215 static Optional<AllocFnsTy> getAllocationData(const Value *V, AllocType AllocTy, in getAllocationData() argument
220 return getAllocationDataForFunction(Callee, AllocTy, TLI); in getAllocationData()
225 getAllocationData(const Value *V, AllocType AllocTy, in getAllocationData() argument
231 Callee, AllocTy, &GetTLI(const_cast<Function &>(*Callee))); in getAllocationData()
259 Result.AllocTy = MallocLike; in getAllocationSize()
406 if (FnData->AllocTy == StrDupLike) { in getAllocSize()
1152 if (FnData->AllocTy == StrDupLike) { in visitCallBase()
H A DScalarEvolution.cpp362 Type *AllocTy; in print() local
363 if (U->isSizeOf(AllocTy)) { in print()
364 OS << "sizeof(" << *AllocTy << ")"; in print()
367 if (U->isAlignOf(AllocTy)) { in print()
368 OS << "alignof(" << *AllocTy << ")"; in print()
543 bool SCEVUnknown::isSizeOf(Type *&AllocTy) const { in isSizeOf()
552 AllocTy = cast<GEPOperator>(CE)->getSourceElementType(); in isSizeOf()
559 bool SCEVUnknown::isAlignOf(Type *&AllocTy) const { in isAlignOf()
574 AllocTy = STy->getElementType(1); in isAlignOf()
4234 if (auto *ScalableAllocTy = dyn_cast<ScalableVectorType>(AllocTy)) in getSizeOfExpr()
[all …]
/llvm-project-15.0.7/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()));
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp848 Type *AllocTy = GetElementPtrInst::getIndexedType(SourceElementType, Ops); in canReplaceGEPIdxWithZero() local
849 if (!AllocTy || !AllocTy->isSized()) in canReplaceGEPIdxWithZero()
852 uint64_t TyAllocSize = DL.getTypeAllocSize(AllocTy).getFixedSize(); in canReplaceGEPIdxWithZero()
/llvm-project-15.0.7/openmp/libomptarget/plugins/cuda/src/
H A Drtl.cpp227 template <typename AllocTy> class ResourcePoolTy {
228 using ElementTy = typename AllocTy::ElementTy;
243 AllocTy Allocator;
265 ResourcePoolTy(AllocTy &&A, size_t Size = 0) noexcept in ResourcePoolTy()
/llvm-project-15.0.7/llvm/lib/IR/
H A DInstructions.cpp664 Type *AllocTy, Value *AllocSize, in createMalloc() argument
714 PointerType *AllocPtrType = PointerType::getUnqual(AllocTy); in createMalloc()
751 Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument
755 return createMalloc(InsertBefore, nullptr, IntPtrTy, AllocTy, AllocSize, in CreateMalloc()
759 Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument
764 return createMalloc(InsertBefore, nullptr, IntPtrTy, AllocTy, AllocSize, in CreateMalloc()
777 Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument
780 return createMalloc(nullptr, InsertAtEnd, IntPtrTy, AllocTy, AllocSize, in CreateMalloc()
784 Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument
788 return createMalloc(nullptr, InsertAtEnd, IntPtrTy, AllocTy, AllocSize, in CreateMalloc()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h601 bool isSizeOf(Type *&AllocTy) const;
602 bool isAlignOf(Type *&AllocTy) const;
H A DScalarEvolution.h660 const SCEV *getSizeOfExpr(Type *IntTy, Type *AllocTy);
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstructions.h1619 Type *AllocTy, Value *AllocSize,
1624 Type *AllocTy, Value *AllocSize,
1629 Type *AllocTy, Value *AllocSize,
1635 Type *AllocTy, Value *AllocSize,