forked from OSchip/llvm-project
[MLIR] Add `getI8Type` to `OpBuilder`
Differential Revision: https://reviews.llvm.org/D107332
This commit is contained in:
parent
0d8cd4e2d5
commit
f0008a4cf4
|
@ -70,6 +70,7 @@ public:
|
|||
IndexType getIndexType();
|
||||
|
||||
IntegerType getI1Type();
|
||||
IntegerType getI8Type();
|
||||
IntegerType getI32Type();
|
||||
IntegerType getI64Type();
|
||||
IntegerType getIntegerType(unsigned width);
|
||||
|
|
|
@ -53,6 +53,8 @@ IndexType Builder::getIndexType() { return IndexType::get(context); }
|
|||
|
||||
IntegerType Builder::getI1Type() { return IntegerType::get(context, 1); }
|
||||
|
||||
IntegerType Builder::getI8Type() { return IntegerType::get(context, 8); }
|
||||
|
||||
IntegerType Builder::getI32Type() { return IntegerType::get(context, 32); }
|
||||
|
||||
IntegerType Builder::getI64Type() { return IntegerType::get(context, 64); }
|
||||
|
|
Loading…
Reference in New Issue