Home
last modified time | relevance | path

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

12345678910>>...12

/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp439 !getModule().getSourceFileName().empty()) { in CodeGenModule()
440 std::string Path = getModule().getSourceFileName(); in CodeGenModule()
452 getModule().addModuleFlag(llvm::Module::Error, "NumRegisterParameters", in CodeGenModule()
889 getModule().setProfileSummary( in Release()
904 CodeGenPGO(*this).setValueProfilingFlag(getModule()); in Release()
905 CodeGenPGO(*this).setProfileVersion(getModule()); in Release()
924 getModule().addModuleFlag(llvm::Module::Error, in Release()
936 getModule().addModuleFlag(llvm::Module::Error, "amdgpu_printf_kind", in Release()
960 getModule(), ATy, false, llvm::GlobalValue::InternalLinkage, in Release()
968 getModule(), Int8T in Release()
[all...]
H A DMicrosoftCXXABI.cpp365 if (auto *VDispMap = CGM.getModule().getNamedGlobal(MangledName)) in getAddrOfVirtualDisplacementMap()
395 CGM.getModule(), VDispMapTy, /*isConstant=*/true, Linkage, in getAddrOfVirtualDisplacementMap()
561 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name)) in getCompleteObjectLocatorType()
564 auto *GV = new llvm::GlobalVariable(CGM.getModule(), CGM.Int8Ty, in getImageBase()
1877 CGM.getModule().getNamedGlobal(VFTableName)) { in getAddrOfVTable()
1898 VTable = new llvm::GlobalVariable(CGM.getModule(), VTableType, in getAddrOfVTable()
1906 C = CGM.getModule().getOrInsertComdat(VFTableName.str()); in getAddrOfVTable()
1927 &CGM.getModule()); in getAddrOfVTable()
2071 if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName)) in EmitVirtualMemPtrThunk()
2080 ThunkName.str(), &CGM.getModule()); in EmitVirtualMemPtrThunk()
[all...]
H A DCGOpenMPRuntimeGPU.cpp785 const auto &DL = CGM.getModule().getDataLayout(); in emitKernelDeinit()
1068 CGM.getModule(), OMPRTL___kmpc_alloc_shared), in emitGenericVarsProlog()
1134 CGM.getModule(), OMPRTL___kmpc_alloc_shared), in getKmpcAllocShared()
1147 CGM.getModule(), OMPRTL___kmpc_free_shared), in getKmpcFreeShared()
1162 CGM.getModule(), OMPRTL___kmpc_free_shared), in emitGenericVarsEpilog()
1173 CGM.getModule(), OMPRTL___kmpc_free_shared), in emitGenericVarsEpilog()
1276 CGM.getModule(), OMPRTL___kmpc_parallel_51), in emitParallelCall()
1295 CGM.getModule(), OMPRTL___kmpc_barrier_simple_spmd), in syncCTAThreads()
1312 CGM.getModule(), OMPRTL___kmpc_barrier), in emitBarrierCall()
1330 CGM.getModule(), OMPRTL___kmpc_warp_active_thread_mas in emitCriticalRegion()
[all...]
/llvm-project/llvm/tools/llvm-reduce/deltas/
H A DReduceIRReferences.cpp41 for (const Function &F : WorkItem.getModule()) { in stripIRFromInstructions()
48 for (const Function &F : WorkItem.getModule()) { in stripIRFromBlocks()
59 for (const Function &F : WorkItem.getModule()) { in stripIRFromFunctions()
H A DReduceAliases.cpp26 for (auto &GA : make_early_inc_range(Program.getModule().aliases())) { in extractAliasesFromModule()
35 Module &Mod = WorkItem.getModule(); in extractIFuncsFromModule()
H A DReduceFunctionBodies.cpp27 for (auto &F : WorkItem.getModule()) { in extractFunctionBodiesFromModule()
41 for (Function &F : WorkItem.getModule()) { in reduceFunctionData()
H A DReduceMemoryOperations.cpp40 for (Function &F : WorkItem.getModule()) in removeVolatileInModule()
71 for (Function &F : WorkItem.getModule()) in reduceAtomicSyncScopesInModule()
104 for (Function &F : WorkItem.getModule()) in reduceAtomicOrderingInModule()
H A DReduceUsingSimplifyCFG.cpp23 Module &Program = WorkItem.getModule(); in reduceUsingSimplifyCFG()
39 Module &M = WorkItem.getModule(); in reduceConditionals()
H A DReduceMetadata.cpp52 Module &M = WorkItem.getModule(); in reduceNamedMetadataOperands()
81 Module &Program = WorkItem.getModule(); in extractMetadataFromModule()
/llvm-project/llvm/lib/IR/
H A DVectorBuilder.cpp30 Module &VectorBuilder::getModule() const { in getModule() function in llvm::VectorBuilder
31 return *Builder.GetInsertBlock()->getModule(); in getModule()
112 &getModule(), VPID, ReturnTy, IntrinParams);
/llvm-project/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/llvm/lib/Analysis/
H A DCallGraphSCCPass.cpp127 Module &M = CG.getModule(); in RunPassOnSCC()
464 uint64_t RefHash = P->structuralHash(CG.getModule()); in RunAllPassesOnSCC()
474 if (!LocalChanged && (RefHash != P->structuralHash(CG.getModule()))) { in RunAllPassesOnSCC()
555 Changed |= ((FPPassManager*)PM)->doInitialization(CG.getModule()); in doInitialization()
570 Changed |= ((FPPassManager*)PM)->doFinalization(CG.getModule()); in doFinalization()
690 SCC.getCallGraph().getModule().print(OS, nullptr); in runOnSCC()
711 SCC.getCallGraph().getModule().print(OS, nullptr); in runOnSCC()
745 SCC.getCallGraph().getModule().getContext().getOptPassGate(); in skipSCC()
H A DTrace.cpp31 Module *Trace::getModule() const { in getModule() function in Trace
41 (*i)->printAsOperand(O, true, getModule()); in print()
/llvm-project/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);
/llvm-project/llvm/lib/Transforms/Utils/
H A DAMDGPUEmitPrintf.cpp56 auto M = Builder.GetInsertBlock()->getModule(); in callPrintfBegin()
67 auto M = Builder.GetInsertBlock()->getModule(); in callAppendArgs()
89 Module *M = Prev->getModule(); in getStrlenWithNull()
158 auto M = Builder.GetInsertBlock()->getModule(); in callAppendStringN()
226 Module *M = Builder.GetInsertBlock()->getModule(); in callBufferedPrintfStart()
377 Module *M = Builder.GetInsertBlock()->getModule(); in callBufferedPrintfArgPush()
440 Module *M = Builder.GetInsertBlock()->getModule(); in emitAMDGPUPrintfCall()
H A DBuildLibCalls.cpp1523 const Module *M = B.GetInsertBlock()->getModule(); in emitMemCpyChk()
1532 Module *M = B.GetInsertBlock()->getModule(); in emitMemCpyChk()
1612 Module *M = B.GetInsertBlock()->getModule(); in emitSNPrintf()
1791 Module *M = B.GetInsertBlock()->getModule(); in emitBinaryFloatFnCall()
1825 Module *M = B.GetInsertBlock()->getModule(); in emitPutS()
1840 Module *M = B.GetInsertBlock()->getModule(); in emitFPutC()
1879 Module *M = B.GetInsertBlock()->getModule(); in emitFWrite()
1891 Module *M = B.GetInsertBlock()->getModule(); in emitFWrite()
1910 Module *M = B.GetInsertBlock()->getModule(); in emitMalloc()
1928 Module *M = B.GetInsertBlock()->getModule(); in emitCalloc()
[all...]
H A DInjectTLIMappings.cpp42 Module *M = CI.getModule(); in addVariantDeclaration()
89 Module *M = CI.getModule(); in addMappingsFromTLI()
/llvm-project/llvm/tools/llvm-reduce/
H A DReducerWorkItem.h41 Module &getModule() { return *M; } in getModule() function
42 const Module &getModule() const { return *M; } in getModule() function
/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPrepareFunctions.cpp103 Module *M = Intrinsic->getModule(); in lowerIntrinsicToFunction()
287 Module *M = FSHIntrinsic->getModule(); in lowerFunnelShifts()
355 II->getModule(), Intrinsic::SPVIntrinsics::spv_assume); in buildUMulWithOverflowFunc()
359 II->getModule(), Intrinsic::SPVIntrinsics::spv_expect, in buildUMulWithOverflowFunc()
373 F = Intrinsic::getOrInsertDeclaration(II->getModule(), NewID); in lowerExpectAssume()
378 F = Intrinsic::getOrInsertDeclaration(II->getModule(), NewID, Tys); in lowerExpectAssume()
/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.cpp77 if (clang::Module *module = getModule(id)) in getSourceDescriptor()
82 clang::Module *ClangExternalASTSourceCallbacks::getModule(unsigned id) { in getModule()
81 clang::Module *ClangExternalASTSourceCallbacks::getModule(unsigned id) { getModule() function in ClangExternalASTSourceCallbacks
/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterInlineAsm.cpp
/llvm-project/llvm/unittests/ExecutionEngine/Orc/
H A DOrcTestCommon.h155 Module* getModule() { return M.get(); } in getModule() function
156 const Module* getModule() const { return M.get(); } in getModule() function
/llvm-project/flang/include/flang/Lower/
H A DBridge.h87 mlir::ModuleOp getModule() { return *module; } in getIntrinsicTable()
131 bool validModule() { return getModule(); }
82 mlir::ModuleOp &getModule() { return *module.get(); } getModule() function
/llvm-project/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp310 VPI.getModule(), UnpredicatedIntrinsicID, {VPI.getType()}); in expandPredicationToIntCall()
/llvm-project/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()
463 Module &DstM = Mover.getModule(); in run()
569 if (Var->getParent() != &Mover.getModule()) in run()

12345678910>>...12