Home
last modified time | relevance | path

Searched refs:getTypeAttrName (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/mlir/lib/IR/
H A DFunctionInterfaces.cpp155 op->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in insertFunctionArguments()
199 op->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in insertFunctionResults()
221 op->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in eraseFunctionArguments()
242 op->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in eraseFunctionResults()
284 op->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in setFunctionType()
H A DFunctionImplementation.cpp200 result.addAttribute(getTypeAttrName(), TypeAttr::get(type)); in parseFunctionOp()
212 getTypeAttrName()}) { in parseFunctionOp()
308 ::mlir::SymbolTable::getSymbolAttrName(), getTypeAttrName(), in printFunctionAttributes()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DFunctionInterfaces.h29 inline StringRef getTypeAttrName() { return "function_type"; } in getTypeAttrName() function
212 << function_interface_impl::getTypeAttrName() << '\''; in verifyTrait()
H A DFunctionInterfaces.td142 state.addAttribute(function_interface_impl::getTypeAttrName(),
248 static StringRef getTypeAttrName() {
249 return function_interface_impl::getTypeAttrName();
265 getTypeAttrName());
/llvm-project-15.0.7/mlir/lib/Dialect/Func/IR/
H A DFuncOps.cpp248 state.addAttribute(FunctionOpInterface::getTypeAttrName(), in build()
/llvm-project-15.0.7/mlir/lib/Dialect/GPU/IR/
H A DGPUDialect.cpp830 result.addAttribute(getTypeAttrName(), TypeAttr::get(type)); in build()
901 result.addAttribute(GPUFuncOp::getTypeAttrName(), TypeAttr::get(type)); in parse()
973 return emitOpError("requires '" + getTypeAttrName() + in verifyType()
/llvm-project-15.0.7/mlir/lib/Conversion/GPUToSPIRV/
H A DGPUToSPIRV.cpp215 if (namedAttr.getName() == FunctionOpInterface::getTypeAttrName() || in lowerAsEntryFunction()
/llvm-project-15.0.7/mlir/lib/Conversion/GPUCommon/
H A DGPUOpsLowering.cpp59 attr.getName() == FunctionOpInterface::getTypeAttrName() || in matchAndRewrite()
/llvm-project-15.0.7/flang/lib/Optimizer/Dialect/
H A DFIROps.cpp1281 result.addAttribute(fir::GlobalOp::getTypeAttrName(result.name), in parse()
1325 result.addAttribute(getTypeAttrName(result.name), mlir::TypeAttr::get(type)); in build()
1431 result.addAttribute(fir::FieldIndexOp::getTypeAttrName(), in parseFieldLikeOp()
1460 << ", " << op.getOperation()->getAttr(fir::FieldIndexOp::getTypeAttrName()); in printFieldLikeOp()
1485 result.addAttribute(getTypeAttrName(), mlir::TypeAttr::get(recTy)); in build()
1878 result.addAttribute(getTypeAttrName(), mlir::TypeAttr::get(recTy)); in build()
/llvm-project-15.0.7/mlir/lib/Conversion/FuncToLLVM/
H A DFuncToLLVM.cpp58 attr.getName() == FunctionOpInterface::getTypeAttrName() || in filterFuncAttributes()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Transforms/
H A DSPIRVConversion.cpp575 if (namedAttr.getName() != FunctionOpInterface::getTypeAttrName() && in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVOps.cpp2219 state.addAttribute(FunctionOpInterface::getTypeAttrName(), in parse()
2268 return emitOpError("requires '" + getTypeAttrName() + in verifyType()
2309 state.addAttribute(getTypeAttrName(), TypeAttr::get(type)); in build()
/llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/
H A DFIROps.td1720 static constexpr llvm::StringRef getTypeAttrName() { return "on_type"; }
1986 static constexpr llvm::StringRef getTypeAttrName() { return "on_type"; }
/llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMDialect.cpp2284 result.addAttribute(FunctionOpInterface::getTypeAttrName(), in parse()