Lines Matching refs:EltInit
384 llvm::Constant *EltInit; in Build() local
386 EltInit = CGM.EmitConstantExpr(ILE->getInit(ElementNo++), in Build()
389 EltInit = CGM.EmitNullConstant(Field->getType()); in Build()
391 if (!EltInit) in Build()
396 AppendField(*Field, Layout.getFieldOffset(FieldNo), EltInit); in Build()
399 if (auto *CI = dyn_cast<llvm::ConstantInt>(EltInit)) { in Build()
480 llvm::Constant *EltInit = in Build() local
482 assert(EltInit && "EmitConstantValue can't fail"); in Build()
486 AppendField(*Field, Layout.getFieldOffset(FieldNo) + OffsetBits, EltInit); in Build()
490 cast<llvm::ConstantInt>(EltInit)); in Build()
1137 llvm::Constant *EltInit = Base->getOperand(ElementNo); in Build() local
1141 if (CGM.getTypes().ConvertType(Field->getType()) != EltInit->getType() || in Build()
1155 EltInit = Emitter->EmitDesignatedInitUpdater(EltInit, ChildILE); in Build()
1157 EltInit = CGM.EmitConstantExpr(Init, Field->getType(), CGF); in Build()
1161 if (!EltInit) in Build()
1165 AppendField(Field, Layout.getFieldOffset(FieldNo), EltInit); in Build()
1166 else if (llvm::ConstantInt *CI = dyn_cast<llvm::ConstantInt>(EltInit)) in Build()