Lines Matching refs:create
59 return b.create<arith::ConstantIndexOp>(loc, attr.getValue().getSExtValue()); in getValueOrCreateConstantIndexOp()
70 return b.create<arith::IndexCastOp>(loc, targetType, value); in getValueOrCreateCastToIndexLike()
79 return b.create<arith::ExtSIOp>(loc, targetIntegerType, value); in getValueOrCreateCastToIndexLike()
80 return b.create<arith::TruncIOp>(loc, targetIntegerType, value); in getValueOrCreateCastToIndexLike()
93 return b.create<arith::AndIOp>(loc, lhs, rhs); in _and()
97 return b.create<arith::AddIOp>(loc, lhs, rhs); in add()
98 return b.create<arith::AddFOp>(loc, lhs, rhs); in add()
102 return b.create<arith::MulIOp>(loc, lhs, rhs); in mul()
103 return b.create<arith::MulFOp>(loc, lhs, rhs); in mul()
107 return b.create<arith::CmpIOp>(loc, arith::CmpIPredicate::sgt, lhs, rhs); in sgt()
108 return b.create<arith::CmpFOp>(loc, arith::CmpFPredicate::OGT, lhs, rhs); in sgt()
112 return b.create<arith::CmpIOp>(loc, arith::CmpIPredicate::slt, lhs, rhs); in slt()
113 return b.create<arith::CmpFOp>(loc, arith::CmpFPredicate::OLT, lhs, rhs); in slt()
116 return b.create<arith::SelectOp>(loc, cmp, lhs, rhs); in select()