Home
last modified time | relevance | path

Searched refs:GetBasePointer (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dtuple_ops.cc43 b->CreateLoad(pred.GetBasePointer(), "load_predicate_value"); in EmitTupleSelect()
54 llvm::Value* dst = select.GetBasePointer(); in EmitTupleSelect()
68 cast, b->CreateInBoundsGEP(tuple.GetBasePointer(), in EmitTuple()
80 [](const llvm_ir::IrArray& buffer) { return buffer.GetBasePointer(); }); in EmitTuple()
Dir_array.h223 llvm::Value* GetBasePointer() const { return base_ptr_; } in GetBasePointer() function
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Ddot_op_emitter.cc256 llvm::Value* operand_ptrs[] = {lhs_array_.GetBasePointer(), in EmitLinalgMatmul()
257 rhs_array_.GetBasePointer()}; in EmitLinalgMatmul()
258 llvm::Value* target_ptr = target_array_.GetBasePointer(); in EmitLinalgMatmul()
346 llvm::Value* lhs = lhs_array_.GetBasePointer(); in EmitTiledLlvmIrGemm()
347 llvm::Value* rhs = rhs_array_.GetBasePointer(); in EmitTiledLlvmIrGemm()
348 llvm::Value* target = target_array_.GetBasePointer(); in EmitTiledLlvmIrGemm()
453 llvm::Value* result_op = target_array_.GetBasePointer(); in EmitTiledLlvmIrGemv()
455 swap_operands ? rhs_array_.GetBasePointer() : lhs_array_.GetBasePointer(); in EmitTiledLlvmIrGemv()
457 swap_operands ? lhs_array_.GetBasePointer() : rhs_array_.GetBasePointer(); in EmitTiledLlvmIrGemv()
479 /*addend=*/addend_array_ ? addend_array_->GetBasePointer() : nullptr, in EmitTiledLlvmIrGemv()
[all …]
Dir_emitter.cc125 Load(root_value.GetBasePointer(), "load_ret_value"); in EmitThreadLocalFunctionEpilogue()
127 BitCast(out_parameter, root_value.GetBasePointer()->getType())); in EmitThreadLocalFunctionEpilogue()
147 root_value.GetBasePointer(), &b_); in EmitThreadLocalFunctionEpilogue()
857 << llvm_ir::DumpToString(*lhs_array.GetBasePointer()); in HandleDot()
859 << llvm_ir::DumpToString(*rhs_array.GetBasePointer()); in HandleDot()
861 << llvm_ir::DumpToString(*target_array.GetBasePointer()); in HandleDot()
2206 tuple_operand_ptrs.push_back(data_array.GetBasePointer()); in HandlePadToStatic()
2661 GetIrArrayFor(branch_index).GetBasePointer(), "load_predicate_value"); in HandleConditional()
2696 GetIrArrayFor(branch_index).GetBasePointer(), "load_branch_index_value"); in HandleConditional()
3159 tuple_operand_ptrs.push_back(output_arrays[i].GetBasePointer()); in EmitTargetElementLoop()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter.h131 llvm::Value* GetBasePointer(const HloInstruction& inst,
133 return bindings_.GetBasePointer(inst, shape_index);
Dir_emitter.cc177 bindings_.BindHloToIrValue(*add_dependency, GetBasePointer(*operand)); in HandleAddDependency()
191 /*alignment=*/1, GetBasePointer(*operand), &b_)); in HandleGetTupleElement()
218 base_ptrs.push_back(GetBasePointer(*operand)); in HandleTuple()
592 operand_addresses.push_back(GetBasePointer(*operand)); in HandleCall()
595 GetBasePointer(*call)); in HandleCall()
Dhlo_to_ir_bindings.h71 llvm::Value* GetBasePointer(const HloInstruction& hlo,
Dir_emitter_nested.cc127 llvm::Value* root_value = bindings_.GetBasePointer(*root_instruction); in CodegenNestedComputation()
Dhlo_to_ir_bindings.cc194 llvm::Value* base_ptr = GetBasePointer(hlo, shape_index); in GetIrArray()
Dir_emitter_unnested.cc838 llvm::Value* source_buffer = source_array.GetBasePointer(); in EmitPadToStaticFromMlir()
878 output_dim_arrays[dim_index].GetBasePointer(); in EmitPadToStaticFromMlir()
974 llvm::Value* dest_buffer = data_array.GetBasePointer(); in EmitSliceToDynamicFromMlir()
982 llvm::Value* source_buffer = ir_arrays[i].GetBasePointer(); in EmitSliceToDynamicFromMlir()