Home
last modified time | relevance | path

Searched refs:AllocaTy (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DSROA.cpp1548 isVectorPromotionViable(const DataLayout &DL, Type *AllocaTy, AllocaSlices &S, in isVectorPromotionViable() argument
1553 VectorType *Ty = dyn_cast<VectorType>(AllocaTy); in isVectorPromotionViable()
1587 Type *AllocaTy, in isIntegerWideningViableForSlice() argument
1611 !canConvertValue(DL, AllocaTy, LI->getType())) { in isIntegerWideningViableForSlice()
1626 !canConvertValue(DL, ValueTy, AllocaTy)) { in isIntegerWideningViableForSlice()
1654 isIntegerWideningViable(const DataLayout &DL, Type *AllocaTy, in isIntegerWideningViable() argument
1659 uint64_t SizeInBits = DL.getTypeSizeInBits(AllocaTy); in isIntegerWideningViable()
1665 if (SizeInBits != DL.getTypeStoreSizeInBits(AllocaTy)) in isIntegerWideningViable()
1671 Type *IntTy = Type::getIntNTy(AllocaTy->getContext(), SizeInBits); in isIntegerWideningViable()
1672 if (!canConvertValue(DL, AllocaTy, IntTy) || in isIntegerWideningViable()
[all …]
/external/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp70 Type *AllocaTy; member
84 AllocaTy = 0; in clear()
97 AllocaTy = AI.getAllocatedType(); in analyzeAlloca()
140 if (LI.isVolatile() || LI.getType() != AllocaTy) in visitLoadInst()
151 SI.getValueOperand()->getType() != AllocaTy) in visitStoreInst()