Home
last modified time | relevance | path

Searched refs:getSecond (Results 1 – 25 of 161) sorted by relevance

1234567

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/analysis/
Dside_effect_analysis.cc130 auto& side_effect = it.first->getSecond(); in GetResourceInfoForOp()
162 const SideEffects& side_effects = resource_info.getSecond(); in IsResourceOpReadOnly()
179 const SideEffects& side_effects = resource_info.getSecond(); in IsResourceOpAllocOnly()
250 entry.getSecond().tracked_last_unknown_read = false; in TrackAccess()
281 const auto& access_info = it->getSecond(); in AddPredecessorsForAccess()
304 for (auto predecessor : entry.getSecond()) { in AnalyzeFunction()
311 llvm::sort(entry.getSecond(), [](Operation* a, Operation* b) { in AnalyzeFunction()
316 llvm::sort(entry.getSecond(), [](Operation* a, Operation* b) { in AnalyzeFunction()
339 unknown_it->getSecond().reads_since_last_write.empty(); in AnalyzeRegion()
400 if (is_result && value_resource_info->getSecond().IsAllocOnly()) in AnalyzeRegion()
[all …]
Dresource_alias_analysis.cc284 AddValueUniqueIDMapping(arg, emplace_res.first->getSecond()); in ResourceAliasAnalysisInfo()
496 assert(it != resource_value_to_ids_.end() && !it->getSecond().empty()); in IsUnknownResource()
501 return *it->getSecond().begin() == kUnknownResourceId; in IsUnknownResource()
509 return it->getSecond(); in GetResourceUniqueIds()
516 return it->getSecond(); in GetUniqueIdResources()
532 aliases.insert(it->getSecond().begin(), it->getSecond().end()); in GetResourceAliases()
/external/llvm/include/llvm/ADT/
DDenseMap.h42 ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; } in getSecond() function
43 const ValueT &getSecond() const { return std::pair<KeyT, ValueT>::second; } in getSecond() function
109 P->getSecond().~ValueT(); in clear()
164 return TheBucket->getSecond(); in lookup()
233 TheBucket->getSecond().~ValueT(); in erase()
241 TheBucket->getSecond().~ValueT(); in erase()
294 P->getSecond().~ValueT(); in destroyAll()
336 ::new (&DestBucket->getSecond()) ValueT(std::move(B->getSecond())); in moveFromOldBuckets()
340 B->getSecond().~ValueT(); in moveFromOldBuckets()
364 ::new (&getBuckets()[i].getSecond()) in copyFrom()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DDenseMap.h42 ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; } in getSecond() function
43 const ValueT &getSecond() const { return std::pair<KeyT, ValueT>::second; } in getSecond() function
110 P->getSecond().~ValueT(); in clear()
165 return TheBucket->getSecond(); in lookup()
248 TheBucket->getSecond().~ValueT(); in erase()
256 TheBucket->getSecond().~ValueT(); in erase()
309 P->getSecond().~ValueT(); in destroyAll()
351 ::new (&DestBucket->getSecond()) ValueT(std::move(B->getSecond())); in moveFromOldBuckets()
355 B->getSecond().~ValueT(); in moveFromOldBuckets()
379 ::new (&getBuckets()[i].getSecond()) in copyFrom()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dsink_constant.cc63 use->set(map_entry.first->getSecond().getResult()); in runOnFunction()
74 map_entry.first->getSecond() = const_op.clone(); in runOnFunction()
76 map_entry.first->getSecond()); in runOnFunction()
77 use->set(map_entry.first->getSecond().getResult()); in runOnFunction()
Dresource_op_lifting.cc730 info = entry.getSecond(); in MergeArgResourceUseInfo()
732 if (info1_it->getSecond().used) { in MergeArgResourceUseInfo()
734 info.updated = info1_it->getSecond().updated; in MergeArgResourceUseInfo()
735 info.data_type = info1_it->getSecond().data_type; in MergeArgResourceUseInfo()
761 if (it != infos.end() && !it->getSecond().used) { in RemoveUnusedResourceArgumentsAndForwardedRetvals()
771 if (it != infos.end() && !it->getSecond().used) { in RemoveUnusedResourceArgumentsAndForwardedRetvals()
861 if (it == resource_arg_uses.end() || it->getSecond().used) in FilterRange()
881 Type new_type = entry.getSecond().first; in AddLoadsStoresOutsideControlFlowOp()
882 int64_t updated_index = entry.getSecond().second; in AddLoadsStoresOutsideControlFlowOp()
944 entry.getSecond(), update_index}; in HandleWhileLoop()
[all …]
Dtensor_list_ops_decomposition.cc142 it->getSecond().fixed); in AddTensorListSizesToTerminator()
143 new_outputs.push_back(it->getSecond().size); in AddTensorListSizesToTerminator()
207 new_while_operands.push_back(it->getSecond().size); in HandleWhileOp()
266 new_operands.push_back(it->getSecond().size); in HandleCaseOrIfOp()
297 it->getSecond().fixed}; in HandleWhileRegionOp()
328 new_while_operands.push_back(it->getSecond().size); in HandleWhileRegionOp()
454 new_operands.push_back(it->getSecond().size); in HandlePartitionedCallOp()
519 entry.getSecond().size.cast<BlockArgument>().getArgNumber(); in HandlePartitionedCallOp()
644 if (it->getSecond().fixed) { in HandleTensorListPushBackOp()
647 auto size = it->getSecond().size; in HandleTensorListPushBackOp()
[all …]
Dtensor_array_ops_decomposition.cc261 if (stat_it->getSecond().accumulate_on_write) { in HandleTensorArrayWriteV3Op()
407 sit->getSecond().grads.try_emplace(grad.source().str(), Value()); in HandleTensorArrayGradV3Op()
495 for (const string& source : entry.getSecond()) in AccessedGradients()
500 for (const string& source : entry.getSecond()) in AccessedGradients()
505 for (const string& source : entry.getSecond()) in AccessedGradients()
540 for (const string& source : grad_it->getSecond()) { in ChangeFunctionInputSignature()
571 return it->getSecond().accumulate_on_write; in HandleWhileOp()
609 for (const string& source : grad_it->getSecond()) { in HandleWhileOp()
655 return it->getSecond().accumulate_on_write; in HandleIfOp()
676 for (const string& source : grad_it->getSecond()) { in HandleIfOp()
[all …]
Dstack_ops_decomposition.cc203 new_while_operands.push_back(it->getSecond()); in HandleWhileOp()
256 new_if_operands.push_back(it->getSecond()); in HandleIfOp()
304 new_operands.push_back(it->getSecond()); in HandlePartitionedCallOp()
358 entry.getSecond().cast<BlockArgument>().getArgNumber(); in HandlePartitionedCallOp()
430 cutil::ReadLocalVariable(it->getSecond(), builder, push.getLoc()); in HandleStackPushV2Op()
438 cutil::WriteLocalVariable(it->getSecond(), index, builder, push.getLoc()); in HandleStackPushV2Op()
454 auto size = cutil::ReadLocalVariable(it->getSecond(), builder, pop.getLoc()); in HandleStackPopV2Op()
461 cutil::WriteLocalVariable(it->getSecond(), new_size, builder, pop.getLoc()); in HandleStackPopV2Op()
Dresource_device_inference.cc82 result = it->getSecond(); in DeviceForResource()
102 } else if (emplace_res.first->getSecond() != device) { in AddResourceDevice()
252 auto& callee_res = per_function_results.find(callee)->getSecond(); in runOnOperation()
276 auto& func_res = per_function_results.find(func_op)->getSecond(); in runOnOperation()
Dtpu_dynamic_padding_mapper.cc144 padding_proto.set_padding_arg_index(padding_arg_index_it->getSecond()); in GetRemappedPaddings()
171 "shape_indices", builder.getI32ArrayAttr(padding.getSecond().first)); in AnnotateFunctionArgumentsWithPaddings()
174 builder.getI32ArrayAttr(padding.getSecond().second)); in AnnotateFunctionArgumentsWithPaddings()
/external/llvm-project/llvm/lib/Analysis/
DStackLifetime.cpp57 auto It = std::upper_bound(Instructions.begin() + ItBB->getSecond().first + 1, in isAliveAfter()
58 Instructions.begin() + ItBB->getSecond().second, I, in isAliveAfter()
135 BlockLiveness.try_emplace(BB, NumAllocas).first->getSecond(); in collectMarkers()
162 BlockMarkerSet.begin()->getSecond()); in collectMarkers()
172 ProcessMarker(II, It->getSecond()); in collectMarkers()
186 BlockLifetimeInfo &BlockInfo = BlockLiveness.find(BB)->getSecond(); in calculateLocalLiveness()
236 BlockLifetimeInfo &BlockInfo = IT.getSecond(); in calculateLiveIntervals()
293 const BlockLifetimeInfo &BlockInfo = BlockLiveness.find(BB)->getSecond(); in dumpBlockLiveness()
294 auto BlockRange = BlockInstRange.find(BB)->getSecond(); in dumpBlockLiveness()
354 if (SL.LiveRanges[KV.getSecond()].test(InstrNo)) in printInstrAlive()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dsink_constants_to_control_flow.cc72 use->set(map_entry.first->getSecond()->getResult(0)); in SinkToRegion()
80 map_entry.first->getSecond() = op->clone(); in SinkToRegion()
82 map_entry.first->getSecond()); in SinkToRegion()
83 use->set(map_entry.first->getSecond()->getResult(0)); in SinkToRegion()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DDenseMap.h45 ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; } in getSecond() function
46 const ValueT &getSecond() const { return std::pair<KeyT, ValueT>::second; } in getSecond() function
132 P->getSecond().~ValueT(); in clear()
188 return TheBucket->getSecond(); in lookup()
277 TheBucket->getSecond().~ValueT(); in erase()
285 TheBucket->getSecond().~ValueT(); in erase()
338 P->getSecond().~ValueT(); in destroyAll()
380 ::new (&DestBucket->getSecond()) ValueT(std::move(B->getSecond())); in moveFromOldBuckets()
384 B->getSecond().~ValueT(); in moveFromOldBuckets()
409 ::new (&getBuckets()[i].getSecond()) in copyFrom()
[all …]
/external/llvm-project/llvm/include/llvm/ADT/
DDenseMap.h45 ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; } in getSecond() function
46 const ValueT &getSecond() const { return std::pair<KeyT, ValueT>::second; } in getSecond() function
131 P->getSecond().~ValueT(); in clear()
199 return TheBucket->getSecond(); in lookup()
306 TheBucket->getSecond().~ValueT(); in erase()
314 TheBucket->getSecond().~ValueT(); in erase()
367 P->getSecond().~ValueT(); in destroyAll()
409 ::new (&DestBucket->getSecond()) ValueT(std::move(B->getSecond())); in moveFromOldBuckets()
413 B->getSecond().~ValueT(); in moveFromOldBuckets()
438 ::new (&getBuckets()[i].getSecond()) in copyFrom()
[all …]
/external/cldr/tools/java/org/unicode/cldr/tool/
DChartLanguageGroups.java112 return o1.getSecond().compareTo(o2.getSecond()); in show()
123 String code = pair.getSecond(); in show()
139 show(lg, pair.getSecond(), tablePrinter); in show()
160 return (showCollection && COLLECTIONS.contains(pair.getSecond()) in getPairName()
162 + pair.getSecond() + " “" + pair.getFirst() + "”"; in getPairName()
/external/llvm-project/clang-tools-extra/clangd/support/
DMemoryTree.cpp20 Total += traverseTree(Entry.getSecond(), ComponentName, Out); in traverseTree()
30 auto &Child = Children.try_emplace(Name, DetailAlloc).first->getSecond(); in createChild()
42 Total += Entry.getSecond().total(); in total()
/external/deqp/framework/common/
DtcuEither.cpp113 TCU_CHECK(either.getSecond() == floatValue); in Either_selfTest()
149 TCU_CHECK(either.getSecond() == floatValue); in Either_selfTest()
187 TCU_CHECK(either.getSecond() == floatValue); in Either_selfTest()
217 TCU_CHECK(either.getSecond().getValue() == testObject.getValue()); in Either_selfTest()
253 TCU_CHECK(either.getSecond().getValue() == testObject.getValue()); in Either_selfTest()
291 TCU_CHECK(either.getSecond().getValue() == testObject.getValue()); in Either_selfTest()
DtcuEither.hpp57 const Second& getSecond (void) const;
103 return either.getSecond(); in get()
244 const Second& Either<First, Second>::getSecond (void) const in getSecond() function in tcu::Either
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsRegisterBankInfo.h146 return Types.find(MI)->getSecond(); in getRecordedTypeForInstr()
152 Types.find(MI)->getSecond() = InstTy; in changeRecordedTypeForInstr()
159 return WaitingQueues.find(MI)->getSecond(); in getWaitingQueueFor()
166 WaitingQueues.find(MI)->getSecond().push_back(WaitingForMI); in addToWaitingQueue()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsRegisterBankInfo.h193 return Types.find(MI)->getSecond(); in getRecordedTypeForInstr()
199 Types.find(MI)->getSecond() = InstTy; in changeRecordedTypeForInstr()
206 return WaitingQueues.find(MI)->getSecond(); in getWaitingQueueFor()
213 WaitingQueues.find(MI)->getSecond().push_back(WaitingForMI); in addToWaitingQueue()
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
DGeneticAlgorithm.java154 pair = getCrossoverPolicy().crossover(pair.getFirst(), pair.getSecond()); in nextGeneration()
162 getMutationPolicy().mutate(pair.getSecond())); in nextGeneration()
170 nextGeneration.addChromosome(pair.getSecond()); in nextGeneration()
DChromosomePair.java58 public Chromosome getSecond() { in getSecond() method in ChromosomePair
67 return String.format("(%s,%s)", getFirst(), getSecond()); in toString()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf_communication.cc184 it.first->getSecond().control_flow_ops.insert( in GetFunctionsToRewrite()
187 it.first->getSecond().control_flow_blocks.insert( in GetFunctionsToRewrite()
201 if (func.getSecond().original.isPublic() && in GetFunctionsToRewrite()
202 !func.getSecond().original.symbolKnownUseEmpty(module)) { in GetFunctionsToRewrite()
203 auto clone = func.getSecond().original.clone(); in GetFunctionsToRewrite()
206 func.getSecond().clone = clone; in GetFunctionsToRewrite()
421 if (it != rewritten_values.end()) return it->getSecond(); in GetValueWithToken()
782 FuncOp clone = it->getSecond().clone; in RewriteFunction()
860 const auto& func_to_rewrite = func_and_name.getSecond(); in runOnOperation()
869 FuncOp clone = func_and_name.getSecond().clone; in runOnOperation()
/external/cldr/tools/java/org/unicode/cldr/util/
DPair.java52 public U getSecond() { in getSecond() method in Pair
58 setSecond(name.getSecond()); in set()

1234567