Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/include/llvm/ADT/
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;
DScopedHashTable.h151 using AllocTy = detail::AllocatorHolder<AllocatorTy>; variable
169 ScopedHashTable(AllocatorTy A) : AllocTy(A) {} in ScopedHashTable()
178 using AllocTy::getAllocator;
/openbsd/src/gnu/llvm/llvm/lib/Analysis/
DMemoryBuiltins.cpp99 AllocType AllocTy; member
165 getAllocationDataForFunction(const Function *Callee, AllocType AllocTy, in getAllocationDataForFunction() argument
186 if ((FnData->AllocTy & AllocTy) != FnData->AllocTy) in getAllocationDataForFunction()
207 getAllocationData(const Value *V, AllocType AllocTy, in getAllocationData() argument
212 return getAllocationDataForFunction(Callee, AllocTy, TLI); in getAllocationData()
217 getAllocationData(const Value *V, AllocType AllocTy, in getAllocationData() argument
223 Callee, AllocTy, &GetTLI(const_cast<Function &>(*Callee))); in getAllocationData()
251 Result.AllocTy = MallocLike; in getAllocationSize()
381 if (FnData->AllocTy == StrDupLike) { in getAllocSize()
1121 if (FnData->AllocTy == StrDupLike) { in visitCallBase()
DScalarEvolution.cpp371 Type *AllocTy; in print() local
372 if (U->isSizeOf(AllocTy)) { in print()
373 OS << "sizeof(" << *AllocTy << ")"; in print()
376 if (U->isAlignOf(AllocTy)) { in print()
377 OS << "alignof(" << *AllocTy << ")"; in print()
577 bool SCEVUnknown::isSizeOf(Type *&AllocTy) const { in isSizeOf()
586 AllocTy = cast<GEPOperator>(CE)->getSourceElementType(); in isSizeOf()
593 bool SCEVUnknown::isAlignOf(Type *&AllocTy) const { in isAlignOf()
608 AllocTy = STy->getElementType(1); in isAlignOf()
4362 const SCEV *ScalarEvolution::getSizeOfExpr(Type *IntTy, Type *AllocTy) { in getSizeOfExpr() argument
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/Support/
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()));
/openbsd/src/gnu/llvm/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp944 Type *AllocTy = GetElementPtrInst::getIndexedType(SourceElementType, Ops); in canReplaceGEPIdxWithZero() local
945 if (!AllocTy || !AllocTy->isSized()) in canReplaceGEPIdxWithZero()
948 uint64_t TyAllocSize = DL.getTypeAllocSize(AllocTy).getFixedValue(); in canReplaceGEPIdxWithZero()
/openbsd/src/gnu/llvm/llvm/lib/IR/
DInstructions.cpp772 Type *AllocTy, Value *AllocSize, in createMalloc() argument
822 PointerType *AllocPtrType = PointerType::getUnqual(AllocTy); in createMalloc()
859 Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument
863 return createMalloc(InsertBefore, nullptr, IntPtrTy, AllocTy, AllocSize, in CreateMalloc()
867 Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument
872 return createMalloc(InsertBefore, nullptr, IntPtrTy, AllocTy, AllocSize, in CreateMalloc()
885 Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument
888 return createMalloc(nullptr, InsertAtEnd, IntPtrTy, AllocTy, AllocSize, in CreateMalloc()
892 Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument
896 return createMalloc(nullptr, InsertAtEnd, IntPtrTy, AllocTy, AllocSize, in CreateMalloc()
/openbsd/src/gnu/llvm/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h589 bool isSizeOf(Type *&AllocTy) const;
590 bool isAlignOf(Type *&AllocTy) const;
DScalarEvolution.h669 const SCEV *getSizeOfExpr(Type *IntTy, Type *AllocTy);
/openbsd/src/gnu/llvm/llvm/include/llvm/IR/
DInstructions.h1630 Type *AllocTy, Value *AllocSize,
1635 Type *AllocTy, Value *AllocSize,
1640 CreateMalloc(Instruction *InsertBefore, Type *IntPtrTy, Type *AllocTy,
1645 CreateMalloc(BasicBlock *InsertAtEnd, Type *IntPtrTy, Type *AllocTy,