Searched refs:TypeExpr (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/mlir/test/mlir-pdll/CodeGen/MLIR/ |
| H A D | expr.pdll | 118 // TypeExpr 121 // CHECK: pdl.pattern @TypeExpr 124 Pattern TypeExpr => erase op<> -> (type<"i32">);
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/AST/ |
| H A D | Nodes.cpp | 61 const TypeExpr, in visit() 116 void visitImpl(const TypeExpr *expr) {} in visitImpl() 352 TypeExpr *TypeExpr::create(Context &ctx, SMRange loc, StringRef value) { in create() 353 return new (ctx.getAllocator().Allocate<TypeExpr>()) in create() 354 TypeExpr(ctx, loc, copyStringWithNull(ctx, value)); in create()
|
| H A D | NodePrinter.cpp | 88 void printImpl(const TypeExpr *expr); 173 const TypeExpr, in print() 265 void NodePrinter::printImpl(const TypeExpr *expr) { in printImpl()
|
| /llvm-project-15.0.7/mlir/test/mlir-pdll/Parser/ |
| H A D | expr.pdll | 239 // TypeExpr 243 // CHECK: `-TypeExpr {{.*}} Value<"i64">
|
| /llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/ |
| H A D | Nodes.h | 604 class TypeExpr : public Node::NodeBase<TypeExpr, Expr> { 606 static TypeExpr *create(Context &ctx, SMRange loc, StringRef value); 613 TypeExpr(Context &ctx, SMRange loc, StringRef value) in TypeExpr() function 1287 OperationExpr, TupleExpr, TypeExpr>(node); in classof()
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/CodeGen/ |
| H A D | MLIRGen.cpp | 101 Value genExprImpl(const ast::TypeExpr *expr); 380 const ast::OperationExpr, const ast::TypeExpr>( in genSingleExpr() 527 Value CodeGen::genExprImpl(const ast::TypeExpr *expr) { in genExprImpl()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 17123 if (!TypeExpr) in FindTypeTagExpr() 17126 TypeExpr = TypeExpr->IgnoreParenImpCasts()->IgnoreParenCasts(); in FindTypeTagExpr() 17128 switch (TypeExpr->getStmtClass()) { in FindTypeTagExpr() 17130 const UnaryOperator *UO = cast<UnaryOperator>(TypeExpr); in FindTypeTagExpr() 17132 TypeExpr = UO->getSubExpr(); in FindTypeTagExpr() 17139 const DeclRefExpr *DRE = cast<DeclRefExpr>(TypeExpr); in FindTypeTagExpr() 17157 cast<AbstractConditionalOperator>(TypeExpr); in FindTypeTagExpr() 17162 TypeExpr = ACO->getTrueExpr(); in FindTypeTagExpr() 17164 TypeExpr = ACO->getFalseExpr(); in FindTypeTagExpr() 17173 TypeExpr = BO->getRHS(); in FindTypeTagExpr() [all …]
|
| H A D | OpenCLBuiltins.td | 145 // E.g. TypeExpr="Context.IntTy" for the int type. 146 string TypeExpr = _TypeExpr; 237 Type<_Ty.Name, QualType<_Ty.QTExpr.TypeExpr # _AccessQualifier # "Ty", 0>> {
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/ |
| H A D | Parser.cpp | 2189 return ast::TypeExpr::create(ctx, loc, attrExpr); in parseTypeExpr()
|