Home
last modified time | relevance | path

Searched refs:NamedAttrList (Results 1 – 25 of 28) sorted by relevance

12

/external/llvm-project/mlir/lib/IR/
DOperationSupport.cpp25 NamedAttrList::NamedAttrList(ArrayRef<NamedAttribute> attributes) { in NamedAttrList() function in NamedAttrList
29 NamedAttrList::NamedAttrList(const_iterator in_start, const_iterator in_end) { in NamedAttrList() function in NamedAttrList
33 ArrayRef<NamedAttribute> NamedAttrList::getAttrs() const { return attrs; } in getAttrs()
35 Optional<NamedAttribute> NamedAttrList::findDuplicate() const { in findDuplicate()
45 DictionaryAttr NamedAttrList::getDictionary(MLIRContext *context) const { in getDictionary()
55 NamedAttrList::operator MutableDictionaryAttr() const { in operator MutableDictionaryAttr()
62 void NamedAttrList::append(StringRef name, Attribute attr) { in append()
67 void NamedAttrList::append(Identifier name, Attribute attr) { in append()
72 void NamedAttrList::append(ArrayRef<NamedAttribute> newAttributes) { in append()
77 void NamedAttrList::append(const_iterator in_start, const_iterator in_end) { in append()
[all …]
DFunctionImplementation.cpp19 SmallVectorImpl<Type> &argTypes, SmallVectorImpl<NamedAttrList> &argAttrs, in parseFunctionArgumentList()
56 NamedAttrList attrs; in parseFunctionArgumentList()
96 SmallVectorImpl<NamedAttrList> &resultAttrs) { in parseFunctionResultList()
131 SmallVectorImpl<Type> &argTypes, SmallVectorImpl<NamedAttrList> &argAttrs, in parseFunctionSignature()
133 SmallVectorImpl<NamedAttrList> &resultAttrs) { in parseFunctionSignature()
144 ArrayRef<NamedAttrList> argAttrs, in addArgAndResultAttrs()
145 ArrayRef<NamedAttrList> resultAttrs) { in addArgAndResultAttrs()
167 SmallVector<NamedAttrList, 4> argAttrs; in parseFunctionLikeOp()
168 SmallVector<NamedAttrList, 4> resultAttrs; in parseFunctionLikeOp()
DSymbolTable.cpp996 NamedAttrList &attrs) { in parseOptionalVisibilityKeyword()
/external/llvm-project/mlir/include/mlir/IR/
DFunctionImplementation.h41 ArrayRef<NamedAttrList> argAttrs,
42 ArrayRef<NamedAttrList> resultAttrs);
59 SmallVectorImpl<Type> &argTypes, SmallVectorImpl<NamedAttrList> &argAttrs,
70 SmallVectorImpl<NamedAttrList> &argAttrs,
72 SmallVectorImpl<NamedAttrList> &resultAttrs);
DOpImplementation.h439 NamedAttrList &attrs) { in parseAttribute()
446 NamedAttrList &attrs) { in parseAttribute()
454 NamedAttrList &attrs) = 0;
457 NamedAttrList &attrs) { in parseOptionalAttribute()
466 NamedAttrList &attrs) = 0;
470 NamedAttrList &attrs) = 0;
477 NamedAttrList &attrs) { in parseAttribute()
495 virtual ParseResult parseOptionalAttrDict(NamedAttrList &result) = 0;
500 parseOptionalAttrDictWithKeyword(NamedAttrList &result) = 0;
515 NamedAttrList &attrs) { in parseSymbolName()
[all …]
DOperationSupport.h220 class NamedAttrList {
227 NamedAttrList() : dictionarySorted({}, true) {} in NamedAttrList() function
228 NamedAttrList(ArrayRef<NamedAttribute> attributes);
229 NamedAttrList(const_iterator in_start, const_iterator in_end);
231 bool operator!=(const NamedAttrList &other) const {
234 bool operator==(const NamedAttrList &other) const {
301 NamedAttrList &operator=(const SmallVectorImpl<NamedAttribute> &rhs);
395 NamedAttrList attributes;
DSymbolTable.h314 NamedAttrList &attrs);
/external/tensorflow/tensorflow/compiler/mlir/tfr/utils/
Dutils.cc34 void CollectAllowedAttrs(CallOp src, NamedAttrList* attrs) { in CollectAllowedAttrs()
45 const NamedAttrList& attrs) { in AddAttributesInSameBlock()
56 const NamedAttrList& attrs) { in AddAttributes()
155 NamedAttrList attrs; in CopyNonSymbolRefAttrs()
169 NamedAttrList attrs; in PropagateAttrsToOperations()
/external/tensorflow/tensorflow/compiler/mlir/tfr/passes/
Draise_to_tf.cc102 SmallVectorImpl<Value>* inputs, NamedAttrList* arg_attrs,
115 const SmallVectorImpl<Value>& inputs, const NamedAttrList& attr_list,
227 SmallVectorImpl<Value>* inputs, NamedAttrList* arg_attrs, in CollectInputsAndAttributes()
361 const SmallVectorImpl<Value>& inputs, const NamedAttrList& attr_list, in CreateAndReplaceOp()
419 NamedAttrList argument_attrs; in matchAndRewrite()
/external/llvm-project/mlir/lib/Parser/
DParser.cpp1126 StringRef attrName, NamedAttrList &attrs) { in parseOptionalAttributeAndAddToList()
1135 NamedAttrList &attrs) override { in parseOptionalAttribute()
1140 NamedAttrList &attrs) override { in parseOptionalAttribute()
1145 NamedAttrList &attrs) override { in parseOptionalAttribute()
1150 ParseResult parseOptionalAttrDict(NamedAttrList &result) override { in parseOptionalAttrDict()
1158 ParseResult parseOptionalAttrDictWithKeyword(NamedAttrList &result) override { in parseOptionalAttrDictWithKeyword()
1225 NamedAttrList &attrs) override { in parseOptionalSymbolName()
1373 NamedAttrList &attrs, in parseAffineMapOfSSAIds()
DParser.h208 ParseResult parseAttributeDict(NamedAttrList &attributes);
DAttributeParser.cpp96 NamedAttrList elements; in parseAttribute()
246 ParseResult Parser::parseAttributeDict(NamedAttrList &attributes) { in parseAttributeDict()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dconvert_attr.cc98 mlir::NamedAttrList attrs; in ConvertAttributeValue()
Dshape_inference_utils.cc70 NamedAttrList GetAllAttributesFromOperation(Operation* op) { in GetAllAttributesFromOperation()
71 NamedAttrList attr_list; in GetAllAttributesFromOperation()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_cluster_formation.cc64 using MetadataMap = llvm::SmallDenseMap<llvm::StringRef, NamedAttrList, 8>;
91 NamedAttrList attrs(metadata_op->getAttrDictionary()); in CollectMetadata()
/external/llvm-project/mlir/lib/Dialect/GPU/IR/
DGPUDialect.cpp497 SmallVector<NamedAttrList, 4> argAttrs; in parseLaunchFuncOperands()
603 SmallVector<NamedAttrList, 1> argAttrs; in parseGPUFuncOp()
604 SmallVector<NamedAttrList, 1> resultAttrs; in parseGPUFuncOp()
/external/llvm-project/mlir/lib/Dialect/Async/IR/
DAsync.cpp287 NamedAttrList attrs; in parseExecuteOp()
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVOps.cpp116 NamedAttrList attr; in parseEnumStrAttr()
1204 NamedAttrList weights; in parseBranchConditionalOp()
1633 NamedAttrList attrs; in parseEntryPointOp()
1687 NamedAttrList attr; in parseExecutionModeOp()
1719 SmallVector<NamedAttrList, 4> argAttrs; in parseFuncOp()
1720 SmallVector<NamedAttrList, 4> resultAttrs; in parseFuncOp()
3330 NamedAttrList attrs; in parseSpecConstantCompositeOp()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dimport_model.cc123 using mlir::NamedAttrList;
312 NamedAttrList* attributes);
1157 NamedAttrList* attributes) { in ConvertFunctionCallAttribute()
1185 NamedAttrList attrs; in ConvertAttributeValue()
1485 llvm::SmallVector<mlir::NamedAttrList, 4> arg_attrs; in ConvertFunctionArgAndRets()
1487 llvm::SmallVector<mlir::NamedAttrList, 4> ret_attrs; in ConvertFunctionArgAndRets()
1597 llvm::to_vector<4>(llvm::map_range(arg_attrs, [&](NamedAttrList& list) { in ConvertFunctionArgAndRets()
1601 llvm::to_vector<4>(llvm::map_range(ret_attrs, [&](NamedAttrList& list) { in ConvertFunctionArgAndRets()
/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIROps.cpp183 mlir::NamedAttrList attrs; in parseCallOp()
261 mlir::NamedAttrList attrs; in parseCmpOp()
1098 mlir::NamedAttrList temp; in parseSelectCase()
1319 mlir::NamedAttrList temp; in parseSelectType()
/external/llvm-project/mlir/test/lib/Dialect/Test/
DTestDialect.cpp419 NamedAttrList &attrs) { in parseCustomDirectiveAttrDict()
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DLLVMDialect.cpp1379 SmallVector<NamedAttrList, 1> argAttrs; in parseLLVMFuncOp()
1380 SmallVector<NamedAttrList, 1> resultAttrs; in parseLLVMFuncOp()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dmhlo_to_lhlo_with_xla.cc1497 NamedAttrList arg_attr_list; in Initialize()
1506 NamedAttrList arg_attr_list; in Initialize()
/external/llvm-project/mlir/lib/Dialect/Shape/IR/
DShape.cpp379 NamedAttrList dummy; in parseConstShapeOp()
/external/llvm-project/mlir/lib/Dialect/Affine/IR/
DAffineOps.cpp2807 NamedAttrList stepsAttrs; in parseAffineParallelOp()
2845 NamedAttrList attrStorage; in parseAffineParallelOp()

12