Home
last modified time | relevance | path

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

/external/llvm/lib/Target/R600/
DAMDGPUPromoteAlloca.cpp150 Type *AllocaTy = Alloca->getAllocatedType(); in tryPromoteAllocaToVector() local
156 if (!AllocaTy->isArrayTy() || in tryPromoteAllocaToVector()
157 AllocaTy->getArrayElementType()->isVectorTy() || in tryPromoteAllocaToVector()
158 AllocaTy->getArrayNumElements() > 4) { in tryPromoteAllocaToVector()
194 VectorType *VectorTy = arrayTypeToVecType(AllocaTy); in tryPromoteAllocaToVector()
197 << *AllocaTy << " -> " << *VectorTy << '\n'); in tryPromoteAllocaToVector()
267 Type *AllocaTy = I.getAllocatedType(); in visitAlloca() local
281 WorkGroupSize * Mod->getDataLayout().getTypeAllocSize(AllocaTy); in visitAlloca()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2118 Type *AllocaTy, in isIntegerWideningViableForSlice() argument
2121 uint64_t Size = DL.getTypeStoreSize(AllocaTy); in isIntegerWideningViableForSlice()
2145 !canConvertValue(DL, AllocaTy, LI->getType())) { in isIntegerWideningViableForSlice()
2163 !canConvertValue(DL, ValueTy, AllocaTy)) { in isIntegerWideningViableForSlice()
2190 static bool isIntegerWideningViable(AllocaSlices::Partition &P, Type *AllocaTy, in isIntegerWideningViable() argument
2192 uint64_t SizeInBits = DL.getTypeSizeInBits(AllocaTy); in isIntegerWideningViable()
2198 if (SizeInBits != DL.getTypeStoreSizeInBits(AllocaTy)) in isIntegerWideningViable()
2204 Type *IntTy = Type::getIntNTy(AllocaTy->getContext(), SizeInBits); in isIntegerWideningViable()
2205 if (!canConvertValue(DL, AllocaTy, IntTy) || in isIntegerWideningViable()
2206 !canConvertValue(DL, IntTy, AllocaTy)) in isIntegerWideningViable()
[all …]