Lines Matching refs:Ty

51                                      llvm::StructType *Ty,
79 Ty->setName(OS.str());
101 bool CodeGenTypes::isRecordLayoutComplete(const Type *Ty) const {
103 RecordDeclTypes.find(Ty);
194 bool CodeGenTypes::isFuncTypeArgumentConvertible(QualType Ty) {
196 const TagType *TT = Ty->getAs<TagType>();
285 const Type *Ty = T.getTypePtr();
288 if (const RecordType *RT = dyn_cast<RecordType>(Ty))
292 llvm::DenseMap<const Type *, llvm::Type *>::iterator TCI = TypeCache.find(Ty);
299 switch (Ty->getTypeClass()) {
310 switch (cast<BuiltinType>(Ty)->getKind()) {
380 llvm::Type *EltTy = ConvertType(cast<ComplexType>(Ty)->getElementType());
386 const ReferenceType *RTy = cast<ReferenceType>(Ty);
394 const PointerType *PTy = cast<PointerType>(Ty);
405 const VariableArrayType *A = cast<VariableArrayType>(Ty);
414 const IncompleteArrayType *A = cast<IncompleteArrayType>(Ty);
428 const ConstantArrayType *A = cast<ConstantArrayType>(Ty);
443 const VectorType *VT = cast<VectorType>(Ty);
450 const FunctionType *FT = cast<FunctionType>(Ty);
466 if (!RecordsBeingLaidOut.insert(Ty)) {
497 RecordsBeingLaidOut.erase(Ty);
509 ResultType = ConvertType(cast<ObjCObjectType>(Ty)->getBaseType());
516 llvm::Type *&T = InterfaceTypes[cast<ObjCInterfaceType>(Ty)];
528 ConvertTypeForMem(cast<ObjCObjectPointerType>(Ty)->getPointeeType());
534 const EnumDecl *ED = cast<EnumType>(Ty)->getDecl();
545 const QualType FTy = cast<BlockPointerType>(Ty)->getPointeeType();
554 getCXXABI().ConvertMemberPointerType(cast<MemberPointerType>(Ty));
559 ResultType = ConvertType(cast<AtomicType>(Ty)->getValueType());
566 TypeCache[Ty] = ResultType;
583 llvm::StructType *Ty = Entry;
588 if (RD == 0 || !RD->isCompleteDefinition() || !Ty->isOpaque())
589 return Ty;
594 return Ty;
612 CGRecordLayout *Layout = ComputeRecordLayout(RD, Ty);
631 return Ty;