Searched refs:AllocTy (Results 1 - 8 of 8) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp64 AllocType AllocTy; member in struct:AllocFnsTy
135 getAllocationDataForFunction(const Function *Callee, AllocType AllocTy, argument
152 if ((FnData->AllocTy & AllocTy) != FnData->AllocTy)
172 static Optional<AllocFnsTy> getAllocationData(const Value *V, AllocType AllocTy, argument
179 return getAllocationDataForFunction(Callee, AllocTy, TLI);
184 getAllocationData(const Value *V, AllocType AllocTy, argument
192 Callee, AllocTy, &GetTLI(const_cast<Function &>(*Callee)));
205 // accurate AllocTy
[all...]
H A DScalarEvolution.cpp333 Type *AllocTy; local
334 if (U->isSizeOf(AllocTy)) {
335 OS << "sizeof(" << *AllocTy << ")"; local
338 if (U->isAlignOf(AllocTy)) {
339 OS << "alignof(" << *AllocTy << ")"; local
494 bool SCEVUnknown::isSizeOf(Type *&AllocTy) const {
503 AllocTy = cast<PointerType>(CE->getOperand(0)->getType())
511 bool SCEVUnknown::isAlignOf(Type *&AllocTy) const {
527 AllocTy = STy->getElementType(1);
3726 const SCEV *ScalarEvolution::getSizeOfExpr(Type *IntTy, Type *AllocTy) {
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp854 OptimizeGlobalAddressOfMalloc(GlobalVariable *GV, CallInst *CI, Type *AllocTy,
862 GlobalType = AllocTy;
865 GlobalType = ArrayType::get(AllocTy, NElements->getZExtValue());
1487 Type *AllocTy,
1492 if (!AllocTy->isSized())
1526 if (NElements->getZExtValue() * DL.getTypeAllocSize(AllocTy) < 2048) {
1527 OptimizeGlobalAddressOfMalloc(GV, CI, AllocTy, NElements, DL, TLI);
1541 if (ArrayType *AT = dyn_cast<ArrayType>(AllocTy))
1542 AllocTy = AT->getElementType();
1544 StructType *AllocSTy = dyn_cast<StructType>(AllocTy);
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp877 Type *AllocTy = local
879 if (!AllocTy || !AllocTy->isSized())
882 uint64_t TyAllocSize = DL.getTypeAllocSize(AllocTy);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h496 bool isSizeOf(Type *&AllocTy) const;
497 bool isAlignOf(Type *&AllocTy) const;
H A DScalarEvolution.h593 /// Return an expression for sizeof AllocTy that is type IntTy
594 const SCEV *getSizeOfExpr(Type *IntTy, Type *AllocTy);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp524 Type *AllocTy, Value *AllocSize,
574 PointerType *AllocPtrType = PointerType::getUnqual(AllocTy);
611 Type *IntPtrTy, Type *AllocTy,
615 return createMalloc(InsertBefore, nullptr, IntPtrTy, AllocTy, AllocSize,
619 Type *IntPtrTy, Type *AllocTy,
624 return createMalloc(InsertBefore, nullptr, IntPtrTy, AllocTy, AllocSize,
637 Type *IntPtrTy, Type *AllocTy,
640 return createMalloc(nullptr, InsertAtEnd, IntPtrTy, AllocTy, AllocSize,
644 Type *IntPtrTy, Type *AllocTy,
648 return createMalloc(nullptr, InsertAtEnd, IntPtrTy, AllocTy, AllocSiz
522 createMalloc(Instruction *InsertBefore, BasicBlock *InsertAtEnd, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, ArrayRef<OperandBundleDef> OpB, Function *MallocF, const Twine &Name) argument
610 CreateMalloc(Instruction *InsertBefore, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, Function *MallocF, const Twine &Name) argument
618 CreateMalloc(Instruction *InsertBefore, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, ArrayRef<OperandBundleDef> OpB, Function *MallocF, const Twine &Name) argument
636 CreateMalloc(BasicBlock *InsertAtEnd, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, Function *MallocF, const Twine &Name) argument
643 CreateMalloc(BasicBlock *InsertAtEnd, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, ArrayRef<OperandBundleDef> OpB, Function *MallocF, const Twine &Name) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h1603 Type *AllocTy, Value *AllocSize,
1608 Type *AllocTy, Value *AllocSize,
1613 Type *AllocTy, Value *AllocSize,
1619 Type *AllocTy, Value *AllocSize,

Completed in 165 milliseconds