|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp 445 Step = ParseExpression();
482 Init = ParseExpression();
578 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS));
1056 FunctionProtos[Proto->getName()] = std::move(Proto);
1106 TheModule = std::make_unique<Module>("my cool jit", *TheContext);
1110 Builder = std::make_unique<IRBuilder<>>(*TheContext);
1134 FunctionProtos[ProtoAST->getName()] = std::move(ProtoAST);
1231 TheJIT = ExitOnErr(KaleidoscopeJIT::Create());
examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp 445 Step = ParseExpression();
482 Init = ParseExpression();
578 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS));
1056 FunctionProtos[Proto->getName()] = std::move(Proto);
1106 TheModule = std::make_unique<Module>("my cool jit", *TheContext);
1110 Builder = std::make_unique<IRBuilder<>>(*TheContext);
1134 FunctionProtos[ProtoAST->getName()] = std::move(ProtoAST);
1231 TheJIT = ExitOnErr(KaleidoscopeJIT::Create());
examples/Kaleidoscope/BuildingAJIT/Chapter3/toy.cpp 445 Step = ParseExpression();
482 Init = ParseExpression();
578 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS));
1055 FunctionProtos[Proto->getName()] = std::move(Proto);
1105 TheModule = std::make_unique<Module>("my cool jit", TheContext);
1130 FunctionProtos[ProtoAST->getName()] = std::move(ProtoAST);
1225 TheJIT = std::make_unique<KaleidoscopeJIT>();
examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h 123 IndirectStubsMgr = IndirectStubsMgrBuilder();
examples/Kaleidoscope/BuildingAJIT/Chapter4/toy.cpp 430 Step = ParseExpression();
467 Init = ParseExpression();
563 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS));
1098 TheModule = std::make_unique<Module>("my cool jit", TheContext);
1116 FunctionProtos[FnAST->getProto().getName()] =
1131 FunctionProtos[ProtoAST->getName()] = std::move(ProtoAST);
1142 FunctionProtos[FnAST->getName()] =
1230 TheJIT = std::make_unique<KaleidoscopeJIT>();
examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp 447 Step = ParseExpression();
484 Init = ParseExpression();
580 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS));
1122 TheModule = std::make_unique<Module>("my cool jit", TheContext);
1140 FunctionProtos[FnAST->getProto().getName()] =
1155 FunctionProtos[ProtoAST->getName()] = std::move(ProtoAST);
1166 FunctionProtos[FnAST->getName()] =
1284 TheJIT = std::make_unique<KaleidoscopeJIT>(ES, *Remote);
1287 FunctionProtos["printExprResult"] =
examples/Kaleidoscope/Chapter2/toy.cpp 297 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS));
examples/Kaleidoscope/Chapter3/toy.cpp 323 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS));
601 TheModule = std::make_unique<Module>("my cool jit", TheContext);
examples/Kaleidoscope/Chapter4/toy.cpp 333 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS));
515 FunctionProtos[Proto->getName()] = std::move(Proto);
553 TheModule = std::make_unique<Module>("my cool jit", TheContext);
557 TheFPM = std::make_unique<legacy::FunctionPassManager>(TheModule.get());
592 FunctionProtos[ProtoAST->getName()] = std::move(ProtoAST);
692 TheJIT = std::make_unique<KaleidoscopeJIT>();
examples/Kaleidoscope/Chapter5/toy.cpp 394 Step = ParseExpression();
460 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS));
789 FunctionProtos[Proto->getName()] = std::move(Proto);
827 TheModule = std::make_unique<Module>("my cool jit", TheContext);
831 TheFPM = std::make_unique<legacy::FunctionPassManager>(TheModule.get());
866 FunctionProtos[ProtoAST->getName()] = std::move(ProtoAST);
966 TheJIT = std::make_unique<KaleidoscopeJIT>();
examples/Kaleidoscope/Chapter6/toy.cpp 428 Step = ParseExpression();
510 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS));
901 FunctionProtos[Proto->getName()] = std::move(Proto);
946 TheModule = std::make_unique<Module>("my cool jit", TheContext);
950 TheFPM = std::make_unique<legacy::FunctionPassManager>(TheModule.get());
985 FunctionProtos[ProtoAST->getName()] = std::move(ProtoAST);
1085 TheJIT = std::make_unique<KaleidoscopeJIT>();
examples/Kaleidoscope/Chapter7/toy.cpp 450 Step = ParseExpression();
487 Init = ParseExpression();
583 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS));
1061 FunctionProtos[Proto->getName()] = std::move(Proto);
1114 TheModule = std::make_unique<Module>("my cool jit", TheContext);
1118 TheFPM = std::make_unique<legacy::FunctionPassManager>(TheModule.get());
1155 FunctionProtos[ProtoAST->getName()] = std::move(ProtoAST);
1256 TheJIT = std::make_unique<KaleidoscopeJIT>();
examples/Kaleidoscope/Chapter8/toy.cpp 451 Step = ParseExpression();
488 Init = ParseExpression();
584 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS));
1060 FunctionProtos[Proto->getName()] = std::move(Proto);
1110 TheModule = std::make_unique<Module>("my cool jit", TheContext);
1132 FunctionProtos[ProtoAST->getName()] = std::move(ProtoAST);
examples/Kaleidoscope/Chapter9/toy.cpp 562 Step = ParseExpression();
599 Init = ParseExpression();
696 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS));
1227 FunctionProtos[Proto->getName()] = std::move(Proto);
1317 TheModule = std::make_unique<Module>("my cool jit", TheContext);
1336 FunctionProtos[ProtoAST->getName()] = std::move(ProtoAST);
1419 TheJIT = std::make_unique<KaleidoscopeJIT>();
1432 DBuilder = std::make_unique<DIBuilder>(*TheModule);
examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp 30 CachedObjects[M->getModuleIdentifier()] = MemoryBuffer::getMemBufferCopy(
include/llvm/ADT/Any.h 92 Storage = std::move(Other.Storage);
include/llvm/ADT/Optional.h 104 value = std::move(y);
include/llvm/ADT/SmallVector.h 493 *I = ::std::move(*EltPtr);
include/llvm/CodeGen/GlobalISel/CSEInfo.h 145 CSEOpt = std::move(Opt);
include/llvm/CodeGen/GlobalISel/GISelKnownBits.h 102 Info = std::make_unique<GISelKnownBits>(MF);
include/llvm/DebugInfo/CodeView/SymbolDeserializer.h 65 Mapping = std::make_unique<MappingInfo>(Record.content(), Container);
include/llvm/DebugInfo/CodeView/TypeDeserializer.h 69 Mapping = std::make_unique<MappingInfo>(Record.content());
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h 216 SourceModules.back().SourceMod = std::move(M);
include/llvm/ExecutionEngine/Orc/IndirectionUtils.h 208 this->TP = std::move(TP);
include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h 179 MangledSymbols = std::move(Symbols);
207 ModuleMap[K] =
include/llvm/ExecutionEngine/Orc/LazyReexports.h 92 this->TP = std::move(TP);
include/llvm/ExecutionEngine/Orc/RPCUtils.h 1041 PendingResponses[SeqNo] =
1196 PRHandler = std::move(I->second);
include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h 237 PFC->RTDyld = std::make_unique<RuntimeDyld>(*MemMgr, ResolverAdapter);
include/llvm/ExecutionEngine/Orc/ThreadSafeModule.h 96 M = std::move(Other.M);
include/llvm/IR/ModuleSummaryIndex.h 606 TIdInfo = std::make_unique<TypeIdInfo>(TypeIdInfo{
685 TIdInfo = std::make_unique<TypeIdInfo>();
785 VTableFuncs = std::make_unique<VTableFuncList>(std::move(Funcs));
include/llvm/MC/MCContext.h 668 SecureLog = std::move(Value);
include/llvm/Object/Binary.h 212 Bin = std::move(Other.Bin);
213 Buf = std::move(Other.Buf);
include/llvm/Option/Arg.h 101 void setAlias(std::unique_ptr<Arg> Alias) { this->Alias = std::move(Alias); }
include/llvm/ProfileData/InstrProf.h 696 InstrProfRecord &operator=(InstrProfRecord &&) = default;
704 ValueData = std::make_unique<ValueProfData>(*RHS.ValueData);
816 ValueData = std::make_unique<ValueProfData>();
include/llvm/Support/Error.h 1249 Err = std::move(E);
include/llvm/Support/GenericDomTree.h 573 return (DomTreeNodes[BB] = IDomNode->addChild(
587 DomTreeNodeBase<NodeT> *NewNode = (DomTreeNodes[BB] =
595 OldNode = NewNode->addChild(std::move(DomTreeNodes[OldRoot]));
include/llvm/Support/GenericDomTreeConstruction.h 188 return (DT.DomTreeNodes[BB] = IDomNode->addChild(
588 DT.RootNode = (DT.DomTreeNodes[Root] =
613 DT.DomTreeNodes[W] = IDomNode->addChild(
665 (DT.DomTreeNodes[From] = VirtualRoot->addChild(
include/llvm/Support/JSON.h 521 ObjectKey &operator=(ObjectKey &&) = default;
include/llvm/Support/SourceMgr.h 156 NB.Buffer = std::move(F);
include/llvm/Support/type_traits.h 130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
lib/Analysis/BlockFrequencyInfo.cpp 164 BFI = std::move(RHS.BFI);
lib/Analysis/CallGraph.cpp 140 FunctionMap[To] = std::move(I->second);
153 CGN = std::make_unique<CallGraphNode>(const_cast<Function *>(F));
lib/Analysis/LazyBranchProbabilityInfo.cpp 60 LBPI = std::make_unique<LazyBranchProbabilityInfo>(&F, &LI, &TLI);
lib/Analysis/LazyValueInfo.cpp 191 ValueCache[Val] = std::make_unique<ValueCacheEntryTy>(Val, this);
lib/Analysis/LegacyDivergenceAnalysis.cpp 338 gpuDA = std::make_unique<GPUDivergenceAnalysis>(F, DT, PDT, LI, TTI);
lib/Analysis/LoopAccessAnalysis.cpp 2102 Report = std::make_unique<OptimizationRemarkAnalysis>(DEBUG_TYPE, RemarkName, DL,
2404 LAI = std::make_unique<LoopAccessInfo>(L, SE, TLI, AA, DT, LI);
lib/Analysis/MemorySSA.cpp 1252 Res.first->second = std::make_unique<AccessList>();
1260 Res.first->second = std::make_unique<DefsList>();
1568 WalkerBase =
1571 Walker =
1581 WalkerBase =
1584 SkipWalker =
lib/Analysis/ModuleSummaryAnalysis.cpp 744 BFIPtr = std::make_unique<BlockFrequencyInfo>(F, BPI, LI);
lib/Analysis/OptimizationRemarkEmitter.cpp 42 OwnedBFI = std::make_unique<BlockFrequencyInfo>(*F, BPI, LI);
100 ORE = std::make_unique<OptimizationRemarkEmitter>(&Fn, BFI);
lib/Analysis/TargetTransformInfo.cpp 144 TTIImpl = std::move(RHS.TTIImpl);
lib/Bitcode/Reader/MetadataLoader.cpp 325 Ref = MDNode::getTemporary(Context, None);
2125 Pimpl = std::move(RHS.Pimpl);
lib/CodeGen/AsmPrinter/AsmPrinter.cpp 1035 OwnedMDT = std::make_unique<MachineDominatorTree>();
1043 OwnedMLI = std::make_unique<MachineLoopInfo>();
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp 75 DiagInfo = std::make_unique<SrcMgrDiagInfo>();
93 Buffer = MemoryBuffer::getMemBufferCopy(AsmStr, "<inline asm>");
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp 3015 Insertion.first->second = std::make_unique<GlobalVariableList>();
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp 211 DwarfExpr = std::make_unique<DIEDwarfExpression>(*Asm, *this, *Loc);
lib/CodeGen/AsmPrinter/DwarfDebug.cpp 204 TmpBuf = std::make_unique<TempBuffer>(OutBS.GenerateComments);
262 ValueLoc = std::make_unique<DbgValueLoc>(getDebugLocValue(DbgValue));
lib/CodeGen/AsmPrinter/DwarfDebug.h 156 ValueLoc = std::make_unique<DbgValueLoc>(Value);
lib/CodeGen/CodeGenPrepare.cpp 347 DT = std::make_unique<DominatorTree>(F);
lib/CodeGen/GlobalISel/Combiner.cpp 106 Builder =
lib/CodeGen/GlobalISel/IRTranslator.cpp 2234 EntryBuilder = std::make_unique<MachineIRBuilder>();
2235 CurBuilder = std::make_unique<MachineIRBuilder>();
2242 ORE = std::make_unique<OptimizationRemarkEmitter>(&F);
2247 SL = std::make_unique<GISelSwitchLowering>(this, FuncInfo);
lib/CodeGen/GlobalISel/Legalizer.cpp 191 MIRBuilder = std::make_unique<MachineIRBuilder>();
lib/CodeGen/GlobalISel/RegBankSelect.cpp 95 MORE = std::make_unique<MachineOptimizationRemarkEmitter>(MF, MBFI);
lib/CodeGen/InlineSpiller.cpp 1150 StackSlotToOrigLI[StackSlot] = std::move(LI);
lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp 76 OwnedMDT = std::make_unique<MachineDominatorTree>();
82 OwnedMLI = std::make_unique<MachineLoopInfo>();
87 OwnedMBFI = std::make_unique<MachineBlockFrequencyInfo>();
lib/CodeGen/MIRParser/MIRParser.cpp 228 M = parseAssembly(MemoryBufferRef(BSN->getValue(), Filename), Error,
239 M = std::make_unique<Module>(Filename, Context);
276 YamlMF.MachineFuncInfo = std::unique_ptr<yaml::MachineFunctionInfo>(
lib/CodeGen/MIRPrinter.cpp 225 YamlMF.MachineFuncInfo =
lib/CodeGen/MachineBlockPlacement.cpp 2985 MBFI = std::make_unique<BranchFolder::MBFIWrapper>(
lib/CodeGen/MachineFunction.cpp 203 PSVManager =
lib/CodeGen/MachineInstr.cpp 1730 CtxPtr = std::make_unique<LLVMContext>();
lib/CodeGen/MachineOptimizationRemarkEmitter.cpp 79 ORE = std::make_unique<MachineOptimizationRemarkEmitter>(MF, MBFI);
lib/CodeGen/MachinePostDominators.cpp 40 PDT = std::make_unique<PostDomTreeT>();
lib/CodeGen/ModuloSchedule.cpp 109 LoopInfo = TII->analyzeLoopForPipelining(BB);
lib/CodeGen/PseudoSourceValue.cpp 132 V = std::make_unique<FixedStackPseudoSourceValue>(FI, TII);
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp 440 ORE = std::make_unique<OptimizationRemarkEmitter>(&Fn);
lib/DebugInfo/DWARF/DWARFContext.cpp 667 CUIndex = std::make_unique<DWARFUnitIndex>(DW_SECT_INFO);
678 TUIndex = std::make_unique<DWARFUnitIndex>(DW_SECT_TYPES);
688 GdbIndex = std::make_unique<DWARFGdbIndex>();
1267 S->Context = DWARFContext::create(*S->File.getBinary());
lib/DebugInfo/PDB/Native/DbiStream.cpp 279 SectionHeaderStream = std::move(SHS);
304 OldFpoStream = std::move(FS);
321 NewFpoStream = std::move(FS);
lib/DebugInfo/PDB/Native/PDBFile.cpp 229 DirectoryStream = std::move(DS);
270 Globals = std::move(TempGlobals);
283 Info = std::move(TempInfo);
296 Dbi = std::move(TempDbi);
309 Tpi = std::move(TempTpi);
325 Ipi = std::move(TempIpi);
343 Publics = std::move(TempPublics);
362 Symbols = std::move(TempSymbols);
378 StringTableStream = std::move(*NS);
379 Strings = std::move(N);
397 InjectedSources = std::move(IJ);
lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp 45 Msf = std::make_unique<MSFBuilder>(std::move(*ExpectedMsf));
53 Info = std::make_unique<InfoStreamBuilder>(*Msf, NamedStreams);
59 Dbi = std::make_unique<DbiStreamBuilder>(*Msf);
65 Tpi = std::make_unique<TpiStreamBuilder>(*Msf, StreamTPI);
71 Ipi = std::make_unique<TpiStreamBuilder>(*Msf, StreamIPI);
81 Gsi = std::make_unique<GSIStreamBuilder>(*Msf);
114 Desc.Content = std::move(Buffer);
lib/DebugInfo/PDB/Native/TpiStream.cpp 115 Types = std::make_unique<LazyRandomTypeCollection>(
lib/DebugInfo/PDB/Native/TpiStreamBuilder.cpp 137 HashValueStream =
lib/DebugInfo/PDB/PDBSymbol.cpp 106 SymbolPtr->OwnedRawSymbol = std::move(RawSymbol);
lib/DebugInfo/PDB/UDTLayout.cpp 74 UdtLayout = std::make_unique<ClassLayout>(std::move(UDT));
144 OwnedStorage = std::move(UDT);
lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp 29 G = std::move(*GraphOrErr);
225 Alloc = std::move(*AllocOrErr);
lib/ExecutionEngine/MCJIT/MCJIT.cpp 201 ObjectToLoad = ObjCache->getObject(M);
207 ObjectToLoad = emitObject(M);
lib/ExecutionEngine/Orc/LLJIT.cpp 111 ObjLinkingLayer = createObjectLinkingLayer(S, *ES);
126 CompileLayer = std::make_unique<IRCompileLayer>(
132 CompileThreads = std::make_unique<ThreadPool>(S.NumCompileThreads);
201 LCTMgr = std::move(S.LCTMgr);
205 LCTMgr = std::move(*LCTMgrOrErr);
229 TransformLayer = std::make_unique<IRTransformLayer>(*ES, *CompileLayer);
232 CODLayer = std::make_unique<CompileOnDemandLayer>(
lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp 376 Alloc = std::move(AllocItr->second);
lib/IR/AsmWriter.cpp 839 MachineStorage =
2317 MachineStorage = std::make_unique<SlotTracker>(Context);
lib/IR/Function.cpp 254 SymTab = std::make_unique<ValueSymbolTable>();
lib/IR/LLVMContext.cpp 127 pImpl->DiagHandler = std::move(DH);
153 pImpl->RemarkDiagStreamer = std::move(RemarkStreamer);
lib/IR/Module.cpp 547 OwnedMemoryBuffer = std::move(MB);
lib/IR/Verifier.cpp 5155 V = std::make_unique<Verifier>(
lib/LTO/LTO.cpp 672 Mod.M = std::move(*MOrErr);
lib/LTO/LTOBackend.cpp 336 DwoOut = std::make_unique<ToolOutputFile>(DwoFile, EC, sys::fs::OF_None);
lib/LTO/LTOCodeGenerator.cpp 176 MergedModule = Mod->takeModule();
177 TheLinker = std::make_unique<Linker>(*MergedModule);
373 TargetMach = createTargetMachine();
535 DiagnosticOutputFile = std::move(*DiagFileOrErr);
543 StatsFile = std::move(StatsFileOrErr.get());
607 MergedModule = splitCodeGen(std::move(MergedModule), Out, {},
lib/LTO/LTOModule.cpp 164 (*Ret)->OwnedContext = std::move(Context);
lib/LTO/ThinLTOCodeGenerator.cpp 925 ProducedBinaries[count] = std::move(OutputBuffer);
1066 ProducedBinaries[count] = std::move(ErrOrBuffer.get());
1119 OutputBuffer = std::move(*ReloadedBufferOrErr);
1122 ProducedBinaries[count] = std::move(OutputBuffer);
lib/MC/MCDisassembler/MCDisassembler.cpp 45 Symbolizer = std::move(Symzer);
lib/MC/WasmObjectWriter.cpp 1270 ProducersSection = std::make_unique<WasmCustomSection>(Name, &Section);
1274 TargetFeaturesSection =
lib/MCA/HardwareUnits/ResourceManager.cpp 130 Resources[Index] =
132 Strategies[Index] = getStrategyFor(*Resources[Index]);
163 Strategies[Index] = std::move(S);
lib/MCA/HardwareUnits/Scheduler.cpp 24 Strategy = S ? std::move(S) : std::make_unique<DefaultSchedulerStrategy>();
lib/Object/ArchiveWriter.cpp 53 M.Buf = MemoryBuffer::getMemBuffer(*BufOrErr, false);
103 M.Buf = std::move(*MemberBufferOrErr);
365 Obj = std::move(*ObjOrErr);
373 Obj = std::move(*ObjOrErr);
lib/Object/MachOObjectFile.cpp 3436 O->BindRebaseSectionTable = std::make_unique<BindRebaseSegInfo>(O);
4107 O->BindRebaseSectionTable = std::make_unique<BindRebaseSegInfo>(O);
lib/Object/TapiUniversal.cpp 31 ParsedFile = std::move(Result.get());
lib/Object/WindowsResource.cpp 647 OutputBuffer = WritableMemoryBuffer::getNewMemBuffer(
lib/ObjectYAML/DWARFEmitter.cpp 306 OutputBuffers[Sec] = MemoryBuffer::getMemBufferCopy(Data);
lib/ObjectYAML/MinidumpYAML.cpp 407 S = MinidumpYAML::Stream::create(Type);
lib/ProfileData/GCOV.cpp 627 Buffer = std::move(BufferOrErr.get());
lib/ProfileData/InstrProfReader.cpp 105 RemappingBuffer = std::move(RemappingBufferOrError.get());
392 Symtab = std::move(NewSymtab);
776 Summary = std::make_unique<ProfileSummary>(
792 Summary = Builder.getSummary();
863 Symtab = std::move(NewSymtab);
lib/ProfileData/InstrProfWriter.cpp 358 TheCSSummary = IndexedInstrProf::allocSummary(SummarySize);
lib/ProfileData/SampleProfReader.cpp 566 ProfSymList = std::make_unique<ProfileSymbolList>();
941 Summary = std::make_unique<ProfileSummary>(
1357 Reader->Remapper = std::move(ReaderOrErr.get());
1376 Summary = Builder.getSummary();
lib/ProfileData/SampleProfWriter.cpp 620 Summary = Builder.getSummary();
lib/Remarks/BitstreamRemarkParser.cpp 429 TmpRemarkBuffer = std::move(*BufferOrErr);
lib/Remarks/YAMLRemarkParser.cpp 156 SeparateBuf = std::move(*BufferOrErr);
166 Result->SeparateBuf = std::move(SeparateBuf);
lib/Support/FileCheck.cpp 302 ExpressionAST = std::move(*ParseResult);
501 ExpressionAST = std::move(*ParseResult);
lib/Support/FileCheckImpl.h 159 LeftOperand = std::move(LeftOp);
160 RightOperand = std::move(RightOp);
230 ExpressionAST = std::move(ExprAST);
lib/Support/YAMLTraits.cpp 100 TopNode = createHNodes(N);
415 mapHNode->Mapping[KeyStr] = std::move(ValueHNode);
lib/TableGen/SetTheory.cpp 271 Operators[Name] = std::move(Op);
275 Expanders[ClassName] = std::move(E);
lib/TableGen/TGParser.cpp 1333 ParseRecTmp = std::make_unique<Record>(".parse", ArrayRef<SMLoc>{}, Records);
1600 ParseRecTmp = std::make_unique<Record>(".parse", ArrayRef<SMLoc>{}, Records);
2705 CurRec = std::make_unique<Record>(Records.getNewAnonymousName(), DefLoc, Records,
2708 CurRec = std::make_unique<Record>(Name, DefLoc, Records);
lib/Target/AArch64/AArch64StackTagging.cpp 594 DeleteDT = std::make_unique<DominatorTree>(*F);
604 DeletePDT = std::make_unique<PostDominatorTree>(*F);
lib/Target/AArch64/AArch64TargetMachine.cpp 323 I = std::make_unique<AArch64Subtarget>(TargetTriple, CPU, FS, *this,
lib/Target/AMDGPU/AMDGPULibFunc.cpp 680 F.Impl = std::unique_ptr<AMDGPULibFuncImpl>();
691 F.Impl = std::unique_ptr<AMDGPULibFuncImpl>();
1024 Impl = std::unique_ptr<AMDGPULibFuncImpl>();
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp 487 I = std::make_unique<R600Subtarget>(TargetTriple, GPU, FS, *this);
523 I = std::make_unique<GCNSubtarget>(TargetTriple, GPU, FS, *this);
lib/Target/AMDGPU/GCNIterativeScheduler.cpp 198 Sch.SchedImpl = std::move(SaveSchedImpl);
lib/Target/AMDGPU/SIInsertWaitcnts.cpp 1500 Brackets = std::make_unique<WaitcntBrackets>(*BI.Incoming);
1505 Brackets = std::make_unique<WaitcntBrackets>(ST);
1525 SuccBI.Incoming = std::make_unique<WaitcntBrackets>(*Brackets);
1534 MoveBracketsToSucc->Incoming = std::move(Brackets);
lib/Target/AMDGPU/SIMemoryLegalizer.cpp 1288 CC = SICacheControl::create(MF.getSubtarget<GCNSubtarget>());
lib/Target/AMDGPU/SIModeRegister.cpp 319 BlockInfo[MBB.getNumber()] = std::move(NewInfo);
lib/Target/AMDGPU/SIPeepholeSDWA.cpp 856 SDWAOperands[&MI] = std::move(Operand);
lib/Target/ARM/ARMConstantIslandPass.cpp 349 BBUtils = std::unique_ptr<ARMBasicBlockUtils>(new ARMBasicBlockUtils(mf));
lib/Target/ARM/ARMLowOverheadLoops.cpp 101 BBUtils = std::unique_ptr<ARMBasicBlockUtils>(new ARMBasicBlockUtils(*MF));
lib/Target/ARM/ARMTargetMachine.cpp 287 I = std::make_unique<ARMSubtarget>(TargetTriple, CPU, FS, *this, isLittle,
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp 474 LastMappingSymbols[getCurrentSection().first] = std::move(LastEMSInfo);
478 LastEMSInfo = std::move(LastMappingSymbol->second);
lib/Target/BPF/BTFDebug.cpp 682 Buf = MemoryBuffer::getMemBufferCopy(*Source);
685 Buf = std::move(*BufOrErr);
1111 DataSecEntries[SecName] = std::make_unique<BTFKindDataSec>(Asm, SecName);
lib/Target/Hexagon/HexagonTargetMachine.cpp 247 I = std::make_unique<HexagonSubtarget>(TargetTriple, CPU, FS, *this);
lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp 892 Op = parseImmediate();
914 Op = parseRegister();
917 if ((Op = parseImmediate()) && Lexer.is(AsmToken::RBrac)) {
957 Offset = LanaiOperand::createImm(OffsetConstExpr, Start, End);
969 Offset = parseRegister();
1018 Op = parseImmediate();
lib/Target/Mips/MipsTargetMachine.cpp 202 I = std::make_unique<MipsSubtarget>(
lib/Target/PowerPC/PPCTargetMachine.cpp 341 I = std::make_unique<PPCSubtarget>(
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp 1320 OptionalImmOp =
lib/Target/Sparc/AsmParser/SparcAsmParser.cpp 890 Op = SparcOperand::CreateReg(RegNo, RegKind, S, E);
893 Op = SparcOperand::CreateToken("%psr", S);
896 Op = SparcOperand::CreateToken("%fsr", S);
899 Op = SparcOperand::CreateToken("%fq", S);
902 Op = SparcOperand::CreateToken("%csr", S);
905 Op = SparcOperand::CreateToken("%cq", S);
908 Op = SparcOperand::CreateToken("%wim", S);
911 Op = SparcOperand::CreateToken("%tbr", S);
915 Op = SparcOperand::CreateToken("%xcc", S);
917 Op = SparcOperand::CreateToken("%icc", S);
924 Op = SparcOperand::CreateImm(EVal, S, E);
933 Op = SparcOperand::CreateImm(EVal, S, E);
955 Op = SparcOperand::CreateImm(Res, S, E);
lib/Target/Sparc/SparcTargetMachine.cpp 136 I = std::make_unique<SparcSubtarget>(TargetTriple, CPU, FS, *this,
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp 143 I = std::make_unique<WebAssemblySubtarget>(TargetTriple, CPU, FS, *this);
lib/Target/X86/AsmParser/X86AsmParser.cpp 2060 Z = X86Operand::CreateToken("{z}", StartLoc);
lib/Target/X86/MCTargetDesc/X86WinCOFFTargetStreamer.cpp 173 CurFPOData = std::make_unique<FPOData>();
lib/Target/X86/X86CondBrFolding.cpp 394 MBBInfos[MBB.getNumber()] = analyzeMBB(MBB);
lib/Target/X86/X86InsertPrefetch.cpp 169 Reader = std::move(ReaderOrErr.get());
lib/Target/X86/X86TargetMachine.cpp 311 I = std::make_unique<X86Subtarget>(
lib/ToolDrivers/llvm-lib/LibDriver.cpp 123 B = std::move(MaybeBuf.get());
lib/Transforms/Coroutines/CoroCleanup.cpp 118 L = std::make_unique<Lowerer>(M);
lib/Transforms/Coroutines/CoroEarly.cpp 250 L = std::make_unique<Lowerer>(M);
lib/Transforms/Coroutines/CoroElide.cpp 289 L = std::make_unique<Lowerer>(M);
lib/Transforms/IPO/FunctionImport.cpp 453 FailureInfo = std::make_unique<FunctionImporter::ImportFailureInfo>(
lib/Transforms/IPO/HotColdSplitting.cpp 576 DT = std::make_unique<DominatorTree>(F);
578 PDT = std::make_unique<PostDominatorTree>(F);
lib/Transforms/IPO/Inliner.cpp 886 ImportedFunctionsStats =
lib/Transforms/IPO/PartialInlining.cpp 969 ClonedOI = std::make_unique<FunctionOutliningInfo>();
994 ClonedOMRI = std::make_unique<FunctionOutliningMultiRegionInfo>();
lib/Transforms/IPO/SampleProfile.cpp 1687 Reader = std::move(ReaderOrErr.get());
1690 PSL = Reader->getProfileSymbolList();
1821 OwnedORE = std::make_unique<OptimizationRemarkEmitter>(&F);
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp 469 NewIndex = std::make_unique<ModuleSummaryIndex>(
lib/Transforms/IPO/WholeProgramDevirt.cpp 643 ORE = std::make_unique<OptimizationRemarkEmitter>(F);
lib/Transforms/Instrumentation/CFGMST.h 260 Iter->second = std::move(std::make_unique<BBInfo>(Index));
266 Iter->second = std::move(std::make_unique<BBInfo>(Index));
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp 182 void set(std::unique_ptr<SpecialCaseList> List) { SCL = std::move(List); }
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 308 HWASan = std::make_unique<HWAddressSanitizer>(M, CompileKernel, Recover);
lib/Transforms/Instrumentation/IndirectCallPromotion.cpp 406 OwnedORE = std::make_unique<OptimizationRemarkEmitter>(&F);
lib/Transforms/Scalar/JumpThreading.cpp 373 BPI = std::move(BPI_);
374 BFI = std::move(BFI_);
lib/Transforms/Scalar/LICM.cpp 347 CurAST = collectAliasInfoForLoop(L, LI, AA);
350 MSSAU = std::make_unique<MemorySSAUpdater>(MSSA);
432 CurAST = collectAliasInfoForLoopWithMSSA(L, AA, MSSAU.get());
479 LoopToAliasSetMap[L] = std::move(CurAST);
2178 CurAST = std::move(InnerAST);
2183 CurAST = std::make_unique<AliasSetTracker>(*AA);
lib/Transforms/Scalar/LoopUnswitch.cpp 529 MSSAU = std::make_unique<MemorySSAUpdater>(MSSA);
lib/Transforms/Utils/ImportedFunctionsInliningStatistics.cpp 28 ValueLookup = std::make_unique<InlineGraphNode>();
lib/Transforms/Utils/LoopSimplify.cpp 811 MSSAU = std::make_unique<MemorySSAUpdater>(MSSA);
842 MSSAU = std::make_unique<MemorySSAUpdater>(MSSA);
lib/Transforms/Utils/ValueMapper.cpp 592 OpD.Placeholder = Op.clone();
lib/Transforms/Vectorize/LoopVectorize.cpp 2790 LVer = std::make_unique<LoopVersioning>(*Legal->getLAI(), OrigLoop, LI, DT,
lib/Transforms/Vectorize/SLPVectorizer.cpp 2296 BSRef = std::make_unique<BlockScheduling>(BB);
lib/XRay/FDRRecordProducer.cpp 101 R = std::move(MetadataRecordOrErr.get());
130 R = std::move(BufferExtentsOrError.get());
168 R = std::move(MetadataRecordOrErr.get());
tools/bugpoint/BugDriver.cpp 61 Program = std::move(M);
123 Program = std::move(M);
137 Program = parseInputFile(Filenames[0], Context);
tools/bugpoint/CrashDebugger.cpp 94 OrigProgram = std::move(BD.Program);
96 BD.Program = parseInputFile(PrefixOutput, BD.getContext());
113 BD.Program = std::move(OrigProgram);
510 M = std::move(New);
617 M = std::move(New);
709 M = std::move(New);
1255 M = BD.performFinalCleanups(std::move(M), true);
tools/bugpoint/Miscompilation.cpp 382 ToOptimizeLoopExtracted = std::move(TOLEBackup);
383 ToNotOptimize = std::move(TNOBackup);
782 Test = BD.performFinalCleanups(std::move(Test));
945 Test = CleanupAndPrepareModules(BD, std::move(Test), Safe.get());
1036 ToCodeGen =
tools/clang/include/clang/AST/ASTImporterSharedState.h 50 LookupTable = std::make_unique<ASTImporterLookupTable>(ToTU);
tools/clang/include/clang/Frontend/ASTUnit.h 318 CCTUInfo = std::make_unique<CodeCompletionTUInfo>(
tools/clang/include/clang/Frontend/CompilerInstance.h 781 OutputStream = std::move(OutStream);
tools/clang/include/clang/Lex/Preprocessor.h 1000 Callbacks = std::move(C);
1997 CurLexer = std::move(IncludeMacroStack.back().TheLexer);
1999 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer);
tools/clang/include/clang/Sema/SemaInternal.h 324 Consumer = std::move(other.Consumer);
tools/clang/include/clang/Serialization/ASTReader.h 1581 this->Listener = std::move(Listener);
1591 Listener = std::move(L);
tools/clang/include/clang/Serialization/PCHContainerOperations.h 98 Writers[Writer->getFormat()] = std::move(Writer);
101 Readers[Reader->getFormat()] = std::move(Reader);
tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h 513 StackHints[Piece] = std::move(StackHint);
tools/clang/include/clang/Tooling/Refactoring/RefactoringRuleContext.h 66 ASTNodeSelection = std::move(Node);
tools/clang/lib/AST/ASTContext.cpp10265 MCtx = createMangleNumberingContext();
10275 MCtx = createMangleNumberingContext();
10515 Parents = std::make_unique<ParentMap>(*this);
tools/clang/lib/AST/VTableBuilder.cpp 3568 VFPtrLocations[RD] = std::move(VFPtrs);
3671 Entry = std::make_unique<VirtualBaseInfo>();
tools/clang/lib/Analysis/AnalysisDeclContext.cpp 218 cfg = CFG::buildCFG(D, getBody(), &D->getASTContext(), cfgBuildOptions);
236 completeCFG =
305 AC = std::make_unique<AnalysisDeclContext>(this, D, cfgBuildOptions);
tools/clang/lib/Analysis/CallGraph.cpp 207 Node = std::make_unique<CallGraphNode>(F);
tools/clang/lib/Analysis/Consumed.cpp 1027 Entry = std::move(OwnedStateMap);
1029 Entry = std::make_unique<ConsumedStateMap>(*StateMap);
1041 Entry = std::move(StateMap);
1320 CurrStates = std::make_unique<ConsumedStateMap>();
1330 CurrStates = BlockInfo.getInfo(CurrBlock);
tools/clang/lib/Basic/FileManager.cpp 65 StatCache = std::move(statCache);
318 UFE.File = std::move(F);
tools/clang/lib/Basic/FileSystemStatCache.cpp 73 *F = std::move(*OwnedFile);
tools/clang/lib/Basic/SourceManager.cpp 504 FakeBufferForRecovery =
515 FakeContentCacheForRecovery = std::make_unique<SrcMgr::ContentCache>();
1853 MacroArgsCache = std::make_unique<MacroArgsMap>();
2181 FileMgr =
2185 Diagnostics = std::make_unique<DiagnosticsEngine>(
2188 SourceMgr = std::make_unique<SourceManager>(*Diagnostics, *FileMgr);
tools/clang/lib/CodeGen/BackendUtil.cpp 846 ThinLinkOS = openOutputFile(CodeGenOpts.ThinLinkBitcodeFile);
881 DwoOS = openOutputFile(CodeGenOpts.SplitDwarfOutput);
1269 ThinLinkOS = openOutputFile(CodeGenOpts.ThinLinkBitcodeFile);
1307 DwoOS = openOutputFile(CodeGenOpts.SplitDwarfOutput);
1534 EmptyModule = std::make_unique<llvm::Module>("empty", M->getContext());
tools/clang/lib/CodeGen/CGCUDANV.cpp 525 CudaGpuBinary = std::move(CudaGpuBinaryOrErr.get());
tools/clang/lib/CodeGen/CGCoroutine.cpp 106 CurCoro.Data = std::unique_ptr<CGCoroData>(new CGCoroData);
tools/clang/lib/CodeGen/CGLoopInfo.cpp 479 TempLoopID = MDNode::getTemporary(Header->getContext(), None);
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 2078 I->getSecond().MappedParams =
4692 I->getSecond().MappedParams =
tools/clang/lib/CodeGen/CodeGenAction.cpp 858 TheModule = BEConsumer->takeModule();
895 OS = GetOutputStream(CI, InFile, BA);
1061 TheModule = loadModule(*MainFile);
tools/clang/lib/CodeGen/CodeGenModule.cpp 167 PGOReader = std::move(ReaderOrErr.get());
5917 SanStats = std::make_unique<llvm::SanitizerStatReport>(&getModule());
tools/clang/lib/CodeGen/CodeGenPGO.cpp 982 ProfRecord =
tools/clang/lib/CrossTU/CrossTranslationUnit.cpp 390 FileASTUnitMap[FileName] = std::move(LoadedUnit);
tools/clang/lib/Driver/Driver.cpp 766 CfgOptions = std::make_unique<InputArgList>(
960 CLOptions = std::make_unique<InputArgList>(
tools/clang/lib/Driver/ToolChains/Clang.cpp 1931 CompilationDatabase = std::move(File);
2004 CompilationDatabase =
tools/clang/lib/Format/Format.cpp 2431 Env = std::make_unique<Environment>(
tools/clang/lib/Format/UnwrappedLineParser.cpp 147 PreBlockLine = std::move(Parser.Line);
148 Parser.Line = std::make_unique<UnwrappedLine>();
158 Parser.Line = std::move(PreBlockLine);
tools/clang/lib/Frontend/ASTUnit.cpp 180 BufferOwner = valueOrNull(VFS->getBufferForFile(RF.second, -1, true, isVolatile));
205 BufferOwner = valueOrNull(VFS->getBufferForFile(FilePath, -1, true, isVolatile));
660 OwningPreviousClient = Diags.takeClient();
1191 SavedMainFileBuffer = std::move(OverrideMainBuffer);
1450 TheSema = CI.takeSema();
1451 Consumer = CI.takeASTConsumer();
1527 OwnAST = create(CI, Diags, CaptureDiagnostics, UserFilesAreVolatile);
1676 OverrideMainBuffer =
1856 OverrideMainBuffer =
2256 OverrideMainBuffer = getMainBufferWithPrecompiledPreamble(
tools/clang/lib/Frontend/CompilerInstance.cpp 124 Consumer = std::move(Value);
807 NonSeekStream = std::move(OS);
1493 ReadTimer = std::make_unique<llvm::Timer>("reading_modules",
tools/clang/lib/Frontend/FrontendAction.cpp 139 CurrentASTUnit = std::move(AST);
tools/clang/lib/Frontend/FrontendActions.cpp 271 Buffer = llvm::MemoryBuffer::getMemBufferCopy(
tools/clang/lib/Frontend/MultiplexConsumer.cpp 251 MutationListener =
255 DeserializationListener =
tools/clang/lib/Frontend/Rewrite/FixItRewriter.cpp 42 Owner = Diags.takeClient();
tools/clang/lib/Frontend/SerializedDiagnosticPrinter.cpp 746 State->MetaDiagnostics = std::make_unique<DiagnosticsEngine>(
tools/clang/lib/Lex/PPLexerChange.cpp 131 TokLexer = std::make_unique<TokenLexer>(Tok, ILEnd, Macro, Args, *this);
133 TokLexer = std::move(TokenLexerCache[--NumCachedTokenLexers]);
139 CurTokenLexer = std::move(TokLexer);
183 TokLexer = std::make_unique<TokenLexer>(
186 TokLexer = std::move(TokenLexerCache[--NumCachedTokenLexers]);
194 CurTokenLexer = std::move(TokLexer);
558 TokenLexerCache[NumCachedTokenLexers++] = std::move(CurTokenLexer);
575 TokenLexerCache[NumCachedTokenLexers++] = std::move(CurTokenLexer);
tools/clang/lib/Lex/Preprocessor.cpp 216 PragmaHandlersBackup = std::move(PragmaHandlers);
217 PragmaHandlers = std::make_unique<PragmaNamespace>(StringRef());
227 PragmaHandlers = std::move(PragmaHandlersBackup);
tools/clang/lib/Sema/SemaLookup.cpp 5482 State.Consumer = std::move(TCC);
tools/clang/lib/Serialization/InMemoryModuleCache.cpp 38 PCM.Buffer = std::move(Buffer);
tools/clang/lib/Serialization/ModuleManager.cpp 278 InMemoryBuffers[Entry] = std::move(Buffer);
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp 3219 StackHint = std::make_unique<StackHintGeneratorForSymbol>(
3230 StackHint = std::make_unique<StackHintGeneratorForSymbol>(
3242 StackHint = std::make_unique<StackHintGeneratorForSymbol>(
3258 StackHint = std::make_unique<StackHintGeneratorForSymbol>(
3299 StackHint = std::make_unique<StackHintGeneratorForSymbol>(Sym, "");
3323 StackHint = std::make_unique<StackHintGeneratorForSymbol>(
tools/clang/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp 308 PaddingBug =
tools/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp 158 BT_returnstack = std::make_unique<BuiltinBug>(
197 BT_capturedstackasync = std::make_unique<BuiltinBug>(
220 BT_capturedstackret = std::make_unique<BuiltinBug>(
335 BT_stackleak = std::make_unique<BuiltinBug>(
tools/clang/lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp 209 Chk->BT_Pure = std::make_unique<BugType>(Mgr.getCurrentCheckerName(),
218 Chk->BT_Impure = std::make_unique<BugType>(
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp 2498 TrimmedGraph = OriginalGraph->trim(Nodes, &ForwardMap);
2592 CurrentBugPath.BugPath = std::move(GNew);
2814 (*Out)[PC] = std::move(PD);
3125 (*Out)[Consumer] = generateDiagnosticForBasicReport(basicReport);
tools/clang/lib/StaticAnalyzer/Core/ProgramState.cpp 83 StoreMgr = (*CreateSMgr)(*this);
84 ConstraintMgr = (*CreateCMgr)(*this, SubEng);
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp 236 AnalyzerTimers = std::make_unique<llvm::TimerGroup>(
238 SyntaxCheckTimer = std::make_unique<llvm::Timer>(
240 ExprEngineTimer = std::make_unique<llvm::Timer>(
242 BugReporterTimer = std::make_unique<llvm::Timer>(
335 checkerMgr = createCheckerManager(
338 Mgr = std::make_unique<AnalysisManager>(*Ctx, PathConsumers, CreateStoreMgr,
tools/clang/lib/Tooling/CommonOptionsParser.cpp 131 Compilations =
134 Compilations = CompilationDatabase::autoDetectFromSource(SourcePaths[0],
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningTool.cpp 30 this->Opts = std::make_unique<DependencyOutputOptions>(Opts);
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp 160 PPSkipMappings =
tools/clang/tools/clang-check/ClangCheck.cpp 181 FrontendFactory = newFrontendActionFactory<clang::ento::AnalysisAction>();
183 FrontendFactory = newFrontendActionFactory<ClangCheckFixItAction>();
185 FrontendFactory = newFrontendActionFactory(&CheckFactory);
tools/clang/tools/clang-diff/ClangDiff.cpp 92 Compilations = CompilationDatabase::autoDetectFromSource(
tools/clang/tools/clang-format/ClangFormat.cpp 491 Code = std::move(CodeOrErr.get());
tools/clang/tools/clang-refactor/ClangRefactor.cpp 172 StringOptions[&Option] = std::move(CLOption);
263 Selection = std::make_unique<cl::opt<std::string>>(
290 ParsedSelection = SourceSelectionArgument::fromString(*Selection);
401 TestConsumer = SelectedSubcommand->getSelection()->createCustomConsumer();
tools/clang/tools/driver/cc1as_main.cpp 376 DwoOS = getOutputStream(Opts.SplitDwarfOutput, Diags, IsBinary);
465 BOS = std::make_unique<buffer_ostream>(*FDOS);
tools/clang/tools/extra/clang-include-fixer/tool/ClangIncludeFixer.cpp 284 Code = std::move(CodeOrErr.get());
tools/clang/tools/extra/clang-move/HelperDeclRefGraph.cpp 62 Node = std::make_unique<CallGraphNode>(F);
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp 395 Profiling = std::make_unique<ClangTidyProfiling>(
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp 176 CheckFilter = std::make_unique<CachedGlobList>(*getOptions().Checks);
177 WarningAsErrorFilter =
566 HeaderFilter =
tools/clang/tools/extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp 75 HeaderInfo = std::make_unique<HeaderSearch>(HSO, Sources, Diags, LangOpts,
81 PP = std::make_unique<clang::Preprocessor>(PO, Diags, LangOpts, Sources,
tools/clang/tools/extra/clang-tidy/abseil/StringFindStartswithCheck.cpp 118 IncludeInserter = std::make_unique<utils::IncludeInserter>(SM, getLangOpts(),
tools/clang/tools/extra/clang-tidy/bugprone/UseAfterMoveCheck.cpp 104 Sequence =
106 BlockMap = std::make_unique<StmtToBlockMap>(TheCFG.get(), Context);
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/InitVariablesCheck.cpp 42 IncludeInserter =
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp 38 Inserter = std::make_unique<utils::IncludeInserter>(SM, getLangOpts(),
tools/clang/tools/extra/clang-tidy/google/IntegerTypesCheck.cpp 71 IdentTable = std::make_unique<IdentifierTable>(getLangOpts());
tools/clang/tools/extra/clang-tidy/misc/UnusedParametersCheck.cpp 138 Indexer = std::make_unique<IndexerVisitor>(*Result.Context);
tools/clang/tools/extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp 72 Inserter = std::make_unique<utils::IncludeInserter>(SM, getLangOpts(),
tools/clang/tools/extra/clang-tidy/modernize/PassByValueCheck.cpp 174 Inserter = std::make_unique<utils::IncludeInserter>(SM, getLangOpts(),
tools/clang/tools/extra/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp 143 Inserter = std::make_unique<utils::IncludeInserter>(SM, getLangOpts(),
tools/clang/tools/extra/clang-tidy/modernize/ReplaceRandomShuffleCheck.cpp 47 IncludeInserter = std::make_unique<utils::IncludeInserter>(SM, getLangOpts(),
tools/clang/tools/extra/clang-tidy/performance/MoveConstructorInitCheck.cpp 96 Inserter = std::make_unique<utils::IncludeInserter>(SM, getLangOpts(),
tools/clang/tools/extra/clang-tidy/performance/TypePromotionInMathFnCheck.cpp 39 IncludeInserter = std::make_unique<utils::IncludeInserter>(SM, getLangOpts(),
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp 172 Inserter = std::make_unique<utils::IncludeInserter>(SM, getLangOpts(),
tools/clang/tools/extra/clang-tidy/plugin/ClangTidyPlugin.cpp 72 Context = std::make_unique<ClangTidyContext>(std::move(Options));
tools/clang/tools/extra/clang-tidy/utils/TransformerClangTidyCheck.cpp 56 Inserter = std::make_unique<IncludeInserter>(
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp 143 *Next = std::make_unique<SelectionRange>();
484 BaseCDB = getQueryDriverDatabase(
tools/clang/tools/extra/clangd/ClangdServer.cpp 145 BackgroundIdx = std::make_unique<BackgroundIndex>(
tools/clang/tools/extra/clangd/GlobalCompilationDatabase.cpp 151 Entry.CDB = tooling::CompilationDatabase::loadFromDirectory(Dir, Error);
tools/clang/tools/extra/clangd/ParsedAST.cpp 411 ParsedAST &ParsedAST::operator=(ParsedAST &&Other) = default;
tools/clang/tools/extra/clangd/Preamble.cpp 61 IWYUHandler = collectIWYUHeaderMaps(&CanonIncludes);
tools/clang/tools/extra/clangd/TUScheduler.cpp 894 FD = std::unique_ptr<FileData>(
tools/clang/tools/extra/clangd/index/BackgroundIndexLoader.cpp 70 LS.Shard = std::move(Shard);
tools/clang/tools/extra/clangd/index/BackgroundIndexStorage.cpp 122 IndexStorage = create(CDBDirectory);
tools/clang/tools/extra/clangd/index/BackgroundRebuild.cpp 121 NewIndex = Source->buildIndex(IndexType::Heavy, DuplicateHandling::Merge);
tools/clang/tools/extra/clangd/index/SymbolCollector.cpp 197 CompletionTUInfo =
tools/clang/tools/extra/clangd/index/dex/Dex.cpp 207 Root = Corpus.limit(move(Root), *Req.Limit * 100);
tools/clang/tools/extra/clangd/index/dex/dexp/Dexp.cpp 284 Index = openIndex(IndexPath);
tools/clang/tools/extra/clangd/refactor/tweaks/ExtractVariable.cpp 456 Target = std::make_unique<ExtractionContext>(N, SM, Ctx);
tools/clang/tools/extra/clangd/tool/ClangdMain.cpp 514 Tracer = trace::createJSONTracer(*TraceStream, PrettyPrint);
631 TransportLayer = newJSONTransport(
tools/clang/tools/extra/clangd/unittests/BackgroundIndexTests.cpp 361 ShardHeader = MSS.loadShard(testPath("root/A.h"));
432 ShardHeader = MSS.loadShard(testPath("root/B.h"));
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp 106 OverrideIndex = memIndex(std::move(IndexSymbols));
124 OverrideIndex = memIndex(std::move(IndexSymbols));
159 OverrideIndex = memIndex(std::move(IndexSymbols));
1010 Index = memIndex(IndexSymbols);
tools/clang/tools/extra/clangd/unittests/DexTests.cpp 81 And = C.intersect(L0.iterator(), L1.iterator());
151 Or = C.unionOf(L0.iterator(), L1.iterator());
273 DocIterator = C.limit(L0.iterator(), 3);
276 DocIterator = C.limit(L0.iterator(), 0);
tools/clang/tools/extra/clangd/unittests/JSONTransportTests.cpp 36 In = {fmemopen(&InBuf[0], InBuf.size(), "r"), &fclose};
tools/clang/tools/extra/clangd/unittests/SymbolCollectorTests.cpp 1004 PragmaHandler = collectIWYUHeaderMaps(&Includes);
1019 PragmaHandler = collectIWYUHeaderMaps(&Includes);
tools/clang/tools/extra/unittests/clang-query/QueryEngineTest.cpp 30 ASTs[0] = std::move(a);
31 ASTs[1] = std::move(b);
tools/clang/tools/extra/unittests/clang-tidy/IncludeInserterTest.cpp 36 Inserter = std::make_unique<utils::IncludeInserter>(
tools/clang/tools/libclang/CXLoadedDiagnostic.cpp 250 TopDiags = std::make_unique<CXLoadedDiagnosticSetImpl>();
tools/clang/tools/libclang/Indexing.cpp 365 ParsedLocsTracker =
tools/clang/unittests/AST/ASTImporterFixtures.cpp 123 ToAST = tooling::buildASTFromCodeWithArgs(ToCode, ToArgs, FileName);
tools/clang/unittests/AST/ASTImporterTest.cpp 202 AllASTs[Filename] = createASTUnit(Filename, Found->getValue());
tools/clang/unittests/AST/StructuralEquivalenceTest.cpp 34 AST0 = tooling::buildASTFromCodeWithArgs(Code0, Args, InputFileName);
35 AST1 = tooling::buildASTFromCodeWithArgs(Code1, Args, InputFileName);
53 AST0 = tooling::buildASTFromCodeWithArgs(Code0, Args, InputFileName);
54 AST1 = tooling::buildASTFromCodeWithArgs(Code1, Args, InputFileName);
tools/clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp 155 AST = buildASTFromCodeWithArgs("template <class T> void f() { T x; x.mf(); }",
160 AST = buildASTFromCodeWithArgs(
198 AST = buildASTFromCode("void g(int*); void f() { int* x; g(x); }");
202 AST = buildASTFromCode("typedef int* IntPtr;"
207 AST = buildASTFromCode(
212 AST = buildASTFromCode("void f() { struct A { A(int); }; int x; A y(x); }");
216 AST = buildASTFromCode("struct A { A(); A& operator=(A); };"
221 AST = buildASTFromCode(
234 AST = buildASTFromCode("void g(int* const); void f() { int* x; g(x); }");
238 AST = buildASTFromCode("typedef int* const CIntPtr;"
243 AST = buildASTFromCode(
248 AST = buildASTFromCode(
253 AST = buildASTFromCode("template <int> struct A { A(); A(const A&);"
266 AST = buildASTFromCode("typedef int& IntRef;"
271 AST = buildASTFromCode("template <class T> using TRef = T&;"
276 AST = buildASTFromCode(
283 AST = buildASTFromCode("typedef int* IntPtr;"
288 AST = buildASTFromCode("typedef int* IntPtr; typedef IntPtr& IntPtrRef;"
293 AST = buildASTFromCode(
298 AST = buildASTFromCode("void f() { struct A { A(int&); }; int x; A y(x); }");
302 AST = buildASTFromCode("void f() { struct A { A(); A(A&); }; A x; A y(x); }");
306 AST = buildASTFromCode(
319 AST = buildASTFromCode("typedef const int& CIntRef;"
324 AST = buildASTFromCode("template <class T> using CTRef = const T&;"
329 AST =
337 AST = buildASTFromCode(
342 AST = buildASTFromCode(
347 AST = buildASTFromCode(
361 AST = buildASTFromCode("struct A {}; A operator+(A&&, int);"
367 AST = buildASTFromCode("void f() { struct A { A(int&&); }; "
373 AST = buildASTFromCode("void f() { struct A { A(); A(A&&); }; "
387 AST = buildASTFromCode("struct A {}; A operator+(const A&&, int);"
392 AST = buildASTFromCode("void f() { struct A { A(const int&&); }; "
397 AST = buildASTFromCode("void f() { struct A { A(); A(const A&&); }; "
410 AST = buildASTFromCode(StdRemoveReference + StdMove +
415 AST = buildASTFromCode(StdRemoveReference + StdMove +
420 AST =
427 AST = buildASTFromCode(StdRemoveReference + StdMove +
433 AST = buildASTFromCode(StdRemoveReference + StdMove +
440 AST = buildASTFromCode(StdRemoveReference + StdMove +
447 AST = buildASTFromCode(StdRemoveReference + StdMove +
453 AST = buildASTFromCode(StdRemoveReference + StdMove +
458 AST = buildASTFromCode(
473 AST = buildASTFromCode(
489 AST =
495 AST = buildASTFromCodeWithArgs(
501 AST = buildASTFromCodeWithArgs(
507 AST = buildASTFromCodeWithArgs(
514 AST = buildASTFromCodeWithArgs(
521 AST = buildASTFromCodeWithArgs("template <class F>"
527 AST = buildASTFromCodeWithArgs(
540 AST = buildASTFromCode("int* f() { int* x; return x; }");
544 AST = buildASTFromCode("typedef int* IntPtr;"
621 AST = buildASTFromCode("typedef int& IntRefX;"
638 AST = buildASTFromCode("void f() { int x; int& r0 = x; const int& r1 = r0;}");
642 AST = buildASTFromCode("typedef const int& CIntRefX;"
673 AST = buildASTFromCode(
680 AST = buildASTFromCode(
689 AST = buildASTFromCode(
698 AST = buildASTFromCode("struct S { template <class T> S(T&& t) { t = 10; } };"
703 AST = buildASTFromCode(
709 AST = buildASTFromCode("template <class U> struct S {"
715 AST = buildASTFromCode(StdRemoveReference + StdForward +
733 AST = buildASTFromCode("template <class T> void g(T&& t) { t; }"
738 AST = buildASTFromCode("template <class... Args> void g(Args&&...) {}"
743 AST = buildASTFromCode("template <class... Args> void g(Args&&...) {}"
748 AST = buildASTFromCode(
755 AST = buildASTFromCode("struct S { template <class T> S(T&& t) { t; } };"
760 AST = buildASTFromCode(
766 AST = buildASTFromCode("template <class U> struct S {"
772 AST = buildASTFromCode(StdRemoveReference + StdForward +
805 AST = buildASTFromCodeWithArgs(
811 AST = buildASTFromCodeWithArgs(
827 AST = buildASTFromCodeWithArgs("template <class T> void f() { T x; x.y.z; }",
832 AST =
856 AST = buildASTFromCode("typedef int& IntRef;"
878 AST = buildASTFromCode("typedef const int& CIntRef;"
941 AST = buildASTFromCodeWithArgs(
1052 AST = buildASTFromCode("typedef int& IntRef;"
1072 AST =
1077 AST = buildASTFromCode(
1091 AST = buildASTFromCode("typedef const int& CIntRef;"
1138 AST = buildASTFromCode("void f() { int x, y; __typeof(x = 10) z = y; }");
1142 AST = buildASTFromCode("void f() { int x, y; __typeof__(x = 10) z = y; }");
1146 AST = buildASTFromCode("void f() { int x; sizeof(x = 10); }");
1150 AST = buildASTFromCode("void f() { int x; alignof(x = 10); }");
1154 AST = buildASTFromCode("void f() { int x; noexcept(x = 10); }");
1158 AST = buildASTFromCodeWithArgs("namespace std { class type_info; }"
1164 AST = buildASTFromCode(
1176 AST = buildASTFromCodeWithArgs(
1203 AST = buildASTFromCode(UniquePtrDef + "void f() { UniquePtr<int> x; *x; }");
1207 AST = buildASTFromCode(UniquePtrDef +
1212 AST = buildASTFromCode(UniquePtrDef + "struct S { int v; };"
1217 AST = buildASTFromCode(UniquePtrDef +
1223 AST =
1229 AST = buildASTFromCode(UniquePtrDef +
1235 AST = buildASTFromCodeWithArgs(
tools/clang/unittests/CodeGen/IncrementalProcessingTest.cpp 149 M[0] = IncrementalParseAST(compiler, P, *CG, nullptr);
152 M[1] = IncrementalParseAST(compiler, P, *CG, TestProgram1);
156 M[2] = IncrementalParseAST(compiler, P, *CG, TestProgram2);
tools/clang/unittests/Frontend/ASTUnitTest.cpp 37 input_file = std::make_unique<ToolOutputFile>(InputFileName, FD);
tools/clang/unittests/Rewrite/RewriterTest.cpp 29 AST = tooling::buildASTFromCode(Code);
tools/clang/unittests/Sema/ExternalSemaSourceTest.cpp 201 OwnedClient = Diagnostics.takeClient();
tools/clang/unittests/Tooling/Syntax/TreeTest.cpp 43 Arena = std::make_unique<syntax::Arena>(Ctx.getSourceManager(),
tools/clang/unittests/Tooling/ToolingTest.cpp 124 AST = buildASTFromCode("class Y;");
tools/clang/utils/TableGen/ClangAttrEmitter.cpp 1311 if ((Ptr = createArgument(Arg, Attr, Base.first)))
tools/clang/utils/TableGen/MveEmitter.cpp 857 VectorTypes[key] = std::make_unique<VectorType>(ST);
864 MultiVectorTypes[key] = std::make_unique<MultiVectorType>(Registers, VT);
870 PredicateTypes[key] = std::make_unique<PredicateType>(Lanes);
877 PointerTypes[key] = std::make_unique<PointerType>(PT);
1217 ScalarTypes[R->getName()] = std::make_unique<ScalarType>(R);
1225 ACLEIntrinsics[Intrinsic->fullName()] = std::move(Intrinsic);
tools/dsymutil/BinaryHolder.cpp 53 MemBuffer = std::move(*ErrOrBuff);
68 FatBinary = std::move(*ErrOrFat);
92 MemBuffer = std::move(*ErrOrBuff);
107 FatBinary = std::move(*ErrOrFat);
tools/dsymutil/DwarfLinker.cpp 242 Streamer = std::make_unique<DwarfStreamer>(OutFile, Options);
2330 Unit = std::make_unique<CompileUnit>(*CU, UnitID++, !Options.NoODR,
tools/dsymutil/DwarfLinker.h 160 DwarfContext = ObjectFile ? DWARFContext::create(*ObjectFile) : nullptr;
tools/dsymutil/MachODebugMapParser.cpp 192 Result = std::make_unique<DebugMap>(MainBinary.getArchTriple(), BinaryPath, UUID);
tools/dsymutil/MachOUtils.cpp 38 File = std::make_unique<sys::fs::TempFile>(std::move(*T));
tools/gold/gold-plugin.cpp 84 File = std::make_unique<ld_plugin_input_file>();
522 Buffer = std::move(BufferOrErr.get());
tools/llc/llc.cpp 405 MIR = createMIRParserFromFile(InputFilename, Err, Context);
407 M = MIR->parseIRModule();
409 M = parseIRFile(InputFilename, Err, Context, false);
482 DwoOut = std::make_unique<ToolOutputFile>(SplitDwarfOutputFile, EC,
536 BOS = std::make_unique<raw_svector_ostream>(Buffer);
tools/lld/COFF/Driver.cpp 1159 tar = std::move(*errOrWriter);
tools/lld/COFF/InputFiles.cpp 102 file = CHECK(Archive::create(mb), this);
898 obj = check(lto::InputFile::create(mbref));
tools/lld/COFF/LTO.cpp 95 indexFile = openFile(config->thinLTOIndexOnlyArg);
108 ltoObj = std::make_unique<lto::LTO>(createConfig(), backend,
158 files[task] = std::move(mb);
tools/lld/COFF/Writer.cpp 1465 buffer = CHECK(
tools/lld/ELF/Driver.cpp 458 tar = std::move(*errOrWriter);
tools/lld/ELF/InputFiles.cpp 1380 obj = CHECK(lto::InputFile::create(mbref), this);
tools/lld/ELF/LTO.cpp 131 indexFile = openFile(config->thinLTOIndexOnlyArg);
144 ltoObj = std::make_unique<lto::LTO>(createConfig(), backend,
248 files[task] = std::move(mb);
tools/lld/ELF/Writer.cpp 2605 buffer = std::move(*bufferOrErr);
tools/lld/lib/ReaderWriter/FileArchive.cpp 157 result = std::move(fileOrErr.get());
tools/lld/lib/ReaderWriter/MachO/DebugInfo.h 33 _allocator = std::move(allocator);
tools/lld/lib/ReaderWriter/MachO/File.h 234 _debugInfo = std::move(debugInfo);
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp 653 _writer = createWriterMachO(*this);
790 _archHandler = ArchHandler::create(_arch);
900 _dependencyInfo = std::unique_ptr<llvm::raw_fd_ostream>(
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp 720 allocator = std::make_unique<BumpPtrAllocator>();
977 allocator = std::make_unique<BumpPtrAllocator>();
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp 35 mb = std::move(mbOrErr.get());
tools/lld/wasm/Driver.cpp 669 tar = std::move(*errOrWriter);
tools/lld/wasm/InputFiles.cpp 472 file = CHECK(Archive::create(mb), toString(this));
541 obj = check(lto::InputFile::create(MemoryBufferRef(
tools/lld/wasm/LTO.cpp 135 files[task] = std::move(mb);
tools/lld/wasm/Writer.cpp 1087 buffer = std::move(*bufferOrErr);
tools/lldb/source/API/SBAddress.cpp 31 m_opaque_up = std::make_unique<Address>(*lldb_object_ptr);
37 m_opaque_up = clone(rhs.m_opaque_up);
62 m_opaque_up = clone(rhs.m_opaque_up);
tools/lldb/source/API/SBCommandReturnObject.cpp 64 m_opaque_up = clone(rhs.m_opaque_up);
75 m_opaque_up = clone(rhs.m_opaque_up);
tools/lldb/source/API/SBDeclaration.cpp 29 m_opaque_up = clone(rhs.m_opaque_up);
35 m_opaque_up = std::make_unique<Declaration>(*lldb_object_ptr);
44 m_opaque_up = clone(rhs.m_opaque_up);
tools/lldb/source/API/SBError.cpp 25 m_opaque_up = clone(rhs.m_opaque_up);
35 m_opaque_up = clone(rhs.m_opaque_up);
tools/lldb/source/API/SBExpressionOptions.cpp 29 m_opaque_up = clone(rhs.m_opaque_up);
39 m_opaque_up = clone(rhs.m_opaque_up);
tools/lldb/source/API/SBFileSpec.cpp 33 m_opaque_up = clone(rhs.m_opaque_up);
61 m_opaque_up = clone(rhs.m_opaque_up);
tools/lldb/source/API/SBFileSpecList.cpp 32 m_opaque_up = clone(rhs.m_opaque_up);
43 m_opaque_up = clone(rhs.m_opaque_up);
tools/lldb/source/API/SBFrame.cpp 1110 stack_trace = std::make_unique<llvm::PrettyStackTraceFormat>(
tools/lldb/source/API/SBLineEntry.cpp 29 m_opaque_up = clone(rhs.m_opaque_up);
35 m_opaque_up = std::make_unique<LineEntry>(*lldb_object_ptr);
43 m_opaque_up = clone(rhs.m_opaque_up);
48 m_opaque_up = std::make_unique<LineEntry>(lldb_object_ref);
tools/lldb/source/API/SBMemoryRegionInfo.cpp 35 m_opaque_up = clone(rhs.m_opaque_up);
45 m_opaque_up = clone(rhs.m_opaque_up);
tools/lldb/source/API/SBModuleSpec.cpp 29 m_opaque_up = clone(rhs.m_opaque_up);
37 m_opaque_up = clone(rhs.m_opaque_up);
tools/lldb/source/API/SBProcessInfo.cpp 25 m_opaque_up = clone(rhs.m_opaque_up);
36 m_opaque_up = clone(rhs.m_opaque_up);
tools/lldb/source/API/SBStringList.cpp 24 m_opaque_up = std::make_unique<StringList>(*lldb_strings_ptr);
30 m_opaque_up = clone(rhs.m_opaque_up);
38 m_opaque_up = clone(rhs.m_opaque_up);
tools/lldb/source/API/SBSymbolContext.cpp 30 m_opaque_up = std::make_unique<SymbolContext>(*sc_ptr);
37 m_opaque_up = clone(rhs.m_opaque_up);
48 m_opaque_up = clone(rhs.m_opaque_up);
54 m_opaque_up = std::make_unique<SymbolContext>(*sc_ptr);
tools/lldb/source/API/SBSymbolContextList.cpp 28 m_opaque_up = clone(rhs.m_opaque_up);
40 m_opaque_up = clone(rhs.m_opaque_up);
tools/lldb/source/API/SBTypeSummary.cpp 33 m_opaque_up = clone(rhs.m_opaque_up);
tools/lldb/source/Breakpoint/Breakpoint.cpp 176 options_up = BreakpointOptions::CreateFromStructuredData(
194 result_sp->m_options_up = std::move(options_up);
tools/lldb/source/Breakpoint/BreakpointOptions.cpp 303 cmd_data_up = CommandData::CreateFromStructuredData(*cmds_dict, cmds_error);
525 m_thread_spec_up = std::move(thread_spec_up);
tools/lldb/source/Commands/CommandObjectCommands.cpp 992 m_regex_cmd_up = std::make_unique<CommandObjectRegexCommand>(
tools/lldb/source/Core/Debugger.cpp 1216 m_source_manager_up = std::make_unique<SourceManager>(shared_from_this());
tools/lldb/source/Core/Module.cpp 1277 m_sections_up = std::make_unique<SectionList>();
tools/lldb/source/Core/ValueObjectSyntheticFilter.cpp 141 m_synth_filter_up = (m_synth_sp->GetFrontEnd(*valobj_for_frontend));
tools/lldb/source/DataFormatters/FormatManager.cpp 612 m_language_categories_map[lang_type] =
tools/lldb/source/Host/common/FileCache.cpp 39 m_cache[fd] = std::move(file.get());
tools/lldb/source/Host/common/FileSystem.cpp 297 buffer = std::move(*buffer_or_error);
303 buffer = std::move(*buffer_or_error);
tools/lldb/source/Initialization/SystemLifetimeManager.cpp 35 m_initializer = std::move(initializer);
tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp 1207 m_disasm_up = MCDisasmInstance::Create(triple_str, cpu, features_str.c_str(),
1216 m_alternate_disasm_up =
1230 m_alternate_disasm_up = MCDisasmInstance::Create(
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp 90 m_auxv = std::make_unique<AuxVector>(m_process->GetAuxvData());
182 m_auxv = std::make_unique<AuxVector>(m_process->GetAuxvData());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp 133 m_merger_up =
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h 359 m_parser_vars = std::make_unique<ParserVars>();
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp 3716 m_conditional_breaks[bp->GetID()] = std::unique_ptr<RSCoordinate>(baton);
tools/lldb/source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.cpp 130 m_sections_up = std::make_unique<SectionList>();
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp 1764 m_sections_up = std::make_unique<SectionList>();
tools/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp 391 m_adb_sync_svc = adb.GetSyncService(error);
tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp 61 m_options[&interpreter] = std::move(options);
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp 298 m_sigchld_handle = mainloop.RegisterSignal(
tools/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp 258 m_step_workaround = SingleStepWorkaround::Get(m_tid);
tools/lldb/source/Plugins/Process/Linux/ProcessorTrace.cpp 116 m_fd = std::unique_ptr<int, file_close>(new int(fd), file_close());
128 m_mmap_meta = std::unique_ptr<perf_event_mmap_page, munmap_delete>(
144 m_mmap_aux = std::unique_ptr<uint8_t, munmap_delete>(
tools/lldb/source/Plugins/Process/POSIX/NativeProcessELF.cpp 24 m_aux_vector = std::make_unique<AuxVector>(auxv_data);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp 120 [&](std::unique_ptr<PacketUnimplementedError> E) { PUE = std::move(E); },
121 [&](std::unique_ptr<llvm::ErrorInfoBase> E) { EIB = std::move(E); });
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp 237 m_debugged_process_up = std::move(*process_or);
306 m_debugged_process_up = std::move(*process_or);
930 m_network_handle_up = m_mainloop.RegisterReadObject(
980 m_stdio_handle_up = m_mainloop.RegisterReadObject(
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp 58 m_symtab_up = std::make_unique<Symtab>(this);
86 m_sections_up = std::make_unique<SectionList>();
516 m_jit_loaders_up = std::make_unique<JITLoaderList>();
tools/lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp 694 data.line_table_up = std::make_unique<LineTable>(&cu);
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFContext.cpp 135 m_llvm_context = llvm::DWARFContext::create(section_map, addr_size);
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp 41 m_cu_aranges_up = std::make_unique<DWARFDebugAranges>();
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp 348 m_dwo_symbol_file = std::move(dwo_symbol_file);
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp 621 m_abbr = std::move(abbr);
635 m_info = std::make_unique<DWARFDebugInfo>(*this, m_context);
3850 m_dwp_symfile = SymbolFileDWARFDwp::Create(GetObjectFile()->GetModule(),
tools/lldb/source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.cpp 133 cci = std::make_unique<CompilandIndexItem>(PdbCompilandId{ modi }, debug_stream, std::move(descriptor));
142 cci = std::make_unique<CompilandIndexItem>(
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbIndex.cpp 56 result->m_file = std::move(file);
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp 296 file_up = loadPDBFile(symfile.GetPath(), m_allocator);
307 m_index = std::move(*expected_index);
335 m_ast = std::make_unique<PdbAstBuilder>(*m_objfile_sp, *m_index, *clang);
tools/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp 202 first_line_up = lines_up->getNext();
1010 parent = GetClassOrFunctionParent(*parent);
tools/lldb/source/Plugins/SymbolFile/PDB/PDBLocationToDWARFExpression.cpp 50 found = std::move(fd);
tools/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp 191 m_global_scope_up = m_session_up->getGlobalScope();
462 results = raw_sym.findAllChildren(tag);
1477 results = m_global_scope_up->findAllChildren(tag);
1523 results = m_global_scope_up->findAllChildren(PDB_SymType::None);
tools/lldb/source/Symbol/UnwindTable.cpp 52 m_object_file_unwind_up = object_file->CreateCallFrameInfo();
tools/lldb/source/Target/Language.cpp 71 map[language] = std::unique_ptr<Language>(language_ptr);
tools/lldb/source/Target/ModuleCache.cpp 165 m_file_up = std::move(file.get());
tools/lldb/source/Target/Process.cpp 5976 [&] { m_dlopen_utility_func_up = factory(); });
tools/lldb/source/Target/Target.cpp 76 m_plugin_up = PluginManager::CreateArchitectureInstance(spec);
tools/lldb/source/Utility/Reproducer.cpp 299 m_stream_up = std::make_unique<raw_fd_ostream>(history_file.GetPath(), EC,
tools/lldb/unittests/Expression/DWARFExpressionTest.cpp 148 m_symfile_dwarf = std::make_unique<SymbolFileDWARF>(m_objfile_sp, nullptr);
tools/lldb/unittests/tools/lldb-server/tests/TestBase.h 50 Client = std::move(*ClientOr);
tools/lldb/unittests/tools/lldb-server/tests/TestClient.cpp 255 m_stop_reply = std::move(*StopReplyOr);
tools/lli/RemoteJITUtils.h 83 this->MemMgr = std::move(MemMgr);
tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp 94 BlockInfoMB = ExitOnErr(openBitcodeFile(BlockInfoFilename));
tools/llvm-cfi-verify/llvm-cfi-verify.cpp 264 SpecialCaseList = SpecialCaseList::create({BlacklistFilename}, Error);
tools/llvm-cov/CodeCoverage.cpp 322 SubView = SourceCoverageView::create(
707 NameWhitelist =
tools/llvm-cov/SourceCoverageView.h 41 View = std::move(RHS.View);
tools/llvm-dis/llvm-dis.cpp 171 Index = ExitOnErr(getModuleSummaryIndex(*MB));
tools/llvm-exegesis/lib/Analysis.cpp 176 Context_ = std::make_unique<MCContext>(AsmInfo_.get(), RegInfo_.get(),
tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp 73 M = parseModule(Data, Size, Context);
167 Mutator = createISelMutator();
tools/llvm-link/llvm-link.cpp 125 Result = parseIRFile(FN, Err, Context);
127 Result = getLazyIRFileModule(FN, Err, Context, !MaterializeMetadata);
179 Module = createLazyModule(argv0, Identifier);
tools/llvm-lto/llvm-lto.cpp 316 Buffer = std::move(BufferOrErr.get());
tools/llvm-mc/llvm-mc.cpp 430 DwoOut = GetOutputStream(SplitDwarfFile, sys::fs::OF_None);
481 BOS = std::make_unique<buffer_ostream>(Out->os());
tools/llvm-mca/CodeRegion.cpp 39 Regions[0] = std::make_unique<CodeRegion>(Description, Loc);
tools/llvm-objcopy/Buffer.cpp 44 Buf = std::move(*BufferOrErr);
64 Buf = WritableMemoryBuffer::getNewMemBuffer(Size, getName());
tools/llvm-objcopy/ELF/Object.cpp 2120 SecWriter = std::make_unique<ELFSectionWriter<ELFT>>(Buf);
2194 SecWriter = std::make_unique<BinarySectionWriter>(Buf);
tools/llvm-objdump/MachODump.cpp 7367 DSYMBuf = std::move(BufOrErr.get());
7377 DSYMBinary = std::move(BinaryOrErr.get());
10451 info->bindtable = std::make_unique<SymbolAddressMap>();
tools/llvm-objdump/llvm-objdump.cpp 578 Buffer = MemoryBuffer::getMemBuffer(*LineInfo.Source);
587 Buffer = std::move(*BufferOrError);
601 SourceCache[LineInfo.FileName] = std::move(Buffer);
tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp 246 Mutator = createOptMutator();
tools/llvm-pdbutil/BytesOutputStyle.cpp 459 TypeCollection =
tools/llvm-pdbutil/DumpOutputStyle.cpp 1555 SymbolError = std::make_unique<Error>(std::move(EC));
tools/llvm-pdbutil/InputFile.cpp 296 IF.UnknownFile = std::move(*Result);
387 Collection =
401 Types = std::make_unique<LazyRandomTypeCollection>(Records, 100);
405 Types = std::make_unique<LazyRandomTypeCollection>(100);
tools/llvm-pdbutil/llvm-pdbutil.cpp 867 O = std::make_unique<YAMLOutputStyle>(File);
1386 SourceStream = File.createIndexedStream(Index);
tools/llvm-profdata/llvm-profdata.cpp 151 Remapper->File = std::move(BufOrError.get());
682 Remapper = SymbolRemapper::create(RemappingFile);
tools/llvm-rc/llvm-rc.cpp 184 Visitor = std::make_unique<ResourceFileWriter>(Params, std::move(FOut));
tools/llvm-reduce/TestRunner.h 36 void setProgram(std::unique_ptr<Module> P) { Program = std::move(P); }
tools/llvm-reduce/deltas/Delta.cpp 148 ReducedProgram = std::move(Clone);
tools/llvm-rtdyld/llvm-rtdyld.cpp 398 LoadedObjInfo =
921 Checker = std::make_unique<RuntimeDyldChecker>(
967 Timers = ShowTimes ? std::make_unique<RTDyldTimers>() : nullptr;
tools/lto/lto.cpp 423 CG->NativeObjectFile =
441 CG->NativeObjectFile = CG->compileOptimized();
tools/obj2yaml/macho2yaml.cpp 506 YAMLFile.MachO = std::move(YAML.get());
tools/obj2yaml/wasm2yaml.cpp 169 CustomSec = std::make_unique<WasmYAML::CustomSection>(WasmSec.Name);
tools/opt/opt.cpp 724 Out = std::make_unique<ToolOutputFile>(OutputFilename, EC,
871 BOS = std::make_unique<raw_svector_ostream>(Buffer);
tools/polly/lib/Analysis/ScopDetection.cpp 1419 LastValidRegion = std::move(ExpandedRegion);
1422 ExpandedRegion =
1429 ExpandedRegion =
tools/polly/lib/Analysis/ScopInfo.cpp 2680 S = SB.getScop(); // take ownership of scop object
tools/polly/lib/Transform/DeLICM.cpp 1361 Impl = std::make_unique<DeLICMImpl>(&S, &LI);
tools/polly/lib/Transform/ForwardOpTree.cpp 917 Impl = std::make_unique<ForwardOpTreeImpl>(&S, &LI, MaxOpGuard);
unittests/Analysis/CFGTest.cpp 34 M = parseAssemblyString(Assembly, Error, Context);
unittests/Analysis/MemorySSATest.cpp 54 MSSA = std::make_unique<MemorySSA>(*Test.F, &AA, &DT);
unittests/Analysis/TargetLibraryInfoTest.cpp 33 M = parseAssemblyString(Assembly, Error, Context);
unittests/Analysis/ValueTrackingTest.cpp 39 M = parseModule(Assembly);
unittests/Analysis/VectorUtilsTest.cpp 31 M = parseAssemblyString(Assembly, Error, Context);
unittests/AsmParser/AsmParserTest.cpp 40 EXPECT_DEATH(Mod = parseAssemblyString(Source.substr(0, Source.size() - 2),
unittests/CodeGen/AArch64SelectionDAGTest.cpp 44 TM = std::unique_ptr<LLVMTargetMachine>(static_cast<LLVMTargetMachine*>(
51 M = parseAssemblyString(Assembly, SMError, Context);
62 MF = std::make_unique<MachineFunction>(*F, *TM, *TM->getSubtargetImpl(*F), 0,
65 DAG = std::make_unique<SelectionDAG>(*TM, CodeGenOpt::None);
unittests/CodeGen/GlobalISel/GISelMITest.h 77 MIR = createMIRParser(std::move(MBuffer), Context);
140 TM = createTargetMachine();
unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp 91 GlobalState = std::make_unique<GlobalTestState>();
123 TestState = std::make_unique<PerTestState>();
unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp 28 TTB = std::make_unique<AppendingTypeTableBuilder>(Storage);
29 CRB = std::make_unique<ContinuationRecordBuilder>();
unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp 50 Context = createContext();
unittests/DebugInfo/DWARF/DwarfGenerator.cpp 449 Stream = std::make_unique<raw_svector_ostream>(FileBytes);
472 StringPool = std::make_unique<DwarfStringPool>(Allocator, *Asm, StringRef());
unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp 532 FpmStream =
unittests/ExecutionEngine/JITLink/JITLinkTestCommon.cpp 76 DisCtx = std::make_unique<MCContext>(MAI.get(), MRI.get(), nullptr);
88 AsCtx = std::make_unique<MCContext>(MAI.get(), MRI.get(), &MOFI, &SrcMgr);
129 MemMgr = std::move(MM);
unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp 1210 FooResponsibility =
unittests/ExecutionEngine/Orc/OrcCAPITest.cpp 81 CCtx->M = ET->createTestModule(ET->TM->getTargetTriple());
unittests/IR/MetadataTest.cpp 57 ReplaceableUses = CRU.takeReplaceableUses();
unittests/MC/DwarfLineTables.cpp 43 Ctx = std::make_unique<MCContext>(MAI.get(), MRI.get(), nullptr);
unittests/MI/LiveIntervalTest.cpp 56 MIR = createMIRParser(std::move(MBuffer), Context);
unittests/ProfileData/CoverageMappingTest.cpp 228 ProfileReader = std::move(ReaderOrErr.get());
253 LoadedCoverage = std::move(CoverageOrErr.get());
unittests/ProfileData/InstrProfTest.cpp 49 Reader = std::move(ReaderOrErr.get());
unittests/ProfileData/SampleProfTest.cpp 50 Writer = std::move(WriterOrErr.get());
57 Reader = std::move(ReaderOrErr.get());
unittests/Remarks/BitstreamRemarksParsingTest.cpp 39 FromYAMLRemark = std::move(*Remark);
69 FromBSRemark = std::move(*BSRemark);
unittests/Support/Casting.cpp 224 D = unique_dyn_cast<derived>(NewB);
unittests/Support/LineIteratorTest.cpp 175 Buffer = MemoryBuffer::getMemBuffer("\n\n\n");
179 Buffer = MemoryBuffer::getMemBuffer("# foo\n"
185 Buffer = MemoryBuffer::getMemBuffer("\n"
unittests/Support/SpecialCaseListTest.cpp 125 SCL = makeSpecialCaseList("type:t2=init\n");
131 SCL = makeSpecialCaseList("src:hello=init\n");
146 SCL = makeSpecialCaseList("fun:*foo*\n");
unittests/Support/SymbolRemappingReaderTest.cpp 22 Buffer = MemoryBuffer::getMemBuffer(Text, BufferName);
29 Buffer = MemoryBuffer::getMemBuffer(Text, BufferName);
unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp 48 MIR = createMIRParser(std::move(MBuffer), Context);
unittests/Target/X86/MachineSizeOptsTest.cpp 67 TM = createTargetMachine();
70 Parser = createMIRParser(std::move(MBuffer), Context);
73 M = Parser->parseIRModule();
78 MMI = std::make_unique<MachineModuleInfo>(TM.get());
unittests/Transforms/Scalar/LoopPassManagerTest.cpp 853 M = parseIR(Context, "define void @f(i1* %ptr) {\n"
1056 M = parseIR(Context, "define void @f(i1* %ptr) {\n"
1310 M = parseIR(Context, "define void @f(i1* %ptr) {\n"
unittests/Transforms/Utils/LocalTest.cpp 181 M = parseIR(C,
202 M = parseIR(C,
492 M = parseIR(C,
932 M = parseIR(C,
unittests/Transforms/Utils/SizeOptsTest.cpp 49 M = parseAssemblyString(IRString, Err, C);
unittests/Transforms/Vectorize/VPlanTestBase.h 38 M = parseAssemblyString(ModuleString, Err, *Ctx);
unittests/XRay/FDRProducerConsumerTest.cpp 85 Writer = std::make_unique<FDRTraceWriter>(OS, H);
86 Rec = MakeRecord<T>();
108 Writer = std::make_unique<FDRTraceWriter>(OS, H);
109 Rec = MakeRecord<T>();
unittests/tools/llvm-exegesis/X86/SnippetRepetitorTest.cpp 35 TM = State.createTargetMachine();
36 Context = std::make_unique<LLVMContext>();
37 Mod =
40 MMI = std::make_unique<MachineModuleInfo>(TM.get());
usr/include/c++/7.4.0/bits/stl_algo.h 871 *__result = _GLIBCXX_MOVE(*__first);
1367 *(__p + __n - 1) = _GLIBCXX_MOVE(__t);
1390 *__p = _GLIBCXX_MOVE(__t);
1566 *__result2 = _GLIBCXX_MOVE(*__first);
1572 *__result1 = _GLIBCXX_MOVE(*__first);
1577 *__result2 = _GLIBCXX_MOVE(*__first);
1830 *__last = _GLIBCXX_MOVE(*__next);
1834 *__last = _GLIBCXX_MOVE(__val);
1852 *__first = _GLIBCXX_MOVE(__val);
2312 *__result = _GLIBCXX_MOVE(*__first2);
2317 *__result = _GLIBCXX_MOVE(*__first1);
2351 *--__result = _GLIBCXX_MOVE(*__last1);
2361 *--__result = _GLIBCXX_MOVE(*__last2);
2647 *__result = _GLIBCXX_MOVE(*__first2);
2652 *__result = _GLIBCXX_MOVE(*__first1);
usr/include/c++/7.4.0/bits/stl_algobase.h 343 *__result = std::move(*__first);
548 *--__result = std::move(*--__last);
usr/include/c++/7.4.0/bits/stl_heap.h 135 *(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first + __parent));
139 *(__first + __holeIndex) = _GLIBCXX_MOVE(__value);
225 *(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first + __secondChild));
231 *(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first
252 *__result = _GLIBCXX_MOVE(*__first);
usr/include/c++/7.4.0/bits/stl_pair.h 396 first = std::forward<first_type>(__p.first);
397 second = std::forward<second_type>(__p.second);
usr/include/c++/7.4.0/bits/stl_tempbuf.h 201 *__seed = _GLIBCXX_MOVE(*__prev);
usr/include/c++/7.4.0/bits/vector.tcc 386 *__position = std::forward<_Arg>(__arg);
usr/include/c++/7.4.0/tuple 1252 this->_M_head(*this) = std::forward<_U1>(__in.first);
1253 this->_M_tail(*this)._M_head(*this) = std::forward<_U2>(__in.second);
utils/TableGen/CodeGenDAGPatterns.cpp 3112 (PatternFragments[Frag] = std::make_unique<TreePattern>(
utils/TableGen/CodeGenTarget.cpp 296 RegBank = std::make_unique<CodeGenRegBank>(Records, getHwModes());
393 SchedModels = std::make_unique<CodeGenSchedModels>(Records, *this);
406 Instructions[Insts[i]] = std::make_unique<CodeGenInstruction>(Insts[i]);
utils/TableGen/GlobalISelEmitter.cpp 4902 CurrentGroup = std::make_unique<GroupT>();
5544 Condition = Matchers[0]->popFirstCondition();
utils/TableGen/SearchableTableEmitter.cpp 137 Intr = std::make_unique<CodeGenIntrinsic>(cast<DefInit>(I)->getDef());
690 Table->PrimaryKey =
utils/TableGen/X86DisassemblerTables.cpp 654 Tables[i] = std::make_unique<ContextDecision>();
utils/benchmark/src/benchmark.cc 504 default_console_reporter = internal::CreateReporter(
525 default_file_reporter = internal::CreateReporter(