Home
last modified time | relevance | path

Searched refs:arrayTy (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTXAsmPrinter.cpp330 ArrayType* arrayTy = dyn_cast<ArrayType>(elementTy); in EmitVariableDeclaration() local
331 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()
/external/turbine/java/com/google/turbine/types/
DCanonicalize.java108 Type.ArrayTy arrayTy = (Type.ArrayTy) type; in canonicalize() local
109 return Type.ArrayTy.create(canonicalize(base, arrayTy.elementType()), arrayTy.annos()); in canonicalize()
293 ArrayTy arrayTy = (ArrayTy) type; in instantiate() local
294 Type elem = instantiate(mapping, arrayTy.elementType()); in instantiate()
295 return ArrayTy.create(elem, arrayTy.annos()); in instantiate()
/external/turbine/java/com/google/turbine/binder/
DDisambiguateTypeAnnotations.java215 ArrayTy arrayTy = (ArrayTy) type; in addAnnotationsToType() local
216 return ArrayTy.create(addAnnotationsToType(arrayTy.elementType(), extra), arrayTy.annos()); in addAnnotationsToType()
DConstBinder.java303 ArrayTy arrayTy = (ArrayTy) type; in bindType() local
305 bindType(arrayTy.elementType()), constEvaluator.evaluateAnnotations(arrayTy.annos())); in bindType()
/external/turbine/java/com/google/turbine/lower/
DLower.java776 ArrayTy arrayTy = (ArrayTy) base; in lowerArrayTypeAnnotations() local
777 flat.addFirst(arrayTy); in lowerArrayTypeAnnotations()
778 base = arrayTy.elementType(); in lowerArrayTypeAnnotations()
780 for (ArrayTy arrayTy : flat) { in lowerArrayTypeAnnotations()
781 lowerTypeAnnotations(arrayTy.annos(), path); in lowerArrayTypeAnnotations()
/external/clang/lib/CodeGen/
DCGObjCGNU.cpp2029 llvm::ArrayType *arrayTy = llvm::ArrayType::get(Int32Ty, values.size()); in MakeBitField() local
2030 llvm::Constant *array = llvm::ConstantArray::get(arrayTy, values); in MakeBitField()
2034 llvm::Constant *GS = MakeGlobal(llvm::StructType::get(Int32Ty, arrayTy, in MakeBitField()