Lines Matching refs:tripCount
1245 mlir::Value tripCount; in genFIRIncrementLoopBegin() local
1251 tripCount = in genFIRIncrementLoopBegin()
1253 tripCount = in genFIRIncrementLoopBegin()
1254 builder->createConvert(loc, builder->getIndexType(), tripCount); in genFIRIncrementLoopBegin()
1261 tripCount = in genFIRIncrementLoopBegin()
1266 builder->createIntegerConstant(loc, tripCount.getType(), 1); in genFIRIncrementLoopBegin()
1268 loc, mlir::arith::CmpIPredicate::slt, tripCount, one); in genFIRIncrementLoopBegin()
1269 tripCount = in genFIRIncrementLoopBegin()
1270 builder->create<mlir::arith::SelectOp>(loc, cond, one, tripCount); in genFIRIncrementLoopBegin()
1272 info.tripVariable = builder->createTemporary(loc, tripCount.getType()); in genFIRIncrementLoopBegin()
1273 builder->create<fir::StoreOp>(loc, tripCount, info.tripVariable); in genFIRIncrementLoopBegin()
1279 tripCount = builder->create<fir::LoadOp>(loc, info.tripVariable); in genFIRIncrementLoopBegin()
1281 builder->createIntegerConstant(loc, tripCount.getType(), 0); in genFIRIncrementLoopBegin()
1283 loc, mlir::arith::CmpIPredicate::sgt, tripCount, zero); in genFIRIncrementLoopBegin()
1334 mlir::Value tripCount = in genFIRIncrementLoopEnd() local
1337 builder->createIntegerConstant(loc, tripCount.getType(), 1); in genFIRIncrementLoopEnd()
1338 tripCount = builder->create<mlir::arith::SubIOp>(loc, tripCount, one); in genFIRIncrementLoopEnd()
1339 builder->create<fir::StoreOp>(loc, tripCount, info.tripVariable); in genFIRIncrementLoopEnd()