/external/llvm-project/mlir/include/mlir-c/ |
D | Support.h | 51 struct MlirStringRef { struct 55 typedef struct MlirStringRef MlirStringRef; argument 60 inline static MlirStringRef mlirStringRefCreate(const char *str, in mlirStringRefCreate() 62 MlirStringRef result; in mlirStringRefCreate() 71 MLIR_CAPI_EXPORTED MlirStringRef 81 typedef void (*MlirStringCallback)(MlirStringRef, void *);
|
D | BuiltinAttributes.h | 81 mlirDictionaryAttrGetElementByName(MlirAttribute attr, MlirStringRef name); 158 mlirOpaqueAttrGet(MlirContext ctx, MlirStringRef dialectNamespace, 163 MLIR_CAPI_EXPORTED MlirStringRef 168 MLIR_CAPI_EXPORTED MlirStringRef mlirOpaqueAttrGetData(MlirAttribute attr); 180 MlirStringRef str); 185 MlirStringRef str); 189 MLIR_CAPI_EXPORTED MlirStringRef mlirStringAttrGetValue(MlirAttribute attr); 202 mlirSymbolRefAttrGet(MlirContext ctx, MlirStringRef symbol, 207 MLIR_CAPI_EXPORTED MlirStringRef 212 MLIR_CAPI_EXPORTED MlirStringRef [all …]
|
D | IR.h | 73 MlirStringRef name; 120 MlirStringRef name); 140 MLIR_CAPI_EXPORTED MlirStringRef mlirDialectGetNamespace(MlirDialect dialect); 148 MlirContext context, MlirStringRef filename, unsigned line, unsigned col); 180 MlirStringRef module); 212 MlirStringRef name; 228 MLIR_CAPI_EXPORTED MlirOperationState mlirOperationStateGet(MlirStringRef name, 359 mlirOperationGetAttributeByName(MlirOperation op, MlirStringRef name); 364 MlirStringRef name, 370 MlirStringRef name); [all …]
|
D | Pass.h | 75 MlirPassManager passManager, MlirStringRef operationName); 81 MlirOpPassManager passManager, MlirStringRef operationName); 106 mlirParsePassPipeline(MlirOpPassManager passManager, MlirStringRef pipeline);
|
D | StandardDialect.h | 37 MLIR_CAPI_EXPORTED MlirStringRef mlirStandardDialectGetNamespace();
|
/external/llvm-project/mlir/lib/CAPI/IR/ |
D | BuiltinAttributes.cpp | 89 MlirStringRef name) { in mlirDictionaryAttrGetElementByName() 163 MlirAttribute mlirOpaqueAttrGet(MlirContext ctx, MlirStringRef dialectNamespace, in mlirOpaqueAttrGet() 171 MlirStringRef mlirOpaqueAttrGetDialectNamespace(MlirAttribute attr) { in mlirOpaqueAttrGetDialectNamespace() 175 MlirStringRef mlirOpaqueAttrGetData(MlirAttribute attr) { in mlirOpaqueAttrGetData() 187 MlirAttribute mlirStringAttrGet(MlirContext ctx, MlirStringRef str) { in mlirStringAttrGet() 191 MlirAttribute mlirStringAttrTypedGet(MlirType type, MlirStringRef str) { in mlirStringAttrTypedGet() 195 MlirStringRef mlirStringAttrGetValue(MlirAttribute attr) { in mlirStringAttrGetValue() 207 MlirAttribute mlirSymbolRefAttrGet(MlirContext ctx, MlirStringRef symbol, in mlirSymbolRefAttrGet() 217 MlirStringRef mlirSymbolRefAttrGetRootReference(MlirAttribute attr) { in mlirSymbolRefAttrGetRootReference() 221 MlirStringRef mlirSymbolRefAttrGetLeafReference(MlirAttribute attr) { in mlirSymbolRefAttrGetLeafReference() [all …]
|
D | IR.cpp | 58 MlirStringRef name) { in mlirContextGetOrLoadDialect() 74 MlirStringRef mlirDialectGetNamespace(MlirDialect dialect) { in mlirDialectGetNamespace() 113 MlirStringRef filename, unsigned line, in mlirLocationFileLineColGet() 145 MlirModule mlirModuleCreateParse(MlirContext context, MlirStringRef module) { in mlirModuleCreateParse() 173 MlirOperationState mlirOperationStateGet(MlirStringRef name, MlirLocation loc) { in mlirOperationStateGet() 315 MlirStringRef name) { in mlirOperationGetAttributeByName() 319 void mlirOperationSetAttributeByName(MlirOperation op, MlirStringRef name, in mlirOperationSetAttributeByName() 324 bool mlirOperationRemoveAttributeByName(MlirOperation op, MlirStringRef name) { in mlirOperationRemoveAttributeByName() 542 MlirType mlirTypeParseGet(MlirContext context, MlirStringRef type) { in mlirTypeParseGet() 565 MlirAttribute mlirAttributeParseGet(MlirContext context, MlirStringRef attr) { in mlirAttributeParseGet() [all …]
|
D | Pass.cpp | 42 MlirStringRef operationName) { in mlirPassManagerGetNestedUnder() 47 MlirStringRef operationName) { in mlirOpPassManagerGetNestedUnder() 67 MlirStringRef pipeline) { in mlirParsePassPipeline()
|
D | Support.cpp | 13 MlirStringRef mlirStringRefCreateFromCString(const char *str) { in mlirStringRefCreateFromCString()
|
/external/llvm-project/mlir/include/mlir/CAPI/ |
D | Utils.h | 30 CallbackOstream(std::function<void(MlirStringRef, void *)> callback, in CallbackOstream() argument 36 MlirStringRef string = mlirStringRefCreate(ptr, size); in write_impl() 44 std::function<void(MlirStringRef, void *)> callback;
|
D | Support.h | 23 inline MlirStringRef wrap(llvm::StringRef ref) { in wrap() 28 inline llvm::StringRef unwrap(MlirStringRef ref) { in unwrap()
|
/external/llvm-project/mlir/lib/Bindings/Python/ |
D | PybindUtils.h | 117 return [](MlirStringRef part, void *userData) { 142 return [](MlirStringRef part, void *userData) { 169 return [](MlirStringRef part, void *userData) {
|
D | IRModules.cpp | 151 static MlirStringRef toMlirStringRef(const std::string &s) { in toMlirStringRef() 1004 MlirStringRef identStr = mlirIdentifierStr(ident); in createOpView() 1591 MlirStringRef stringRef = mlirStringAttrGetValue(self); in bindDerived() 2617 MlirStringRef ns = in populateIRSubmodule() 2622 MlirStringRef ns = mlirDialectGetNamespace(self.get()); in populateIRSubmodule()
|
/external/llvm-project/mlir/test/CAPI/ |
D | ir.c | 301 static void printToStderr(MlirStringRef str, void *userData) { in printToStderr() 350 MlirStringRef identStr = mlirIdentifierStr(ident); in printFirstOfEach() 735 bool stringIsEqual(const char *lhs, MlirStringRef rhs) { in stringIsEqual() 779 MlirStringRef opaqueData = mlirOpaqueAttrGetData(opaque); in printBuiltinAttributes() 791 MlirStringRef stringValue = mlirStringAttrGetValue(string); in printBuiltinAttributes() 803 MlirStringRef flatSymbolRefValue = in printBuiltinAttributes() 822 MlirStringRef symbolRefLeaf = mlirSymbolRefAttrGetLeafReference(symbolRef); in printBuiltinAttributes() 823 MlirStringRef symbolRefRoot = mlirSymbolRefAttrGetRootReference(symbolRef); in printBuiltinAttributes() 1280 MlirStringRef stdNs = mlirDialectGetNamespace(std); in registerOnlyStd() 1281 MlirStringRef alsoStdNs = mlirStandardDialectGetNamespace(); in registerOnlyStd()
|
D | pass.c | 126 static void printToStderr(MlirStringRef str, void *userData) { in printToStderr()
|
/external/llvm-project/mlir/lib/CAPI/Standard/ |
D | StandardDialect.cpp | 23 MlirStringRef mlirStandardDialectGetNamespace() { in mlirStandardDialectGetNamespace()
|
/external/llvm-project/mlir/docs/ |
D | CAPI.md | 106 these are represented as instances of `MlirStringRef` structure that contains a 109 the `length` field must be used to identify the last character. `MlirStringRef` 111 ensuring that the pointee outlives all uses of `MlirStringRef`.
|