Lines Matching refs:EltInit
391 llvm::Constant *EltInit; in Build() local
393 EltInit = CGM.EmitConstantExpr(ILE->getInit(ElementNo++), in Build()
396 EltInit = CGM.EmitNullConstant(Field->getType()); in Build()
398 if (!EltInit) in Build()
403 AppendField(*Field, Layout.getFieldOffset(FieldNo), EltInit); in Build()
406 if (auto *CI = dyn_cast<llvm::ConstantInt>(EltInit)) { in Build()
487 llvm::Constant *EltInit = in Build() local
489 assert(EltInit && "EmitConstantValue can't fail"); in Build()
493 AppendField(*Field, Layout.getFieldOffset(FieldNo) + OffsetBits, EltInit); in Build()
497 cast<llvm::ConstantInt>(EltInit)); in Build()
1157 llvm::Constant *EltInit = Base->getOperand(ElementNo); in Build() local
1161 if (CGM.getTypes().ConvertType(Field->getType()) != EltInit->getType() || in Build()
1175 EltInit = Emitter->EmitDesignatedInitUpdater(EltInit, ChildILE); in Build()
1177 EltInit = CGM.EmitConstantExpr(Init, Field->getType(), CGF); in Build()
1181 if (!EltInit) in Build()
1185 AppendField(Field, Layout.getFieldOffset(FieldNo), EltInit); in Build()
1186 else if (llvm::ConstantInt *CI = dyn_cast<llvm::ConstantInt>(EltInit)) in Build()