Searched refs:arrayTy (Results 1 – 2 of 2) sorted by relevance
330 ArrayType* arrayTy = dyn_cast<ArrayType>(elementTy); in EmitVariableDeclaration() local331 elementTy = arrayTy->getElementType(); in EmitVariableDeclaration()333 unsigned numElements = arrayTy->getNumElements(); in EmitVariableDeclaration()337 arrayTy = dyn_cast<ArrayType>(elementTy); in EmitVariableDeclaration()338 elementTy = arrayTy->getElementType(); in EmitVariableDeclaration()340 numElements *= arrayTy->getNumElements(); in EmitVariableDeclaration()
2029 llvm::ArrayType *arrayTy = llvm::ArrayType::get(Int32Ty, values.size()); in MakeBitField() local2030 llvm::Constant *array = llvm::ConstantArray::get(arrayTy, values); in MakeBitField()2034 llvm::Constant *GS = MakeGlobal(llvm::StructType::get(Int32Ty, arrayTy, in MakeBitField()