Home
last modified time | relevance | path

Searched refs:traitID (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DStorageUniquerSupport.h74 bool hasTrait(TypeID traitID) { in hasTrait() argument
77 if (traitIDs[i] == traitID) in hasTrait()
84 inline bool hasTrait(TypeID traitID) { in hasTrait() argument
H A DOperationSupport.h148 bool hasTrait(TypeID traitID) const { in hasTrait() argument
149 return isRegistered() && impl->hasTraitFn(traitID); in hasTrait()
159 bool mightHaveTrait(TypeID traitID) const { in mightHaveTrait() argument
160 return !isRegistered() || impl->hasTraitFn(traitID); in mightHaveTrait()
358 bool hasTrait(TypeID traitID) const { return impl->hasTraitFn(traitID); } in hasTrait() argument
H A DTypeSupport.h79 bool hasTrait(TypeID traitID) const { return hasTraitFn(traitID); } in hasTrait() argument
H A DAttributeSupport.h83 bool hasTrait(TypeID traitID) const { return hasTraitFn(traitID); } in hasTrait() argument
H A DOpDefinition.h1465 static bool hasTrait(TypeID traitID) {
1468 if (traitIDs[i] == traitID)
H A DPatternMatch.h195 Pattern(MatchTraitOpTypeTag tag, TypeID traitID, PatternBenefit benefit,
/llvm-project-15.0.7/mlir/lib/Rewrite/
H A DFrozenRewritePatternSet.cpp112 if (Optional<TypeID> traitID = pat->getRootTraitID()) { in FrozenRewritePatternSet() local
114 return info.hasTrait(*traitID); in FrozenRewritePatternSet()
/llvm-project-15.0.7/mlir/lib/IR/
H A DPatternMatch.cpp59 Pattern::Pattern(MatchTraitOpTypeTag tag, TypeID traitID, in Pattern() argument
62 : Pattern(traitID.getAsOpaquePointer(), RootKind::TraitID, generatedNames, in Pattern()