Lines Matching refs:ty
28 QualType ty = d.getType(); in emitAutoVarAlloca() local
29 if (ty.getAddressSpace() != LangAS::Default) in emitAutoVarAlloca()
43 if (ty->isVariablyModifiedType()) in emitAutoVarAlloca()
47 if (!ty->isConstantSizeType()) in emitAutoVarAlloca()
51 mlir::Type allocaTy = convertTypeForMem(ty); in emitAutoVarAlloca()
54 declare(address.getPointer(), &d, ty, getLoc(d.getSourceRange()), alignment); in emitAutoVarAlloca()
274 QualType ty = d.getType(); in getOrCreateStaticVarDecl() local
275 assert(ty->isConstantSizeType() && "VLAs can't be static"); in getOrCreateStaticVarDecl()
283 mlir::Type lty = getTypes().convertTypeForMem(ty); in getOrCreateStaticVarDecl()
291 mlir::Attribute init = builder.getZeroInitAttr(convertType(ty)); in getOrCreateStaticVarDecl()
626 QualType ty = cast<TypedefNameDecl>(d).getUnderlyingType(); in emitDecl() local
628 if (ty->isVariablyModifiedType()) in emitDecl()