Lines Matching defs:TSM
24 Error IRLayer::add(ResourceTrackerSP RT, ThreadSafeModule TSM) {
28 *this, *getManglingOptions(), std::move(TSM)),
34 ThreadSafeModule TSM)
35 : MaterializationUnit(Interface()), TSM(std::move(TSM)) {
37 assert(this->TSM && "Module must not be null");
39 MangleAndInterner Mangle(ES, this->TSM.getModuleUnlocked()->getDataLayout());
40 this->TSM.withModuleDo([&](Module &M) {
103 ThreadSafeModule TSM, Interface I,
105 : MaterializationUnit(std::move(I)), TSM(std::move(TSM)),
109 if (TSM)
110 return TSM.withModuleDo(
136 IRLayer &L, const IRSymbolMapper::ManglingOptions &MO, ThreadSafeModule TSM)
137 : IRMaterializationUnit(L.getExecutionSession(), MO, std::move(TSM)), L(L) {
149 TSM = cloneToNewContext(TSM);
158 L.emit(std::move(R), std::move(TSM));