Searched refs:opTrait (Results 1 – 3 of 3) sorted by relevance
163 if (const auto *opTrait = dyn_cast<NativeOpTrait>(&t)) { in getTrait() local164 if (opTrait->getTrait() == trait) in getTrait()165 return opTrait; in getTrait()166 } else if (const auto *opTrait = dyn_cast<InternalOpTrait>(&t)) { in getTrait() local167 if (opTrait->getTrait() == trait) in getTrait()168 return opTrait; in getTrait()169 } else if (const auto *opTrait = dyn_cast<InterfaceOpTrait>(&t)) { in getTrait() local170 if (opTrait->getTrait() == trait) in getTrait()171 return opTrait; in getTrait()326 if (const auto *opTrait = dyn_cast<InterfaceOpTrait>(&trait)) in populateTypeInferenceInfo() local[all …]
67 if (auto opTrait = llvm::dyn_cast<mlir::tblgen::NativeOpTrait>(&t)) { in OpQuantSpecWriter() local68 auto trait_str = opTrait->getTrait(); in OpQuantSpecWriter()
1597 void OpEmitter::genOpInterfaceMethods(const tblgen::InterfaceOpTrait *opTrait) { in genOpInterfaceMethods() argument1598 auto interface = opTrait->getOpInterface(); in genOpInterfaceMethods()1601 auto alwaysDeclaredMethodsVec = opTrait->getAlwaysDeclaredMethods(); in genOpInterfaceMethods()1635 if (const auto *opTrait = dyn_cast<tblgen::InterfaceOpTrait>(&trait)) in genOpInterfaceMethods() local1636 if (opTrait->shouldDeclareMethods()) in genOpInterfaceMethods()1637 genOpInterfaceMethods(opTrait); in genOpInterfaceMethods()1668 const auto *opTrait = dyn_cast<tblgen::SideEffectTrait>(&trait); in genSideEffectInterfaceMethods() local1669 if (!opTrait) in genSideEffectInterfaceMethods()1671 auto &effects = interfaceEffects[opTrait->getBaseEffectName()]; in genSideEffectInterfaceMethods()1672 for (auto decorator : opTrait->getEffects()) in genSideEffectInterfaceMethods()[all …]