Home
last modified time | relevance | path

Searched refs:uniquer (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dname_uniquer_test.cc30 NameUniquer uniquer; in TEST_F() local
32 EXPECT_EQ("foo", uniquer.GetUniqueName("foo")); in TEST_F()
33 EXPECT_EQ("foo__1", uniquer.GetUniqueName("foo")); in TEST_F()
34 EXPECT_EQ("foo__2", uniquer.GetUniqueName("foo")); in TEST_F()
35 EXPECT_EQ("bar", uniquer.GetUniqueName("bar")); in TEST_F()
36 EXPECT_EQ("foo__3", uniquer.GetUniqueName("foo")); in TEST_F()
37 EXPECT_EQ("bar__1", uniquer.GetUniqueName("bar")); in TEST_F()
38 EXPECT_EQ("qux", uniquer.GetUniqueName("qux")); in TEST_F()
42 NameUniquer uniquer("."); in TEST_F() local
44 EXPECT_EQ("foo", uniquer.GetUniqueName("foo")); in TEST_F()
[all …]
/external/llvm-project/mlir/lib/Conversion/PDLToPDLInterp/
DPredicate.h85 static ConcreteT *get(StorageUniquer &uniquer, Args &&...args) { in get() argument
86 return uniquer.get<ConcreteT>(/*initFn=*/{}, std::forward<Args>(args)...); in get()
115 static ConcreteT *get(StorageUniquer &uniquer) { in get() argument
116 return uniquer.get<ConcreteT>(); in get()
208 static OperationPosition *getRoot(StorageUniquer &uniquer) { in getRoot()
209 return get(uniquer, ArrayRef<unsigned>(0)); in getRoot()
212 static OperationPosition *get(StorageUniquer &uniquer,
425 PredicateBuilder(PredicateUniquer &uniquer, MLIRContext *ctx) in PredicateBuilder() argument
426 : uniquer(uniquer), ctx(ctx) {} in PredicateBuilder()
433 Position *getRoot() { return OperationPosition::getRoot(uniquer); } in getRoot()
[all …]
DPredicate.cpp37 OperationPosition *OperationPosition::get(StorageUniquer &uniquer, in get() argument
44 auto *node = OperationPosition::get(uniquer, index.drop_back()); in get()
45 parent = OperandPosition::get(uniquer, std::make_pair(node, index.back())); in get()
47 return uniquer.get<OperationPosition>( in get()
/external/llvm-project/mlir/lib/Dialect/SDBM/
DSDBMDialect.cpp16 uniquer.registerParametricStorageType<detail::SDBMBinaryExprStorage>(); in SDBMDialect()
17 uniquer.registerParametricStorageType<detail::SDBMConstantExprStorage>(); in SDBMDialect()
18 uniquer.registerParametricStorageType<detail::SDBMDiffExprStorage>(); in SDBMDialect()
19 uniquer.registerParametricStorageType<detail::SDBMNegExprStorage>(); in SDBMDialect()
20 uniquer.registerParametricStorageType<detail::SDBMTermExprStorage>(); in SDBMDialect()
DSDBMExpr.cpp247 StorageUniquer &uniquer = lhs.getDialect()->getUniquer(); in get() local
248 return uniquer.get<detail::SDBMBinaryExprStorage>( in get()
534 StorageUniquer &uniquer = lhs.getDialect()->getUniquer(); in get() local
535 return uniquer.get<detail::SDBMDiffExprStorage>(/*initFn=*/{}, lhs, rhs); in get()
573 StorageUniquer &uniquer = var.getDialect()->getUniquer(); in get() local
574 return uniquer.get<detail::SDBMBinaryExprStorage>( in get()
608 StorageUniquer &uniquer = dialect->getUniquer(); in get() local
609 return uniquer.get<detail::SDBMTermExprStorage>( in get()
624 StorageUniquer &uniquer = dialect->getUniquer(); in get() local
625 return uniquer.get<detail::SDBMTermExprStorage>( in get()
[all …]
/external/llvm-project/flang/lib/Lower/
DMangler.cpp68 Fortran::lower::mangle::mangleName(fir::NameUniquer &uniquer, in mangleName() argument
77 return uniquer.doProgramEntry().str(); in mangleName()
82 return uniquer.doProcedure(llvm::None, llvm::None, symbolName); in mangleName()
90 return uniquer.doProcedure(modNames, hostName(*interface), in mangleName()
97 return uniquer.doVariable(moduleNames(ultimateSymbol), in mangleName()
102 return uniquer.doProcedure(llvm::None, llvm::None, symbolName); in mangleName()
108 return uniquer.doConstant(modNames, optHost, symbolName); in mangleName()
109 return uniquer.doVariable(modNames, optHost, symbolName); in mangleName()
/external/llvm-project/mlir/include/mlir/Dialect/SDBM/
DSDBMDialect.h30 StorageUniquer &getUniquer() { return uniquer; } in getUniquer()
33 StorageUniquer uniquer;
/external/llvm-project/mlir/lib/IR/
DAffineExpr.cpp448 StorageUniquer &uniquer = context->getAffineUniquer(); in getAffineDimOrSymbol() local
449 return uniquer.get<AffineDimExprStorage>( in getAffineDimOrSymbol()
483 StorageUniquer &uniquer = context->getAffineUniquer(); in getAffineConstantExpr() local
484 return uniquer.get<AffineConstantExprStorage>(assignCtx, constant); in getAffineConstantExpr()
590 StorageUniquer &uniquer = getContext()->getAffineUniquer(); in operator +() local
591 return uniquer.get<AffineBinaryOpExprStorage>( in operator +()
650 StorageUniquer &uniquer = getContext()->getAffineUniquer(); in operator *() local
651 return uniquer.get<AffineBinaryOpExprStorage>( in operator *()
716 StorageUniquer &uniquer = getContext()->getAffineUniquer(); in floorDiv() local
717 return uniquer.get<AffineBinaryOpExprStorage>( in floorDiv()
[all …]
/external/tensorflow/tensorflow/compiler/xla/python/
Dxla_compiler.cc63 static Uniquer* uniquer = new Uniquer; in GetUniquer() local
64 return uniquer; in GetUniquer()
68 Uniquer* uniquer = GetUniquer(); in UniquifyName() local
69 absl::MutexLock lock(&uniquer->mu); in UniquifyName()
70 return uniquer->name_uniquer.GetUniqueName(name); in UniquifyName()
/external/llvm-project/flang/include/flang/Optimizer/CodeGen/
DCodeGen.h25 std::unique_ptr<mlir::Pass> createFIRToLLVMPass(NameUniquer &uniquer);
/external/llvm-project/flang/include/flang/Lower/
DMangler.h49 std::string mangleName(fir::NameUniquer &uniquer, const semantics::Symbol &);
DBridge.h95 void lower(const Fortran::parser::Program &program, fir::NameUniquer &uniquer,
/external/llvm-project/mlir/docs/Tutorials/
DDefiningAttributesAndTypes.md84 the uniquer. (Note: This is only necessary if the `KeyTy` cannot be default
/external/kotlinx.coroutines/benchmarks/src/jmh/resources/
Dospd.txt.gz