Home
last modified time | relevance | path

Searched refs:uniquedConstants (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/mlir/lib/Transforms/Utils/
DFoldUtils.cpp127 auto &uniquedConstants = in notifyRemoval() local
133 uniquedConstants.erase(std::make_tuple(dialect, constValue, type)); in notifyRemoval()
158 auto &uniquedConstants = foldScopes[insertRegion]; in getOrCreateConstant() local
159 Operation *constOp = tryGetOrCreateConstant(uniquedConstants, dialect, in getOrCreateConstant()
203 auto &uniquedConstants = foldScopes[insertRegion]; in tryToFold() local
220 tryGetOrCreateConstant(uniquedConstants, dialect, builder, attrRepl, in tryToFold()
247 ConstantMap &uniquedConstants, Dialect *dialect, OpBuilder &builder, in tryGetOrCreateConstant() argument
251 auto *&constInst = uniquedConstants[constKey]; in tryGetOrCreateConstant()
272 if (auto *existingOp = uniquedConstants.lookup(newKey)) { in tryGetOrCreateConstant()
280 auto newIt = uniquedConstants.insert({newKey, constInst}); in tryGetOrCreateConstant()
/external/llvm-project/mlir/include/mlir/Transforms/
DFoldUtils.h126 Operation *tryGetOrCreateConstant(ConstantMap &uniquedConstants,