Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DEnumsGen.cpp368 FmtContext verifyCtx; in emitSpecializedAttrDef() local
369 verifyCtx.withSelf("attr"); in emitSpecializedAttrDef()
370 os << tgfmt(" return $0;\n", /*ctx=*/nullptr, tgfmt(condition, &verifyCtx)); in emitSpecializedAttrDef()
H A DOpInterfacesGen.cpp415 tblgen::FmtContext verifyCtx; in emitTraitDecl() local
416 verifyCtx.withOp("op"); in emitTraitDecl()
421 << "{\n " << tblgen::tgfmt(verify->trim(), &verifyCtx) in emitTraitDecl()
H A DOpDefinitionsGen.cpp563 FmtContext verifyCtx; member in __anon5e0e87940811::OpEmitter
810 verifyCtx.withOp("(*this->getOperation())"); in OpEmitter()
811 verifyCtx.addSubst("_ctxt", "this->getOperation()->getContext()"); in OpEmitter()
2477 populateSubstitutions(emitHelper, verifyCtx); in genVerifier()
2478 genAttributeVerifier(emitHelper, verifyCtx, implBody, staticVerifierEmitter); in genVerifier()
2486 &verifyCtx, tgfmt(t->getPredTemplate(), &verifyCtx), in genVerifier()
2981 FmtContext verifyCtx; in addVerification() local
2982 populateSubstitutions(emitHelper, verifyCtx); in addVerification()
2983 genAttributeVerifier(emitHelper, verifyCtx, body, staticVerifierEmitter); in addVerification()