Searched refs:AllocTy (Results 1 – 6 of 6) sorted by relevance
/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolutionExpressions.h | 444 bool isSizeOf(Type *&AllocTy) const; 445 bool isAlignOf(Type *&AllocTy) const;
|
D | ScalarEvolution.h | 629 const SCEV *getSizeOfExpr(Type *AllocTy); 633 const SCEV *getAlignOfExpr(Type *AllocTy);
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 848 Type *AllocTy, in OptimizeGlobalAddressOfMalloc() argument 856 GlobalType = AllocTy; in OptimizeGlobalAddressOfMalloc() 859 GlobalType = ArrayType::get(AllocTy, NElements->getZExtValue()); in OptimizeGlobalAddressOfMalloc() 1487 Type *AllocTy, in TryToOptimizeStoreOfMallocToGlobal() argument 1496 if (!AllocTy->isSized()) in TryToOptimizeStoreOfMallocToGlobal() 1530 if (NElements->getZExtValue() * TD->getTypeAllocSize(AllocTy) < 2048) { in TryToOptimizeStoreOfMallocToGlobal() 1531 GVI = OptimizeGlobalAddressOfMalloc(GV, CI, AllocTy, NElements, TD, TLI); in TryToOptimizeStoreOfMallocToGlobal() 1545 if (ArrayType *AT = dyn_cast<ArrayType>(AllocTy)) in TryToOptimizeStoreOfMallocToGlobal() 1546 AllocTy = AT->getElementType(); in TryToOptimizeStoreOfMallocToGlobal() 1548 StructType *AllocSTy = dyn_cast<StructType>(AllocTy); in TryToOptimizeStoreOfMallocToGlobal()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 210 Type *AllocTy; in print() local 211 if (U->isSizeOf(AllocTy)) { in print() 212 OS << "sizeof(" << *AllocTy << ")"; in print() 215 if (U->isAlignOf(AllocTy)) { in print() 216 OS << "alignof(" << *AllocTy << ")"; in print() 379 bool SCEVUnknown::isSizeOf(Type *&AllocTy) const { in isSizeOf() 388 AllocTy = cast<PointerType>(CE->getOperand(0)->getType()) in isSizeOf() 396 bool SCEVUnknown::isAlignOf(Type *&AllocTy) const { in isAlignOf() 412 AllocTy = STy->getElementType(1); in isAlignOf() 2593 const SCEV *ScalarEvolution::getSizeOfExpr(Type *AllocTy) { in getSizeOfExpr() argument [all …]
|
/external/llvm/lib/VMCore/ |
D | Instructions.cpp | 355 Type *AllocTy, Value *AllocSize, in createMalloc() argument 404 PointerType *AllocPtrType = PointerType::getUnqual(AllocTy); in createMalloc() 439 Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument 443 return createMalloc(InsertBefore, NULL, IntPtrTy, AllocTy, AllocSize, in CreateMalloc() 456 Type *IntPtrTy, Type *AllocTy, in CreateMalloc() argument 459 return createMalloc(NULL, InsertAtEnd, IntPtrTy, AllocTy, AllocSize, in CreateMalloc()
|
/external/llvm/include/llvm/ |
D | Instructions.h | 1211 Type *IntPtrTy, Type *AllocTy, 1216 Type *IntPtrTy, Type *AllocTy,
|