Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/aot/
Dembedded_protocol_buffers.cc37 using xla::llvm_ir::AsStringRef;
50 AsStringRef(protobuf_array_contents), in AddEmbeddedProtocolBufferToLlvmModule()
55 protobuf_array_initializer, AsStringRef(*protobuf_array_symbol_name)); in AddEmbeddedProtocolBufferToLlvmModule()
98 llvm::Triple::normalize(AsStringRef(absl::string_view(target_triple))); in GetTargetMachineFromTriple()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/llvm_gpu_backend/
Dgpu_backend_lib.cc178 triple.str(), llvm_ir::AsStringRef(cpu_name), in GetTargetMachine()
179 llvm_ir::AsStringRef(feature_str), target_options, in GetTargetMachine()
741 llvm_ir::AsStringRef("ld.lld"), in EmitModuleToHsaco()
742 llvm_ir::AsStringRef("-flavor"), in EmitModuleToHsaco()
743 llvm_ir::AsStringRef("gnu"), in EmitModuleToHsaco()
744 llvm_ir::AsStringRef("-shared"), in EmitModuleToHsaco()
745 llvm_ir::AsStringRef(isabin_path), in EmitModuleToHsaco()
746 llvm_ir::AsStringRef("-o"), in EmitModuleToHsaco()
747 llvm_ir::AsStringRef(hsaco_path), in EmitModuleToHsaco()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dllvm_util.cc274 llvm::UndefValue::get(tile_type), AsStringRef(name), nullptr, in AllocateSharedMemoryTile()
295 b->CreateAlloca(type, element_count, AsStringRef(name)); in EmitAllocaAtFunctionEntryWithCount()
307 /*Name=*/AsStringRef(name), in CreateBasicBlock()
616 llvm::Function::Create(function_type, linkage, AsStringRef(name), module); in CreateCpuFunction()
Dtuple_ops.cc103 /*ArraySize=*/nullptr, AsStringRef(absl::StrCat("tuple_element_", i))); in EmitTupleAllocasAtFunctionEntry()
Dkernel_support_library.cc84 module->getFunction(llvm_ir::AsStringRef(kernel_name)); in EmitAndCallOutlinedKernel()
Dllvm_util.h52 inline llvm::StringRef AsStringRef(absl::string_view str) { in AsStringRef() function
Dir_array.cc460 {index.linear()}, llvm_ir::AsStringRef(name)); in EmitArrayElementAddress()
486 llvm_ir::AsStringRef(name)); in EmitArrayElementAddress()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emission_utils.cc469 {builder->CreateGlobalStringPtr(llvm_ir::AsStringRef(fmt)), in EmitPrintf()
480 llvm_ir::AsStringRef("__ockl_readuplane_i32"), in EmitAMDGPUShflDown()
/external/tensorflow/tensorflow/compiler/mlir/xla/experimental/conv_emitter/
Dconv_emitter.cc552 llvm_ir::AsStringRef(function_name), in EmitConvolutionForwardAsMlir()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emitter.cc2545 call_args.push_back(b_.CreateGlobalStringPtr(llvm_ir::AsStringRef(fmt))); in EmitPrintf()