Lines Matching refs:m_module

150   return DeclForGlobal(global_val, m_module);  in DeclForGlobal()
170 ValueSymbolTable &value_symbol_table = m_module->getValueSymbolTable(); in CreateResultVariable()
203 Value *result_value = m_module->getNamedValue(result_name); in CreateResultVariable()
331 (*m_module), result_global->getValueType(), false, /* not constant */ in CreateResultVariable()
343 ConstantInt::get(llvm::Type::getInt64Ty(m_module->getContext()), in CreateResultVariable()
352 MDNode *persistent_global_md = MDNode::get(m_module->getContext(), value_ref); in CreateResultVariable()
354 m_module->getNamedMetadata("clang.global.decl.ptrs"); in CreateResultVariable()
406 Type *i8_ptr_ty = Type::getInt8PtrTy(m_module->getContext()); in RewriteObjCConstString()
407 Type *i32_ty = Type::getInt32Ty(m_module->getContext()); in RewriteObjCConstString()
408 Type *i8_ty = Type::getInt8Ty(m_module->getContext()); in RewriteObjCConstString()
541 ValueSymbolTable &value_symbol_table = m_module->getValueSymbolTable(); in RewriteObjCConstStrings()
804 Type *sel_ptr_type = Type::getInt8PtrTy(m_module->getContext()); in RewriteObjCSelector()
808 type_array[0] = llvm::Type::getInt8PtrTy(m_module->getContext()); in RewriteObjCSelector()
826 _objc_meth_var_name_, Type::getInt8PtrTy(m_module->getContext())); in RewriteObjCSelector()
958 type_array[0] = llvm::Type::getInt8PtrTy(m_module->getContext()); in RewriteObjCClassReference()
976 _objc_class_name_, Type::getInt8PtrTy(m_module->getContext())); in RewriteObjCClassReference()
1054 (*m_module), alloc->getType(), false, /* not constant */ in RewritePersistentAlloc()
1062 m_module->getOrInsertNamedMetadata("clang.global.decl.ptrs"); in RewritePersistentAlloc()
1070 MDNode *persistent_global_md = MDNode::get(m_module->getContext(), value_ref); in RewritePersistentAlloc()
1379 for (GlobalVariable &global_var : m_module->globals()) { in ResolveExternals()
1686 LLVMContext &context(m_module->getContext()); in ReplaceVariables()
1784 m_module = &llvm_module; in runOnModule()
1785 m_target_data = std::make_unique<DataLayout>(m_module); in runOnModule()
1786 m_intptr_ty = llvm::Type::getIntNTy(m_module->getContext(), in runOnModule()
1793 m_module->print(oss, nullptr); in runOnModule()
1802 : m_module->getFunction(m_func_name.GetStringRef()); in runOnModule()
1822 llvm::Type *int8_ty = Type::getInt8Ty(m_module->getContext()); in runOnModule()
1825 (*m_module), int8_ty, false /* IsConstant */, in runOnModule()
1848 m_module->print(oss, nullptr); in runOnModule()
1855 for (llvm::Function &function : *m_module) { in runOnModule()
1896 for (llvm::Function &function : *m_module) { in runOnModule()
1917 for (llvm::Function &function : *m_module) { in runOnModule()
1955 m_module->print(oss, nullptr); in runOnModule()