Lines Matching defs:trait

753   void genOpInterfaceMethods(const tblgen::InterfaceTrait *trait);
874 // 2. Verify native trait attributes so that other attributes may call methods
1095 for (const auto &trait : op.getTraits()) {
1096 if (auto *opTrait = dyn_cast<tblgen::NativeTrait>(&trait)) {
1113 for (const auto &trait : op.getTraits()) {
1114 if (auto *opTrait = dyn_cast<tblgen::NativeTrait>(&trait)) {
2178 "to use 'AttrSizedOperandSegments' trait");
2386 "to use 'AttrSizedResultSegments' trait");
3512 for (const auto &trait : op.getTraits()) {
3513 if (const auto *opTrait = dyn_cast<tblgen::InterfaceTrait>(&trait))
3545 for (const auto &trait : op.getTraits()) {
3546 const auto *opTrait = dyn_cast<tblgen::SideEffectTrait>(&trait);
3641 const auto *trait =
3643 Interface interface = trait->getInterface();
3790 for (auto &trait : op.getTraits()) {
3791 if (auto *t = dyn_cast<tblgen::PredTrait>(&trait)) {
3988 /// Add a size count trait to the given operation class.
4014 // Add region size trait.
4025 // trait.
4031 // Add successor size trait.
4036 // Add variadic size trait and normal op traits.
4040 // Add operand size trait.
4045 for (const auto &trait : op.getTraits()) {
4046 if (auto *opTrait = dyn_cast<tblgen::NativeTrait>(&trait)) {
4060 for (const auto &trait : op.getTraits()) {
4061 if (auto *opTrait = dyn_cast<tblgen::NativeTrait>(&trait)) {
4064 } else if (auto *opTrait = dyn_cast<tblgen::InterfaceTrait>(&trait)) {
4079 // If the user only has one results or specifically added the Asm trait,
4093 // Don't add the trait if none of the results have a valid name.