Skip to content

Commit 95341ff

Browse files
enzyme-ci-bot[bot]mofeing
authored andcommitted
Regenerate MLIR Bindings
1 parent d4cd01d commit 95341ff

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/mlir/libMLIR_h.jl

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7156,6 +7156,24 @@ function mlirLLVMFunctionTypeGet(resultType, nArgumentTypes, argumentTypes, isVa
71567156
)::MlirType
71577157
end
71587158

7159+
"""
7160+
mlirLLVMFunctionTypeGetNumInputs(type)
7161+
7162+
Returns the number of input types.
7163+
"""
7164+
function mlirLLVMFunctionTypeGetNumInputs(type)
7165+
@ccall mlir_c.mlirLLVMFunctionTypeGetNumInputs(type::MlirType)::intptr_t
7166+
end
7167+
7168+
"""
7169+
mlirLLVMFunctionTypeGetInput(type, pos)
7170+
7171+
Returns the pos-th input type.
7172+
"""
7173+
function mlirLLVMFunctionTypeGetInput(type, pos)
7174+
@ccall mlir_c.mlirLLVMFunctionTypeGetInput(type::MlirType, pos::intptr_t)::MlirType
7175+
end
7176+
71597177
"""
71607178
mlirTypeIsALLVMStructType(type)
71617179

0 commit comments

Comments
 (0)