Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp154 Type *AllocaTy = Alloca->getAllocatedType(); in tryPromoteAllocaToVector() local
160 if (!AllocaTy->isArrayTy() || in tryPromoteAllocaToVector()
161 AllocaTy->getArrayElementType()->isVectorTy() || in tryPromoteAllocaToVector()
162 AllocaTy->getArrayNumElements() > 4) { in tryPromoteAllocaToVector()
198 VectorType *VectorTy = arrayTypeToVecType(AllocaTy); in tryPromoteAllocaToVector()
201 << *AllocaTy << " -> " << *VectorTy << '\n'); in tryPromoteAllocaToVector()
285 Type *AllocaTy = I.getAllocatedType(); in visitAlloca() local
299 WorkGroupSize * Mod->getDataLayout().getTypeAllocSize(AllocaTy); in visitAlloca()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp1908 Type *AllocaTy, in isIntegerWideningViableForSlice() argument
1911 uint64_t Size = DL.getTypeStoreSize(AllocaTy); in isIntegerWideningViableForSlice()
1938 !canConvertValue(DL, AllocaTy, LI->getType())) { in isIntegerWideningViableForSlice()
1959 !canConvertValue(DL, ValueTy, AllocaTy)) { in isIntegerWideningViableForSlice()
1986 static bool isIntegerWideningViable(Partition &P, Type *AllocaTy, in isIntegerWideningViable() argument
1988 uint64_t SizeInBits = DL.getTypeSizeInBits(AllocaTy); in isIntegerWideningViable()
1994 if (SizeInBits != DL.getTypeStoreSizeInBits(AllocaTy)) in isIntegerWideningViable()
2000 Type *IntTy = Type::getIntNTy(AllocaTy->getContext(), SizeInBits); in isIntegerWideningViable()
2001 if (!canConvertValue(DL, AllocaTy, IntTy) || in isIntegerWideningViable()
2002 !canConvertValue(DL, IntTy, AllocaTy)) in isIntegerWideningViable()
[all …]