Home
last modified time | relevance | path

Searched refs:concreteOp (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/mlir/include/mlir/Dialect/Linalg/IR/
DLinalgTraits.h75 ConcreteType concreteOp = cast<ConcreteType>(op); in verifyTrait() local
76 auto nOperands = concreteOp.getNumInputsAndOutputBuffers(); in verifyTrait()
79 if (op->getNumResults() > concreteOp.getNumOutputs()) in verifyTrait()
105 ConcreteType concreteOp = cast<ConcreteType>(this->getOperation()); in getNumOutputs() local
106 return concreteOp.output_buffers().size() + in getNumOutputs()
107 concreteOp.result_tensors().size(); in getNumOutputs()
110 ConcreteType concreteOp = cast<ConcreteType>(op); in verifyTrait() local
112 concreteOp.getNumInputsAndOutputBuffers(); in verifyTrait()
118 concreteOp.getReductionDims(redDims); in verifyTrait()
122 if (!concreteOp.init_tensors().empty()) in verifyTrait()
[all …]
/external/llvm-project/mlir/include/mlir/IR/
DSymbolInterfaces.td165 auto concreteOp = cast<ConcreteOp>($_op);
166 if (concreteOp.isOptionalSymbol()) {
167 if(!concreteOp.getAttr(::mlir::SymbolTable::getSymbolAttrName()))
172 if (concreteOp.isDeclaration() && concreteOp.isPublic())
173 return concreteOp.emitOpError("symbol declaration cannot have public "
DFunctionSupport.h546 auto *concreteOp = static_cast<ConcreteType *>(this); in setType() local
549 concreteOp->removeAttr(getArgAttrName(i, nameBuf)); in setType()
551 concreteOp->removeAttr(getResultAttrName(i, nameBuf)); in setType()
552 concreteOp->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in setType()
/external/llvm-project/mlir/unittests/TableGen/
DOpBuildGen.cpp50 void verifyOp(OpTy &&concreteOp, std::vector<Type> resultTypes, in verifyOp() argument
53 ASSERT_NE(concreteOp, nullptr); in verifyOp()
54 Operation *op = concreteOp.getOperation(); in verifyOp()
68 concreteOp.erase(); in verifyOp()
/external/llvm-project/mlir/include/mlir/Interfaces/
DControlFlowInterfaces.td81 auto concreteOp = cast<ConcreteOpType>($_op);
83 Optional<OperandRange> operands = concreteOp.getSuccessorOperands(i);