Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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