Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMasmParser.cpp164 std::vector<StructInitializer> Initializers; member
185 FieldInitializer(std::vector<StructInitializer> &&Initializers,
219 Initializers = std::move(V); in StructFieldInfo()
281 std::vector<StructInitializer> &&Initializers, struct StructInfo Structure) in FieldInitializer() argument
283 new (&StructInfo) StructFieldInfo(std::move(Initializers), Structure); in FieldInitializer()
900 const StructInfo &Structure, std::vector<StructInitializer> &Initializers,
4129 std::vector<StructInitializer> Initializers; in parseFieldInitializer() local
4132 if (parseStructInstList(Contents.Structure, Initializers, in parseFieldInitializer()
4137 if (parseStructInstList(Contents.Structure, Initializers, in parseFieldInitializer()
4145 Initializers.emplace_back(); in parseFieldInitializer()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp819 SmallVector<Constant *, 16> Initializers; in InjectTraceForSwitch() local
824 Initializers.push_back(ConstantInt::get(Int64Ty, SI->getNumCases())); in InjectTraceForSwitch()
825 Initializers.push_back( in InjectTraceForSwitch()
834 Initializers.push_back(C); in InjectTraceForSwitch()
836 llvm::sort(drop_begin(Initializers, 2), in InjectTraceForSwitch()
841 ArrayType *ArrayOfInt64Ty = ArrayType::get(Int64Ty, Initializers.size()); in InjectTraceForSwitch()
844 ConstantArray::get(ArrayOfInt64Ty, Initializers), in InjectTraceForSwitch()
H A DAddressSanitizer.cpp2528 SmallVector<Constant *, 16> Initializers(n); in instrumentGlobals() local
2650 Initializers[i] = Initializer; in instrumentGlobals()
2669 instrumentGlobalsELF(IRB, M, NewGlobals, Initializers, in instrumentGlobals()
2678 InstrumentGlobalsCOFF(IRB, M, NewGlobals, Initializers); in instrumentGlobals()
2680 InstrumentGlobalsMachO(IRB, M, NewGlobals, Initializers); in instrumentGlobals()
2682 InstrumentGlobalsWithMetadataArray(IRB, M, NewGlobals, Initializers); in instrumentGlobals()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DLLJIT.cpp231 if (auto Initializers = getInitializers(JD)) { in initialize() local
234 for (auto InitFnAddr : *Initializers) { in initialize()
243 return Initializers.takeError(); in initialize()
321 std::vector<ExecutorAddr> Initializers; in getInitializers() local
329 Initializers.push_back(KV.second.getAddress()); in getInitializers()
332 return Initializers; in getInitializers()
H A DCOFFPlatform.cpp660 llvm::sort(BState.Initializers); in runBootstrapInitializers()
677 for (auto &Initializer : BState.Initializers) in runBootstrapSubsectionInitializers()
904 BState.Initializers.push_back(std::make_pair( in registerObjectPlatformSectionsInBootstrap()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DCOFFPlatform.h142 SmallVector<std::pair<std::string, ExecutorAddr>> Initializers; member
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaCodeCompletion.h164 Decl *Constructor, ArrayRef<CXXCtorInitializer *> Initializers);
H A DSema.h5361 ArrayRef<CXXCtorInitializer *> Initializers = std::nullopt);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp6941 Decl *ConstructorD, ArrayRef<CXXCtorInitializer *> Initializers) { in CodeCompleteConstructorInitializer() argument
6959 for (unsigned I = 0, E = Initializers.size(); I != E; ++I) { in CodeCompleteConstructorInitializer()
6960 if (Initializers[I]->isBaseInitializer()) in CodeCompleteConstructorInitializer()
6962 QualType(Initializers[I]->getBaseClass(), 0))); in CodeCompleteConstructorInitializer()
6965 cast<FieldDecl>(Initializers[I]->getAnyMember())); in CodeCompleteConstructorInitializer()
6970 bool SawLastInitializer = Initializers.empty(); in CodeCompleteConstructorInitializer()
7045 !Initializers.empty() && Initializers.back()->isBaseInitializer() && in CodeCompleteConstructorInitializer()
7047 Base.getType(), QualType(Initializers.back()->getBaseClass(), 0)); in CodeCompleteConstructorInitializer()
7061 !Initializers.empty() && Initializers.back()->isBaseInitializer() && in CodeCompleteConstructorInitializer()
7063 Base.getType(), QualType(Initializers.back()->getBaseClass(), 0)); in CodeCompleteConstructorInitializer()
[all …]
H A DSemaDeclCXX.cpp5221 ArrayRef<CXXCtorInitializer *> Initializers) { in SetCtorInitializers() argument
5225 if (!Initializers.empty()) { in SetCtorInitializers()
5226 Constructor->setNumCtorInitializers(Initializers.size()); in SetCtorInitializers()
5228 new (Context) CXXCtorInitializer*[Initializers.size()]; in SetCtorInitializers()
5229 memcpy(baseOrMemberInitializers, Initializers.data(), in SetCtorInitializers()
5230 Initializers.size() * sizeof(CXXCtorInitializer*)); in SetCtorInitializers()
5251 for (unsigned i = 0; i < Initializers.size(); i++) { in SetCtorInitializers()
5252 CXXCtorInitializer *Member = Initializers[i]; in SetCtorInitializers()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h2689 void setCtorInitializers(CXXCtorInitializer **Initializers) { in setCtorInitializers() argument
2690 CtorInitializers = Initializers; in setCtorInitializers()
H A DASTContext.h461 llvm::SmallVector<Decl*, 4> Initializers; member
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp1056 Initializers.push_back(Source->GetExternalDecl(ID)); in resolve()
1074 if (Imported.Initializers.size() + Imported.LazyInitializers.size() == 1) { in addModuleInitializer()
1076 auto *OnlyDecl = Imported.Initializers.front(); in addModuleInitializer()
1085 Inits->Initializers.push_back(D); in addModuleInitializer()
1104 return Inits->Initializers; in getModuleInitializers()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticSemaKinds.td182 // C99 Designated Initializers