Home
last modified time | relevance | path

Searched refs:getBuilder (Results 1 – 25 of 94) sorted by relevance

1234

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DSingleFieldBuilderV3Test.java51 assertEquals(TestAllTypes.getDefaultInstance(), builder.getBuilder().buildPartial()); in testBasicUseAndInvalidations()
54 builder.getBuilder().setOptionalInt32(10); in testBasicUseAndInvalidations()
61 builder.getBuilder().setOptionalInt32(20); in testBasicUseAndInvalidations()
65 builder.getBuilder().setOptionalInt32(30); in testBasicUseAndInvalidations()
78 builder.getBuilder().setOptionalInt32(1); in testSetMessage()
80 assertEquals(1, builder.getBuilder().getOptionalInt32()); in testSetMessage()
83 builder.getBuilder().setOptionalInt32(2); in testSetMessage()
84 assertEquals(2, builder.getBuilder().getOptionalInt32()); in testSetMessage()
101 builder.getBuilder().setOptionalInt32(1); in testClear()
118 builder.getBuilder().setOptionalInt32(2); in testMerge()
/external/llvm/lib/DebugInfo/CodeView/
DFieldListRecordBuilder.cpp19 TypeRecordBuilder &Builder = getBuilder(); in writeBaseClass()
30 TypeRecordBuilder &Builder = getBuilder(); in writeEnumerator()
42 TypeRecordBuilder &Builder = getBuilder(); in writeDataMember()
55 TypeRecordBuilder &Builder = getBuilder(); in writeOverloadedMethod()
66 TypeRecordBuilder &Builder = getBuilder(); in writeOneMethod()
88 TypeRecordBuilder &Builder = getBuilder(); in writeNestedType()
100 TypeRecordBuilder &Builder = getBuilder(); in writeStaticDataMember()
112 TypeRecordBuilder &Builder = getBuilder(); in writeVirtualBaseClass()
125 TypeRecordBuilder &Builder = getBuilder(); in writeVFPtr()
DMethodListRecordBuilder.cpp22 TypeRecordBuilder &Builder = getBuilder(); in writeMethod()
DListRecordBuilder.cpp21 TypeRecordBuilder &Builder = getBuilder(); in writeListContinuation()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_executor.cc228 GraphOp::ensureTerminator(body, parser.getBuilder(), result.location); in ParseGraphOp()
343 Type control_type = ControlType::get(parser.getBuilder().getContext()); in ParseIslandOp()
365 OpBuilder builder(parser.getBuilder().getContext()); in ParseIslandOp()
373 IslandOp::ensureTerminator(body, parser.getBuilder(), result.location); in ParseIslandOp()
422 Type control_type = ControlType::get(parser.getBuilder().getContext()); in ParseSwitchOp()
425 Type i1_type = parser.getBuilder().getI1Type(); in ParseSwitchOp()
541 Type i64_type = parser.getBuilder().getIntegerType(64); in ParseSwitchNOp()
559 auto builder = parser.getBuilder(); in ParseSwitchNOp()
681 Type control_type = ControlType::get(parser.getBuilder().getContext()); in ParseMergeOp()
685 RankedTensorType::get({}, parser.getBuilder().getIntegerType(32)); in ParseMergeOp()
[all …]
/external/llvm-project/mlir/lib/Interfaces/
DViewLikeInterface.cpp114 result.addAttribute(attrName, parser.getBuilder().getArrayAttr({})); in parseListOfOperandsOrIntegers()
140 auto arrayAttr = parser.getBuilder().getI64ArrayAttr(attrVals); in parseListOfOperandsOrIntegers()
163 auto indexType = parser.getBuilder().getIndexType(); in parseOffsetsSizesAndStrides()
188 parser.getBuilder().getI32VectorAttr(segmentSizesFinal)); in parseOffsetsSizesAndStrides()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DRepeatedFieldBuilder.java233 public BType getBuilder(int index) { in getBuilder() method in RepeatedFieldBuilder
241 return builder.getBuilder(); in getBuilder()
386 return builder.getBuilder(); in addBuilder()
406 return builder.getBuilder(); in addBuilder()
626 return builder.getBuilder(index); in get()
DRepeatedFieldBuilderV3.java233 public BType getBuilder(int index) { in getBuilder() method in RepeatedFieldBuilderV3
241 return builder.getBuilder(); in getBuilder()
386 return builder.getBuilder(); in addBuilder()
406 return builder.getBuilder(); in addBuilder()
626 return builder.getBuilder(index); in get()
DSingleFieldBuilder.java125 public BType getBuilder() { in getBuilder() method in SingleFieldBuilder
179 getBuilder().mergeFrom(value); in mergeFrom()
DSingleFieldBuilderV3.java125 public BType getBuilder() { in getBuilder() method in SingleFieldBuilderV3
179 getBuilder().mergeFrom(value); in mergeFrom()
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DROCDLDialect.cpp48 MLIRContext *context = parser.getBuilder().getContext(); in parseROCDLMubufLoadOp()
67 MLIRContext *context = parser.getBuilder().getContext(); in parseROCDLMubufStoreOp()
DLLVMDialect.cpp63 Builder &builder = parser.getBuilder(); in parseCmpOp()
100 parser.getBuilder().getI64IntegerAttr(predicateValue)); in parseCmpOp()
239 result.addAttribute(kVolatileAttrName, parser.getBuilder().getUnitAttr()); in parseLoadOp()
287 result.addAttribute(kVolatileAttrName, parser.getBuilder().getUnitAttr()); in parseStoreOp()
370 Builder &builder = parser.getBuilder(); in parseInvokeOp()
521 result.addAttribute("cleanup", parser.getBuilder().getUnitAttr()); in parseLandingpadOp()
685 Builder &builder = parser.getBuilder(); in parseCallOp()
1141 result.addAttribute(name, parser.getBuilder().getI64IntegerAttr(index)); in parseOptionalLLVMKeyword()
1154 parser.getBuilder().getI64IntegerAttr( in parseGlobalOp()
1158 result.addAttribute("constant", parser.getBuilder().getUnitAttr()); in parseGlobalOp()
[all …]
DNVVMDialect.cpp65 auto int32Ty = LLVM::LLVMType::getInt32Ty(parser.getBuilder().getContext()); in parseNVVMShflSyncBflyOp()
73 MLIRContext *context = parser.getBuilder().getContext(); in parseNVVMVoteBallotOp()
/external/llvm-project/mlir/test/lib/Dialect/Test/
DTestDialect.cpp192 return TestType::get(parser.getBuilder().getContext()); in parseTestType()
200 auto rec = TestRecursiveType::get(parser.getBuilder().getContext(), name); in parseTestType()
494 Type argType = parser.getBuilder().getIndexType(); in parseIsolatedRegionOp()
567 result.addAttribute("keyword", parser.getBuilder().getStringAttr(keyword)); in parseWrappedKeywordOp()
594 OpBuilder builder(parser.getBuilder().getContext()); in parseWrappingRegionOp()
626 auto &builder = parser.getBuilder(); in parsePolyForOp()
780 result.addTypes(parser.getBuilder().getIntegerType(32)); in parseStringAttrPrettyNameOp()
808 auto namesAttr = parser.getBuilder().getStrArrayAttr(names); in parseStringAttrPrettyNameOp()
/external/llvm-project/mlir/lib/Dialect/GPU/IR/
DGPUDialect.cpp208 state.addAttribute("mode", parser.getBuilder().getStringAttr(mode)); in parseShuffleOp()
211 Type int32Type = parser.getBuilder().getIntegerType(32); in parseShuffleOp()
212 Type int1Type = parser.getBuilder().getI1Type(); in parseShuffleOp()
411 parser.resolveOperands(sizes, parser.getBuilder().getIndexType(), in parseLaunchOp()
418 Type index = parser.getBuilder().getIndexType(); in parseLaunchOp()
627 Builder &builder = parser.getBuilder(); in parseGPUFuncOp()
831 GPUModuleOp::ensureTerminator(*body, parser.getBuilder(), result.location); in parseGPUModuleOp()
851 asyncTokenType = parser.getBuilder().getType<AsyncTokenType>(); in parseAsyncDependencies()
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyDescriptorPool.java113 this.builder.addMessageType(def.getBuilder()); in addToSymtab()
118 this.builder.addEnumType(def.getBuilder()); in addToSymtab()
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVOps.cpp118 if (parser.parseAttribute(attrVal, parser.getBuilder().getNoneType(), in parseEnumStrAttr()
146 state.addAttribute(attrName, parser.getBuilder().getI32IntegerAttr( in parseEnumStrAttr()
162 state.addAttribute(attrName, parser.getBuilder().getI32IntegerAttr( in parseEnumKeywordAttr()
181 Builder builder = parser.getBuilder(); in parseControlAttribute()
209 Type i32Type = parser.getBuilder().getIntegerType(32); in parseMemoryAccessAttributes()
240 Type i32Type = parser.getBuilder().getIntegerType(32); in parseSourceMemoryAccessAttributes()
502 Type i32Type = parser.getBuilder().getIntegerType(32); in parseVariableDecorations()
745 Type i32Type = parser.getBuilder().getIntegerType(32); in parseGroupNonUniformArithmeticOp()
832 state.addTypes(getUnaryOpResultType(parser.getBuilder(), type)); in parseLogicalUnaryOp()
844 result.addTypes(getUnaryOpResultType(parser.getBuilder(), type)); in parseLogicalBinaryOp()
[all …]
/external/llvm-project/mlir/lib/Dialect/OpenMP/IR/
DOpenMPDialect.cpp298 auto attr = parser.getBuilder().getStringAttr(attrval); in parseParallelOp()
309 auto attr = parser.getBuilder().getStringAttr(bind); in parseParallelOp()
366 parser.getBuilder().getI32VectorAttr(segments)); in parseParallelOp()
/external/llvm/include/llvm/DebugInfo/CodeView/
DListRecordBuilder.h46 TypeRecordBuilder &getBuilder() { return Builder; } in getBuilder() function
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/stub/element/
DSmaliFileElementType.java51 @Override public StubBuilder getBuilder() { in getBuilder() method in SmaliFileElementType
/external/llvm-project/mlir/lib/Dialect/Affine/IR/
DAffineOps.cpp321 auto indexTy = parser.getBuilder().getIndexType(); in parseDimAndSymbolList()
358 auto &builder = parser.getBuilder(); in parseAffineApplyOp()
1021 auto indexType = parser.getBuilder().getIndexType(); in parse()
1161 auto indexType = parser.getBuilder().getIndexType(); in parse()
1317 auto &builder = p.getBuilder(); in parseBound()
1403 auto &builder = parser.getBuilder(); in parseAffineForOp()
1958 AffineIfOp::ensureTerminator(*thenRegion, parser.getBuilder(), in parseAffineIfOp()
1965 AffineIfOp::ensureTerminator(*elseRegion, parser.getBuilder(), in parseAffineIfOp()
2103 auto &builder = parser.getBuilder(); in parseAffineLoadOp()
2217 auto indexTy = parser.getBuilder().getIndexType(); in parseAffineStoreOp()
[all …]
/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIROps.cpp279 auto builder = parser.getBuilder(); in parseCmpOp()
441 auto &builder = parser.getBuilder(); in parseEmboxOp()
487 auto &builder = parser.getBuilder(); in parseGlobalOp()
620 auto &builder = parser.getBuilder(); in parseIterWhileOp()
809 auto &builder = parser.getBuilder(); in parseLoopOp()
1133 parser.getBuilder().getArrayAttr(attrs)); in parseSelectCase()
1146 auto &bld = parser.getBuilder(); in parseSelectCase()
1331 auto &bld = parser.getBuilder(); in parseSelectType()
1420 auto &builder = parser.getBuilder(); in parseWhereOp()
1430 WhereOp::ensureTerminator(*thenRegion, parser.getBuilder(), result.location); in parseWhereOp()
[all …]
/external/llvm-project/mlir/lib/Dialect/Shape/IR/
DShape.cpp178 auto &builder = parser.getBuilder(); in parseAssumingOp()
192 AssumingOp::ensureTerminator(*doRegion, parser.getBuilder(), result.location); in parseAssumingOp()
392 Builder &builder = parser.getBuilder(); in parseConstShapeOp()
607 FunctionLibraryOp::ensureTerminator(*bodyRegion, parser.getBuilder(), in parseFunctionLibraryOp()
614 parser.getBuilder().getType<NoneType>(), "mapping", in parseFunctionLibraryOp()
/external/llvm-project/mlir/lib/Dialect/PDLInterp/IR/
DPDLInterp.cpp36 Builder &builder = p.getBuilder(); in parseCreateOperationOp()
/external/llvm-project/mlir/lib/Dialect/PDL/IR/
DPDL.cpp36 Builder &builder = parser.getBuilder(); in parseType()
121 Builder &builder = p.getBuilder(); in parseOperationOp()

1234