Searched defs:Inits (Results 1 - 7 of 7) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
H A DGlobalMerge.cpp138 std::vector<Constant*> Inits; local
146 Inits.push_back(Globals[j]->getInitializer());
150 Constant *MergedInit = ConstantStruct::get(MergedTy, Inits);
/external/llvm/lib/Transforms/IPO/
H A DStripSymbols.cpp199 ConstantArray *Inits = dyn_cast<ConstantArray>(LLVMUsed->getInitializer()); local
200 if (Inits == 0) return;
202 for (unsigned i = 0, e = Inits->getNumOperands(); i != e; ++i)
204 dyn_cast<GlobalValue>(Inits->getOperand(i)->stripPointerCasts()))
/external/clang/lib/CodeGen/
H A DCGVTables.cpp515 SmallVector<llvm::Constant *, 64> Inits; local
610 Inits.push_back(Init);
614 return llvm::ConstantArray::get(ArrayType, Inits);
H A DCGExprConstant.cpp1151 SmallVector<llvm::Constant *, 4> Inits; local
1157 Inits.push_back(llvm::ConstantInt::get(VMContext, Elt.getInt()));
1159 Inits.push_back(llvm::ConstantFP::get(VMContext, Elt.getFloat()));
1161 return llvm::ConstantVector::get(Inits);
/external/clang/lib/Sema/
H A DSemaExprCXX.cpp1076 Expr **Inits = &Initializer; local
1080 Inits = List->getExprs();
1086 Inits = CCE->getArgs();
1100 return ExprError(Diag(Inits[0]->getLocStart(),
1104 Expr *FirstBad = Inits[1];
1109 Expr *Deduce = Inits[0];
1140 << /*at end of FE*/0 << Inits[0]->getSourceRange();
1355 SourceRange InitRange(Inits[0]->getLocStart(),
1356 Inits[NumInits - 1]->getLocEnd());
1373 llvm::makeArrayRef(Inits, NumInit
[all...]
H A DSemaDeclCXX.cpp823 /// \param Inits All declarations, including anonymous struct/union members and
829 llvm::SmallSet<Decl*, 16> &Inits,
838 if (!Inits.count(Field)) {
850 if (!RD->isUnion() || Inits.count(*I))
851 CheckConstexprCtorInitializer(SemaRef, Dcl, *I, Inits, Diagnosed);
947 llvm::SmallSet<Decl*, 16> Inits; local
952 Inits.insert(FD);
954 Inits.insert(ID->chain_begin(), ID->chain_end());
960 CheckConstexprCtorInitializer(*this, Dcl, *I, Inits, Diagnosed);
1710 Expr **Inits local
826 CheckConstexprCtorInitializer(Sema &SemaRef, const FunctionDecl *Dcl, FieldDecl *Field, llvm::SmallSet<Decl*, 16> &Inits, bool &Diagnosed) argument
3133 DiagnoseBaseOrMemInitializerOrder(Sema &SemaRef, const CXXConstructorDecl *Constructor, CXXCtorInitializer **Inits, unsigned NumInits) argument
[all...]
H A DTreeTransform.h1628 MultiExprArg Inits,
1632 = SemaRef.ActOnInitList(LBraceLoc, Inits, RBraceLoc);
6622 SmallVector<Expr*, 4> Inits; local
6624 Inits, &InitChanged))
6630 return getDerived().RebuildInitList(E->getLBraceLoc(), Inits,
6745 SmallVector<Expr*, 4> Inits; local
6746 if (TransformExprs(E->getExprs(), E->getNumExprs(), true, Inits,
6751 Inits,
1627 RebuildInitList(SourceLocation LBraceLoc, MultiExprArg Inits, SourceLocation RBraceLoc, QualType ResultTy) argument

Completed in 234 milliseconds