Home
last modified time | relevance | path

Searched refs:componentTy (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DSwiftCallingConv.cpp225 llvm::Type *componentTy = componentTys[i]; in addTypedData() local
226 auto componentSize = getTypeStoreSize(CGM, componentTy); in addTypedData()
228 addLegalTypedData(componentTy, begin, begin + componentSize); in addTypedData()
/llvm-project-15.0.7/flang/lib/Lower/
H A DConvertVariable.cpp289 mlir::Type componentTy = recTy.getType(name); in genDefaultInitializerValue() local
290 assert(componentTy && "component not found in type"); in genDefaultInitializerValue()
298 genInitialDataTarget(converter, loc, componentTy, *init); in genDefaultInitializerValue()
310 builder, loc, componentTy, llvm::None); in genDefaultInitializerValue()
314 componentTy, stmtCtx); in genDefaultInitializerValue()
317 componentValue = builder.create<fir::UndefOp>(loc, componentTy); in genDefaultInitializerValue()
325 componentValue = builder.create<fir::UndefOp>(loc, componentTy); in genDefaultInitializerValue()
328 componentValue = builder.createConvert(loc, componentTy, componentValue); in genDefaultInitializerValue()
H A DConvertExpr.cpp974 mlir::Type componentTy = recTy.getType(name); in genStructComponentInInitializer() local
985 converter, loc, componentTy, expr.value()); in genStructComponentInInitializer()
1000 if (addr.getType() == componentTy) { in genStructComponentInInitializer()
1010 assert(fir::isa_derived(componentTy) && in genStructComponentInInitializer()
1012 auto cPtrRecTy = componentTy.cast<fir::RecordType>(); in genStructComponentInInitializer()
1017 loc, fieldTy, addrFieldName, componentTy, in genStructComponentInInitializer()
1020 auto undef = builder.create<fir::UndefOp>(loc, componentTy); in genStructComponentInInitializer()
1022 loc, componentTy, undef, castAddr, in genStructComponentInInitializer()
1032 mlir::Value castVal = builder.createConvert(loc, componentTy, val); in genStructComponentInInitializer()