Home
last modified time | relevance | path

Searched refs:getModule (Results 1 – 25 of 53) sorted by relevance

123

/trueos/contrib/llvm/lib/CodeGen/AsmPrinter/
HDOcamlGCPrinter.cpp71 EmitCamlGlobal(getModule(), AP, "code_begin"); in beginAssembly()
74 EmitCamlGlobal(getModule(), AP, "data_begin"); in beginAssembly()
97 EmitCamlGlobal(getModule(), AP, "code_end"); in finishAssembly()
100 EmitCamlGlobal(getModule(), AP, "data_end"); in finishAssembly()
106 EmitCamlGlobal(getModule(), AP, "frametable"); in finishAssembly()
HDAsmPrinterInlineAsm.cpp92 LLVMContext &LLVMCtx = MMI->getModule()->getContext(); in EmitInlineAsm()
229 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitMSInlineAsmStr()
401 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitGCCInlineAsmStr()
/trueos/contrib/llvm/lib/Analysis/
HDTrace.cpp29 Module *Trace::getModule() const { in getModule() function in Trace
40 WriteAsOperand(O, *i, true, getModule()); in print()
/trueos/contrib/llvm/include/llvm/CodeGen/
HDGCMetadataPrinter.h58 const Module &getModule() const { return S->getModule(); } in getModule() function
HDGCStrategy.h89 const Module &getModule() const { return *M; } in getModule() function
HDMachineModuleInfo.h194 const Module *getModule() const { return TheModule; } in getModule() function
/trueos/contrib/llvm/tools/clang/lib/CodeGen/
HDCodeGenModule.cpp259 getModule().addModuleFlag(llvm::Module::Warning, "Dwarf Version", in Release()
267 getModule().addModuleFlag(llvm::Module::Error, "Debug Info Version", in Release()
535 return getModule().getNamedValue(Name); in GetGlobalValue()
853 new llvm::GlobalVariable(getModule(), ATy, false, in EmitLLVMUsed()
982 getModule().addModuleFlag(llvm::Module::AppendUnique, "Linker Options", in EmitModuleLinkOptions()
1040 llvm::GlobalValue *gv = new llvm::GlobalVariable(getModule(), in EmitGlobalAnnotations()
1053 llvm::GlobalValue *gv = new llvm::GlobalVariable(getModule(), s->getType(), in EmitAnnotationString()
1122 if (llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name)) in GetAddrOfUuidDescriptor()
1129 getModule(), Init->getType(), in GetAddrOfUuidDescriptor()
1424 MangledName, &getModule()); in GetOrCreateLLVMFunction()
[all …]
HDCGRTTI.cpp66 VMContext(CGM.getModule().getContext()) { } in RTTIBuilder()
144 llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name); in GetAddrOfExternalRTTIDescriptor()
148 GV = new llvm::GlobalVariable(CGM.getModule(), CGM.Int8PtrTy, in GetAddrOfExternalRTTIDescriptor()
498 CGM.getModule().getOrInsertGlobal(VTableName, CGM.Int8PtrTy); in BuildVTablePointer()
522 llvm::GlobalVariable *OldGV = CGM.getModule().getNamedGlobal(Name); in BuildTypeInfo()
635 new llvm::GlobalVariable(CGM.getModule(), Init->getType(), in BuildTypeInfo()
HDCGObjCMac.cpp2654 new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ProtocolTy, false, in GetOrEmitProtocol()
2677 new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ProtocolTy, false, in GetOrEmitProtocolRef()
3136 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name); in GenerateClass()
3204 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name); in EmitMetaClass()
3211 GV = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassTy, false, in EmitMetaClass()
3233 if (llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, in EmitMetaClassRef()
3241 return new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassTy, false, in EmitMetaClassRef()
3251 if (llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, in EmitSuperClassRef()
3257 return new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassTy, false, in EmitSuperClassRef()
3418 &CGM.getModule()); in GenerateMethod()
[all …]
HDCGBlocks.cpp123 new llvm::GlobalVariable(CGM.getModule(), init->getType(), true, in buildBlockDescriptor()
1071 new llvm::GlobalVariable(CGM.getModule(), in buildGlobalBlock()
1139 name.getString(), &CGM.getModule()); in GenerateBlockFunction()
1299 "__copy_helper_block_", &CGM.getModule()); in GenerateCopyHelperFunction()
1474 "__destroy_helper_block_", &CGM.getModule()); in GenerateDestroyHelperFunction()
1766 "__Block_byref_object_copy_", &CGF.CGM.getModule()); in generateByrefCopyHelper()
1838 &CGF.CGM.getModule()); in generateByrefDisposeHelper()
HDCGDeclCXX.cpp235 Name, &CGM.getModule()); in CreateGlobalInitOrDestructFunction()
324 getModule(), Int8Ty, false, llvm::GlobalVariable::InternalLinkage, in EmitCXXThreadLocalInitFunc()
HDCGDecl.cpp204 new llvm::GlobalVariable(CGM.getModule(), LTy, in CreateStaticVarDecl()
257 GV = new llvm::GlobalVariable(CGM.getModule(), Init->getType(), in AddInitializerToStaticVarDecl()
1134 new llvm::GlobalVariable(CGM.getModule(), constant->getType(), true, in EmitAutoVarInit()
1571 LifetimeStartFn = llvm::Intrinsic::getDeclaration(&getModule(), in getLLVMLifetimeStartFn()
1579 LifetimeEndFn = llvm::Intrinsic::getDeclaration(&getModule(), in getLLVMLifetimeEndFn()
HDItaniumCXXABI.cpp1356 guard = new llvm::GlobalVariable(CGM.getModule(), guardTy, in EmitGuardedInit()
1555 &CGM.getModule()); in getOrCreateThreadLocalWrapper()
1586 InitFnName.str(), InitFunc, &CGM.getModule()); in EmitThreadLocalInitFuncs()
1595 &CGM.getModule()); in EmitThreadLocalInitFuncs()
1602 llvm::LLVMContext &Context = CGM.getModule().getContext(); in EmitThreadLocalInitFuncs()
HDMicrosoftVBTables.cpp178 assert(!CGM.getModule().getNamedGlobal(Name) && in getAddrOfVBTable()
HDCGCXX.cpp178 new llvm::GlobalAlias(AliasType, Linkage, "", Aliasee, &getModule()); in TryEmitDefinitionAsAlias()
/trueos/contrib/llvm/tools/clang/include/clang/Lex/
HDModuleMap.h93 Module *getModule() const { return Storage.getPointer(); } in getModule() function
100 return getRole() != ExcludedHeader && getModule()->isAvailable(); in isAvailable()
/trueos/contrib/llvm/lib/LTO/
HDLTOCodeGenerator.cpp186 WriteBitcodeToFile(Linker.getModule(), Out.os()); in writeMergedModules()
273 std::string TripleStr = Linker.getModule()->getTargetTriple(); in determineTarget()
383 Module *mergedModule = Linker.getModule(); in applyScopeRestrictions()
450 Module *mergedModule = Linker.getModule(); in generateObjectFile()
/trueos/contrib/llvm/include/llvm/
HDLinker.h36 Module *getModule() const { return Composite; } in getModule() function
/trueos/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/
HDTestProbeData.java64 buf.append(d.getModule()); in getString()
/trueos/contrib/llvm/include/llvm/Analysis/
HDTrace.h58 Module *getModule () const;
HDCallGraph.h112 Module &getModule() const { return *Mod; } in getModule() function
/trueos/contrib/llvm/lib/ExecutionEngine/JIT/
HDJIT.h46 Module *getModule() const { return M; } in getModule() function
/trueos/contrib/llvm/lib/Analysis/IPA/
HDCallGraphSCCPass.cpp483 Changed |= ((FPPassManager*)PM)->doInitialization(CG.getModule()); in doInitialization()
498 Changed |= ((FPPassManager*)PM)->doFinalization(CG.getModule()); in doFinalization()
/trueos/contrib/llvm/tools/clang/lib/Lex/
HDPPDirectives.cpp546 return ModMap.findModuleForHeader(EntryOfIncl).getModule(); in getModuleForLocation()
596 if (RequestingModule == RequestedModule.getModule()) in verifyModuleInclude()
605 RequestedModule.getModule())) in verifyModuleInclude()
612 violatesUseDeclarations(RequestingModule, RequestedModule.getModule())) in verifyModuleInclude()
1554 for (Module *Mod = SuggestedModule.getModule(); Mod; Mod = Mod->Parent) in HandleIncludeDirective()
1612 assert((Imported == 0 || Imported == SuggestedModule.getModule()) && in HandleIncludeDirective()
HDModuleMap.cpp182 !I->getModule()->isAvailable()) in findModuleForHeader()
187 if (I->getModule() == RequestingModule) in findModuleForHeader()
195 I->getModule()) == RequestingModule->DirectUses.end()) in findModuleForHeader()
678 llvm::errs() << I->getModule()->getFullModuleName(); in dump()
747 if (Module *Mod = findModuleForHeader(ExpansionFile).getModule()) in inferModuleFromLocation()

123