Lines Matching refs:uniquer
85 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()
439 return OperationPosition::get(uniquer, index); in getParent()
444 return AttributePosition::get(uniquer, p, Identifier::get(name, ctx)); in getAttribute()
449 return OperandPosition::get(uniquer, p, operand); in getOperand()
454 return ResultPosition::get(uniquer, p, result); in getResult()
458 Position *getType(Position *p) { return TypePosition::get(uniquer, p); } in getType()
471 return {AttributeQuestion::get(uniquer), in getAttributeConstraint()
472 AttributeAnswer::get(uniquer, attr)}; in getAttributeConstraint()
477 return {EqualToQuestion::get(uniquer, pos), TrueAnswer::get(uniquer)}; in getEqualTo()
484 ConstraintQuestion::get(uniquer, std::make_tuple(name, pos, params)), in getConstraint()
485 TrueAnswer::get(uniquer)}; in getConstraint()
490 return {IsNotNullQuestion::get(uniquer), TrueAnswer::get(uniquer)}; in getIsNotNull()
496 return {OperandCountQuestion::get(uniquer), in getOperandCount()
497 UnsignedAnswer::get(uniquer, count)}; in getOperandCount()
502 return {OperationNameQuestion::get(uniquer), in getOperationName()
503 OperationNameAnswer::get(uniquer, OperationName(name, ctx))}; in getOperationName()
509 return {ResultCountQuestion::get(uniquer), in getResultCount()
510 UnsignedAnswer::get(uniquer, count)}; in getResultCount()
516 return {TypeQuestion::get(uniquer), TypeAnswer::get(uniquer, type)}; in getTypeConstraint()
521 PredicateUniquer &uniquer;