Home
last modified time | relevance | path

Searched refs:ir_value (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dhlo_to_ir_bindings.cc155 llvm::Value* ir_value) { in GetTypedIrValue() argument
161 if (llvm::isa<llvm::GlobalVariable>(ir_value)) { in GetTypedIrValue()
163 llvm::cast<llvm::GlobalVariable>(ir_value), dest_type); in GetTypedIrValue()
165 typed_ir_value = b_->CreateBitCast(ir_value, pointee_type->getPointerTo()); in GetTypedIrValue()
167 if (!HasMeaningfulName(ir_value)) { in GetTypedIrValue()
168 ir_value->setName(llvm_ir::IrName(&hlo, "raw")); in GetTypedIrValue()
177 llvm::Value* ir_value, in BindHloToIrValue() argument
182 llvm::Value* typed_ir_value = GetTypedIrValue(hlo, shape_index, ir_value); in BindHloToIrValue()
Dhlo_to_ir_bindings.h53 void BindHloToIrValue(const HloInstruction& hlo, llvm::Value* ir_value,
101 llvm::Value* ir_value);