Lines Matching defs:std

76 extern cl::opt<std::string> RemarksFilename;
77 extern cl::opt<std::string> RemarksPasses;
79 extern cl::opt<std::string> RemarksFormat;
93 std::string SaveTempPath = (TempDir + llvm::Twine(count) + Suffix).str();
94 std::error_code EC;
106 GVSummaryList, [](const std::unique_ptr<GlobalValueSummary> &Summary) {
116 GVSummaryList, [](const std::unique_ptr<GlobalValueSummary> &Summary) {
144 generateModuleMap(std::vector<std::unique_ptr<lto::InputFile>> &Modules) {
182 static std::unique_ptr<Module> loadModuleFromInput(lto::InputFile *Input,
188 Expected<std::unique_ptr<Module>> ModuleOrErr =
202 return std::move(*ModuleOrErr);
282 std::unique_ptr<MemoryBuffer> codegenModule(Module &TheModule,
303 return std::make_unique<SmallVectorMemoryBuffer>(std::move(OutputBuffer));
318 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR,
354 ErrorOr<std::unique_ptr<MemoryBuffer>> tryLoadingBuffer() {
356 return std::error_code();
362 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = MemoryBuffer::getOpenFile(
383 std::string ErrorMsgBuffer;
394 consumeError(std::move(Err));
399 static std::unique_ptr<MemoryBuffer>
453 return std::make_unique<SmallVectorMemoryBuffer>(std::move(OutputBuffer));
466 StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>>
504 TMBuilder.TheTriple = std::move(TheTriple);
529 Modules.emplace_back(std::move(*InputOrError));
544 std::unique_ptr<TargetMachine> TargetMachineBuilder::create() const {
545 std::string ErrMsg;
555 std::string FeatureStr = Features.getString();
557 return std::unique_ptr<TargetMachine>(
566 std::unique_ptr<ModuleSummaryIndex> ThinLTOCodeGenerator::linkCombinedIndex() {
567 std::unique_ptr<ModuleSummaryIndex> CombinedIndex =
568 std::make_unique<ModuleSummaryIndex>(/*HaveGVs=*/false);
576 std::move(Err), errs(),
662 StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>> ResolvedODR;
715 std::map<std::string, GVSummaryMapTy> &ModuleToSummariesForIndex,
772 std::map<std::string, GVSummaryMapTy> ModuleToSummariesForIndex;
777 std::error_code EC;
824 StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>> ResolvedODR;
858 std::string
886 std::error_code Err;
925 ProducedBinaries[count] = std::move(OutputBuffer);
941 std::error_code EC;
976 std::map<ValueInfo, std::vector<VTableSlotSummary>> LocalWPDTargetsMap;
977 std::set<GlobalValue::GUID> ExportedGUIDs;
989 // We use a std::map here to be able to have a defined ordering when
993 StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>> ResolvedODR;
1027 std::vector<int> ModulesOrdering;
1029 std::iota(ModulesOrdering.begin(), ModulesOrdering.end(), 0);
1066 ProducedBinaries[count] = std::move(ErrOrBuffer.get());
1119 OutputBuffer = std::move(*ReloadedBufferOrErr);
1122 ProducedBinaries[count] = std::move(OutputBuffer);