Skip to content

Commit 8069d7b

Browse files
authored
Regenerate API exports after iree_input removal (#20590)
This is essentially a follow-up on #20256: removes the leftover `iree_input` entry and applies the changes after running `generate_exports.py`. This also synchronizes with new MLIR bindings that have been integrated recently, like in llvm/llvm-project@0264d42. Signed-off-by: Artem Gindinson <[email protected]>
1 parent 64671fd commit 8069d7b

File tree

5 files changed

+198
-21
lines changed

5 files changed

+198
-21
lines changed

compiler/src/iree/compiler/API/api_exports.c

Lines changed: 81 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ extern void ireeCompilerSourceSplit();
8383
extern void ireeCompilerSourceWrapBuffer();
8484
extern void ireeGPULoweringConfigAttrGet();
8585
extern void ireeGPULoweringConfigAttrGetAttributes();
86-
extern void ireeGPULoweringConfigAttrGetTypeID();
87-
extern void ireeGPULoweringConfigAttrGetTileSizes();
88-
extern void ireeGPULoweringConfigAttrGetSubgroupCount();
8986
extern void ireeGPULoweringConfigAttrGetMmaKind();
87+
extern void ireeGPULoweringConfigAttrGetSubgroupCount();
88+
extern void ireeGPULoweringConfigAttrGetTileSizes();
89+
extern void ireeGPULoweringConfigAttrGetTypeID();
9090
extern void ireeGPUMMAAttrGet();
9191
extern void ireeGPUMMAAttrGetInfo();
9292
extern void ireeGPUMMAAttrGetTypeID();
@@ -133,6 +133,8 @@ extern void mlirAffineExprIsMultipleOf();
133133
extern void mlirAffineExprIsPureAffine();
134134
extern void mlirAffineExprIsSymbolicOrConstant();
135135
extern void mlirAffineExprPrint();
136+
extern void mlirAffineExprShiftDims();
137+
extern void mlirAffineExprShiftSymbols();
136138
extern void mlirAffineFloorDivExprGet();
137139
extern void mlirAffineMapAttrGet();
138140
extern void mlirAffineMapAttrGetTypeID();
@@ -259,7 +261,9 @@ extern void mlirContextEqual();
259261
extern void mlirContextGetAllowUnregisteredDialects();
260262
extern void mlirContextGetNumLoadedDialects();
261263
extern void mlirContextGetNumRegisteredDialects();
264+
extern void mlirContextGetNumThreads();
262265
extern void mlirContextGetOrLoadDialect();
266+
extern void mlirContextGetThreadPool();
263267
extern void mlirContextIsRegisteredOperation();
264268
extern void mlirContextLoadAllAvailableDialects();
265269
extern void mlirContextSetAllowUnregisteredDialects();
@@ -286,6 +290,7 @@ extern void mlirDenseElementsAttrGetDoubleSplatValue();
286290
extern void mlirDenseElementsAttrGetDoubleValue();
287291
extern void mlirDenseElementsAttrGetFloatSplatValue();
288292
extern void mlirDenseElementsAttrGetFloatValue();
293+
extern void mlirDenseElementsAttrGetIndexValue();
289294
extern void mlirDenseElementsAttrGetInt16Value();
290295
extern void mlirDenseElementsAttrGetInt32SplatValue();
291296
extern void mlirDenseElementsAttrGetInt32Value();
@@ -425,7 +430,6 @@ extern void mlirGPUObjectAttrGetTarget();
425430
extern void mlirGPUObjectAttrGetWithKernels();
426431
extern void mlirGPUObjectAttrHasKernels();
427432
extern void mlirGPUObjectAttrHasProperties();
428-
extern void mlirGetDialectHandle__iree_input__();
429433
extern void mlirGetDialectHandle__transform__();
430434
extern void mlirIREELinalgTransformRegisterPasses();
431435
extern void mlirIREETransformRegisterPasses();
@@ -477,6 +481,7 @@ extern void mlirIntegerTypeUnsignedGet();
477481
extern void mlirIsCurrentDebugType();
478482
extern void mlirIsGlobalDebugEnabled();
479483
extern void mlirLLVMArrayTypeGet();
484+
extern void mlirLLVMArrayTypeGetElementType();
480485
extern void mlirLLVMCConvAttrGet();
481486
extern void mlirLLVMComdatAttrGet();
482487
extern void mlirLLVMDIAnnotationAttrGet();
@@ -508,6 +513,9 @@ extern void mlirLLVMDISubprogramAttrGetScopeLine();
508513
extern void mlirLLVMDISubprogramAttrGetType();
509514
extern void mlirLLVMDISubroutineTypeAttrGet();
510515
extern void mlirLLVMFunctionTypeGet();
516+
extern void mlirLLVMFunctionTypeGetInput();
517+
extern void mlirLLVMFunctionTypeGetNumInputs();
518+
extern void mlirLLVMFunctionTypeGetReturnType();
511519
extern void mlirLLVMLinkageAttrGet();
512520
extern void mlirLLVMPointerTypeGet();
513521
extern void mlirLLVMPointerTypeGetAddressSpace();
@@ -528,13 +536,34 @@ extern void mlirLinalgFillBuiltinNamedOpRegion();
528536
extern void mlirLlvmThreadPoolCreate();
529537
extern void mlirLlvmThreadPoolDestroy();
530538
extern void mlirLocationCallSiteGet();
539+
extern void mlirLocationCallSiteGetCallee();
540+
extern void mlirLocationCallSiteGetCaller();
541+
extern void mlirLocationCallSiteGetTypeID();
531542
extern void mlirLocationEqual();
532543
extern void mlirLocationFileLineColGet();
544+
extern void mlirLocationFileLineColRangeGet();
545+
extern void mlirLocationFileLineColRangeGetEndColumn();
546+
extern void mlirLocationFileLineColRangeGetEndLine();
547+
extern void mlirLocationFileLineColRangeGetFilename();
548+
extern void mlirLocationFileLineColRangeGetStartColumn();
549+
extern void mlirLocationFileLineColRangeGetStartLine();
550+
extern void mlirLocationFileLineColRangeGetTypeID();
533551
extern void mlirLocationFromAttribute();
534552
extern void mlirLocationFusedGet();
553+
extern void mlirLocationFusedGetLocations();
554+
extern void mlirLocationFusedGetMetadata();
555+
extern void mlirLocationFusedGetNumLocations();
556+
extern void mlirLocationFusedGetTypeID();
535557
extern void mlirLocationGetAttribute();
536558
extern void mlirLocationGetContext();
559+
extern void mlirLocationIsACallSite();
560+
extern void mlirLocationIsAFileLineColRange();
561+
extern void mlirLocationIsAFused();
562+
extern void mlirLocationIsAName();
537563
extern void mlirLocationNameGet();
564+
extern void mlirLocationNameGetChildLoc();
565+
extern void mlirLocationNameGetName();
566+
extern void mlirLocationNameGetTypeID();
538567
extern void mlirLocationPrint();
539568
extern void mlirLocationUnknownGet();
540569
extern void mlirMemRefTypeContiguousGet();
@@ -549,6 +578,7 @@ extern void mlirMemRefTypeGetTypeID();
549578
extern void mlirMergeSymbolsIntoFromClone();
550579
extern void mlirModuleCreateEmpty();
551580
extern void mlirModuleCreateParse();
581+
extern void mlirModuleCreateParseFromFile();
552582
extern void mlirModuleDestroy();
553583
extern void mlirModuleFromOperation();
554584
extern void mlirModuleGetBody();
@@ -572,6 +602,7 @@ extern void mlirOpPrintingFlagsElideLargeElementsAttrs();
572602
extern void mlirOpPrintingFlagsElideLargeResourceString();
573603
extern void mlirOpPrintingFlagsEnableDebugInfo();
574604
extern void mlirOpPrintingFlagsPrintGenericOpForm();
605+
extern void mlirOpPrintingFlagsPrintNameLocAsPrefix();
575606
extern void mlirOpPrintingFlagsSkipRegions();
576607
extern void mlirOpPrintingFlagsUseLocalScope();
577608
extern void mlirOpResultGetOwner();
@@ -722,6 +753,7 @@ extern void mlirShapedTypeHasStaticShape();
722753
extern void mlirShapedTypeIsDynamicDim();
723754
extern void mlirShapedTypeIsDynamicSize();
724755
extern void mlirShapedTypeIsDynamicStrideOrOffset();
756+
extern void mlirSimplifyAffineExpr();
725757
extern void mlirSparseElementsAttrGetIndices();
726758
extern void mlirSparseElementsAttrGetTypeID();
727759
extern void mlirSparseElementsAttrGetValues();
@@ -860,12 +892,15 @@ extern void mlirUnrankedTensorTypeGetChecked();
860892
extern void mlirUnrankedTensorTypeGetTypeID();
861893
extern void mlirValueDump();
862894
extern void mlirValueEqual();
895+
extern void mlirValueGetContext();
863896
extern void mlirValueGetFirstUse();
897+
extern void mlirValueGetLocation();
864898
extern void mlirValueGetType();
865899
extern void mlirValueIsABlockArgument();
866900
extern void mlirValueIsAOpResult();
867901
extern void mlirValuePrint();
868902
extern void mlirValuePrintAsOperand();
903+
extern void mlirValueReplaceAllUsesExcept();
869904
extern void mlirValueReplaceAllUsesOfWith();
870905
extern void mlirValueSetType();
871906
extern void mlirVectorTypeGet();
@@ -892,6 +927,9 @@ uintptr_t __iree_compiler_hidden_force_extern() {
892927
x += (uintptr_t)&ireeCodegenDispatchLoweringPassPipelineAttrGet;
893928
x += (uintptr_t)&ireeCodegenDispatchLoweringPassPipelineAttrGetTypeID;
894929
x += (uintptr_t)&ireeCodegenDispatchLoweringPassPipelineAttrGetValue;
930+
x += (uintptr_t)&ireeCodegenGetExecutableVariantOps;
931+
x += (uintptr_t)&ireeCodegenGetTunerRootOps;
932+
x += (uintptr_t)&ireeCodegenQueryMMAIntrinsics;
895933
x += (uintptr_t)&ireeCodegenTranslationInfoAttrGet;
896934
x += (uintptr_t)&ireeCodegenTranslationInfoAttrGetParameters;
897935
x += (uintptr_t)&ireeCodegenTranslationInfoAttrGetTypeID;
@@ -948,10 +986,10 @@ uintptr_t __iree_compiler_hidden_force_extern() {
948986
x += (uintptr_t)&ireeCompilerSourceWrapBuffer;
949987
x += (uintptr_t)&ireeGPULoweringConfigAttrGet;
950988
x += (uintptr_t)&ireeGPULoweringConfigAttrGetAttributes;
951-
x += (uintptr_t)&ireeGPULoweringConfigAttrGetTypeID;
952-
x += (uintptr_t)&ireeGPULoweringConfigAttrGetTileSizes;
953-
x += (uintptr_t)&ireeGPULoweringConfigAttrGetSubgroupCount;
954989
x += (uintptr_t)&ireeGPULoweringConfigAttrGetMmaKind;
990+
x += (uintptr_t)&ireeGPULoweringConfigAttrGetSubgroupCount;
991+
x += (uintptr_t)&ireeGPULoweringConfigAttrGetTileSizes;
992+
x += (uintptr_t)&ireeGPULoweringConfigAttrGetTypeID;
955993
x += (uintptr_t)&ireeGPUMMAAttrGet;
956994
x += (uintptr_t)&ireeGPUMMAAttrGetInfo;
957995
x += (uintptr_t)&ireeGPUMMAAttrGetTypeID;
@@ -998,6 +1036,8 @@ uintptr_t __iree_compiler_hidden_force_extern() {
9981036
x += (uintptr_t)&mlirAffineExprIsPureAffine;
9991037
x += (uintptr_t)&mlirAffineExprIsSymbolicOrConstant;
10001038
x += (uintptr_t)&mlirAffineExprPrint;
1039+
x += (uintptr_t)&mlirAffineExprShiftDims;
1040+
x += (uintptr_t)&mlirAffineExprShiftSymbols;
10011041
x += (uintptr_t)&mlirAffineFloorDivExprGet;
10021042
x += (uintptr_t)&mlirAffineMapAttrGet;
10031043
x += (uintptr_t)&mlirAffineMapAttrGetTypeID;
@@ -1124,7 +1164,9 @@ uintptr_t __iree_compiler_hidden_force_extern() {
11241164
x += (uintptr_t)&mlirContextGetAllowUnregisteredDialects;
11251165
x += (uintptr_t)&mlirContextGetNumLoadedDialects;
11261166
x += (uintptr_t)&mlirContextGetNumRegisteredDialects;
1167+
x += (uintptr_t)&mlirContextGetNumThreads;
11271168
x += (uintptr_t)&mlirContextGetOrLoadDialect;
1169+
x += (uintptr_t)&mlirContextGetThreadPool;
11281170
x += (uintptr_t)&mlirContextIsRegisteredOperation;
11291171
x += (uintptr_t)&mlirContextLoadAllAvailableDialects;
11301172
x += (uintptr_t)&mlirContextSetAllowUnregisteredDialects;
@@ -1151,6 +1193,7 @@ uintptr_t __iree_compiler_hidden_force_extern() {
11511193
x += (uintptr_t)&mlirDenseElementsAttrGetDoubleValue;
11521194
x += (uintptr_t)&mlirDenseElementsAttrGetFloatSplatValue;
11531195
x += (uintptr_t)&mlirDenseElementsAttrGetFloatValue;
1196+
x += (uintptr_t)&mlirDenseElementsAttrGetIndexValue;
11541197
x += (uintptr_t)&mlirDenseElementsAttrGetInt16Value;
11551198
x += (uintptr_t)&mlirDenseElementsAttrGetInt32SplatValue;
11561199
x += (uintptr_t)&mlirDenseElementsAttrGetInt32Value;
@@ -1290,7 +1333,6 @@ uintptr_t __iree_compiler_hidden_force_extern() {
12901333
x += (uintptr_t)&mlirGPUObjectAttrGetWithKernels;
12911334
x += (uintptr_t)&mlirGPUObjectAttrHasKernels;
12921335
x += (uintptr_t)&mlirGPUObjectAttrHasProperties;
1293-
x += (uintptr_t)&mlirGetDialectHandle__iree_input__;
12941336
x += (uintptr_t)&mlirGetDialectHandle__transform__;
12951337
x += (uintptr_t)&mlirIREELinalgTransformRegisterPasses;
12961338
x += (uintptr_t)&mlirIREETransformRegisterPasses;
@@ -1342,6 +1384,7 @@ uintptr_t __iree_compiler_hidden_force_extern() {
13421384
x += (uintptr_t)&mlirIsCurrentDebugType;
13431385
x += (uintptr_t)&mlirIsGlobalDebugEnabled;
13441386
x += (uintptr_t)&mlirLLVMArrayTypeGet;
1387+
x += (uintptr_t)&mlirLLVMArrayTypeGetElementType;
13451388
x += (uintptr_t)&mlirLLVMCConvAttrGet;
13461389
x += (uintptr_t)&mlirLLVMComdatAttrGet;
13471390
x += (uintptr_t)&mlirLLVMDIAnnotationAttrGet;
@@ -1373,6 +1416,9 @@ uintptr_t __iree_compiler_hidden_force_extern() {
13731416
x += (uintptr_t)&mlirLLVMDISubprogramAttrGetType;
13741417
x += (uintptr_t)&mlirLLVMDISubroutineTypeAttrGet;
13751418
x += (uintptr_t)&mlirLLVMFunctionTypeGet;
1419+
x += (uintptr_t)&mlirLLVMFunctionTypeGetInput;
1420+
x += (uintptr_t)&mlirLLVMFunctionTypeGetNumInputs;
1421+
x += (uintptr_t)&mlirLLVMFunctionTypeGetReturnType;
13761422
x += (uintptr_t)&mlirLLVMLinkageAttrGet;
13771423
x += (uintptr_t)&mlirLLVMPointerTypeGet;
13781424
x += (uintptr_t)&mlirLLVMPointerTypeGetAddressSpace;
@@ -1393,13 +1439,34 @@ uintptr_t __iree_compiler_hidden_force_extern() {
13931439
x += (uintptr_t)&mlirLlvmThreadPoolCreate;
13941440
x += (uintptr_t)&mlirLlvmThreadPoolDestroy;
13951441
x += (uintptr_t)&mlirLocationCallSiteGet;
1442+
x += (uintptr_t)&mlirLocationCallSiteGetCallee;
1443+
x += (uintptr_t)&mlirLocationCallSiteGetCaller;
1444+
x += (uintptr_t)&mlirLocationCallSiteGetTypeID;
13961445
x += (uintptr_t)&mlirLocationEqual;
13971446
x += (uintptr_t)&mlirLocationFileLineColGet;
1447+
x += (uintptr_t)&mlirLocationFileLineColRangeGet;
1448+
x += (uintptr_t)&mlirLocationFileLineColRangeGetEndColumn;
1449+
x += (uintptr_t)&mlirLocationFileLineColRangeGetEndLine;
1450+
x += (uintptr_t)&mlirLocationFileLineColRangeGetFilename;
1451+
x += (uintptr_t)&mlirLocationFileLineColRangeGetStartColumn;
1452+
x += (uintptr_t)&mlirLocationFileLineColRangeGetStartLine;
1453+
x += (uintptr_t)&mlirLocationFileLineColRangeGetTypeID;
13981454
x += (uintptr_t)&mlirLocationFromAttribute;
13991455
x += (uintptr_t)&mlirLocationFusedGet;
1456+
x += (uintptr_t)&mlirLocationFusedGetLocations;
1457+
x += (uintptr_t)&mlirLocationFusedGetMetadata;
1458+
x += (uintptr_t)&mlirLocationFusedGetNumLocations;
1459+
x += (uintptr_t)&mlirLocationFusedGetTypeID;
14001460
x += (uintptr_t)&mlirLocationGetAttribute;
14011461
x += (uintptr_t)&mlirLocationGetContext;
1462+
x += (uintptr_t)&mlirLocationIsACallSite;
1463+
x += (uintptr_t)&mlirLocationIsAFileLineColRange;
1464+
x += (uintptr_t)&mlirLocationIsAFused;
1465+
x += (uintptr_t)&mlirLocationIsAName;
14021466
x += (uintptr_t)&mlirLocationNameGet;
1467+
x += (uintptr_t)&mlirLocationNameGetChildLoc;
1468+
x += (uintptr_t)&mlirLocationNameGetName;
1469+
x += (uintptr_t)&mlirLocationNameGetTypeID;
14031470
x += (uintptr_t)&mlirLocationPrint;
14041471
x += (uintptr_t)&mlirLocationUnknownGet;
14051472
x += (uintptr_t)&mlirMemRefTypeContiguousGet;
@@ -1414,6 +1481,7 @@ uintptr_t __iree_compiler_hidden_force_extern() {
14141481
x += (uintptr_t)&mlirMergeSymbolsIntoFromClone;
14151482
x += (uintptr_t)&mlirModuleCreateEmpty;
14161483
x += (uintptr_t)&mlirModuleCreateParse;
1484+
x += (uintptr_t)&mlirModuleCreateParseFromFile;
14171485
x += (uintptr_t)&mlirModuleDestroy;
14181486
x += (uintptr_t)&mlirModuleFromOperation;
14191487
x += (uintptr_t)&mlirModuleGetBody;
@@ -1437,6 +1505,7 @@ uintptr_t __iree_compiler_hidden_force_extern() {
14371505
x += (uintptr_t)&mlirOpPrintingFlagsElideLargeResourceString;
14381506
x += (uintptr_t)&mlirOpPrintingFlagsEnableDebugInfo;
14391507
x += (uintptr_t)&mlirOpPrintingFlagsPrintGenericOpForm;
1508+
x += (uintptr_t)&mlirOpPrintingFlagsPrintNameLocAsPrefix;
14401509
x += (uintptr_t)&mlirOpPrintingFlagsSkipRegions;
14411510
x += (uintptr_t)&mlirOpPrintingFlagsUseLocalScope;
14421511
x += (uintptr_t)&mlirOpResultGetOwner;
@@ -1587,6 +1656,7 @@ uintptr_t __iree_compiler_hidden_force_extern() {
15871656
x += (uintptr_t)&mlirShapedTypeIsDynamicDim;
15881657
x += (uintptr_t)&mlirShapedTypeIsDynamicSize;
15891658
x += (uintptr_t)&mlirShapedTypeIsDynamicStrideOrOffset;
1659+
x += (uintptr_t)&mlirSimplifyAffineExpr;
15901660
x += (uintptr_t)&mlirSparseElementsAttrGetIndices;
15911661
x += (uintptr_t)&mlirSparseElementsAttrGetTypeID;
15921662
x += (uintptr_t)&mlirSparseElementsAttrGetValues;
@@ -1725,12 +1795,15 @@ uintptr_t __iree_compiler_hidden_force_extern() {
17251795
x += (uintptr_t)&mlirUnrankedTensorTypeGetTypeID;
17261796
x += (uintptr_t)&mlirValueDump;
17271797
x += (uintptr_t)&mlirValueEqual;
1798+
x += (uintptr_t)&mlirValueGetContext;
17281799
x += (uintptr_t)&mlirValueGetFirstUse;
1800+
x += (uintptr_t)&mlirValueGetLocation;
17291801
x += (uintptr_t)&mlirValueGetType;
17301802
x += (uintptr_t)&mlirValueIsABlockArgument;
17311803
x += (uintptr_t)&mlirValueIsAOpResult;
17321804
x += (uintptr_t)&mlirValuePrint;
17331805
x += (uintptr_t)&mlirValuePrintAsOperand;
1806+
x += (uintptr_t)&mlirValueReplaceAllUsesExcept;
17341807
x += (uintptr_t)&mlirValueReplaceAllUsesOfWith;
17351808
x += (uintptr_t)&mlirValueSetType;
17361809
x += (uintptr_t)&mlirVectorTypeGet;

0 commit comments

Comments
 (0)