/external/llvm/include/llvm/LTO/ |
D | LTOModule.h | 110 const Module &getModule() const { in getModule() function 111 return const_cast<LTOModule*>(this)->getModule(); in getModule() 113 Module &getModule() { in getModule() function 114 return IRFile->getModule(); in getModule() 119 return getModule().getTargetTriple(); in getTargetTriple() 124 getModule().setTargetTriple(Triple); in setTargetTriple()
|
/external/llvm/lib/LTO/ |
D | LTOCodeGenerator.cpp | 91 assert(IRLinker.getModule() == &OwnedModule->getModule() && in destroyMergedModule() 95 } else if (IRLinker.getModule()) in destroyMergedModule() 142 assert(&mod->getModule().getContext() == &Context && in addModule() 145 bool ret = IRLinker.linkInModule(&mod->getModule()); in addModule() 155 assert(&Mod->getModule().getContext() == &Context && in setModule() 163 IRLinker.setModule(&Mod->getModule()); in setModule() 217 WriteBitcodeToFile(IRLinker.getModule(), Out.os(), in writeMergedModules() 321 std::string TripleStr = IRLinker.getModule()->getTargetTriple(); in determineTarget() 469 Module *mergedModule = IRLinker.getModule(); in applyScopeRestrictions() 535 Module *mergedModule = IRLinker.getModule(); in optimize() [all …]
|
/external/llvm/include/llvm/Object/ |
D | IRObjectFile.h | 46 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/Analysis/ |
D | Trace.cpp | 28 Module *Trace::getModule() const { in getModule() function in Trace 39 (*i)->printAsOperand(O, true, getModule()); in print()
|
D | Lint.cpp | 203 const DataLayout &DL = CS->getModule()->getDataLayout(); in visitCallSite() 393 findValue(Ptr, I.getModule()->getDataLayout(), /*OffsetOk=*/true); in visitMemoryReference() 432 auto &DL = I.getModule()->getDataLayout(); in visitMemoryReference() 502 findValue(I.getOperand(1), I.getModule()->getDataLayout(), in visitLShr() 510 I.getOperand(1), I.getModule()->getDataLayout(), /*OffsetOk=*/false))) in visitAShr() 517 I.getOperand(1), I.getModule()->getDataLayout(), /*OffsetOk=*/false))) in visitShl() 744 Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC), in visitSDiv() 749 Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC), in visitUDiv() 754 Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC), in visitSRem() 759 Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC), in visitURem() [all …]
|
D | LazyValueInfo.cpp | 575 L->getModule()->getDataLayout()) == Ptr; in InstructionDereferencesPointer() 580 S->getModule()->getDataLayout()) == Ptr; in InstructionDereferencesPointer() 591 MI->getModule()->getDataLayout()) == Ptr) in InstructionDereferencesPointer() 596 MTI->getModule()->getDataLayout()) == Ptr) in InstructionDereferencesPointer() 613 const DataLayout &DL = BB->getModule()->getDataLayout(); in solveBlockValueNonLocal() 1146 const DataLayout &DL = BB->getModule()->getDataLayout(); in getConstant() 1165 const DataLayout &DL = FromBB->getModule()->getDataLayout(); in getConstantOnEdge() 1253 const DataLayout &DL = FromBB->getModule()->getDataLayout(); in getPredicateOnEdge() 1263 const DataLayout &DL = CxtI->getModule()->getDataLayout(); in getPredicateAt() 1272 const DataLayout &DL = PredBB->getModule()->getDataLayout(); in threadEdge() [all …]
|
D | Loads.cpp | 67 const DataLayout &DL = ScanFrom->getModule()->getDataLayout(); in isSafeToLoadUnconditionally() 178 const DataLayout &DL = ScanBB->getModule()->getDataLayout(); in FindAvailableLoadedValue()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoadCombine.cpp | 94 auto &DL = LI.getModule()->getDataLayout(); in getPointerOffsetPair() 140 PrevSize = L.Load->getModule()->getDataLayout().getTypeStoreSize( in aggregateLoads() 160 PrevSize = L.Load->getModule()->getDataLayout().getTypeStoreSize( in aggregateLoads() 212 L.Load->getModule()->getDataLayout(), NewLoad, in combineLoads() 229 BB.getContext(), TargetFolder(BB.getModule()->getDataLayout())); in runOnBasicBlock()
|
D | SeparateConstOffsetFromGEP.cpp | 659 const DataLayout &DL = IP->getModule()->getDataLayout(); in ComputeKnownBits() 675 const DataLayout &DL = GEP->getModule()->getDataLayout(); in canonicalizeArrayIndicesToPointerSize() 697 const DataLayout &DL = GEP->getModule()->getDataLayout(); in accumulateByteOffset() 728 const DataLayout &DL = Variadic->getModule()->getDataLayout(); in lowerToSingleIndexGEPs() 782 const DataLayout &DL = Variadic->getModule()->getDataLayout(); in lowerToArithmetics() 949 const DataLayout &DL = GEP->getModule()->getDataLayout(); in splitGEP()
|
D | ScalarReplAggregates.cpp | 1142 const DataLayout &DL = SI->getModule()->getDataLayout(); in isSafeSelectToSpeculate() 1205 const DataLayout &DL = PN->getModule()->getDataLayout(); in isSafePHIToSpeculate() 1611 const DataLayout &DL = I->getModule()->getDataLayout(); in isSafeForScalarRepl() 1677 const DataLayout &DL = I->getModule()->getDataLayout(); in isSafePHISelectUseForScalarRepl() 1750 const DataLayout &DL = GEPI->getModule()->getDataLayout(); in isSafeGEP() 1808 const DataLayout &DL = TheAccess->getModule()->getDataLayout(); in isSafeMemAccess() 1883 const DataLayout &DL = I->getModule()->getDataLayout(); in RewriteForScalarRepl() 2009 BC->getModule()->getDataLayout()); in RewriteBitCast() 2058 const DataLayout &DL = GEPI->getModule()->getDataLayout(); in RewriteGEP() 2124 const DataLayout &DL = II->getModule()->getDataLayout(); in RewriteLifetimeIntrinsic() [all …]
|
D | DeadStoreElimination.cpp | 554 const DataLayout &DL = BB.getModule()->getDataLayout(); in runOnBasicBlock() 651 const DataLayout &DL = F->getModule()->getDataLayout(); in HandleFree() 725 const DataLayout &DL = BB.getModule()->getDataLayout(); in handleEndBlock()
|
/external/clang/lib/CodeGen/ |
D | MicrosoftCXXABI.cpp | 410 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name)) in getImageBase() 413 return new llvm::GlobalVariable(CGM.getModule(), CGM.Int8Ty, in getImageBase() 1514 CGM.getModule().getNamedGlobal(VFTableName)) { in getAddrOfVTable() 1536 VTable = new llvm::GlobalVariable(CGM.getModule(), VTableType, in getAddrOfVTable() 1546 C = CGM.getModule().getOrInsertComdat(VFTableName.str()); in getAddrOfVTable() 1566 &CGM.getModule()); in getAddrOfVTable() 1672 if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName)) in EmitVirtualMemPtrThunk() 1680 ThunkName.str(), &CGM.getModule()); in EmitVirtualMemPtrThunk() 1687 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName())); in EmitVirtualMemPtrThunk() 1751 assert(!CGM.getModule().getNamedGlobal(Name) && in getAddrOfVBTable() [all …]
|
D | SanitizerMetadata.cpp | 53 CGM.getModule().getOrInsertNamedMetadata("llvm.asan.globals"); in reportGlobalToASan() 75 I->setMetadata(CGM.getModule().getMDKindID("nosanitize"), in disableSanitizerForInstruction()
|
D | CodeGenModule.cpp | 371 getModule().addModuleFlag(llvm::Module::Warning, "Dwarf Version", in Release() 377 getModule().addModuleFlag(llvm::Module::Warning, "Debug Info Version", in Release() 390 getModule().addModuleFlag(llvm::Module::Error, "wchar_size", WCharWidth); in Release() 394 getModule().addModuleFlag(llvm::Module::Error, "min_enum_size", EnumWidth); in Release() 406 getModule().setPICLevel(PL); in Release() 605 return getModule().getNamedValue(Name); in GetGlobalValue() 952 CGM.getModule(), ATy, false, llvm::GlobalValue::AppendingLinkage, in emitUsed() 1082 getModule().addModuleFlag(llvm::Module::AppendUnique, "Linker Options", in EmitModuleLinkOptions() 1148 auto *gv = new llvm::GlobalVariable(getModule(), Array->getType(), false, in EmitGlobalAnnotations() 1162 new llvm::GlobalVariable(getModule(), s->getType(), true, in EmitAnnotationString() [all …]
|
D | CGObjCMac.cpp | 2631 Entry = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ProtocolTy, in GetOrEmitProtocol() 2652 Entry = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ProtocolTy, in GetOrEmitProtocolRef() 3081 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in GenerateClass() 3147 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitMetaClass() 3153 GV = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassTy, false, in EmitMetaClass() 3175 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitMetaClassRef() 3177 GV = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassTy, false, in EmitMetaClassRef() 3188 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitSuperClassRef() 3191 GV = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassTy, false, in EmitSuperClassRef() 3353 &CGM.getModule()); in GenerateMethod() [all …]
|
D | ItaniumCXXABI.cpp | 1332 VTable->setComdat(CGM.getModule().getOrInsertComdat(VTable->getName())); in emitVTableDefinitions() 1785 guard = new llvm::GlobalVariable(CGM.getModule(), guardTy, in EmitGuardedInit() 1800 guard->setComdat(CGM.getModule().getOrInsertComdat(guard->getName())); in EmitGuardedInit() 2007 if (llvm::Value *V = CGM.getModule().getNamedValue(WrapperName)) in getOrCreateThreadLocalWrapper() 2017 WrapperName.str(), &CGM.getModule()); in getOrCreateThreadLocalWrapper() 2038 CGM.getModule(), CGM.Int8Ty, /*isConstant=*/false, in EmitThreadLocalInitFuncs() 2081 &CGM.getModule()); in EmitThreadLocalInitFuncs() 2088 llvm::LLVMContext &Context = CGM.getModule().getContext(); in EmitThreadLocalInitFuncs() 2205 : CGM(ABI.CGM), VMContext(CGM.getModule().getContext()), CXXABI(ABI) {} in ItaniumRTTIBuilder() 2283 llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name); in GetAddrOfExternalRTTIDescriptor() [all …]
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ProvenanceAnalysis.cpp | 35 const DataLayout &DL = A->getModule()->getDataLayout(); in relatedSelect() 50 const DataLayout &DL = A->getModule()->getDataLayout(); in relatedPHI()
|
D | DependencyAnalysis.cpp | 56 const DataLayout &DL = Inst->getModule()->getDataLayout(); in CanAlterRefCount() 92 const DataLayout &DL = Inst->getModule()->getDataLayout(); in CanUse()
|
/external/llvm/include/llvm/Analysis/ |
D | CallGraph.h | 116 Module &getModule() const { return M; } in getModule() function 332 Module &getModule() const { return G->getModule(); } in getModule() function
|
D | Trace.h | 58 Module *getModule () const;
|
/external/clang/include/clang/Lex/ |
D | ModuleMap.h | 95 Module *getModule() const { return Storage.getPointer(); } in getModule() function 102 return getModule()->isAvailable(); in isAvailable()
|
/external/clang/lib/Lex/ |
D | ModuleMap.cpp | 261 if (Header.getModule() && in diagnoseHeaderInclusion() 262 Header.getModule()->isSubModuleOf(RequestingModule)) in diagnoseHeaderInclusion() 267 Header.getModule())) { in diagnoseHeaderInclusion() 268 Private = Header.getModule(); in diagnoseHeaderInclusion() 275 !RequestingModule->directlyUses(Header.getModule())) { in diagnoseHeaderInclusion() 276 NotUsed = Header.getModule(); in diagnoseHeaderInclusion() 353 if (!I->getModule()->isAvailable()) in findModuleForHeader() 358 if (I->getModule() == RequestingModule) in findModuleForHeader() 364 !RequestingModule->directlyUses(I->getModule())) in findModuleForHeader() 376 Module *Result = H.getModule(); in findModuleForHeader() [all …]
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUTargetTransformInfo.cpp | 40 const DataLayout &DL = BB->getModule()->getDataLayout(); in getUnrollingPreferences()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinterInlineAsm.cpp | 105 LLVMContext &LLVMCtx = MMI->getModule()->getContext(); in EmitInlineAsm() 250 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitMSInlineAsmStr() 422 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitGCCInlineAsmStr()
|
/external/llvm/include/llvm/Linker/ |
D | Linker.h | 67 Module *getModule() const { return Composite; } in getModule() function
|