/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SanitizerStats.cpp | 32 return ArrayType::get(StatTy, Inits.size()); in makeModuleStatsArrayTy() 49 Inits.push_back(ConstantArray::get( in create() 65 ConstantInt::get(IntPtrTy, Inits.size() - 1), in create() 71 if (Inits.empty()) { in finish() 86 ConstantInt::get(Int32Ty, Inits.size()), in finish() 87 ConstantArray::get(makeModuleStatsArrayTy(), Inits)})); in finish()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | ASTOps.cpp | 131 ArrayRef<Expr *> Inits) { in RecordInitListHelper() argument 140 if (Ty->isUnionType() && Inits.empty()) { in RecordInitListHelper() 146 Inits = InitsForUnion; in RecordInitListHelper() 151 assert(Fields.size() + RD->getNumBases() == Inits.size()); in RecordInitListHelper() 153 assert(InitIdx < Inits.size()); in RecordInitListHelper() 154 Expr *Init = Inits[InitIdx++]; in RecordInitListHelper() 158 assert(Fields.size() == Inits.size() - InitIdx); in RecordInitListHelper() 160 assert(InitIdx < Inits.size()); in RecordInitListHelper() 161 Expr *Init = Inits[InitIdx++]; in RecordInitListHelper()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | ConstantMerge.cpp | 48 ConstantArray *Inits = cast<ConstantArray>(LLVMUsed->getInitializer()); in FindUsedValues() local 50 for (unsigned i = 0, e = Inits->getNumOperands(); i != e; ++i) { in FindUsedValues() 51 Value *Operand = Inits->getOperand(i)->stripPointerCasts(); in FindUsedValues()
|
H A D | StripSymbols.cpp | 110 ConstantArray *Inits = cast<ConstantArray>(LLVMUsed->getInitializer()); in findUsedValues() 112 for (unsigned i = 0, e = Inits->getNumOperands(); i != e; ++i) 114 dyn_cast<GlobalValue>(Inits->getOperand(i)->stripPointerCasts())) in StripSymbolNames() 104 ConstantArray *Inits = cast<ConstantArray>(LLVMUsed->getInitializer()); findUsedValues() local
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | APValue.cpp | 633 ArrayRef<APValue> Inits) { in TryPrintAsStringLiteral() argument 634 if (Inits.empty()) in TryPrintAsStringLiteral() 642 if (!Inits.back().isInt() || !Inits.back().getInt().isZero()) in TryPrintAsStringLiteral() 645 Inits = Inits.drop_back(); in TryPrintAsStringLiteral() 653 if (Inits.size() > MaxN && !Policy.EntireContentsOfLargeArray) { in TryPrintAsStringLiteral() 655 Inits = in TryPrintAsStringLiteral() 656 Inits.take_front(std::min(MaxN - Ellipsis.size() / 2, Inits.size())); in TryPrintAsStringLiteral() 659 for (auto &Val : Inits) { in TryPrintAsStringLiteral()
|
H A D | StmtOpenMP.cpp | 316 Dir->setInits(Exprs.Inits); in Create() 361 Dir->setInits(Exprs.Inits); in Create() 515 Dir->setInits(Exprs.Inits); in Create() 662 Dir->setInits(Exprs.Inits); in Create() 707 Dir->setInits(Exprs.Inits); in Create() 1039 Dir->setInits(Exprs.Inits); in Create() 1143 Dir->setInits(Exprs.Inits); in Create() 1188 Dir->setInits(Exprs.Inits); in Create() 1231 Dir->setInits(Exprs.Inits); in Create() 1276 Dir->setInits(Exprs.Inits); in Create() [all …]
|
H A D | ASTContext.cpp | 1082 auto *&Inits = ModuleInitializers[M]; in addModuleInitializer() local 1083 if (!Inits) in addModuleInitializer() 1084 Inits = new (*this) PerModuleInitializers; in addModuleInitializer() 1085 Inits->Initializers.push_back(D); in addModuleInitializer() 1090 auto *&Inits = ModuleInitializers[M]; in addLazyModuleInitializers() local 1091 if (!Inits) in addLazyModuleInitializers() 1092 Inits = new (*this) PerModuleInitializers; in addLazyModuleInitializers() 1093 Inits->LazyInitializers.insert(Inits->LazyInitializers.end(), in addLazyModuleInitializers() 1102 auto *Inits = It->second; in getModuleInitializers() local 1103 Inits->resolve(*this); in getModuleInitializers() [all …]
|
H A D | OpenMPClause.cpp | 1313 ArrayRef<Expr *> PrivateVars, ArrayRef<Expr *> Inits, in Create() argument 1343 Clause->setInits(Inits); in Create()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | SanitizerStats.h | 48 std::vector<Constant *> Inits; member
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | GlobalMerge.cpp | 486 std::vector<Constant*> Inits; in doMerge() local 506 Inits.push_back(ConstantAggregateZero::get(Tys.back())); in doMerge() 510 Inits.push_back(Globals[j]->getInitializer()); in doMerge() 534 Constant *MergedInit = ConstantStruct::get(MergedTy, Inits); in doMerge()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
H A D | MemoryFlags.h | 178 AllocGroupSmallMap(std::initializer_list<std::pair<AllocGroup, T>> Inits) 179 : Elems(Inits) {
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIFixSGPRCopies.cpp | 444 InitListMap Inits; in hoistAndMergeSGPRInits() local 464 Inits[Imm->getImm()].push_front(&MI); in hoistAndMergeSGPRInits() 469 for (auto &Init : Inits) { in hoistAndMergeSGPRInits() 505 (llvm::any_of(Inits, [&](InitListMap::value_type &C) { in hoistAndMergeSGPRInits() 561 for (auto &Init : Inits) { in hoistAndMergeSGPRInits() 574 for (auto &Init : Inits) { in hoistAndMergeSGPRInits()
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
H A D | ASTOps.h | 74 ArrayRef<Expr *> Inits);
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Compiler.cpp | 1300 bool Compiler<Emitter>::visitInitList(ArrayRef<const Expr *> Inits, in visitInitList() argument 1313 for (const Expr *Init : Inits) { in visitInitList() 1323 if (Inits.size() == 0) in visitInitList() 1325 assert(Inits.size() == 1); in visitInitList() 1326 return this->delegate(Inits[0]); in visitInitList() 1332 if (Inits.size() == 1 && E->getType() == Inits[0]->getType()) in visitInitList() 1333 return this->delegate(Inits[0]); in visitInitList() 1360 if (Inits.size() == 0) { in visitInitList() 1374 const Expr *Init = Inits[0]; in visitInitList() 1395 for (const Expr *Init : Inits) { in visitInitList() [all …]
|
H A D | Compiler.h | 284 bool visitInitList(ArrayRef<const Expr *> Inits, const Expr *ArrayFiller,
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 2379 SmallVector<llvm::Constant *, 4> Inits(NumElts); in tryEmitPrivate() local 2384 Inits[I] = llvm::ConstantInt::get(CGM.getLLVMContext(), Elt.getInt()); in tryEmitPrivate() 2386 Inits[I] = llvm::ConstantFP::get(CGM.getLLVMContext(), Elt.getFloat()); in tryEmitPrivate() 2388 Inits[I] = llvm::UndefValue::get(CGM.getTypes().ConvertType( in tryEmitPrivate() 2393 return llvm::ConstantVector::get(Inits); in tryEmitPrivate()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | CommandLine.h | 437 ArrayRef<Ty> Inits; member 438 list_initializer(ArrayRef<Ty> Vals) : Inits(Vals) {} in list_initializer() 440 template <class Opt> void apply(Opt &O) const { O.setInitialValues(Inits); } in apply()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaInit.cpp | 9688 const InitializationKind &Kind, MultiExprArg Inits) { in DeduceTemplateSpecializationFromInitializer() argument 9737 if (Expr::hasAnyTypeDependentArguments(Inits)) { in DeduceTemplateSpecializationFromInitializer() 9766 (Inits.size() == 1 && Kind.getKind() != InitializationKind::IK_Direct) in DeduceTemplateSpecializationFromInitializer() 9767 ? dyn_cast<InitListExpr>(Inits[0]) in DeduceTemplateSpecializationFromInitializer() 9829 for (Expr *E : Inits) in DeduceTemplateSpecializationFromInitializer() 9840 AddOverloadCandidate(GD, FoundDecl, Inits, Candidates, in DeduceTemplateSpecializationFromInitializer() 9930 } else if (Inits.size()) { // parenthesized expression-list in DeduceTemplateSpecializationFromInitializer() 9934 InitListExpr TempListInit(getASTContext(), Inits.front()->getBeginLoc(), in DeduceTemplateSpecializationFromInitializer() 9935 Inits, Inits.back()->getEndLoc()); in DeduceTemplateSpecializationFromInitializer() 9980 Inits = MultiExprArg(ListInit->getInits(), ListInit->getNumInits()); in DeduceTemplateSpecializationFromInitializer() [all …]
|
H A D | SemaExprCXX.cpp | 1574 MultiExprArg Inits = Exprs; in BuildCXXTypeConstructExpr() local 1577 Inits = MultiExprArg(ILE->getInits(), ILE->getNumInits()); in BuildCXXTypeConstructExpr() 1580 if (Inits.empty()) in BuildCXXTypeConstructExpr() 1583 if (Inits.size() > 1) { in BuildCXXTypeConstructExpr() 1584 Expr *FirstBad = Inits[1]; in BuildCXXTypeConstructExpr() 1593 Expr *Deduce = Inits[0]; in BuildCXXTypeConstructExpr() 2103 MultiExprArg Inits = Exprs; in BuildCXXNew() local 2107 Inits = MultiExprArg(ILE->getInits(), ILE->getNumInits()); in BuildCXXNew() 2110 if (InitStyle == CXXNewInitializationStyle::None || Inits.empty()) in BuildCXXNew() 2113 if (Inits.size() > 1) { in BuildCXXNew() [all …]
|
H A D | SemaDeclCXX.cpp | 2032 llvm::SmallSet<Decl*, 16> &Inits, in CheckConstexprCtorInitializer() argument 2055 if (!Inits.count(Field)) { in CheckConstexprCtorInitializer() 2074 if (!RD->isUnion() || Inits.count(I)) in CheckConstexprCtorInitializer() 2075 if (!CheckConstexprCtorInitializer(SemaRef, Dcl, I, Inits, Diagnosed, in CheckConstexprCtorInitializer() 2367 llvm::SmallSet<Decl*, 16> Inits; in CheckConstexprFunctionBody() local 2370 Inits.insert(FD); in CheckConstexprFunctionBody() 2372 Inits.insert(ID->chain_begin(), ID->chain_end()); in CheckConstexprFunctionBody() 2377 if (!CheckConstexprCtorInitializer(SemaRef, Dcl, I, Inits, Diagnosed, in CheckConstexprFunctionBody() 5436 ArrayRef<CXXCtorInitializer *> Inits) { in DiagnoseBaseOrMemInitializerOrder() argument 5443 for (unsigned InitIndex = 0; InitIndex != Inits.size(); ++InitIndex) { in DiagnoseBaseOrMemInitializerOrder() [all …]
|
H A D | SemaOpenMP.cpp | 10125 Built.Inits.resize(NestedLoopCount); in checkOpenMPLoop() 10220 Built.Inits[Cnt] = Init.get(); in checkOpenMPLoop() 10228 Built.DependentInits[Cnt] = Built.Inits[IS.LoopDependentIdx - 1]; in checkOpenMPLoop() 17252 SmallVector<Expr *, 8> Inits; in ActOnOpenMPFirstprivateClause() local 17268 Inits.push_back(nullptr); in ActOnOpenMPFirstprivateClause() 17524 Inits.push_back(VDInitRefExpr); in ActOnOpenMPFirstprivateClause() 17531 getASTContext(), StartLoc, LParenLoc, EndLoc, Vars, PrivateCopies, Inits, in ActOnOpenMPFirstprivateClause() 19088 SmallVector<Expr *, 8> Inits; in ActOnOpenMPLinearClause() local 19109 Inits.push_back(nullptr); in ActOnOpenMPLinearClause() 19176 Inits.push_back(InitRef); in ActOnOpenMPLinearClause() [all …]
|
H A D | SemaTemplate.cpp | 6531 Expr *Inits[1] = {DeductionArg}; in CheckTemplateArgument() local 6533 DeduceTemplateSpecializationFromInitializer(TSI, Entity, Kind, Inits); in CheckTemplateArgument() 6670 Expr *Inits[1] = {Arg}; in CheckTemplateArgument() local 6673 InitializationSequence InitSeq(*this, Entity, Kind, Inits); in CheckTemplateArgument() 6674 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, Inits); in CheckTemplateArgument()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/ |
H A D | macho_platform.cpp | 1098 [&](span<void (*)()> Inits) { InitSections.push_back(Inits); }); in getInstance() 897 __anon3d23d5020502(span<void (*)()> Inits) runModInits() argument
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/ |
H A D | ItaniumDemangle.h | 2220 NodeArray Inits; variable 2223 : Node(KInitListExpr), Ty(Ty_), Inits(Inits_) {} in InitListExpr() 2225 template<typename Fn> void match(Fn F) const { F(Ty, Inits); } in match() 2231 Inits.printWithComma(OB); in printLeft() 5000 NodeArray Inits = popTrailingNodeArray(InitsBegin); in parseExpr() local 5001 return make<NewExpr>(ExprList, Ty, Inits, Global, in parseExpr()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | StmtOpenMP.h | 808 SmallVector<Expr *, 4> Inits; member 862 Inits.resize(Size); in clear() 871 Inits[I] = nullptr; in clear()
|