Home
last modified time | relevance | path

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

12345678910>>...12

/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/
H A DReduceIRReferences.cpp39 for (const Function &F : WorkItem.getModule()) { in stripIRFromInstructions()
46 for (const Function &F : WorkItem.getModule()) { in stripIRFromBlocks()
57 for (const Function &F : WorkItem.getModule()) { in stripIRFromFunctions()
H A DReduceInstructionFlagsMIR.cpp19 for (const Function &F : WorkItem.getModule()) { in removeFlagsFromModule()
/llvm-project-15.0.7/llvm/lib/IR/
H A DVectorBuilder.cpp30 Module &VectorBuilder::getModule() const { in getModule() function in llvm::VectorBuilder
31 return *Builder.GetInsertBlock()->getModule(); in getModule()
98 auto *VPDecl = VPIntrinsic::getDeclarationForParams(&getModule(), VPID, in createVectorInstruction()
/llvm-project-15.0.7/llvm/include/llvm/LTO/legacy/
H A DLTOModule.h115 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()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DTrace.cpp31 Module *Trace::getModule() const { in getModule() function in Trace
41 (*i)->printAsOperand(O, true, getModule()); in print()
H A DCallGraphSCCPass.cpp126 Module &M = CG.getModule(); in RunPassOnSCC()
472 uint64_t RefHash = P->structuralHash(CG.getModule()); in RunAllPassesOnSCC()
482 if (!LocalChanged && (RefHash != P->structuralHash(CG.getModule()))) { in RunAllPassesOnSCC()
563 Changed |= ((FPPassManager*)PM)->doInitialization(CG.getModule()); in doInitialization()
578 Changed |= ((FPPassManager*)PM)->doFinalization(CG.getModule()); in doFinalization()
698 SCC.getCallGraph().getModule().print(OS, nullptr); in runOnSCC()
719 SCC.getCallGraph().getModule().print(OS, nullptr); in runOnSCC()
753 SCC.getCallGraph().getModule().getContext().getOptPassGate(); in skipSCC()
H A DMemoryLocation.cpp36 const auto &DL = LI->getModule()->getDataLayout(); in get()
45 const auto &DL = SI->getModule()->getDataLayout(); in get()
59 const auto &DL = CXI->getModule()->getDataLayout(); in get()
68 const auto &DL = RMWI->getModule()->getDataLayout(); in get()
166 const DataLayout &DL = II->getModule()->getDataLayout(); in getForArgument()
H A DLoopUnrollAnalyzer.cpp87 const DataLayout &DL = I.getModule()->getDataLayout(); in visitBinaryOperator()
160 const DataLayout &DL = I.getModule()->getDataLayout(); in visitCastInst()
197 const DataLayout &DL = I.getModule()->getDataLayout(); in visitCmpInst()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenModule.cpp557 getModule().setProfileSummary( in Release()
589 getModule(), FT->getPointerTo(), in Release()
815 getModule().addModuleFlag( in Release()
882 getModule().setCodeModel(codeModel); in Release()
887 getModule().setRtLibUseGOT(); in Release()
923 getModule().setStackProtectorGuardReg( in Release()
926 getModule().setStackProtectorGuardSymbol( in Release()
1578 return getModule().getNamedValue(Name); in GetGlobalValue()
3033 getModule(), Init->getType(), in GetAddrOfMSGuidDecl()
3099 getModule(), Init->getType(), in GetAddrOfTemplateParamObject()
[all …]
H A DMicrosoftCXXABI.cpp373 CGM.getModule(), VDispMapTy, /*isConstant=*/true, Linkage, in getAddrOfVirtualDisplacementMap()
1850 CGM.getModule().getNamedGlobal(VFTableName)) { in getAddrOfVTable()
1871 VTable = new llvm::GlobalVariable(CGM.getModule(), VTableType, in getAddrOfVTable()
1881 C = CGM.getModule().getOrInsertComdat(VFTableName.str()); in getAddrOfVTable()
1902 &CGM.getModule()); in getAddrOfVTable()
2052 ThunkName.str(), &CGM.getModule()); in EmitVirtualMemPtrThunk()
2125 assert(!CGM.getModule().getNamedGlobal(Name) && in getAddrOfVBTable()
2503 if (auto *GV = CGM.getModule().getNamedGlobal(VarName)) in getInitThreadEpochPtr()
2506 CGM.getModule(), CGM.IntTy, in getInitThreadEpochPtr()
3582 if (auto VTable = CGM.getModule().getNamedGlobal(MangledName)) in getTypeInfoVTable()
[all …]
H A DConstantInitBuilder.cpp73 auto GV = new llvm::GlobalVariable(CGM.getModule(), in createGlobal()
158 auto dummy = new llvm::GlobalVariable(Builder.CGM.getModule(), type, true, in getAddrOfPosition()
172 new llvm::GlobalVariable(Builder.CGM.getModule(), type, true, in getAddrOfCurrentPosition()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DMatrixBuilder.h35 Module *getModule() { return B.GetInsertBlock()->getParent()->getParent(); } in getModule() function
76 getModule(), Intrinsic::matrix_column_major_load, OverloadedTypes);
99 getModule(), Intrinsic::matrix_column_major_store, OverloadedTypes);
119 getModule(), Intrinsic::matrix_transpose, OverloadedTypes);
140 getModule(), Intrinsic::matrix_multiply, OverloadedTypes);
H A DBasicBlock.h111 const Module *getModule() const;
112 Module *getModule() { in getModule() function
114 static_cast<const BasicBlock *>(this)->getModule()); in getModule()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DAMDGPUEmitPrintf.cpp51 auto M = Builder.GetInsertBlock()->getModule(); in callPrintfBegin()
62 auto M = Builder.GetInsertBlock()->getModule(); in callAppendArgs()
84 Module *M = Prev->getModule(); in getStrlenWithNull()
154 auto M = Builder.GetInsertBlock()->getModule(); in callAppendStringN()
H A DAssumeBundleBuilder.cpp254 unsigned DerefSize = MemInst->getModule() in addAccessedPtr()
288 AssumeBuilderState Builder(I->getModule()); in buildAssumeFromInst()
297 AssumeBuilderState Builder(I->getModule(), I, AC, DT); in salvageKnowledge()
310 AssumeBuilderState Builder(CtxI->getModule(), CtxI, AC, DT); in buildAssumeFromKnowledge()
320 AssumeBuilderState Builder(Assume->getModule(), Assume, AC, DT); in simplifyRetainedKnowledge()
321 RK = canonicalizedKnowledge(RK, Assume->getModule()->getDataLayout()); in simplifyRetainedKnowledge()
H A DInjectTLIMappings.cpp44 Module *M = CI.getModule(); in addVariantDeclaration()
88 Module *M = CI.getModule(); in addMappingsFromTLI()
H A DLoopVersioning.cpp64 VersionedLoop->getHeader()->getModule()->getDataLayout(), in versionLoop()
69 SCEVExpander Exp(*SE, RuntimeCheckBB->getModule()->getDataLayout(), in versionLoop()
76 InstSimplifyFolder(RuntimeCheckBB->getModule()->getDataLayout())); in versionLoop()
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.cpp74 if (clang::Module *module = getModule(id)) in getSourceDescriptor()
79 clang::Module *ClangExternalASTSourceCallbacks::getModule(unsigned id) { in getModule() function in ClangExternalASTSourceCallbacks
/llvm-project-15.0.7/flang/include/flang/Lower/
H A DBridge.h67 mlir::ModuleOp &getModule() { return *module.get(); } in getModule() function
89 bool validModule() { return getModule(); } in validModule()
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/
H A DOrcTestCommon.h146 Module* getModule() { return M.get(); } in getModule() function
147 const Module* getModule() const { return M.get(); } in getModule() function
/llvm-project-15.0.7/llvm/lib/Linker/
H A DLinkModules.cpp82 Module &DstM = Mover.getModule(); in getLinkedToGlobal()
156 Module &DstM = Mover.getModule(); in computeResultingSelectionKind()
222 Module &DstM = Mover.getModule(); in getComdatResult()
459 Module &DstM = Mover.getModule(); in run()
544 if (Var->getParent() != &Mover.getModule()) in run()
/llvm-project-15.0.7/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp160 assert(Triple(CB->getModule()->getTargetTriple()).isOSWindows() && in insertCFGuardCheck()
190 assert(Triple(CB->getModule()->getTargetTriple()).isOSWindows() && in insertCFGuardDispatch()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DExternalPreprocessorSource.h42 virtual Module *getModule(unsigned ModuleID) = 0;
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineModuleInfo.cpp22 LLVMContext &CTX = MMI.getModule()->getContext(); in AMDGPUMachineModuleInfo()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DReplaceWithVeclib.cpp42 Module *M = CI.getModule(); in replaceWithTLIFunction()
144 ScalarName = Intrinsic::getName(IntrinsicID, ScalarTypes, CI.getModule()); in replaceWithCallToVeclib()

12345678910>>...12