Skip to content

Commit

Permalink
Regenerate MLIR Bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
enzyme-ci-bot[bot] authored and mofeing committed Jan 10, 2025
1 parent d4cd01d commit 95341ff
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/mlir/libMLIR_h.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7156,6 +7156,24 @@ function mlirLLVMFunctionTypeGet(resultType, nArgumentTypes, argumentTypes, isVa
)::MlirType
end

"""
mlirLLVMFunctionTypeGetNumInputs(type)
Returns the number of input types.
"""
function mlirLLVMFunctionTypeGetNumInputs(type)
@ccall mlir_c.mlirLLVMFunctionTypeGetNumInputs(type::MlirType)::intptr_t
end

"""
mlirLLVMFunctionTypeGetInput(type, pos)
Returns the pos-th input type.
"""
function mlirLLVMFunctionTypeGetInput(type, pos)
@ccall mlir_c.mlirLLVMFunctionTypeGetInput(type::MlirType, pos::intptr_t)::MlirType
end

"""
mlirTypeIsALLVMStructType(type)
Expand Down

0 comments on commit 95341ff

Please sign in to comment.