Lines Matching refs:addTrait
548 opClass.addTrait("::mlir::DerivedAttributeOpInterface::Trait"); in genAttrGetters()
1659 opClass.addTrait(effect->getInterfaceTrait()); in genSideEffectInterfaceMethods()
2001 opClass.addTrait("::mlir::OpTrait::Variadic" + traitKind + "s"); in addSizeCountTrait()
2003 opClass.addTrait("::mlir::OpTrait::AtLeastN" + traitKind + "s<" + in addSizeCountTrait()
2009 opClass.addTrait("::mlir::OpTrait::Zero" + traitKind); in addSizeCountTrait()
2012 opClass.addTrait("::mlir::OpTrait::One" + traitKind); in addSizeCountTrait()
2015 opClass.addTrait("::mlir::OpTrait::N" + traitKind + "s<" + Twine(numTotal) + in addSizeCountTrait()
2044 opClass.addTrait("::mlir::OpTrait::VariadicOperands"); in genTraits()
2046 opClass.addTrait("::mlir::OpTrait::AtLeastNOperands<" + in genTraits()
2051 opClass.addTrait("::mlir::OpTrait::ZeroOperands"); in genTraits()
2054 opClass.addTrait("::mlir::OpTrait::OneOperand"); in genTraits()
2057 opClass.addTrait("::mlir::OpTrait::NOperands<" + Twine(numOperands) + in genTraits()
2066 opClass.addTrait(opTrait->getTrait()); in genTraits()
2068 opClass.addTrait(opTrait->getTrait()); in genTraits()
2096 opClass.addTrait("::mlir::OpAsmOpInterface::Trait"); in genOpAsmInterface()