Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/CodeGen/
DCGExprConstant.cpp394 llvm::Type *CommonElementType, unsigned ArrayBound,
929 llvm::Type *CommonElementType, unsigned ArrayBound, in EmitArrayConstant() argument
952 if (CommonElementType && NonzeroLength >= 8) { in EmitArrayConstant()
954 llvm::ArrayType::get(CommonElementType, NonzeroLength), in EmitArrayConstant()
963 CommonElementType ? CommonElementType : DesiredType->getElementType(); in EmitArrayConstant()
966 CommonElementType = nullptr; in EmitArrayConstant()
970 if (Filler->getType() != CommonElementType) in EmitArrayConstant()
971 CommonElementType = nullptr; in EmitArrayConstant()
975 if (CommonElementType) in EmitArrayConstant()
977 llvm::ArrayType::get(CommonElementType, ArrayBound), Elements); in EmitArrayConstant()
[all …]
/external/clang/lib/CodeGen/
DCGExprConstant.cpp1425 llvm::Type *CommonElementType = in EmitConstantValue() local
1431 llvm::ArrayType::get(CommonElementType, NumElements); in EmitConstantValue()
1445 CommonElementType = C->getType(); in EmitConstantValue()
1446 else if (C->getType() != CommonElementType) in EmitConstantValue()
1447 CommonElementType = nullptr; in EmitConstantValue()
1451 if (!CommonElementType) { in EmitConstantValue()
1462 llvm::ArrayType::get(CommonElementType, NumElements); in EmitConstantValue()