Searched defs:assignment (Results 1 - 25 of 51) sorted by relevance

123

/external/tensorflow/tensorflow/compiler/xla/service/
H A Dhlo_proto_util.cc21 const BufferAssignment& assignment) {
23 assignment.liveness().hlo_ordering().ToProto();
24 BufferAssignmentProto proto_assignment = assignment.ToProto();
20 MakeHloProto(const HloModule& module, const BufferAssignment& assignment) argument
H A Dcomputation_placer.cc57 "Invalid device assignment topology: replica_count=%d, "
61 auto assignment = MakeUnique<DeviceAssignment>(proto.replica_count(), local
69 (*assignment)(replica, computation) =
73 return std::move(assignment);
87 DeviceAssignment assignment(replica_count, computation_count);
93 assignment(replica, computation) = device_id;
96 return std::move(assignment);
H A Dbuffer_assignment.cc16 // Defines the data returned by the XLA buffer assignment packages.
650 BufferAssignment* assignment) {
651 const LogicalBuffer::SizeFunction& buffer_size = assignment->buffer_size_;
653 CHECK(!assignment->HasAllocation(buffer))
682 if (assignment->liveness().MayInterfere(assigned_buffer, buffer)) {
698 assignment->module_->entry_computation();
701 assignment->points_to_analysis().GetBuffersDefinedByInstruction(
703 if (assignment->liveness().MayInterfere(*param_buffer, buffer)) {
714 if (assignment->liveness().MaybeLiveOut(buffer) &&
721 assignment
648 MaybeAssignBuffer(BufferAllocation* allocation, const LogicalBuffer& buffer, BufferAssignment* assignment) argument
726 AssignBuffersForComputation( const HloComputation* computation, const DebugOptions& debug_options, bool is_thread_local, const FlatSet<const LogicalBuffer*>& colocated_buffers, const FlatSet<BufferAllocation::Index>& colocated_allocations, FlatMap<const HloComputation*, FlatSet<const LogicalBuffer*>>* buffers_to_assign_sequentially, BufferAssignment* assignment) argument
973 AssignBuffersWithSequentialOrdering( const FlatMap<const HloComputation*, FlatSet<const LogicalBuffer*>>& buffers_to_assign_sequentially, bool run_whole_module_heap_simulation, BufferAssignment* assignment) argument
1048 AssignBuffersFromHeapSimulator( const HeapSimulator::Result& result, BufferAssignment* assignment, LogicalBuffer::Color color) argument
1410 AssignColocatedBufferSets( const std::vector<ColocatedBufferSet>& colocated_buffer_sets, BufferAssignment* assignment, FlatSet<const LogicalBuffer*>* colocated_buffers, FlatSet<BufferAllocation::Index>* colocated_allocations) argument
[all...]
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
H A Dops.h36 const BufferAssignment& assignment);
41 HloInstruction* fusion, const BufferAssignment& assignment) {
58 return assignment.HasAllocationAt(operand, index) &&
59 assignment.HasAllocationAt(fusion, {}) &&
60 assignment.SharesSliceAtIndex(fusion, {}, operand, index);
40 CanEmitFusedDynamicUpdateSliceInPlace( HloInstruction* fusion, const BufferAssignment& assignment) argument
H A Dalias_analysis.h35 AliasAnalysis(const HloModule& module, const BufferAssignment& assignment, argument
37 : module_(module), assignment_(assignment), context_(context) {}
61 const BufferAssignment& assignment, const HloInstruction& hlo);
H A Dalias_analysis.cc126 const BufferAssignment& assignment, const HloInstruction& hlo) {
145 [&worklist, &assignment](const HloInstruction* instruction) {
147 assignment.GetSourceBuffers(instruction, /*index=*/{})) {
169 if (!assignment.HasAllocation(*buffer) ||
174 assignment.GetAssignedAllocation(*buffer).GetSlice(*buffer);
124 GetNoaliasMetadataForBuffer( const BufferAllocation::Slice& buffer_slice, llvm::MDNode* domain, const BufferAssignment& assignment, const HloInstruction& hlo) argument
H A Dops.cc27 const BufferAssignment& assignment) {
30 return assignment.HasTopLevelAllocation(dynamic_update_slice) &&
31 assignment.HasTopLevelAllocation(operand) &&
32 assignment.SharesTopLevelSlice(dynamic_update_slice, operand);
26 CanUpdateDynamicSliceInPlace(HloInstruction* dynamic_update_slice, const BufferAssignment& assignment) argument
/external/mesa3d/src/compiler/glsl/
H A Dlower_discard.cpp159 ir_assignment *assignment = local
163 ir->replace_with(assignment);
H A Dopt_constant_folding.cpp127 * remove the never-executed assignment.
153 * remove the never-executed assignment.
191 /* Next, see if the call can be replaced with an assignment of a constant */
195 ir_assignment *assignment = local
197 ir->replace_with(assignment);
H A Dopt_vectorize.cpp29 * and assignment.
67 assignment[0] = NULL;
68 assignment[1] = NULL;
69 assignment[2] = NULL;
70 assignment[3] = NULL;
95 ir_assignment *assignment[4]; member in class:__anon15905::ir_vectorize_visitor
106 * Rewrites the swizzles and types of a right-hand side of an assignment.
173 * assignment seen to be an equivalent vector form of the scalar assignments.
185 if (this->assignment[i]) {
188 if (this->assignment[
[all...]
H A Dopt_function_inlining.cpp118 ir_assignment *assignment; local
123 assignment = new(ctx) ir_assignment(new(ctx) ir_dereference_variable(index),
125 base_ir->insert_before(assignment);
161 * the location information, which an assignment of an opaque
H A Dlower_variable_index_to_cond_assign.cpp42 * the RHS of the assignment is assigned to a temporary. The non-constant
220 /* Generate a conditional assignment to (or from) the constant indexed
224 ir_assignment *const assignment = (is_write) local
228 list->push_tail(assignment);
518 /* If the original assignment has a condition, respect that original
H A Dlower_ubo_reference.cpp530 ir_assignment *assignment = local
532 base_ir->insert_before(assignment);
793 * the assignment so that the temporary is the LHS.
H A Dast_function.cpp389 ir_assignment *const assignment = local
391 before_instructions->push_tail(assignment);
1017 ir_instruction *assignment = NULL; local
1022 assignment = new(ctx) ir_assignment(lhs, rhs, NULL);
1028 assignment = new(ctx) ir_assignment(lhs, rhs, NULL,
1032 instructions->push_tail(assignment);
1158 ir_instruction *assignment = new(ctx) ir_assignment(lhs, rhs, NULL); local
1159 instructions->push_tail(assignment);
1269 /* Mask of fields to be written in the assignment. */
1314 /* Mask of fields to be written in the assignment
[all...]
/external/elfutils/src/
H A Dldscript.y46 static struct assignment *new_assignment (const char *variable,
72 struct assignment *assignment;
121 %type <assignment> assignment
204 outputsection: assignment ';'
207 $$->val.assignment = $1;
245 assignment: kID '=' expr label
272 | assignment ';'
275 $$->val.assignment
[all...]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
H A Dstream_assignment_test.cc51 std::unique_ptr<StreamAssignment> assignment = AssignStreams(*module); local
52 EXPECT_EQ(assignment->StreamNumberForHlo(*dot1),
53 assignment->StreamNumberForHlo(*dot2));
72 std::unique_ptr<StreamAssignment> assignment = AssignStreams(*module); local
73 EXPECT_NE(assignment->StreamNumberForHlo(*dot1),
74 assignment->StreamNumberForHlo(*dot2));
116 std::unique_ptr<StreamAssignment> assignment = AssignStreams(*module); local
118 EXPECT_NE(assignment->StreamNumberForHlo(*d10),
119 assignment->StreamNumberForHlo(*d11));
121 EXPECT_NE(assignment
[all...]
H A Dgpu_executable.cc118 std::unique_ptr<const BufferAssignment> assignment,
127 assignment_(std::move(assignment)) {}
113 GpuExecutable( const string& ptx, const std::vector<uint8>& cubin, std::pair<int, int> compute_capability, std::unique_ptr<const ThunkSchedule> thunk_schedule, std::unique_ptr<const HloModule> hlo_module, std::unique_ptr<const BufferAssignment> assignment, std::unique_ptr<HloProfilePrinterData> hlo_profile_printer_data, std::unique_ptr<HloProfileIndexMap> hlo_profile_index_map) argument
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
H A Dcpu_executable.cc55 std::unique_ptr<const BufferAssignment> assignment,
63 assignment_(std::move(assignment)) {
53 CpuExecutable( std::unique_ptr<SimpleOrcJIT> jit, std::unique_ptr<const BufferAssignment> assignment, std::unique_ptr<const HloModule> hlo_module, const string& entry_function_name, std::unique_ptr<HloProfilePrinterData> hlo_profile_printer_data, std::unique_ptr<HloProfileIndexMap> hlo_profile_index_map) argument
H A Dparallel_cpu_executable.cc59 std::unique_ptr<const BufferAssignment> assignment,
69 assignment_(std::move(assignment)),
110 int64* profile_counters_array, const BufferAssignment* assignment)
118 assignment_(assignment) {}
57 ParallelCpuExecutable( std::unique_ptr<SimpleOrcJIT> jit, std::unique_ptr<const BufferAssignment> assignment, std::unique_ptr<const HloModule> hlo_module, std::unique_ptr<const HloInstructionMap<string>> function_names, std::unordered_map<const HloInstruction*, std::unique_ptr<unsigned char[]>> aligned_constants, std::unique_ptr<HloProfilePrinterData> hlo_profile_printer_data, std::unique_ptr<HloProfileIndexMap> hlo_profile_index_map) argument
106 Executor(const HloInstructionMap<ComputeFunctionType>& functions, const ServiceExecutableRunOptions* run_options, std::list<HloInstruction*>* pending, HloInstructionMap<const void*>* results, void** temps_array, int64* profile_counters_array, const BufferAssignment* assignment) argument
/external/v8/src/parsing/
H A Drewriter.cc70 // there was ever an assignment to result_.
117 Expression* assignment = factory()->NewAssignment(Token::ASSIGN, result_proxy, local
121 factory()->NewExpressionStatement(assignment, kNoSourcePosition), zone());
H A Dpattern-rewriter.cc63 Parser* parser, Assignment* assignment, Scope* scope) {
64 DCHECK_NOT_NULL(assignment);
65 DCHECK_EQ(Token::ASSIGN, assignment->op());
66 auto to_rewrite = parser->factory()->NewRewritableExpression(assignment);
116 // In an assignment context, simply perform the assignment
117 Assignment* assignment = factory()->NewAssignment( local
120 factory()->NewExpressionStatement(assignment, pattern->position()),
129 // assignment for variables and constants because the value must be assigned
240 Assignment* assignment local
62 RewriteDestructuringAssignment( Parser* parser, Assignment* assignment, Scope* scope) argument
251 auto assignment = factory()->NewAssignment( local
538 Expression* assignment = factory()->NewAssignment( local
550 Expression* assignment = factory()->NewAssignment( local
707 Assignment* assignment = local
[all...]
/external/deqp/external/openglcts/modules/common/
H A DglcShaderMultisampleInterpolationTests.cpp67 std::string const& qualifier = "", std::string const& assignment = "",
76 args["ASSIGNMENT"] = assignment;
215 glu::GLSLVersion glslVersion, char const* qualifier, char const* assignment,
249 char const* assignment, char const* condition, bool unique, GLenum internalFormat,
255 , m_assignment(assignment)
606 char const* assignment; member in struct:deqp::Case
658 cases[caseId].assignment, cases[caseId].condition, cases[caseId].unique,
247 ShaderMultisampleInterpolationBaseCase( Context& context, const char* name, const char* description, glu::GLSLVersion glslVersion, char const* qualifier, char const* assignment, char const* condition, bool unique, GLenum internalFormat, tcu::TextureFormat const& texFormat, const char* sampler, const char* outType, GLfloat min, GLfloat max, GLint samples) argument
/external/icu/icu4c/source/common/
H A Dlocid.cpp1021 const char* assignment = uprv_strchr(fullName, '='); local
1023 if(assignment > variantStart) {
/external/mesa3d/src/gallium/drivers/r600/
H A Dr600_asm.c321 struct r600_bytecode_alu *assignment[5])
328 assignment[i] = NULL;
338 else if (assignment[chan])
344 if (assignment[4]) {
348 assignment[4] = alu;
350 if (assignment[chan]) {
354 assignment[chan] = alu;
320 assign_alu_units(struct r600_bytecode *bc, struct r600_bytecode_alu *alu_first, struct r600_bytecode_alu *assignment[5]) argument
/external/syslinux/com32/lua/src/
H A Dlparser.c1094 ** assignment
1103 ** check whether, in an assignment to an upvalue/local variable, the
1104 ** upvalue/local variable is begin used in a previous assignment to a
1106 ** use this safe copy in the previous assignment.
1118 lh->v.u.ind.t = extra; /* previous assignment will use safe copy */
1123 lh->v.u.ind.idx = extra; /* previous assignment will use safe copy */
1136 static void assignment (LexState *ls, struct LHS_assign *lh, int nvars) { function
1139 if (testnext(ls, ',')) { /* assignment -> ',' suffixedexp assignment */
1147 assignment(l
[all...]

Completed in 487 milliseconds

123