Lines Matching defs:bs
132 llvm::raw_string_ostream bs(builder);
137 bs << builderStrRef.substr(0, loc.pos);
145 bs << result;
147 bs << formatv("op.{0}()", getterName);
149 bs << formatv("moduleTranslation.mapValue(op.{0}())", getterName);
151 bs << "moduleTranslation.convertType(op.getResult().getType())";
153 bs << "opInst.getNumResults() == 1";
155 bs << "opInst.getLoc()";
157 bs << "opInst.getNumOperands()";
159 bs << '$';
171 os << bs.str() << builderStrRef << "\n";
226 llvm::raw_string_ostream as(arguments), bs(builder);
230 bs << builderStrRef.substr(0, loc.pos);
242 bs << formatv("llvmOperands[{0}]", idx);
257 bs << formatv("*_llvmir_gen_operand_{0}", name);
262 bs << "moduleImport.mapValue(inst)";
264 bs << "moduleImport.mapNoResultOp(inst)";
266 bs << "moduleImport.matchIntegerAttr";
268 bs << "moduleImport.matchFloatAttr";
270 bs << "moduleImport.matchLocalVariableAttr";
272 bs << "moduleImport.matchLabelAttr";
274 bs << "moduleImport.matchFPExceptionBehaviorAttr";
276 bs << "moduleImport.matchRoundingModeAttr";
278 bs << "moduleImport.convertType(inst->getType())";
280 bs << "moduleImport.translateLoc(inst->getDebugLoc())";
282 bs << "odsBuilder";
284 bs << op.getQualCppClassName();
286 bs << '$';
298 os << bs.str() << builderStrRef << "\n";