Home
last modified time | relevance | path

Searched refs:getAsRange (Results 1 – 17 of 17) sorted by relevance

/external/clang/unittests/Tooling/
DFixItTest.cpp86 EXPECT_EQ("foo(x, y)", getText(Hint.RemoveRange.getAsRange(), *Context)); in TEST()
92 EXPECT_EQ("x", getText(Hint0.RemoveRange.getAsRange(), *Context)); in TEST()
98 EXPECT_EQ("y", getText(Hint1.RemoveRange.getAsRange(), *Context)); in TEST()
107 EXPECT_EQ("x + y", getText(Hint0.RemoveRange.getAsRange(), *Context)); in TEST()
111 EXPECT_EQ("y + x", getText(Hint1.RemoveRange.getAsRange(), *Context)); in TEST()
121 EXPECT_EQ("FOO", getText(Hint.RemoveRange.getAsRange(), *Context)); in TEST()
169 EXPECT_EQ("x", getText(Hint0.RemoveRange.getAsRange(), *Context)); in TEST()
174 EXPECT_EQ("y", getText(Hint1.RemoveRange.getAsRange(), *Context)); in TEST()
225 EXPECT_EQ("x + y", getText(Hint.RemoveRange.getAsRange(), *Context)); in TEST()
/external/clang/unittests/Lex/
DLexerTest.cpp316 EXPECT_EQ(range.getAsRange(), in TEST_F()
336 range.getAsRange()); in TEST_F()
341 range.getAsRange()); in TEST_F()
348 range.getAsRange()); in TEST_F()
/external/tensorflow/tensorflow/core/transforms/consolidate_attrs/
Dpass.cc201 for (auto &it : llvm::enumerate(res_attrs.getAsRange<DictionaryAttr>())) { in reifyAndDropFunctionResultAttributes()
246 llvm::zip(results, output_shapes.getAsRange<ShapeAttr>())) { in matchAndRewrite()
409 func_arg_attrs.getAsRange<DictionaryAttr>())) { in prepareFunctionAttributes()
427 func_res_attrs.getAsRange<DictionaryAttr>())) in prepareFunctionAttributes()
/external/tensorflow/tensorflow/core/transforms/graph_compactor/
Dpass.cc121 func.res_attrsAttr().getAsRange<DictionaryAttr>()) { in runOnOperation()
137 for (NamedAttrList attrs : control_attrs.getAsRange<DictionaryAttr>()) { in runOnOperation()
/external/tensorflow/tensorflow/core/transforms/func_to_graph/
Dfunc_to_graph.cc40 for (auto arg_attr : all_arg_attrs.getAsRange<DictionaryAttr>()) { in FuncToGraph()
/external/tensorflow/tensorflow/core/transforms/functional_to_region/
Dimpl.cc221 llvm::all_of(arg_attrs.getAsRange<DictionaryAttr>(), is_empty) && in ArePreservedAttrsEmpty()
222 llvm::all_of(res_attrs.getAsRange<DictionaryAttr>(), is_empty); in ArePreservedAttrsEmpty()
371 for (auto attr : op.branches().template getAsRange<FuncAttr>()) { in matchAndRewrite()
/external/clang/lib/ARCMigrate/
DPlistReporter.cpp110 CharSourceRange ExpansionRange(SM.getExpansionRange(R.getAsRange()), in writeARCDiagsToPlist()
/external/tensorflow/tensorflow/core/ir/importexport/
Dgraphdef_export.cc310 func.getAllResultAttrs().getAsRange<DictionaryAttr>(), in ExportFunction()
325 llvm::zip(return_op.control_ret_attrs().getAsRange<DictionaryAttr>(), in ExportFunction()
Dconvert_attributes.cc480 for (auto handle_data_attr : handle_data_arr.getAsRange<TypeAttr>()) { in ConvertHandleData()
/external/clang/include/clang/Lex/
DLexer.h342 ? getAsCharRange(Range.getAsRange(), SM, LangOpts) in getAsCharRange()
/external/clang/include/clang/Basic/
DSourceLocation.h256 SourceRange getAsRange() const { return Range; } in getAsRange() function
/external/clang/lib/Edit/
DCommit.cpp308 if (PPRec && PPRec->rangeIntersectsConditionalDirective(range.getAsRange())) in canRemoveRange()
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/gml_st/transforms/
Dbufferizable_op_interface_impl.cc223 for (auto staticIndex : pointOp.static_indices().getAsRange<IntegerAttr>()) { in getPointIndicesValues()
/external/tensorflow/tensorflow/core/ir/
Dops.cc837 llvm::zip(ctls, control_ret_attrs().getAsRange<DictionaryAttr>()), in print()
963 llvm::zip(llvm::enumerate(values), types.getAsRange<TypeAttr>())) { in VerifyTypeArray()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtfg-to-tfe.cc61 types, array_attr.template getAsRange<mlir::DictionaryAttr>())) { in FilterTfgSpecificArgResultAttributes()
/external/bcc/src/cc/frontends/clang/
Db_frontend_action.cc701 return rewriter_.getSourceMgr().getExpansionRange(range).getAsRange(); in expansionRange()
1346 return rewriter_.getSourceMgr().getExpansionRange(range).getAsRange(); in expansionRange()
/external/tensorflow/tensorflow/core/transforms/region_to_functional/
Dimpl.cc878 if (llvm::any_of(preserved.getAsRange<RegionAttr>(), [&](auto preserved) { in matchAndRewrite()