Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/IR/
DFunctionSupport.cpp56 op->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in eraseFunctionArguments()
92 op->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in eraseFunctionResults()
DFunctionImplementation.cpp192 result.addAttribute(getTypeAttrName(), TypeAttr::get(type)); in parseFunctionLikeOp()
294 ::mlir::SymbolTable::getSymbolAttrName(), getTypeAttrName()}; in printFunctionAttributes()
DBuiltinDialect.cpp99 state.addAttribute(getTypeAttrName(), TypeAttr::get(type)); in build()
/external/llvm-project/mlir/include/mlir/IR/
DFunctionSupport.h26 inline StringRef getTypeAttrName() { return "type"; } in getTypeAttrName() function
188 static StringRef getTypeAttrName() { return ::mlir::impl::getTypeAttrName(); } in getTypeAttrName() function
192 getTypeAttrName()); in getTypeAttr()
473 << getTypeAttrName() << '\''; in verifyTrait()
552 concreteOp->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in setType()
DBuiltinOps.td151 return emitOpError("requires '" + getTypeAttrName() +
/external/llvm-project/mlir/lib/Dialect/GPU/IR/
DGPUDialect.cpp547 result.addAttribute(getTypeAttrName(), TypeAttr::get(type)); in build()
629 result.addAttribute(GPUFuncOp::getTypeAttrName(), TypeAttr::get(type)); in parseGPUFuncOp()
704 setAttr(getTypeAttrName(), TypeAttr::get(newType)); in setType()
711 return emitOpError("requires '" + getTypeAttrName() + in verifyType()
/external/llvm-project/mlir/lib/Conversion/GPUCommon/
DGPUOpsLowering.h72 attr.first == impl::getTypeAttrName() || in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/GPUToSPIRV/
DConvertGPUToSPIRV.cpp197 if (namedAttr.first == impl::getTypeAttrName() || in lowerAsEntryFunction()
/external/llvm-project/mlir/docs/
DTraits.md273 The convenience function `getTypeAttrName()` returns the name of an attribute
276 by `getTypeAttrName()`.
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVLowering.cpp497 if (namedAttr.first != impl::getTypeAttrName() && in matchAndRewrite()
DSPIRVOps.cpp1739 state.addAttribute(impl::getTypeAttrName(), TypeAttr::get(fnType)); in parseFuncOp()
1785 return emitOpError("requires '" + getTypeAttrName() + in verifyType()
1826 state.addAttribute(getTypeAttrName(), TypeAttr::get(type)); in build()
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DLLVMDialect.cpp1398 result.addAttribute(impl::getTypeAttrName(), TypeAttr::get(type)); in parseLLVMFuncOp()
1448 return emitOpError("requires '" + getTypeAttrName() + in verifyType()
/external/llvm-project/mlir/include/mlir/Dialect/LLVMIR/
DLLVMOps.td769 return (*this)->getAttrOfType<TypeAttr>(getTypeAttrName())
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp1218 attr.first == impl::getTypeAttrName() || attr.first == "std.varargs" || in filterFuncAttributes()