Searched refs:constInst (Results 1 – 1 of 1) sorted by relevance
251 auto *&constInst = uniquedConstants[constKey]; in tryGetOrCreateConstant() local252 if (constInst) in tryGetOrCreateConstant()253 return constInst; in tryGetOrCreateConstant()256 if (!(constInst = materializeConstant(dialect, builder, value, type, loc))) in tryGetOrCreateConstant()260 auto *newDialect = constInst->getDialect(); in tryGetOrCreateConstant()262 referencedDialects[constInst].push_back(dialect); in tryGetOrCreateConstant()263 return constInst; in tryGetOrCreateConstant()273 constInst->erase(); in tryGetOrCreateConstant()275 return constInst = existingOp; in tryGetOrCreateConstant()279 referencedDialects[constInst].assign({dialect, newDialect}); in tryGetOrCreateConstant()[all …]