Home
last modified time | relevance | path

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

1234567

/external/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp24 AttributeSet::get(MB.getModule()->getContext(), 1U, in TEST()
27 AttributeSet::get(MB.getModule()->getContext(), 2U, in TEST()
30 AttributeSet::get(MB.getModule()->getContext(), ~0U, in TEST()
32 F->setAttributes(AttributeSet::get(MB.getModule()->getContext(), Attrs)); in TEST()
34 auto ImplPtr = orc::createImplPointer(*F->getType(), *MB.getModule(), "", nullptr); in TEST()
DOrcTestCommon.h71 Module* getModule() { return M.get(); } in getModule() function
72 const Module* getModule() const { return M.get(); } in getModule() function
/external/llvm/include/llvm/LTO/
DLTOModule.h113 const Module &getModule() const { in getModule() function
114 return const_cast<LTOModule*>(this)->getModule(); in getModule()
116 Module &getModule() { in getModule() function
117 return IRFile->getModule(); in getModule()
124 return getModule().getTargetTriple(); in getTargetTriple()
129 getModule().setTargetTriple(Triple); in setTargetTriple()
/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()
119 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.cpp636 L->getModule()->getDataLayout()) == Ptr; in InstructionDereferencesPointer()
641 S->getModule()->getDataLayout()) == Ptr; in InstructionDereferencesPointer()
652 MI->getModule()->getDataLayout()) == Ptr) in InstructionDereferencesPointer()
657 MTI->getModule()->getDataLayout()) == Ptr) in InstructionDereferencesPointer()
674 const DataLayout &DL = BB->getModule()->getDataLayout(); in solveBlockValueNonLocal()
1208 const DataLayout &DL = BB->getModule()->getDataLayout(); in getConstant()
1227 const DataLayout &DL = FromBB->getModule()->getDataLayout(); in getConstantOnEdge()
1315 const DataLayout &DL = FromBB->getModule()->getDataLayout(); in getPredicateOnEdge()
1325 const DataLayout &DL = CxtI->getModule()->getDataLayout(); in getPredicateAt()
1415 const DataLayout &DL = PredBB->getModule()->getDataLayout(); in threadEdge()
[all …]
DLoads.cpp67 const DataLayout &DL = ScanFrom->getModule()->getDataLayout(); in isSafeToLoadUnconditionally()
205 const DataLayout &DL = ScanBB->getModule()->getDataLayout(); in FindAvailableLoadedValue()
/external/llvm/include/llvm/Object/
DIRObjectFile.h46 const Module &getModule() const { in getModule() function
47 return const_cast<IRObjectFile*>(this)->getModule(); in getModule()
49 Module &getModule() { in getModule() function
/external/llvm/lib/Transforms/Scalar/
DLoadCombine.cpp95 auto &DL = LI.getModule()->getDataLayout(); in getPointerOffsetPair()
141 PrevSize = L.Load->getModule()->getDataLayout().getTypeStoreSize( in aggregateLoads()
161 PrevSize = L.Load->getModule()->getDataLayout().getTypeStoreSize( in aggregateLoads()
213 L.Load->getModule()->getDataLayout(), NewLoad, in combineLoads()
230 BB.getContext(), TargetFolder(BB.getModule()->getDataLayout())); in runOnBasicBlock()
/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()
DElementApplyToTest.java29 super.checkModule(Elements.getModule(Elements.getElements(module)), visitors); in checkModule()
/external/clang/lib/CodeGen/
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()
1513 CGM.getModule().getOrInsertNamedMetadata("llvm.bitsets"); in emitVTableBitSetEntries()
1682 CGM.getModule().getNamedGlobal(VFTableName)) { in getAddrOfVTable()
1705 VTable = new llvm::GlobalVariable(CGM.getModule(), VTableType, in getAddrOfVTable()
1715 C = CGM.getModule().getOrInsertComdat(VFTableName.str()); in getAddrOfVTable()
1735 &CGM.getModule()); in getAddrOfVTable()
1892 if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName)) in EmitVirtualMemPtrThunk()
[all …]
DCodeGenModule.cpp379 getModule().setMaximumFunctionCount(PGOReader->getMaximumFunctionCount()); in Release()
399 getModule().addModuleFlag(llvm::Module::Warning, "Dwarf Version", in Release()
404 getModule().addModuleFlag(llvm::Module::Warning, "CodeView", 1); in Release()
411 getModule().addModuleFlag(llvm::Module::Error, "StrictVTablePointers",1); in Release()
418 getModule().addModuleFlag(llvm::Module::Require, in Release()
426 getModule().addModuleFlag(llvm::Module::Warning, "Debug Info Version", in Release()
439 getModule().addModuleFlag(llvm::Module::Error, "wchar_size", WCharWidth); in Release()
443 getModule().addModuleFlag(llvm::Module::Error, "min_enum_size", EnumWidth); in Release()
448 getModule().addModuleFlag(llvm::Module::Override, "Cross-DSO CFI", 1); in Release()
460 getModule().setPICLevel(PL); in Release()
[all …]
DSanitizerMetadata.cpp54 CGM.getModule().getOrInsertNamedMetadata("llvm.asan.globals"); in reportGlobalToASan()
78 I->setMetadata(CGM.getModule().getMDKindID("nosanitize"), in disableSanitizerForInstruction()
DCGObjCMac.cpp2762 Entry = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ProtocolTy, in GetOrEmitProtocol()
2783 Entry = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ProtocolTy, in GetOrEmitProtocolRef()
3284 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in GenerateClass()
3350 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitMetaClass()
3356 GV = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassTy, false, in EmitMetaClass()
3378 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitMetaClassRef()
3380 GV = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassTy, false, in EmitMetaClassRef()
3391 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitSuperClassRef()
3394 GV = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassTy, false, in EmitSuperClassRef()
3565 &CGM.getModule()); in GenerateMethod()
[all …]
/external/llvm/include/llvm/ExecutionEngine/Orc/
DCompileOnDemandLayer.h70 virtual Module& getModule() const = 0;
77 Module& getModule() const override { return *ModulePtr; } in getModule() function
220 Module &SrcM = LMResources.SourceModuleOwner->getModule(); in addLogicalModule()
351 Module &SrcM = LMResources.SourceModuleOwner->getModule(); in extractAndCompile()
389 Module &SrcM = LMResources.SourceModuleOwner->getModule(); in emitPartition()
/external/llvm/lib/Transforms/ObjCARC/
DProvenanceAnalysis.cpp35 const DataLayout &DL = A->getModule()->getDataLayout(); in relatedSelect()
50 const DataLayout &DL = A->getModule()->getDataLayout(); in relatedPHI()
DDependencyAnalysis.cpp56 const DataLayout &DL = Inst->getModule()->getDataLayout(); in CanAlterRefCount()
92 const DataLayout &DL = Inst->getModule()->getDataLayout(); in CanUse()
/external/llvm/lib/IR/
DInstruction.cpp57 const Module *Instruction::getModule() const { in getModule() function in Instruction
58 return getParent()->getModule(); in getModule()
61 Module *Instruction::getModule() { in getModule() function in Instruction
62 return getParent()->getModule(); in getModule()
/external/clang/include/clang/Lex/
DExternalPreprocessorSource.h43 virtual Module *getModule(unsigned ModuleID) = 0;
/external/llvm/include/llvm/IR/
DBasicBlock.h106 const Module *getModule() const;
107 Module *getModule();
DModuleSlotTracker.h57 const Module *getModule() const { return M; } in getModule() function
/external/llvm/include/llvm/Analysis/
DCallGraph.h119 Module &getModule() const { return M; } in getModule() function
338 Module &getModule() const { return G->getModule(); } in getModule() function
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp106 LLVMContext &LLVMCtx = MMI->getModule()->getContext(); in EmitInlineAsm()
245 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitMSInlineAsmStr()
418 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitGCCInlineAsmStr()
/external/clang/lib/Lex/
DPPDirectives.cpp590 return ModMap.findModuleForHeader(EntryOfIncl).getModule(); in getModuleForLocation()
1674 SuggestedModule.getModule()->getTopLevelModuleName() != in HandleIncludeDirective()
1676 SuggestedModule.getModule()->getTopLevelModuleName() != in HandleIncludeDirective()
1681 if (!SuggestedModule.getModule()->isAvailable()) { in HandleIncludeDirective()
1684 Module *M = SuggestedModule.getModule(); in HandleIncludeDirective()
1705 for (Module *Mod = SuggestedModule.getModule(); Mod; Mod = Mod->Parent) in HandleIncludeDirective()
1722 assert((Imported == nullptr || Imported == SuggestedModule.getModule()) && in HandleIncludeDirective()
1757 ShouldEnter ? nullptr : SuggestedModule.getModule()); in HandleIncludeDirective()
1777 SuggestedModule.getModule())) { in HandleIncludeDirective()
1786 if (auto *M = SuggestedModule.getModule()) { in HandleIncludeDirective()
[all …]

1234567