Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp46 AllocType AllocTy; member
93 static const AllocFnsTy *getAllocationData(const Value *V, AllocType AllocTy, in getAllocationData() argument
122 if ((FnData->AllocTy & AllocTy) != FnData->AllocTy) in getAllocationData()
462 if (FnData->AllocTy == StrDupLike) { in visitCallSite()
681 if (FnData->AllocTy == StrDupLike) { in visitCallSite()
DScalarEvolution.cpp222 Type *AllocTy; in print() local
223 if (U->isSizeOf(AllocTy)) { in print()
224 OS << "sizeof(" << *AllocTy << ")"; in print()
227 if (U->isAlignOf(AllocTy)) { in print()
228 OS << "alignof(" << *AllocTy << ")"; in print()
389 bool SCEVUnknown::isSizeOf(Type *&AllocTy) const { in isSizeOf()
398 AllocTy = cast<PointerType>(CE->getOperand(0)->getType()) in isSizeOf()
406 bool SCEVUnknown::isAlignOf(Type *&AllocTy) const { in isAlignOf()
422 AllocTy = STy->getElementType(1); in isAlignOf()
3134 const SCEV *ScalarEvolution::getSizeOfExpr(Type *IntTy, Type *AllocTy) { in getSizeOfExpr() argument
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp614 Type *AllocTy = GetElementPtrInst::getIndexedType( in canReplaceGEPIdxWithZero() local
618 if (!AllocTy || !AllocTy->isSized()) in canReplaceGEPIdxWithZero()
621 uint64_t TyAllocSize = DL.getTypeAllocSize(AllocTy); in canReplaceGEPIdxWithZero()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp829 OptimizeGlobalAddressOfMalloc(GlobalVariable *GV, CallInst *CI, Type *AllocTy, in OptimizeGlobalAddressOfMalloc() argument
836 GlobalType = AllocTy; in OptimizeGlobalAddressOfMalloc()
839 GlobalType = ArrayType::get(AllocTy, NElements->getZExtValue()); in OptimizeGlobalAddressOfMalloc()
1463 Type *AllocTy, in TryToOptimizeStoreOfMallocToGlobal() argument
1469 if (!AllocTy->isSized()) in TryToOptimizeStoreOfMallocToGlobal()
1503 if (NElements->getZExtValue() * DL.getTypeAllocSize(AllocTy) < 2048) { in TryToOptimizeStoreOfMallocToGlobal()
1504 GVI = OptimizeGlobalAddressOfMalloc(GV, CI, AllocTy, NElements, DL, TLI); in TryToOptimizeStoreOfMallocToGlobal()
1518 if (ArrayType *AT = dyn_cast<ArrayType>(AllocTy)) in TryToOptimizeStoreOfMallocToGlobal()
1519 AllocTy = AT->getElementType(); in TryToOptimizeStoreOfMallocToGlobal()
1521 StructType *AllocSTy = dyn_cast<StructType>(AllocTy); in TryToOptimizeStoreOfMallocToGlobal()
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h514 bool isSizeOf(Type *&AllocTy) const;
515 bool isAlignOf(Type *&AllocTy) const;
DScalarEvolution.h672 const SCEV *getSizeOfExpr(Type *IntTy, Type *AllocTy);
/external/llvm/lib/IR/
DInstructions.cpp386 Type *AllocTy, Value *AllocSize, in createMalloc() argument
435 PointerType *AllocPtrType = PointerType::getUnqual(AllocTy); in createMalloc()
470 Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument
474 return createMalloc(InsertBefore, nullptr, IntPtrTy, AllocTy, AllocSize, in CreateMalloc()
487 Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument
490 return createMalloc(nullptr, InsertAtEnd, IntPtrTy, AllocTy, AllocSize, in CreateMalloc()
/external/llvm/include/llvm/IR/
DInstructions.h1325 Type *IntPtrTy, Type *AllocTy,
1330 Type *IntPtrTy, Type *AllocTy,