Home
last modified time | relevance | path

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

/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DIRForTarget.cpp224 GlobalVariable *result_global = dyn_cast<GlobalVariable>(result_value); in CreateResultVariable() local
226 if (!result_global) { in CreateResultVariable()
236 clang::NamedDecl *result_decl = DeclForGlobal(result_global); in CreateResultVariable()
337 (*m_module), result_global->getType()->getElementType(), in CreateResultVariable()
364 LLDB_LOG(log, "Replacing \"{0}\" with \"{1}\"", PrintValue(result_global), in CreateResultVariable()
367 if (result_global->use_empty()) { in CreateResultVariable()
377 if (!result_global->hasInitializer()) { in CreateResultVariable()
387 Constant *initializer = result_global->getInitializer(); in CreateResultVariable()
395 result_global->replaceAllUsesWith(new_result_global); in CreateResultVariable()
402 result_global->eraseFromParent(); in CreateResultVariable()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emitter.cc237 llvm::GlobalVariable* result_global = new llvm::GlobalVariable( in EmitGlobalForLiteral() local
244 result_global->setAlignment( in EmitGlobalForLiteral()
246 result_global->setUnnamedAddr(llvm::GlobalVariable::UnnamedAddr::Global); in EmitGlobalForLiteral()
248 result_global, IrShapeType(literal.shape())->getPointerTo()); in EmitGlobalForLiteral()