Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGExprConstant.cpp391 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()
[all …]