Lines Matching refs:Ty

52                                      llvm::StructType *Ty,
80 Ty->setName(OS.str());
102 bool CodeGenTypes::isRecordLayoutComplete(const Type *Ty) const {
104 RecordDeclTypes.find(Ty);
195 bool CodeGenTypes::isFuncTypeArgumentConvertible(QualType Ty) {
197 const TagType *TT = Ty->getAs<TagType>();
296 const Type *Ty = T.getTypePtr();
299 if (const RecordType *RT = dyn_cast<RecordType>(Ty))
303 llvm::DenseMap<const Type *, llvm::Type *>::iterator TCI = TypeCache.find(Ty);
310 switch (Ty->getTypeClass()) {
321 switch (cast<BuiltinType>(Ty)->getKind()) {
388 ResultType = CGM.getOpenCLRuntime().convertOpenCLSpecificType(Ty);
403 llvm::Type *EltTy = ConvertType(cast<ComplexType>(Ty)->getElementType());
409 const ReferenceType *RTy = cast<ReferenceType>(Ty);
417 const PointerType *PTy = cast<PointerType>(Ty);
428 const VariableArrayType *A = cast<VariableArrayType>(Ty);
437 const IncompleteArrayType *A = cast<IncompleteArrayType>(Ty);
451 const ConstantArrayType *A = cast<ConstantArrayType>(Ty);
466 const VectorType *VT = cast<VectorType>(Ty);
473 const FunctionType *FT = cast<FunctionType>(Ty);
499 if (!RecordsBeingLaidOut.insert(Ty)) {
530 RecordsBeingLaidOut.erase(Ty);
542 ResultType = ConvertType(cast<ObjCObjectType>(Ty)->getBaseType());
549 llvm::Type *&T = InterfaceTypes[cast<ObjCInterfaceType>(Ty)];
561 ConvertTypeForMem(cast<ObjCObjectPointerType>(Ty)->getPointeeType());
567 const EnumDecl *ED = cast<EnumType>(Ty)->getDecl();
578 const QualType FTy = cast<BlockPointerType>(Ty)->getPointeeType();
587 getCXXABI().ConvertMemberPointerType(cast<MemberPointerType>(Ty));
592 QualType valueType = cast<AtomicType>(Ty)->getValueType();
597 uint64_t atomicSize = Context.getTypeSize(Ty);
613 TypeCache[Ty] = ResultType;
638 llvm::StructType *Ty = Entry;
643 if (RD == 0 || !RD->isCompleteDefinition() || !Ty->isOpaque())
644 return Ty;
649 return Ty;
667 CGRecordLayout *Layout = ComputeRecordLayout(RD, Ty);
686 return Ty;