| /freebsd-14.2/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Targets.cpp | 121 return std::make_unique<ARCTargetInfo>(Triple, Opts); in AllocateTarget() 124 return std::make_unique<XCoreTargetInfo>(Triple, Opts); in AllocateTarget() 130 return std::make_unique<HexagonTargetInfo>(Triple, Opts); in AllocateTarget() 133 return std::make_unique<LanaiTargetInfo>(Triple, Opts); in AllocateTarget() 261 return std::make_unique<AVRTargetInfo>(Triple, Opts); in AllocateTarget() 264 return std::make_unique<BPFTargetInfo>(Triple, Opts); in AllocateTarget() 267 return std::make_unique<MSP430TargetInfo>(Triple, Opts); in AllocateTarget() 356 return std::make_unique<Le64TargetInfo>(Triple, Opts); in AllocateTarget() 419 return std::make_unique<NVPTXTargetInfo>(Triple, Opts, in AllocateTarget() 422 return std::make_unique<NVPTXTargetInfo>(Triple, Opts, in AllocateTarget() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/FrontendTool/ |
| H A D | ExecuteCompilerInvocation.cpp | 51 return std::make_unique<DumpCompilerOptionsAction>(); in CreateFrontendBaseAction() 62 return std::make_unique<ExtractAPIAction>(); in CreateFrontendBaseAction() 67 return std::make_unique<GenerateModuleInterfaceAction>(); in CreateFrontendBaseAction() 69 return std::make_unique<GenerateHeaderUnitAction>(); in CreateFrontendBaseAction() 72 return std::make_unique<GenerateInterfaceStubsAction>(); in CreateFrontendBaseAction() 103 return std::make_unique<RewriteIncludesAction>(); in CreateFrontendBaseAction() 104 return std::make_unique<PrintPreprocessedAction>(); in CreateFrontendBaseAction() 116 return std::make_unique<arcmt::MigrateSourceAction>(); in CreateFrontendBaseAction() 149 Act = std::make_unique<FixItRecompile>(std::move(Act)); in CreateFrontendAction() 192 Act = std::make_unique<ASTMergeAction>(std::move(Act), in CreateFrontendAction() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MCA/ |
| H A D | Context.cpp | 40 auto RCU = std::make_unique<RetireControlUnit>(SM); in createDefaultPipeline() 42 auto LSU = std::make_unique<LSUnit>(SM, Opts.LoadQueueSize, in createDefaultPipeline() 44 auto HWS = std::make_unique<Scheduler>(SM, *LSU); in createDefaultPipeline() 47 auto Fetch = std::make_unique<EntryStage>(SrcMgr); in createDefaultPipeline() 51 std::make_unique<ExecuteStage>(*HWS, Opts.EnableBottleneckAnalysis); in createDefaultPipeline() 52 auto Retire = std::make_unique<RetireStage>(*RCU, *PRF, *LSU); in createDefaultPipeline() 61 auto StagePipeline = std::make_unique<Pipeline>(); in createDefaultPipeline() 64 StagePipeline->appendStage(std::make_unique<MicroOpQueueStage>( in createDefaultPipeline() 77 auto LSU = std::make_unique<LSUnit>(SM, Opts.LoadQueueSize, in createInOrderPipeline() 81 auto Entry = std::make_unique<EntryStage>(SrcMgr); in createInOrderPipeline() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/XRay/ |
| H A D | FDRRecordProducer.cpp | 43 return std::make_unique<NewBufferRecord>(); in metadataRecordType() 50 return std::make_unique<EndBufferRecord>(); in metadataRecordType() 52 return std::make_unique<NewCPUIDRecord>(); in metadataRecordType() 54 return std::make_unique<TSCWrapRecord>(); in metadataRecordType() 56 return std::make_unique<WallclockRecord>(); in metadataRecordType() 60 return std::make_unique<CustomEventRecord>(); in metadataRecordType() 62 return std::make_unique<CallArgRecord>(); in metadataRecordType() 64 return std::make_unique<BufferExtents>(); in metadataRecordType() 66 return std::make_unique<TypedEventRecord>(); in metadataRecordType() 68 return std::make_unique<PIDRecord>(); in metadataRecordType() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Remarks/ |
| H A D | RemarkSerializer.cpp | 28 return std::make_unique<YAMLRemarkSerializer>(OS, Mode); in createRemarkSerializer() 30 return std::make_unique<YAMLStrTabRemarkSerializer>(OS, Mode); in createRemarkSerializer() 32 return std::make_unique<BitstreamRemarkSerializer>(OS, Mode); in createRemarkSerializer() 45 return std::make_unique<YAMLRemarkSerializer>(OS, Mode, std::move(StrTab)); in createRemarkSerializer() 47 return std::make_unique<YAMLStrTabRemarkSerializer>(OS, Mode, in createRemarkSerializer() 50 return std::make_unique<BitstreamRemarkSerializer>(OS, Mode, in createRemarkSerializer()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Option/ |
| H A D | Option.cpp | 119 return std::make_unique<Arg>(*this, Spelling, Index++); in acceptInternal() 123 return std::make_unique<Arg>(*this, Spelling, Index++, Value); in acceptInternal() 128 auto A = std::make_unique<Arg>(*this, Spelling, Index++); in acceptInternal() 163 return std::make_unique<Arg>(*this, Spelling, Index - 2, in acceptInternal() 174 auto A = std::make_unique<Arg>(*this, Spelling, Index - 1 - getNumArgs(), in acceptInternal() 184 return std::make_unique<Arg>(*this, Spelling, Index++, Value); in acceptInternal() 193 return std::make_unique<Arg>(*this, Spelling, Index - 2, in acceptInternal() 203 return std::make_unique<Arg>(*this, Spelling, Index - 2, in acceptInternal() 210 auto A = std::make_unique<Arg>(*this, Spelling, Index++); in acceptInternal() 217 auto A = std::make_unique<Arg>(*this, Spelling, Index); in acceptInternal() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/ |
| H A D | DIASession.cpp | 246 return std::make_unique<DIAEnumLineNumbers>(LineNumbers); in findLineNumbers() 260 return std::make_unique<DIAEnumLineNumbers>(LineNumbers); in findLineNumbersByAddress() 269 return std::make_unique<DIAEnumLineNumbers>(LineNumbers); in findLineNumbersByRVA() 279 return std::make_unique<DIAEnumLineNumbers>(LineNumbers); in findLineNumbersBySectOffset() 337 return std::make_unique<DIAEnumSourceFiles>(*this, Files); in getAllSourceFiles() 350 return std::make_unique<DIAEnumSourceFiles>(*this, Files); in getSourceFilesForCompiland() 359 return std::make_unique<DIASourceFile>(*this, LocatedFile); in getSourceFileById() 367 return std::make_unique<DIAEnumDebugStreams>(DiaEnumerator); in getDebugStreams() 375 return std::make_unique<DIAEnumTables>(DiaEnumerator); in getEnumTables() 402 return std::make_unique<DIAEnumInjectedSources>(Files); in getInjectedSources() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/API/ |
| H A D | SBStringList.cpp | 21 m_opaque_up = std::make_unique<StringList>(*lldb_strings_ptr); in SBStringList() 42 m_opaque_up = std::make_unique<lldb_private::StringList>(); in operator ->() 72 m_opaque_up = std::make_unique<lldb_private::StringList>(str); in AppendString() 83 m_opaque_up = std::make_unique<lldb_private::StringList>(strv, strc); in AppendList() 92 m_opaque_up = std::make_unique<lldb_private::StringList>(); in AppendList() 99 m_opaque_up = std::make_unique<lldb_private::StringList>(); in AppendList()
|
| H A D | SBStream.cpp | 108 m_opaque_up = std::make_unique<StreamFile>(std::move(file.get())); in RedirectToFile() 119 FileSP file = std::make_unique<NativeFile>(fh, transfer_fh_ownership); in RedirectToFileHandle() 143 m_opaque_up = std::make_unique<StreamFile>(file_sp); in RedirectToFile() 164 m_opaque_up = std::make_unique<StreamFile>(fd, transfer_fh_ownership); in RedirectToFileDescriptor() 179 m_opaque_up = std::make_unique<StreamString>(); in ref()
|
| H A D | SBSourceManager.cpp | 75 m_opaque_up = std::make_unique<SourceManagerImpl>(debugger.get_sp()); in SBSourceManager() 81 m_opaque_up = std::make_unique<SourceManagerImpl>(target.GetSP()); in SBSourceManager() 90 m_opaque_up = std::make_unique<SourceManagerImpl>(*rhs.m_opaque_up); in SBSourceManager() 97 m_opaque_up = std::make_unique<SourceManagerImpl>(*rhs.m_opaque_up); in operator =()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeRawSymbol.cpp | 32 return std::make_unique<NullEnumerator<PDBSymbol>>(); in findChildren() 38 return std::make_unique<NullEnumerator<PDBSymbol>>(); in findChildren() 44 return std::make_unique<NullEnumerator<PDBSymbol>>(); in findChildrenByAddr() 50 return std::make_unique<NullEnumerator<PDBSymbol>>(); in findChildrenByVA() 56 return std::make_unique<NullEnumerator<PDBSymbol>>(); in findChildrenByRVA() 62 return std::make_unique<NullEnumerator<PDBSymbol>>(); in findInlineFramesByAddr() 67 return std::make_unique<NullEnumerator<PDBSymbol>>(); in findInlineFramesByRVA() 72 return std::make_unique<NullEnumerator<PDBSymbol>>(); in findInlineFramesByVA() 77 return std::make_unique<NullEnumerator<IPDBLineNumber>>(); in findInlineeLines() 83 return std::make_unique<NullEnumerator<IPDBLineNumber>>(); in findInlineeLinesByAddr() [all …]
|
| H A D | NativeSession.cpp | 76 auto Stream = std::make_unique<MemoryBufferByteStream>( in createFromPdb() 79 auto Allocator = std::make_unique<BumpPtrAllocator>(); in createFromPdb() 80 auto File = std::make_unique<PDBFile>(Path, std::move(Stream), *Allocator); in createFromPdb() 87 std::make_unique<NativeSession>(std::move(File), std::move(Allocator)); in createFromPdb() 107 auto Stream = std::make_unique<MemoryBufferByteStream>( in loadPdbFile() 122 auto Allocator = std::make_unique<BumpPtrAllocator>(); in createFromPdbPath() 127 Session = std::make_unique<NativeSession>(std::move(PdbFile.get()), in createFromPdbPath() 162 auto Allocator = std::make_unique<BumpPtrAllocator>(); in createFromExe() 167 Session = std::make_unique<NativeSession>(std::move(File.get()), in createFromExe() 189 auto Allocator = std::make_unique<BumpPtrAllocator>(); in searchForPdb() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-mca/ |
| H A D | llvm-mca.cpp | 267 auto Out = std::make_unique<ToolOutputFile>(OutputFilename, EC, in getOutputStream() 468 IM = std::make_unique<mca::InstrumentManager>(*STI, *MCII); in main() 536 IPP = std::make_unique<mca::InstrPostProcess>(*STI, *MCII); in main() 613 auto P = std::make_unique<mca::Pipeline>(); in main() 614 P->appendStage(std::make_unique<mca::EntryStage>(S)); in main() 615 P->appendStage(std::make_unique<mca::InstructionTables>(SM)); in main() 625 Printer.addView(std::make_unique<mca::InstructionInfoView>( in main() 658 CB = std::make_unique<mca::CustomBehaviour>(*STI, S, *MCII); in main() 697 Printer.addView(std::make_unique<mca::BottleneckAnalysis>( in main() 702 Printer.addView(std::make_unique<mca::InstructionInfoView>( in main() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldCOFF.cpp | 55 return std::make_unique<RuntimeDyldCOFFI386>(MemMgr, Resolver); in create() 57 return std::make_unique<RuntimeDyldCOFFThumb>(MemMgr, Resolver); in create() 59 return std::make_unique<RuntimeDyldCOFFX86_64>(MemMgr, Resolver); in create() 61 return std::make_unique<RuntimeDyldCOFFAArch64>(MemMgr, Resolver); in create() 68 return std::make_unique<LoadedCOFFObjectInfo>(*this, *ObjSectionToIDOrErr); in loadObject()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/ |
| H A D | MPIBugReporter.cpp | 33 auto Report = std::make_unique<PathSensitiveBugReport>( in reportDoubleNonblocking() 42 Report->addVisitor(std::make_unique<RequestNodeVisitor>( in reportDoubleNonblocking() 56 auto Report = std::make_unique<PathSensitiveBugReport>(MissingWaitBugType, in reportMissingWait() 62 Report->addVisitor(std::make_unique<RequestNodeVisitor>( in reportMissingWait() 76 auto Report = std::make_unique<PathSensitiveBugReport>(UnmatchedWaitBugType, in reportUnmatchedWait()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | SetTheory.cpp | 257 addOperator("add", std::make_unique<AddOp>()); in SetTheory() 258 addOperator("sub", std::make_unique<SubOp>()); in SetTheory() 259 addOperator("and", std::make_unique<AndOp>()); in SetTheory() 260 addOperator("shl", std::make_unique<ShlOp>()); in SetTheory() 261 addOperator("trunc", std::make_unique<TruncOp>()); in SetTheory() 262 addOperator("rotl", std::make_unique<RotOp>(false)); in SetTheory() 263 addOperator("rotr", std::make_unique<RotOp>(true)); in SetTheory() 264 addOperator("decimate", std::make_unique<DecimateOp>()); in SetTheory() 265 addOperator("interleave", std::make_unique<InterleaveOp>()); in SetTheory() 266 addOperator("sequence", std::make_unique<SequenceOp>()); in SetTheory() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | IndirectionUtils.cpp | 74 CallbacksJD.define(std::make_unique<CompileCallbackMaterializationUnit>( in getCompileCallback() 179 return std::make_unique< in createLocalIndirectStubsManagerBuilder() 186 return std::make_unique< in createLocalIndirectStubsManagerBuilder() 192 return std::make_unique< in createLocalIndirectStubsManagerBuilder() 198 return std::make_unique< in createLocalIndirectStubsManagerBuilder() 204 return std::make_unique< in createLocalIndirectStubsManagerBuilder() 210 return std::make_unique< in createLocalIndirectStubsManagerBuilder() 217 return std::make_unique< in createLocalIndirectStubsManagerBuilder() 223 return std::make_unique< in createLocalIndirectStubsManagerBuilder() 230 return std::make_unique< in createLocalIndirectStubsManagerBuilder() [all …]
|
| H A D | LLJIT.cpp | 138 std::make_unique<GenericLLVMIRPlatform>(*this)); in GenericLLVMIRPlatformSupport() 168 auto Ctx = std::make_unique<LLVMContext>(); in setupJITDylib() 169 auto M = std::make_unique<Module>("__standard_lib", *Ctx); in setupJITDylib() 455 auto Ctx = std::make_unique<LLVMContext>(); in createPlatformRuntimeModule() 456 auto M = std::make_unique<Module>("__standard_lib", *Ctx); in createPlatformRuntimeModule() 764 std::make_unique<EHFrameRegistrationPlugin>( in prepareForConstruction() 939 ES = std::make_unique<ExecutionSession>(std::move(S.EPC)); in LLJIT() 944 ES = std::make_unique<ExecutionSession>(std::move(*EPC)); in LLJIT() 966 CompileLayer = std::make_unique<IRCompileLayer>( in LLJIT() 1055 J.setPlatformSupport(std::make_unique<ORCPlatformSupport>(J)); in setUpOrcPlatformManually() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ReplayInlineAdvisor.cpp | 85 auto Advisor = std::make_unique<ReplayInlineAdvisor>( in getReplayInlineAdvisor() 120 return std::make_unique<DefaultInlineAdvice>( in getAdviceImpl() 127 return std::make_unique<DefaultInlineAdvice>(this, CB, std::nullopt, ORE, in getAdviceImpl() 135 return std::make_unique<DefaultInlineAdvice>( in getAdviceImpl() 141 return std::make_unique<DefaultInlineAdvice>(this, CB, std::nullopt, ORE, in getAdviceImpl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | MinidumpYAML.cpp | 101 return std::make_unique<ExceptionStream>(); in create() 103 return std::make_unique<MemoryInfoListStream>(); in create() 105 return std::make_unique<MemoryListStream>(); in create() 107 return std::make_unique<ModuleListStream>(); in create() 109 return std::make_unique<RawContentStream>(Type); in create() 111 return std::make_unique<SystemInfoStream>(); in create() 113 return std::make_unique<TextContentStream>(Type); in create() 115 return std::make_unique<ThreadListStream>(); in create() 518 return std::make_unique<RawContentStream>(StreamDesc.Type, in create() 527 return std::make_unique<SystemInfoStream>(*ExpectedInfo, in create() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVSubtarget.cpp | 70 GR = std::make_unique<SPIRVGlobalRegistry>(PointerSize); in SPIRVSubtarget() 71 CallLoweringInfo = std::make_unique<SPIRVCallLowering>(TLInfo, GR.get()); in SPIRVSubtarget() 72 Legalizer = std::make_unique<SPIRVLegalizerInfo>(*this); in SPIRVSubtarget() 73 RegBankInfo = std::make_unique<SPIRVRegisterBankInfo>(); in SPIRVSubtarget()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | WorkList.cpp | 82 return std::make_unique<DFS>(); in makeDFS() 86 return std::make_unique<BFS>(); in makeBFS() 127 return std::make_unique<BFSBlockDFSContents>(); in makeBFSBlockDFSContents() 189 return std::make_unique<UnexploredFirstStack>(); in makeUnexploredFirst() 246 return std::make_unique<UnexploredFirstPriorityQueue>(); in makeUnexploredFirstPriorityQueue() 300 return std::make_unique<UnexploredFirstPriorityLocationQueue>(); in makeUnexploredFirstPriorityLocationQueue()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MLRegAllocPriorityAdvisor.cpp | 144 Runner = std::make_unique<ReleaseModeModelRunner<CompiledModelType>>( in getAdvisor() 147 Runner = std::make_unique<InteractiveModelRunner>( in getAdvisor() 152 return std::make_unique<MLPriorityAdvisor>( in getAdvisor() 230 Runner = std::make_unique<NoInferenceModelRunner>(Ctx, InputFeatures); in doInitialization() 241 auto OS = std::make_unique<raw_fd_ostream>(TrainingLog, EC); in doInitialization() 254 Log = std::make_unique<Logger>(std::move(OS), LFS, Reward, in doInitialization() 267 return std::make_unique<DevelopmentModePriorityAdvisor>( in getAdvisor()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | Combiner.cpp | 94 : Builder(CSEInfo ? std::make_unique<CSEMIRBuilder>() in Combiner() 95 : std::make_unique<MachineIRBuilder>()), in Combiner() 96 WLObserver(std::make_unique<WorkListMaintainer>(WorkList)), in Combiner() 97 ObserverWrapper(std::make_unique<GISelObserverWrapper>()), CInfo(CInfo), in Combiner()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | PCHContainerOperations.cpp | 57 return std::make_unique<RawPCHContainerGenerator>(std::move(OS), Buffer); in CreatePCHContainerGenerator() 71 registerWriter(std::make_unique<RawPCHContainerWriter>()); in PCHContainerOperations() 72 registerReader(std::make_unique<RawPCHContainerReader>()); in PCHContainerOperations()
|