Lines Matching refs:Ty

116     QualType Ty = TD.getUnderlyingType();
118 if (Ty->isVariablyModifiedType())
119 EmitVariablyModifiedType(Ty);
179 QualType Ty = D.getType();
180 assert(Ty->isConstantSizeType() && "VLAs can't be static");
189 llvm::Type *LTy = CGM.getTypes().ConvertTypeForMem(Ty);
191 CGM.GetGlobalVarAddressSpace(&D, CGM.getContext().getTargetAddressSpace(Ty));
194 Ty.isConstant(getContext()), Linkage,
212 unsigned ExpectedAddrSpace = CGM.getContext().getTargetAddressSpace(Ty);
832 QualType Ty = D.getType();
843 if (Ty->isVariablyModifiedType())
844 EmitVariablyModifiedType(Ty);
847 if (Ty->isConstantSizeType()) {
859 if (D.getInit() && (Ty->isArrayType() || Ty->isRecordType()) &&
861 ((Ty.isPODType(getContext()) ||
862 getContext().getBaseElementType(Ty)->isObjCObjectPointerType()) &&
869 CGM.isTypeConstant(Ty, true)) {
883 llvm::Type *LTy = ConvertTypeForMem(Ty);
891 if (const RecordType *RecordTy = Ty->getAs<RecordType>()) {
955 std::tie(elementCount, elementType) = getVLASize(Ty);
1617 QualType Ty = D.getType();
1627 llvm::AllocaInst *Alloc = CreateTempAlloca(ConvertTypeForMem(Ty),
1630 LValue lv = MakeAddrLValue(Alloc, Ty, getContext().getDeclAlign(&D));
1649 bool IsScalar = hasScalarEvaluationKind(Ty);
1655 llvm::Type *IRTy = ConvertTypeForMem(Ty)->getPointerTo(AS);
1661 const CXXRecordDecl *RD = Ty->getAsCXXRecordDecl();
1663 pushDestroy(QualType::DK_cxx_destructor, DeclPtr, Ty);
1667 llvm::AllocaInst *Alloc = CreateTempAlloca(ConvertTypeForMem(Ty),
1674 LValue lv = MakeAddrLValue(DeclPtr, Ty, Align);
1676 Qualifiers qs = Ty.getQualifiers();