Searched refs:getTypeAttrName (Results 1 – 14 of 14) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | FunctionInterfaces.cpp | 155 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 D | FunctionImplementation.cpp | 200 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 D | FunctionInterfaces.h | 29 inline StringRef getTypeAttrName() { return "function_type"; } in getTypeAttrName() function 212 << function_interface_impl::getTypeAttrName() << '\''; in verifyTrait()
|
| H A D | FunctionInterfaces.td | 142 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 D | FuncOps.cpp | 248 state.addAttribute(FunctionOpInterface::getTypeAttrName(), in build()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/GPU/IR/ |
| H A D | GPUDialect.cpp | 830 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 D | GPUToSPIRV.cpp | 215 if (namedAttr.getName() == FunctionOpInterface::getTypeAttrName() || in lowerAsEntryFunction()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/GPUCommon/ |
| H A D | GPUOpsLowering.cpp | 59 attr.getName() == FunctionOpInterface::getTypeAttrName() || in matchAndRewrite()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Dialect/ |
| H A D | FIROps.cpp | 1281 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 D | FuncToLLVM.cpp | 58 attr.getName() == FunctionOpInterface::getTypeAttrName() || in filterFuncAttributes()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Transforms/ |
| H A D | SPIRVConversion.cpp | 575 if (namedAttr.getName() != FunctionOpInterface::getTypeAttrName() && in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/ |
| H A D | SPIRVOps.cpp | 2219 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 D | FIROps.td | 1720 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 D | LLVMDialect.cpp | 2284 result.addAttribute(FunctionOpInterface::getTypeAttrName(), in parse()
|