Lines Matching refs:TSM
20 static ThreadSafeModule extractSubModule(ThreadSafeModule &TSM, in extractSubModule() argument
61 auto NewTSM = cloneToNewContext(TSM, ShouldExtract, DeleteExtractedDefs); in extractSubModule()
76 ThreadSafeModule TSM, in PartitioningIRMaterializationUnit() argument
78 : IRMaterializationUnit(ES, MO, std::move(TSM)), Parent(Parent) {} in PartitioningIRMaterializationUnit()
81 ThreadSafeModule TSM, SymbolFlagsMap SymbolFlags, in PartitioningIRMaterializationUnit() argument
84 : IRMaterializationUnit(std::move(TSM), std::move(SymbolFlags), in PartitioningIRMaterializationUnit()
91 Parent.emitPartition(std::move(R), std::move(TSM), in materialize()
131 std::unique_ptr<MaterializationResponsibility> R, ThreadSafeModule TSM) { in emit() argument
132 assert(TSM && "Null module"); in emit()
142 TSM.withModuleDo([&](Module &M) { in emit()
160 ES, *getManglingOptions(), std::move(TSM), *this))) { in emit()
259 std::unique_ptr<MaterializationResponsibility> R, ThreadSafeModule TSM, in emitPartition() argument
271 TSM.withModuleDo([&](Module &M) { in emitPartition()
284 TSM.withModuleDo([&](Module &M) { return Partition(RequestedGVs); }); in emitPartition()
291 BaseLayer.emit(std::move(R), std::move(TSM)); in emitPartition()
299 std::move(TSM), R->getSymbols(), R->getInitializerSymbol(), in emitPartition()
316 TSM.withModuleDo([&](Module &M) -> Expected<ThreadSafeModule> { in emitPartition()
360 return extractSubModule(TSM, SubModuleName , ShouldExtract); in emitPartition()
370 ES, *getManglingOptions(), std::move(TSM), *this))) { in emitPartition()