Home
last modified time | relevance | path

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

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