| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | TypeSwitch.h | 107 class TypeSwitch : public detail::TypeSwitchBase<TypeSwitch<T, ResultT>, T> { 109 using BaseT = detail::TypeSwitchBase<TypeSwitch<T, ResultT>, T>; 112 TypeSwitch(TypeSwitch &&other) = default; 116 TypeSwitch<T, ResultT> &Case(CallableT &&caseFn) { in Case() 154 class TypeSwitch<T, void> 155 : public detail::TypeSwitchBase<TypeSwitch<T, void>, T> { 157 using BaseT = detail::TypeSwitchBase<TypeSwitch<T, void>, T>; 160 TypeSwitch(TypeSwitch &&other) = default; 164 TypeSwitch<T, void> &Case(CallableT &&caseFn) { in Case()
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | TypeSwitchTest.cpp | 33 return TypeSwitch<Base *, int>(&value) in TEST() 47 return TypeSwitch<Base *, int>(&value) in TEST() 62 TypeSwitch<Base *>(&value) in TEST() 78 TypeSwitch<Base *>(&value) in TEST()
|
| /llvm-project-15.0.7/mlir/include/mlir/Support/ |
| H A D | LLVM.h | 82 class TypeSwitch; variable 142 using TypeSwitch = llvm::TypeSwitch<T, ResultT>; variable
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/CodeGen/ |
| H A D | CPPGen.cpp | 141 TypeSwitch<Operation *>(op) in generateConstraintAndRewrites() 147 TypeSwitch<const ast::Decl *>(decl) in generateConstraintAndRewrites() 172 return llvm::TypeSwitch<ast::Type, StringRef>(type) in getNativeTypeName()
|
| H A D | MLIRGen.cpp | 159 return TypeSwitch<ast::Type, Type>(type) in genType() 178 TypeSwitch<const ast::Node *>(node) in gen() 317 TypeSwitch<const ast::Node *, Value>(constraint.constraint) in genNonInitializerVar() 378 return TypeSwitch<const ast::Expr *, Value>(expr) in genSingleExpr() 391 return TypeSwitch<const ast::Expr *, SmallVector<Value>>(expr) in genExpr()
|
| /llvm-project-15.0.7/mlir/test/lib/Analysis/ |
| H A D | TestMemRefBoundCheck.cpp | 45 TypeSwitch<Operation *>(opInst) in runOnOperation()
|
| /llvm-project-15.0.7/mlir/lib/TableGen/ |
| H A D | Type.cpp | 53 return TypeSwitch<llvm::Init *, Optional<StringRef>>(builderCall->getValue()) in getBuilderCall()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/PDLToPDLInterp/ |
| H A D | PredicateTree.cpp | 71 TypeSwitch<Operation *>(val.getDefiningOp()) in getOperandTreePredicates() 239 TypeSwitch<Position *>(pos) in getTreePredicates() 331 TypeSwitch<Operation *>(&op) in getNonTreePredicates() 374 TypeSwitch<Operation *>(operand.getDefiningOp()) in detectRoots() 452 TypeSwitch<Operation *>(entry.value.getDefiningOp()) in buildCostGraph() 524 TypeSwitch<Operation *>(value.getDefiningOp()) in visitUpward()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | Location.cpp | 44 return TypeSwitch<LocationAttr, WalkResult>(*this) in walk()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/ |
| H A D | TargetRewrite.cpp | 213 llvm::TypeSwitch<mlir::Type>(ty) in convertCallOp() 235 llvm::TypeSwitch<mlir::Type>(ty) in convertCallOp() 378 llvm::TypeSwitch<mlir::Type>(ty) in convertAddrOp() 389 llvm::TypeSwitch<mlir::Type>(ty) in convertAddrOp() 482 llvm::TypeSwitch<mlir::Type>(ty) in convertSignature() 502 llvm::TypeSwitch<mlir::Type>(ty) in convertSignature()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/AsyncToLLVM/ |
| H A D | AsyncToLLVM.cpp | 626 TypeSwitch<Type, StringRef>(op.operand().getType()) in matchAndRewrite() 652 TypeSwitch<Type, StringRef>(op.operand().getType()) in matchAndRewrite() 677 TypeSwitch<Type, StringRef>(op.operand().getType()) in matchAndRewrite() 702 TypeSwitch<Type, StringRef>(op.operand().getType()) in matchAndRewrite() 730 TypeSwitch<Type, StringRef>(op.operand().getType()) in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/AST/ |
| H A D | NodePrinter.cpp | 130 TypeSwitch<Type>(type) in print() 164 TypeSwitch<const Node *>(node) in print()
|
| /llvm-project-15.0.7/mlir/test/lib/Dialect/Linalg/ |
| H A D | TestLinalgElementwiseFusion.cpp | 27 TypeSwitch<Operation *, void>(op) in addOperands()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/ |
| H A D | LLVMTypes.cpp | 805 llvm::TypeSwitch<Type, bool>(type) in isCompatibleImpl() 889 return llvm::TypeSwitch<Type, Type>(type) in getVectorElementType() 898 return llvm::TypeSwitch<Type, llvm::ElementCount>(type) in getVectorNumElements() 967 return llvm::TypeSwitch<Type, llvm::TypeSize>(type) in getPrimitiveTypeSizeInBits()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/NVGPU/IR/ |
| H A D | NVGPUDialect.cpp | 49 TypeSwitch<Type>(type) in printType()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/ |
| H A D | LoopCanonicalization.cpp | 47 llvm::TypeSwitch<Operation *, Value>(opResult.getOwner()) in isShapePreserving()
|
| /llvm-project-15.0.7/mlir/lib/Target/LLVMIR/ |
| H A D | TypeFromLLVM.cpp | 36 llvm::TypeSwitch<llvm::Type *, Type>(type) in translateType()
|
| H A D | TypeToLLVM.cpp | 38 llvm::TypeSwitch<Type, llvm::Type *>(type) in translateType()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch3/parser/ |
| H A D | AST.cpp | 79 llvm::TypeSwitch<ExprAST *>(expr) in dump()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch1/parser/ |
| H A D | AST.cpp | 79 llvm::TypeSwitch<ExprAST *>(expr) in dump()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch2/parser/ |
| H A D | AST.cpp | 79 llvm::TypeSwitch<ExprAST *>(expr) in dump()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch6/parser/ |
| H A D | AST.cpp | 79 llvm::TypeSwitch<ExprAST *>(expr) in dump()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch4/parser/ |
| H A D | AST.cpp | 79 llvm::TypeSwitch<ExprAST *>(expr) in dump()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch5/parser/ |
| H A D | AST.cpp | 79 llvm::TypeSwitch<ExprAST *>(expr) in dump()
|
| /llvm-project-15.0.7/mlir/lib/Interfaces/ |
| H A D | DataLayoutInterfaces.cpp | 238 return llvm::TypeSwitch<Operation *, DataLayoutSpecInterface>(operation) in getSpec() 258 llvm::TypeSwitch<Operation *>(parent) in collectParentLayouts()
|