| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | MemoryLocation.cpp | 38 const auto &DL = LI->getModule()->getDataLayout(); in get() 48 const auto &DL = SI->getModule()->getDataLayout(); in get() 67 const auto &DL = CXI->getModule()->getDataLayout(); in get() 78 const auto &DL = RMWI->getModule()->getDataLayout(); in get() 137 const DataLayout &DL = II->getModule()->getDataLayout(); in getForArgument()
|
| H A D | Trace.cpp | 32 Module *Trace::getModule() const { in getModule() function in Trace 42 (*i)->printAsOperand(O, true, getModule()); in print()
|
| H A D | CallGraphSCCPass.cpp | 125 Module &M = CG.getModule(); in RunPassOnSCC() 519 Changed |= ((FPPassManager*)PM)->doInitialization(CG.getModule()); in doInitialization() 534 Changed |= ((FPPassManager*)PM)->doFinalization(CG.getModule()); in doFinalization() 647 SCC.getCallGraph().getModule().print(OS, nullptr); in runOnSCC() 668 SCC.getCallGraph().getModule().print(OS, nullptr); in runOnSCC() 686 return !SCC.getCallGraph().getModule() in skipSCC()
|
| H A D | LazyValueInfo.cpp | 688 const DataLayout &DL = BB->getModule()->getDataLayout(); in isObjectDereferencedInBlock() 822 auto *GuardDecl = BBI->getModule()->getFunction( in intersectAssumeOrGuardBlockValueConstantRange() 1332 const DataLayout &DL = BBTo->getModule()->getDataLayout(); in getEdgeValueLocal() 1556 const DataLayout &DL = BB->getModule()->getDataLayout(); in getConstant() 1574 const DataLayout &DL = BB->getModule()->getDataLayout(); in getConstantRange() 1593 const DataLayout &DL = FromBB->getModule()->getDataLayout(); in getConstantOnEdge() 1612 const DataLayout &DL = FromBB->getModule()->getDataLayout(); in getConstantRangeOnEdge() 1698 const DataLayout &DL = FromBB->getModule()->getDataLayout(); in getPredicateOnEdge() 1712 const DataLayout &DL = CxtI->getModule()->getDataLayout(); in getPredicateAt() 1809 const DataLayout &DL = PredBB->getModule()->getDataLayout(); in threadEdge() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | BuildLibCalls.cpp | 798 Module *M = B.GetInsertBlock()->getModule(); in emitStrLen() 816 Module *M = B.GetInsertBlock()->getModule(); in emitStrChr() 835 Module *M = B.GetInsertBlock()->getModule(); in emitStrNCmp() 856 Module *M = B.GetInsertBlock()->getModule(); in emitStrCpy() 872 Module *M = B.GetInsertBlock()->getModule(); in emitStrNCpy() 890 Module *M = B.GetInsertBlock()->getModule(); in emitMemCpyChk() 912 Module *M = B.GetInsertBlock()->getModule(); in emitMemChr() 932 Module *M = B.GetInsertBlock()->getModule(); in emitMemCmp() 968 Module *M = B.GetInsertBlock()->getModule(); in emitUnaryFloatFnCallHelper() 1011 Module *M = B.GetInsertBlock()->getModule(); in emitBinaryFloatFnCall() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/LTO/legacy/ |
| H A D | LTOModule.h | 115 const Module &getModule() const { return *Mod; } in getModule() function 116 Module &getModule() { return *Mod; } in getModule() function 122 return getModule().getTargetTriple(); in getTargetTriple() 127 getModule().setTargetTriple(Triple); in setTargetTriple()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Orc/ |
| H A D | CompileOnDemandLayer.cpp | 59 auto &M = *NewTSMod.getModule(); in extractSubModule() 123 assert(TSM.getModule() && "Null module"); in emit() 126 auto &M = *TSM.getModule(); in emit() 272 auto PromotedGlobals = PromoteSymbols(*TSM.getModule()); in emitPartition() 274 MangleAndInterner Mangle(ES, TSM.getModule()->getDataLayout()); in emitPartition()
|
| H A D | Layer.cpp | 33 MangleAndInterner Mangle(ES, this->TSM.getModule()->getDataLayout()); in IRMaterializationUnit() 34 for (auto &G : this->TSM.getModule()->global_values()) { in IRMaterializationUnit() 51 if (TSM.getModule()) in getName() 52 return TSM.getModule()->getModuleIdentifier(); in getName()
|
| H A D | IRCompileLayer.cpp | 26 assert(TSM.getModule() && "Module must not be null"); in emit() 28 if (auto Obj = Compile(*TSM.getModule())) { in emit()
|
| H A D | ThreadSafeModule.cpp | 34 auto Tmp = CloneModule(*TSM.getModule(), VMap, [&](const GlobalValue *GV) { in cloneToNewContext() 60 ClonedModule->setModuleIdentifier(TSM.getModule()->getName()); in cloneToNewContext()
|
| H A D | LLJIT.cpp | 65 if (auto Err = applyDataLayout(*TSM.getModule())) in addIRModule() 180 if (auto Err = applyDataLayout(*TSM.getModule())) in addLazyIRModule() 183 recordCtorDtors(*TSM.getModule()); in addLazyIRModule()
|
| H A D | IRTransformLayer.cpp | 23 assert(TSM.getModule() && "Module must not be null"); in emit()
|
| /freebsd-12.1/contrib/llvm/tools/lli/ |
| H A D | lli.cpp | 709 for (const auto &F : *TSM.getModule()) { in createDebugDumper() 728 << *TSM.getModule() << "----- Module End -----\n"; in createDebugDumper() 737 raw_fd_ostream Out(TSM.getModule()->getModuleIdentifier() + ".ll", EC, in createDebugDumper() 740 errs() << "Couldn't open " << TSM.getModule()->getModuleIdentifier() in createDebugDumper() 744 Out << *TSM.getModule(); in createDebugDumper() 764 const auto &TT = MainModule.getModule()->getTargetTriple(); in runOrcLazyJIT() 795 if (verifyModule(*TSM.getModule(), &dbgs())) { in runOrcLazyJIT() 796 dbgs() << "Bad module: " << *TSM.getModule() << "\n"; in runOrcLazyJIT()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | MicrosoftCXXABI.cpp | 357 CGM.getModule(), VDispMapTy, /*Constant=*/true, Linkage, in getAddrOfVirtualDisplacementMap() 1761 CGM.getModule().getNamedGlobal(VFTableName)) { in getAddrOfVTable() 1782 VTable = new llvm::GlobalVariable(CGM.getModule(), VTableType, in getAddrOfVTable() 1792 C = CGM.getModule().getOrInsertComdat(VFTableName.str()); in getAddrOfVTable() 1813 &CGM.getModule()); in getAddrOfVTable() 1953 ThunkName.str(), &CGM.getModule()); in EmitVirtualMemPtrThunk() 2025 assert(!CGM.getModule().getNamedGlobal(Name) && in getAddrOfVBTable() 2317 if (auto *GV = CGM.getModule().getNamedGlobal(VarName)) in getInitThreadEpochPtr() 2320 CGM.getModule(), CGM.IntTy, in getInitThreadEpochPtr() 3378 if (auto VTable = CGM.getModule().getNamedGlobal(MangledName)) in getTypeInfoVTable() [all …]
|
| H A D | CodeGenModule.cpp | 480 getModule().addModuleFlag(llvm::Module::Require, in Release() 572 getModule().setCodeModel(codeModel); in Release() 577 getModule().setRtLibUseGOT(); in Release() 1077 return getModule().getNamedValue(Name); in GetGlobalValue() 2083 getModule(), Init->getType(), in GetAddrOfUuidDescriptor() 3081 getModule(), Ty->getElementType(), false, in GetOrCreateLLVMGlobal() 3238 llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name); in CreateOrReplaceCXXRuntimeVariable() 4143 "", Resolver, &getModule()); in emitIFuncDefinition() 4361 llvm::IntegerType::get(getModule().getContext(), in GetAddrOfConstantCFString() 4479 llvm::Module &M = CGM.getModule(); in GenerateStringLiteral() [all …]
|
| H A D | SanitizerMetadata.cpp | 56 CGM.getModule().getOrInsertNamedMetadata("llvm.asan.globals"); in reportGlobalToASan() 90 I->setMetadata(CGM.getModule().getMDKindID("nosanitize"), in disableSanitizerForInstruction()
|
| H A D | CodeGenAction.cpp | 132 llvm::Module *getModule() const { return Gen->GetModule(); } in getModule() function in clang::BackendConsumer 211 *getModule(), std::move(LM.Module), LM.LinkFlags, in LinkInModules() 218 Err = Linker::linkModules(*getModule(), std::move(LM.Module), in LinkInModules() 249 if (!getModule()) in HandleTranslationUnit() 254 LLVMContext &Ctx = getModule()->getContext(); in HandleTranslationUnit() 291 EmbedBitcode(getModule(), CodeGenOpts, llvm::MemoryBufferRef()); in HandleTranslationUnit() 295 getModule(), Action, std::move(AsmOutStream)); in HandleTranslationUnit()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | ThreadSafeModule.h | 127 Module *getModule() { return M.get(); } in getModule() function 130 const Module *getModule() const { return M.get(); } in getModule() function
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | BasicBlock.h | 114 const Module *getModule() const; 115 Module *getModule() { in getModule() function 117 static_cast<const BasicBlock *>(this)->getModule()); in getModule()
|
| H A D | Instruction.h | 75 const Module *getModule() const; 76 Module *getModule() { 78 static_cast<const Instruction *>(this)->getModule());
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/ObjCARC/ |
| H A D | ProvenanceAnalysis.cpp | 44 const DataLayout &DL = A->getModule()->getDataLayout(); in relatedSelect() 59 const DataLayout &DL = A->getModule()->getDataLayout(); in relatedPHI()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/ |
| H A D | ModuleMap.h | 166 Module *getModule() const { return Storage.getPointer(); } in getModule() function 173 return getModule()->isAvailable(); in isAvailable() 179 (M && M->getTopLevelModule() == getModule()->getTopLevelModule()); in isAccessibleFrom()
|
| H A D | ExternalPreprocessorSource.h | 43 virtual Module *getModule(unsigned ModuleID) = 0;
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | CallGraph.h | 114 Module &getModule() const { return M; } in getModule() function 342 Module &getModule() const { return G->getModule(); } in getModule() function
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUMachineModuleInfo.cpp | 23 LLVMContext &CTX = MMI.getModule()->getContext(); in AMDGPUMachineModuleInfo()
|