Home
last modified time | relevance | path

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

12345678910

/external/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp25 AttributeSet::get(MB.getModule()->getContext(), 1U, in TEST()
28 AttributeSet::get(MB.getModule()->getContext(), 2U, in TEST()
31 AttributeSet::get(MB.getModule()->getContext(), ~0U, in TEST()
33 F->setAttributes(AttributeSet::get(MB.getModule()->getContext(), Attrs)); in TEST()
35 auto ImplPtr = orc::createImplPointer(*F->getType(), *MB.getModule(), "", nullptr); in TEST()
DObjectLinkingLayerTest.cpp138 MB1.getModule()->setDataLayout(TM->createDataLayout()); in TEST_F()
147 auto Obj1 = Compile(*MB1.getModule()); in TEST_F()
153 MB2.getModule()->setDataLayout(TM->createDataLayout()); in TEST_F()
160 auto Obj2 = Compile(*MB2.getModule()); in TEST_F()
208 MB1.getModule()->setDataLayout(TM->createDataLayout()); in TEST_F()
217 auto Obj1 = Compile(*MB1.getModule()); in TEST_F()
223 MB2.getModule()->setDataLayout(TM->createDataLayout()); in TEST_F()
231 auto Obj2 = Compile(*MB2.getModule()); in TEST_F()
/external/llvm/include/llvm/LTO/legacy/
DLTOModule.h111 const Module &getModule() const { in getModule() function
112 return const_cast<LTOModule*>(this)->getModule(); in getModule()
114 Module &getModule() { in getModule() function
115 return IRFile->getModule(); in getModule()
122 return getModule().getTargetTriple(); in getTargetTriple()
127 getModule().setTargetTriple(Triple); in setTargetTriple()
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVInstruction.cpp51 :SPIRVValue(TheBB->getModule(), TheWordCount, TheOC, TheType, TheId), in SPIRVInstruction()
65 :SPIRVValue(TheBB->getModule(), TheWordCount, TheOC, TheId), BB(TheBB){ in SPIRVInstruction()
71 :SPIRVValue(TheBB->getModule(), TheWordCount, TheOC), BB(TheBB){ in SPIRVInstruction()
77 :SPIRVValue(TheBB->getModule(), TheWordCount, TheOC, TheType), BB(TheBB){ in SPIRVInstruction()
214 Inst->getId(), Ops, nullptr, Inst->getModule())); in createSpecConstantOpInst()
227 Inst->getId(), Ops, nullptr, Inst->getModule()); in createInstFromSpecConstantOp()
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DOcamlGCPrinter.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()
/external/llvm/lib/Analysis/
DMemoryLocation.cpp24 const auto &DL = LI->getModule()->getDataLayout(); in get()
33 const auto &DL = SI->getModule()->getDataLayout(); in get()
50 const auto &DL = CXI->getModule()->getDataLayout(); in get()
60 const auto &DL = RMWI->getModule()->getDataLayout(); in get()
102 const DataLayout &DL = II->getModule()->getDataLayout(); in getForArgument()
DTrace.cpp28 Module *Trace::getModule() const { in getModule() function in Trace
39 (*i)->printAsOperand(O, true, getModule()); in print()
DLazyValueInfo.cpp706 L->getModule()->getDataLayout()) == Ptr; in InstructionDereferencesPointer()
711 S->getModule()->getDataLayout()) == Ptr; in InstructionDereferencesPointer()
722 MI->getModule()->getDataLayout()) == Ptr) in InstructionDereferencesPointer()
727 MTI->getModule()->getDataLayout()) == Ptr) in InstructionDereferencesPointer()
740 const DataLayout &DL = BB->getModule()->getDataLayout(); in isObjectDereferencedInBlock()
1484 const DataLayout &DL = BB->getModule()->getDataLayout(); in getConstant()
1502 const DataLayout &DL = BB->getModule()->getDataLayout(); in getConstantRange()
1518 const DataLayout &DL = FromBB->getModule()->getDataLayout(); in getConstantOnEdge()
1606 const DataLayout &DL = FromBB->getModule()->getDataLayout(); in getPredicateOnEdge()
1616 const DataLayout &DL = CxtI->getModule()->getDataLayout(); in getPredicateAt()
[all …]
/external/llvm/include/llvm/Object/
DIRObjectFile.h47 const Module &getModule() const { in getModule() function
48 return const_cast<IRObjectFile*>(this)->getModule(); in getModule()
50 Module &getModule() { in getModule() function
/external/clang/lib/CodeGen/
DCGOpenMPRuntimeNVPTX.cpp28 &CGM.getModule(), llvm::Intrinsic::nvvm_read_ptx_sreg_warpsize), in getNVPTXWarpSize()
37 &CGM.getModule(), llvm::Intrinsic::nvvm_read_ptx_sreg_tid_x), in getNVPTXThreadID()
46 &CGM.getModule(), llvm::Intrinsic::nvvm_read_ptx_sreg_ntid_x), in getNVPTXNumThreads()
54 &CGM.getModule(), llvm::Intrinsic::nvvm_barrier0)); in getNVPTXCTABarrier()
106 /* placeholder */ "_worker", &CGM.getModule()); in createWorkerFunction()
119 CGM.getModule(), CGM.Int32Ty, /*isConstant=*/false, in initializeEnvironment()
126 CGM.getModule(), CGM.Int64Ty, /*isConstant=*/false, in initializeEnvironment()
DCodeGenModule.cpp396 getModule().setProfileSummary(PGOReader->getSummary().getMD(VMContext)); in Release()
420 getModule().addModuleFlag(llvm::Module::Warning, "Dwarf Version", in Release()
425 getModule().addModuleFlag(llvm::Module::Warning, "CodeView", 1); in Release()
432 getModule().addModuleFlag(llvm::Module::Error, "StrictVTablePointers",1); in Release()
439 getModule().addModuleFlag(llvm::Module::Require, in Release()
447 getModule().addModuleFlag(llvm::Module::Warning, "Debug Info Version", in Release()
460 getModule().addModuleFlag(llvm::Module::Error, "wchar_size", WCharWidth); in Release()
464 getModule().addModuleFlag(llvm::Module::Error, "min_enum_size", EnumWidth); in Release()
469 getModule().addModuleFlag(llvm::Module::Override, "Cross-DSO CFI", 1); in Release()
476 getModule().addModuleFlag(llvm::Module::Override, "nvvm-reflect-ftz", in Release()
[all …]
DMicrosoftCXXABI.cpp319 if (auto *VDispMap = CGM.getModule().getNamedGlobal(MangledName)) in getAddrOfVirtualDisplacementMap()
349 CGM.getModule(), VDispMapTy, /*Constant=*/true, Linkage, in getAddrOfVirtualDisplacementMap()
515 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name)) in getImageBase()
518 return new llvm::GlobalVariable(CGM.getModule(), CGM.Int8Ty, in getImageBase()
1683 CGM.getModule().getNamedGlobal(VFTableName)) { in getAddrOfVTable()
1706 VTable = new llvm::GlobalVariable(CGM.getModule(), VTableType, in getAddrOfVTable()
1716 C = CGM.getModule().getOrInsertComdat(VFTableName.str()); in getAddrOfVTable()
1736 &CGM.getModule()); in getAddrOfVTable()
1897 if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName)) in EmitVirtualMemPtrThunk()
1905 ThunkName.str(), &CGM.getModule()); in EmitVirtualMemPtrThunk()
[all …]
DSanitizerMetadata.cpp54 CGM.getModule().getOrInsertNamedMetadata("llvm.asan.globals"); in reportGlobalToASan()
78 I->setMetadata(CGM.getModule().getMDKindID("nosanitize"), in disableSanitizerForInstruction()
DCGObjCMac.cpp2787 Entry = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ProtocolTy, in GetOrEmitProtocol()
2808 Entry = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ProtocolTy, in GetOrEmitProtocolRef()
3340 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in GenerateClass()
3407 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitMetaClass()
3413 GV = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassTy, false, in EmitMetaClass()
3435 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitMetaClassRef()
3437 GV = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassTy, false, in EmitMetaClassRef()
3448 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitSuperClassRef()
3451 GV = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassTy, false, in EmitSuperClassRef()
3630 &CGM.getModule()); in GenerateMethod()
[all …]
DCodeGenAction.cpp83 llvm::Module *getModule() const { return Gen->GetModule(); } in getModule() function in clang::BackendConsumer
152 if (!getModule()) in HandleTranslationUnit()
157 LLVMContext &Ctx = getModule()->getContext(); in HandleTranslationUnit()
172 if (Linker::linkModules(*getModule(), std::move(I.second), LinkFlags)) in HandleTranslationUnit()
176 EmbedBitcode(getModule(), CodeGenOpts, llvm::MemoryBufferRef()); in HandleTranslationUnit()
180 getModule(), Action, AsmOutStream); in HandleTranslationUnit()
/external/llvm/lib/Transforms/Scalar/
DLoadCombine.cpp96 auto &DL = LI.getModule()->getDataLayout(); in getPointerOffsetPair()
151 PrevSize = L.Load->getModule()->getDataLayout().getTypeStoreSize( in aggregateLoads()
173 PrevSize = L.Load->getModule()->getDataLayout().getTypeStoreSize( in aggregateLoads()
225 L.Load->getModule()->getDataLayout(), NewLoad, in combineLoads()
242 BB.getContext(), TargetFolder(BB.getModule()->getDataLayout())); in runOnBasicBlock()
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp722 Module *M = B.GetInsertBlock()->getModule(); in emitStrLen()
739 Module *M = B.GetInsertBlock()->getModule(); in emitStrChr()
757 Module *M = B.GetInsertBlock()->getModule(); in emitStrNCmp()
777 Module *M = B.GetInsertBlock()->getModule(); in emitStrCpy()
793 Module *M = B.GetInsertBlock()->getModule(); in emitStrNCpy()
811 Module *M = B.GetInsertBlock()->getModule(); in emitMemCpyChk()
833 Module *M = B.GetInsertBlock()->getModule(); in emitMemChr()
852 Module *M = B.GetInsertBlock()->getModule(); in emitMemCmp()
887 Module *M = B.GetInsertBlock()->getModule(); in emitUnaryFloatFnCall()
903 Module *M = B.GetInsertBlock()->getModule(); in emitBinaryFloatFnCall()
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DTrace.cpp29 Module *Trace::getModule() const { in getModule() function in Trace
40 WriteAsOperand(O, *i, true, getModule()); in print()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DGCMetadataPrinter.h57 const Module &getModule() const { return S->getModule(); } in getModule() function
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/modules/
DModuleDeclarationTest.java43 …ModuleRequiresStmt requiresTransitive = (ModuleRequiresStmt) cu.getModule().get().getModuleStmts()… in issue988RequireTransitiveShouldRequireAModuleCalledTransitive()
68 ModuleDeclaration module = cu.getModule().get(); in jlsExample1()
103 ModuleDeclaration module = cu.getModule().get(); in jlsExample2HasAnOpenModule()
/external/swiftshader/third_party/LLVM/tools/lto/
DLTOCodeGenerator.cpp167 WriteBitcodeToFile(_linker.getModule(), Out.os()); in writeMergedModules()
244 std::string Triple = _linker.getModule()->getTargetTriple(); in determineTarget()
308 Module *mergedModule = _linker.getModule(); in applyScopeRestrictions()
371 Module* mergedModule = _linker.getModule(); in generateObjectFile()
/external/clang/include/clang/Lex/
DModuleMap.h130 Module *getModule() const { return Storage.getPointer(); } in getModule() function
137 return getModule()->isAvailable(); in isAvailable()
143 (M && M->getTopLevelModule() == getModule()->getTopLevelModule()); in isAccessibleFrom()
/external/guice/core/test/com/google/inject/spi/
DModuleRewriterTest.java72 Module rewrittenModule = Elements.getModule(rewritten); in testRewriteBindings()
110 Module replayed = Elements.getModule(elements); in testGetProviderAvailableAtInjectMembersTime()
/external/llvm/lib/Transforms/IPO/
DInliner.cpp379 PSI = getAnalysis<ProfileSummaryInfoWrapperPass>().getPSI(CG.getModule()); in inlineCalls()
635 for (const Function &F : CG.getModule()) in removeDeadFunctions()
638 for (const GlobalVariable &GV : CG.getModule().globals()) in removeDeadFunctions()
641 for (const GlobalAlias &GA : CG.getModule().aliases()) in removeDeadFunctions()
/external/llvm/lib/Transforms/ObjCARC/
DProvenanceAnalysis.cpp35 const DataLayout &DL = A->getModule()->getDataLayout(); in relatedSelect()
50 const DataLayout &DL = A->getModule()->getDataLayout(); in relatedPHI()

12345678910