Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGCUDABuiltin.cpp102 llvm::Type *AllocaTy = llvm::StructType::create(ArgTypes, "printf_args"); in EmitCUDADevicePrintfCallExpr() local
103 llvm::Value *Alloca = CreateTempAlloca(AllocaTy); in EmitCUDADevicePrintfCallExpr()
106 llvm::Value *P = Builder.CreateStructGEP(AllocaTy, Alloca, I - 1); in EmitCUDADevicePrintfCallExpr()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp393 ArrayType *AllocaTy = dyn_cast<ArrayType>(Alloca->getAllocatedType()); in tryPromoteAllocaToVector() local
399 if (!AllocaTy || in tryPromoteAllocaToVector()
400 AllocaTy->getElementType()->isVectorTy() || in tryPromoteAllocaToVector()
401 AllocaTy->getNumElements() > 4) { in tryPromoteAllocaToVector()
436 VectorType *VectorTy = arrayTypeToVecType(AllocaTy); in tryPromoteAllocaToVector()
439 << *AllocaTy << " -> " << *VectorTy << '\n'); in tryPromoteAllocaToVector()
641 Type *AllocaTy = I.getAllocatedType(); in handleAlloca() local
669 uint32_t AllocSize = WorkGroupSize * DL.getTypeAllocSize(AllocaTy); in handleAlloca()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp1892 Type *AllocaTy, in isIntegerWideningViableForSlice() argument
1895 uint64_t Size = DL.getTypeStoreSize(AllocaTy); in isIntegerWideningViableForSlice()
1922 !canConvertValue(DL, AllocaTy, LI->getType())) { in isIntegerWideningViableForSlice()
1943 !canConvertValue(DL, ValueTy, AllocaTy)) { in isIntegerWideningViableForSlice()
1970 static bool isIntegerWideningViable(Partition &P, Type *AllocaTy, in isIntegerWideningViable() argument
1972 uint64_t SizeInBits = DL.getTypeSizeInBits(AllocaTy); in isIntegerWideningViable()
1978 if (SizeInBits != DL.getTypeStoreSizeInBits(AllocaTy)) in isIntegerWideningViable()
1984 Type *IntTy = Type::getIntNTy(AllocaTy->getContext(), SizeInBits); in isIntegerWideningViable()
1985 if (!canConvertValue(DL, AllocaTy, IntTy) || in isIntegerWideningViable()
1986 !canConvertValue(DL, IntTy, AllocaTy)) in isIntegerWideningViable()
[all …]