Home
last modified time | relevance | path

Searched refs:loopVariable (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/PDLInterp/IR/
H A DPDLInterp.cpp157 OpAsmParser::Argument loopVariable; in parse() local
159 if (parser.parseArgument(loopVariable, /*allowType=*/true) || in parse()
166 Type rangeType = pdl::RangeType::get(loopVariable.type); in parse()
173 if (parser.parseRegion(*body, loopVariable) || in parse()
/llvm-project-15.0.7/flang/lib/Lower/
H A DBridge.cpp82 assert(loopVariable && "must be set"); in getLoopVariableType()
83 return fir::unwrapRefType(loopVariable.getType()); in getLoopVariableType()
95 mlir::Value loopVariable = nullptr; member
1214 info.loopVariable = in genFIRIncrementLoopBegin()
1229 builder->create<fir::StoreOp>(loc, value, info.loopVariable); in genFIRIncrementLoopBegin()
1274 builder->create<fir::StoreOp>(loc, lowerValue, info.loopVariable); in genFIRIncrementLoopBegin()
1329 builder->create<fir::StoreOp>(loc, lcv, info.loopVariable); in genFIRIncrementLoopEnd()
1340 mlir::Value value = builder->create<fir::LoadOp>(loc, info.loopVariable); in genFIRIncrementLoopEnd()
1347 builder->create<fir::StoreOp>(loc, value, info.loopVariable); in genFIRIncrementLoopEnd()