Home
last modified time | relevance | path

Searched refs:opTrait (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/mlir/lib/TableGen/
DOperator.cpp163 if (const auto *opTrait = dyn_cast<NativeOpTrait>(&t)) { in getTrait() local
164 if (opTrait->getTrait() == trait) in getTrait()
165 return opTrait; in getTrait()
166 } else if (const auto *opTrait = dyn_cast<InternalOpTrait>(&t)) { in getTrait() local
167 if (opTrait->getTrait() == trait) in getTrait()
168 return opTrait; in getTrait()
169 } else if (const auto *opTrait = dyn_cast<InterfaceOpTrait>(&t)) { in getTrait() local
170 if (opTrait->getTrait() == trait) in getTrait()
171 return opTrait; in getTrait()
326 if (const auto *opTrait = dyn_cast<InterfaceOpTrait>(&trait)) in populateTypeInferenceInfo() local
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/tools/
Dop_quant_spec_getters_gen.cc67 if (auto opTrait = llvm::dyn_cast<mlir::tblgen::NativeOpTrait>(&t)) { in OpQuantSpecWriter() local
68 auto trait_str = opTrait->getTrait(); in OpQuantSpecWriter()
/external/llvm-project/mlir/tools/mlir-tblgen/
DOpDefinitionsGen.cpp1597 void OpEmitter::genOpInterfaceMethods(const tblgen::InterfaceOpTrait *opTrait) { in genOpInterfaceMethods() argument
1598 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() local
1636 if (opTrait->shouldDeclareMethods()) in genOpInterfaceMethods()
1637 genOpInterfaceMethods(opTrait); in genOpInterfaceMethods()
1668 const auto *opTrait = dyn_cast<tblgen::SideEffectTrait>(&trait); in genSideEffectInterfaceMethods() local
1669 if (!opTrait) in genSideEffectInterfaceMethods()
1671 auto &effects = interfaceEffects[opTrait->getBaseEffectName()]; in genSideEffectInterfaceMethods()
1672 for (auto decorator : opTrait->getEffects()) in genSideEffectInterfaceMethods()
[all …]