Home
last modified time | relevance | path

Searched refs:UnitAttr (Results 1 – 25 of 42) sorted by relevance

12

/external/llvm-project/mlir/include/mlir/Dialect/OpenACC/
DOpenACCOps.td97 UnitAttr:$asyncAttr,
99 UnitAttr:$waitAttr,
105 UnitAttr:$selfAttr,
251 UnitAttr:$async,
254 UnitAttr:$wait,
293 UnitAttr:$async,
296 UnitAttr:$wait,
300 UnitAttr:$finalize);
348 UnitAttr:$seq,
349 UnitAttr:$independent,
[all …]
/external/llvm-project/debuginfo-tests/llvm-prettyprinters/gdb/
Dmlir-support.cpp33 mlir::Attribute UnitAttr = mlir::UnitAttr::get(&Context); variable
37 mlir::Attribute ArrayAttr = mlir::ArrayAttr::get({UnitAttr}, &Context);
Dmlir-support.gdb89 # CHECK: cast<mlir::UnitAttr>
90 p UnitAttr
104 # CHECK: mlir::UnitAttr
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dembed_tf_framework_pass.cc33 return !func->hasAttrOfType<UnitAttr>(TFFrameworkDialect::kTFEntryAttrName); in IsNotInsideTfEntryFunction()
61 if (!op->hasAttrOfType<UnitAttr>(TFFrameworkDialect::kTFEntryAttrName)) { in runOnOperation()
Dembed_memref_prints.cc109 if (!func->getAttrOfType<UnitAttr>(TFFrameworkDialect::kTFEntryAttrName)) in runOnFunction()
Dtensorflow_abi_knowledge_propagation.cc51 if (function->getAttrOfType<mlir::UnitAttr>( in runOnFunction()
Dbuffer_reuse_pass.cc327 if (!getFunction()->getAttrOfType<UnitAttr>( in runOnFunction()
/external/llvm-project/mlir/test/lib/Transforms/
DTestGpuMemoryPromotion.cpp39 if (op.getArgAttrOfType<UnitAttr>(i, "gpu.test_promote_workgroup")) in runOnOperation()
/external/llvm-project/mlir/test/Bindings/Python/
Dpython_test_ops.td25 UnitAttr:$unit);
/external/llvm-project/mlir/test/Bindings/Python/dialects/
Dpython_test.py20 unit = UnitAttr.get()
/external/llvm-project/mlir/include/mlir/Dialect/LLVMIR/
DNVVMOps.td100 OptionalAttr<UnitAttr>:$return_value_and_is_valid)> {
110 if (!(*this)->getAttrOfType<UnitAttr>("return_value_and_is_valid"))
DLLVMOps.td292 OptionalAttr<I64Attr>:$alignment, UnitAttr:$volatile_,
293 UnitAttr:$nontemporal);
317 OptionalAttr<I64Attr>:$alignment, UnitAttr:$volatile_,
318 UnitAttr:$nontemporal);
402 let arguments = (ins UnitAttr:$cleanup, Variadic<LLVM_Type>);
686 UnitAttr:$constant,
1222 UnitAttr:$has_side_effects,
1223 UnitAttr:$is_align_stack,
/external/llvm-project/mlir/lib/Dialect/GPU/IR/
DGPUDialect.cpp35 UnitAttr isKernelAttr = op->getAttrOfType<UnitAttr>(getKernelFuncAttrName()); in isKernel()
70 if (!attr.second.isa<UnitAttr>() || in verifyOperationAttribute()
107 if (!kernelFunc->getAttrOfType<mlir::UnitAttr>( in verifyOperationAttribute()
477 if (!module->getAttrOfType<UnitAttr>( in verify()
/external/llvm-project/mlir/lib/Target/LLVMIR/
DConvertToROCDLIR.cpp89 if (!func->getAttrOfType<UnitAttr>( in translateModuleToROCDLIR()
/external/llvm-project/mlir/test/mlir-tblgen/
Dop-python-bindings.td120 // CHECK: if bool(unitAttr): attributes["unitAttr"] = _ir.UnitAttr.get(
145 UnitAttr:$unitAttr, I32Attr:$in);
158 // CHECK: if bool(in_): attributes["in"] = _ir.UnitAttr.get(
174 let arguments = (ins I32, UnitAttr:$in, F32, OptionalAttr<F32Attr>:$is);
Dop-attribute.td261 let arguments = (ins UnitAttr:$attr);
268 …::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, /*optional*/::mlir::UnitAttr attr)
/external/llvm-project/mlir/lib/IR/
DMLIRContext.cpp319 UnitAttr unitAttr;
381 impl->unitAttr = AttributeUniquer::get<UnitAttr>(this); in MLIRContext()
834 UnitAttr UnitAttr::get(MLIRContext *context) { in get()
DBuilders.cpp88 UnitAttr Builder::getUnitAttr() { return UnitAttr::get(context); } in getUnitAttr()
DBuiltinDialect.cpp60 UnitAttr>(); in initialize()
/external/llvm-project/mlir/include/mlir/IR/
DBuilders.h44 class UnitAttr; variable
89 UnitAttr getUnitAttr();
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dexport_utils.cc176 Status ConvertAttribute(const mlir::UnitAttr& attr, AttrValue* value) { in ConvertAttribute()
381 mlir::StringAttr, mlir::ElementsAttr, mlir::UnitAttr, in ConvertAttributes()
/external/llvm-project/mlir/lib/CAPI/IR/
DBuiltinAttributes.cpp272 return unwrap(attr).isa<UnitAttr>(); in mlirAttributeIsAUnit()
276 return wrap(UnitAttr::get(unwrap(ctx))); in mlirUnitAttrGet()
/external/llvm-project/mlir/lib/Conversion/LinalgToStandard/
DLinalgToStandard.cpp79 funcOp.setAttr("llvm.emit_c_interface", UnitAttr::get(op->getContext())); in getLibraryCallSymbolRef()
/external/llvm-project/mlir/lib/Dialect/GPU/Transforms/
DKernelOutlining.cpp273 UnitAttr::get(&getContext())); in runOnOperation()
/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIROps.cpp1103 if (attr.dyn_cast_or_null<mlir::UnitAttr>()) { in parseSelectCase()
1180 } else if (attr.isa<mlir::UnitAttr>()) { in build()
1231 } else if (attr.isa<UnitAttr>()) { in build()
1476 if (attr.dyn_cast_or_null<mlir::UnitAttr>() || in isValidCaseAttr()
1490 if (!attr.dyn_cast_or_null<mlir::UnitAttr>()) { in getCaseArgumentOffset()

12