/external/clang/unittests/Tooling/ |
D | FixItTest.cpp | 86 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/ |
D | LexerTest.cpp | 316 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/ |
D | pass.cc | 201 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/ |
D | pass.cc | 121 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/ |
D | func_to_graph.cc | 40 for (auto arg_attr : all_arg_attrs.getAsRange<DictionaryAttr>()) { in FuncToGraph()
|
/external/tensorflow/tensorflow/core/transforms/functional_to_region/ |
D | impl.cc | 221 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/ |
D | PlistReporter.cpp | 110 CharSourceRange ExpansionRange(SM.getExpansionRange(R.getAsRange()), in writeARCDiagsToPlist()
|
/external/tensorflow/tensorflow/core/ir/importexport/ |
D | graphdef_export.cc | 310 func.getAllResultAttrs().getAsRange<DictionaryAttr>(), in ExportFunction() 325 llvm::zip(return_op.control_ret_attrs().getAsRange<DictionaryAttr>(), in ExportFunction()
|
D | convert_attributes.cc | 480 for (auto handle_data_attr : handle_data_arr.getAsRange<TypeAttr>()) { in ConvertHandleData()
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 342 ? getAsCharRange(Range.getAsRange(), SM, LangOpts) in getAsCharRange()
|
/external/clang/include/clang/Basic/ |
D | SourceLocation.h | 256 SourceRange getAsRange() const { return Range; } in getAsRange() function
|
/external/clang/lib/Edit/ |
D | Commit.cpp | 308 if (PPRec && PPRec->rangeIntersectsConditionalDirective(range.getAsRange())) in canRemoveRange()
|
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/gml_st/transforms/ |
D | bufferizable_op_interface_impl.cc | 223 for (auto staticIndex : pointOp.static_indices().getAsRange<IntegerAttr>()) { in getPointIndicesValues()
|
/external/tensorflow/tensorflow/core/ir/ |
D | ops.cc | 837 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/ |
D | tfg-to-tfe.cc | 61 types, array_attr.template getAsRange<mlir::DictionaryAttr>())) { in FilterTfgSpecificArgResultAttributes()
|
/external/bcc/src/cc/frontends/clang/ |
D | b_frontend_action.cc | 701 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/ |
D | impl.cc | 878 if (llvm::any_of(preserved.getAsRange<RegionAttr>(), [&](auto preserved) { in matchAndRewrite()
|