Lines Matching refs:m_module

103     m_module(NULL),  in IRForTarget()
288 IntegerType *intptr_ty = Type::getIntNTy(m_module->getContext(), in BuildFunctionPointer()
289 … (m_module->getPointerSize() == Module::Pointer64) ? 64 : 32); in BuildFunctionPointer()
423 return DeclForGlobal(global_val, m_module); in DeclForGlobal()
436 ValueSymbolTable& value_symbol_table = m_module->getValueSymbolTable(); in CreateResultVariable()
476 Value *result_value = m_module->getNamedValue(result_name); in CreateResultVariable()
614 GlobalVariable *new_result_global = new GlobalVariable((*m_module), in CreateResultVariable()
628 ConstantInt *new_constant_int = ConstantInt::get(llvm::Type::getInt64Ty(m_module->getContext()), in CreateResultVariable()
638 MDNode *persistent_global_md = MDNode::get(m_module->getContext(), value_ref); in CreateResultVariable()
639 NamedMDNode *named_metadata = m_module->getNamedMetadata("clang.global.decl.ptrs"); in CreateResultVariable()
728 Type *i8_ptr_ty = Type::getInt8PtrTy(m_module->getContext()); in RewriteObjCConstString()
729 IntegerType *intptr_ty = Type::getIntNTy(m_module->getContext(), in RewriteObjCConstString()
730 (m_module->getPointerSize() in RewriteObjCConstString()
732 Type *i32_ty = Type::getInt32Ty(m_module->getContext()); in RewriteObjCConstString()
733 Type *i8_ty = Type::getInt8Ty(m_module->getContext()); in RewriteObjCConstString()
841 ValueSymbolTable& value_symbol_table = m_module->getValueSymbolTable(); in RewriteObjCConstStrings()
1141 Type *sel_ptr_type = Type::getInt8PtrTy(m_module->getContext()); in RewriteObjCSelector()
1145 type_array[0] = llvm::Type::getInt8PtrTy(m_module->getContext()); in RewriteObjCSelector()
1152 IntegerType *intptr_ty = Type::getIntNTy(m_module->getContext(), in RewriteObjCSelector()
1153 … (m_module->getPointerSize() == Module::Pointer64) ? 64 : 32); in RewriteObjCSelector()
1161 …inter = ConstantExpr::getBitCast(_objc_meth_var_name_, Type::getInt8PtrTy(m_module->getContext())); in RewriteObjCSelector()
1257 GlobalVariable *persistent_global = new GlobalVariable((*m_module), in RewritePersistentAlloc()
1267 NamedMDNode *named_metadata = m_module->getOrInsertNamedMetadata("clang.global.decl.ptrs"); in RewritePersistentAlloc()
1275 MDNode *persistent_global_md = MDNode::get(m_module->getContext(), value_ref); in RewritePersistentAlloc()
1602 IntegerType *intptr_ty = Type::getIntNTy(m_module->getContext(), in HandleSymbol()
1603 … (m_module->getPointerSize() == Module::Pointer64) ? 64 : 32); in HandleSymbol()
1683 IntegerType *intptr_ty = Type::getIntNTy(m_module->getContext(), in HandleObjCClass()
1684 (m_module->getPointerSize() in HandleObjCClass()
1776 for (Module::global_iterator global = m_module->global_begin(), end = m_module->global_end(); in ResolveExternals()
1849 for (Module::global_iterator gi = m_module->global_begin(), ge = m_module->global_end(); in ReplaceStrings()
1901 Type *char_ptr_ty = Type::getInt8PtrTy(m_module->getContext()); in ReplaceStrings()
2104 Constant* zero(ConstantInt::get(Type::getInt8Ty(m_module->getContext()), 0, true)); in TurnGuardLoadIntoZero()
2404 LLVMContext &context(m_module->getContext()); in ReplaceVariables()
2502 IntegerType *intptr_ty = Type::getIntNTy(m_module->getContext(), in BuildRelocation()
2503 … (m_module->getPointerSize() == Module::Pointer64) ? 64 : 32); in BuildRelocation()
2540 IntegerType *intptr_ty = Type::getIntNTy(m_module->getContext(), in CompleteDataAllocation()
2541 … (m_module->getPointerSize() == Module::Pointer64) ? 64 : 32); in CompleteDataAllocation()
2544 …cast = ConstantExpr::getIntToPtr(relocated_addr, llvm::Type::getInt8PtrTy(m_module->getContext())); in CompleteDataAllocation()
2608 m_module = &llvm_module; in runOnModule()
2609 m_target_data.reset(new DataLayout(m_module)); in runOnModule()
2616 m_module->print(oss, NULL); in runOnModule()
2623 Function* main_function = m_module->getFunction(StringRef(m_func_name.c_str())); in runOnModule()
2644 llvm::Type *intptr_ty = Type::getInt8Ty(m_module->getContext()); in runOnModule()
2646 m_reloc_placeholder = new llvm::GlobalVariable((*m_module), in runOnModule()
2675 m_module->print(oss, NULL); in runOnModule()
2682 for (Module::iterator fi = m_module->begin(), fe = m_module->end(); in runOnModule()
2757 for (Module::iterator fi = m_module->begin(), fe = m_module->end(); in runOnModule()
2779 for (Module::iterator fi = m_module->begin(), fe = m_module->end(); in runOnModule()
2860 m_module->print(oss, NULL); in runOnModule()