Searched refs:AsStringRef (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/compiler/aot/ |
D | embedded_protocol_buffers.cc | 37 using xla::llvm_ir::AsStringRef; 50 AsStringRef(protobuf_array_contents), in AddEmbeddedProtocolBufferToLlvmModule() 55 protobuf_array_initializer, AsStringRef(*protobuf_array_symbol_name)); in AddEmbeddedProtocolBufferToLlvmModule() 99 llvm::Triple::normalize(AsStringRef(absl::string_view(target_triple))); in GetTargetMachineFromTriple()
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | llvm_util.cc | 274 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() 614 llvm::Function::Create(function_type, linkage, AsStringRef(name), module); in CreateCpuFunction()
|
D | kernel_support_library.cc | 80 module->getFunction(llvm_ir::AsStringRef(kernel_name)); in EmitAndCallOutlinedKernel()
|
D | ir_array.cc | 350 {index.linear()}, llvm_ir::AsStringRef(name)); in EmitArrayElementAddress() 376 llvm_ir::AsStringRef(name)); in EmitArrayElementAddress()
|
D | llvm_util.h | 52 inline llvm::StringRef AsStringRef(absl::string_view str) { in AsStringRef() function
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | ir_emission_utils.cc | 205 {builder->CreateGlobalStringPtr(llvm_ir::AsStringRef(fmt)), in EmitPrintf()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/llvm_gpu_backend/ |
D | nvptx_backend_lib.cc | 199 triple.str(), llvm_ir::AsStringRef(cpu_name), "+ptx60", target_options, in GetTargetMachine()
|