Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp910 Type *AllocaType = Old->getType(); in ConvertScalar_InsertValue() local
913 if (VectorType *VTy = dyn_cast<VectorType>(AllocaType)) { in ConvertScalar_InsertValue()
920 return Builder.CreateBitCast(SV, AllocaType); in ConvertScalar_InsertValue()
970 unsigned DestWidth = DL.getTypeSizeInBits(AllocaType); in ConvertScalar_InsertValue()
972 unsigned DestStoreWidth = DL.getTypeStoreSizeInBits(AllocaType); in ConvertScalar_InsertValue()
979 if (SV->getType() != AllocaType) { in ConvertScalar_InsertValue()
981 AllocaType->getPrimitiveSizeInBits()) in ConvertScalar_InsertValue()
982 SV = Builder.CreateZExt(SV, AllocaType); in ConvertScalar_InsertValue()
986 SV = Builder.CreateTrunc(SV, AllocaType); in ConvertScalar_InsertValue()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1366 Type *AllocaType = AI->getAllocatedType(); in InlineFunction() local
1367 uint64_t AllocaTypeSize = DL.getTypeAllocSize(AllocaType); in InlineFunction()