Searched refs:result_global (Results 1 – 2 of 2) sorted by relevance
224 GlobalVariable *result_global = dyn_cast<GlobalVariable>(result_value); in CreateResultVariable() local226 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()
237 llvm::GlobalVariable* result_global = new llvm::GlobalVariable( in EmitGlobalForLiteral() local244 result_global->setAlignment( in EmitGlobalForLiteral()246 result_global->setUnnamedAddr(llvm::GlobalVariable::UnnamedAddr::Global); in EmitGlobalForLiteral()248 result_global, IrShapeType(literal.shape())->getPointerTo()); in EmitGlobalForLiteral()