• Home
  • Raw
  • Download

Lines Matching refs:ILE

51                                      InitListExpr *ILE);
75 bool Build(InitListExpr *ILE);
365 bool ConstStructBuilder::Build(InitListExpr *ILE) { in Build() argument
366 RecordDecl *RD = ILE->getType()->getAs<RecordType>()->getDecl(); in Build()
382 if (RD->isUnion() && ILE->getInitializedFieldInUnion() != *Field) in Build()
392 if (ElementNo < ILE->getNumInits()) in Build()
393 EltInit = CGM.EmitConstantExpr(ILE->getInit(ElementNo++), in Build()
574 InitListExpr *ILE) { in BuildStruct() argument
577 if (!Builder.Build(ILE)) in BuildStruct()
580 return Builder.Finalize(ILE->getType()); in BuildStruct()
777 llvm::Constant *EmitArrayInitialization(InitListExpr *ILE) { in EmitArrayInitialization() argument
778 if (ILE->isStringLiteralInit()) in EmitArrayInitialization()
779 return Visit(ILE->getInit(0)); in EmitArrayInitialization()
782 cast<llvm::ArrayType>(ConvertType(ILE->getType())); in EmitArrayInitialization()
784 unsigned NumInitElements = ILE->getNumInits(); in EmitArrayInitialization()
794 if (Expr *filler = ILE->getArrayFiller()) in EmitArrayInitialization()
811 Expr *Init = ILE->getInit(i); in EmitArrayInitialization()
836 llvm::Constant *EmitRecordInitialization(InitListExpr *ILE) { in EmitRecordInitialization() argument
837 return ConstStructBuilder::BuildStruct(CGM, CGF, ILE); in EmitRecordInitialization()
844 llvm::Constant *VisitInitListExpr(InitListExpr *ILE) { in VisitInitListExpr() argument
845 if (ILE->getType()->isArrayType()) in VisitInitListExpr()
846 return EmitArrayInitialization(ILE); in VisitInitListExpr()
848 if (ILE->getType()->isRecordType()) in VisitInitListExpr()
849 return EmitRecordInitialization(ILE); in VisitInitListExpr()