Home
last modified time | relevance | path

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

123456789

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp438 !getModule().getSourceFileName().empty()) { in CodeGenModule()
439 std::string Path = getModule().getSourceFileName(); in CodeGenModule()
451 getModule().addModuleFlag(llvm::Module::Error, "NumRegisterParameters", in CodeGenModule()
886 getModule().setProfileSummary( in Release()
901 CodeGenPGO(*this).setValueProfilingFlag(getModule()); in Release()
902 CodeGenPGO(*this).setProfileVersion(getModule()); in Release()
921 getModule().addModuleFlag(llvm::Module::Error, in Release()
933 getModule().addModuleFlag(llvm::Module::Error, "amdgpu_printf_kind", in Release()
957 getModule(), ATy, false, llvm::GlobalValue::InternalLinkage, in Release()
965 getModule(), Int8Ty, false, llvm::GlobalValue::ExternalLinkage, in Release()
[all …]
H A DMicrosoftCXXABI.cpp364 if (auto *VDispMap = CGM.getModule().getNamedGlobal(MangledName)) in getAddrOfVirtualDisplacementMap()
394 CGM.getModule(), VDispMapTy, /*isConstant=*/true, Linkage, in getAddrOfVirtualDisplacementMap()
566 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name)) in getImageBase()
569 auto *GV = new llvm::GlobalVariable(CGM.getModule(), CGM.Int8Ty, in getImageBase()
1883 CGM.getModule().getNamedGlobal(VFTableName)) { in getAddrOfVTable()
1904 VTable = new llvm::GlobalVariable(CGM.getModule(), VTableType, in getAddrOfVTable()
1912 C = CGM.getModule().getOrInsertComdat(VFTableName.str()); in getAddrOfVTable()
1933 &CGM.getModule()); in getAddrOfVTable()
2077 if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName)) in EmitVirtualMemPtrThunk()
2086 ThunkName.str(), &CGM.getModule()); in EmitVirtualMemPtrThunk()
[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()
H A DCGOpenMPRuntimeGPU.cpp785 const auto &DL = CGM.getModule().getDataLayout(); in emitKernelDeinit()
1068 CGM.getModule(), OMPRTL___kmpc_alloc_shared), in emitGenericVarsProlog()
1135 CGM.getModule(), OMPRTL___kmpc_alloc_shared), in getKmpcAllocShared()
1148 CGM.getModule(), OMPRTL___kmpc_free_shared), in getKmpcFreeShared()
1163 CGM.getModule(), OMPRTL___kmpc_free_shared), in emitGenericVarsEpilog()
1174 CGM.getModule(), OMPRTL___kmpc_free_shared), in emitGenericVarsEpilog()
1277 CGM.getModule(), OMPRTL___kmpc_parallel_51), in emitParallelCall()
1296 CGM.getModule(), OMPRTL___kmpc_barrier_simple_spmd), in syncCTAThreads()
1313 CGM.getModule(), OMPRTL___kmpc_barrier), in emitBarrierCall()
1331 CGM.getModule(), OMPRTL___kmpc_warp_active_thread_mask)); in emitCriticalRegion()
[all …]
H A DCGHLSLRuntime.cpp167 llvm::Module &M = CGM.getModule(); in finishCodeGen()
203 llvm::Module &M = CGM.getModule(); in addBufferResourceAnnotation()
359 llvm::Module &M = CGM.getModule(); in emitEntryFunction()
428 llvm::Module &M = CGM.getModule(); in generateGlobalCtorDtorCalls()
/freebsd/contrib/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()
/freebsd/contrib/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 auto *VPDecl = VPIntrinsic::getDeclarationForParams(&getModule(), VPID, in createVectorInstructionImpl()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCallGraphSCCPass.cpp127 Module &M = CG.getModule(); in RunPassOnSCC()
465 uint64_t RefHash = P->structuralHash(CG.getModule()); in RunAllPassesOnSCC()
475 if (!LocalChanged && (RefHash != P->structuralHash(CG.getModule()))) { in RunAllPassesOnSCC()
556 Changed |= ((FPPassManager*)PM)->doInitialization(CG.getModule()); in doInitialization()
571 Changed |= ((FPPassManager*)PM)->doFinalization(CG.getModule()); in doFinalization()
691 SCC.getCallGraph().getModule().print(OS, nullptr); in runOnSCC()
712 SCC.getCallGraph().getModule().print(OS, nullptr); in runOnSCC()
746 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()
/freebsd/contrib/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);
/freebsd/contrib/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 DInjectTLIMappings.cpp43 Module *M = CI.getModule(); in addVariantDeclaration()
90 Module *M = CI.getModule(); in addMappingsFromTLI()
H A DBuildLibCalls.cpp1444 const Module *M = B.GetInsertBlock()->getModule(); in getSizeTTy()
1453 Module *M = B.GetInsertBlock()->getModule(); in emitLibCall()
1533 Module *M = B.GetInsertBlock()->getModule(); in emitMemCpyChk()
1712 Module *M = B.GetInsertBlock()->getModule(); in emitUnaryFloatFnCallHelper()
1746 Module *M = B.GetInsertBlock()->getModule(); in emitUnaryFloatFnCall()
1761 Module *M = B.GetInsertBlock()->getModule(); in emitBinaryFloatFnCallHelper()
1800 Module *M = B.GetInsertBlock()->getModule(); in emitBinaryFloatFnCall()
1812 Module *M = B.GetInsertBlock()->getModule(); in emitPutChar()
1831 Module *M = B.GetInsertBlock()->getModule(); in emitPutS()
1849 Module *M = B.GetInsertBlock()->getModule(); in emitFPutC()
[all …]
H A DAssumeBundleBuilder.cpp253 unsigned DerefSize = MemInst->getModule() in addAccessedPtr()
287 AssumeBuilderState Builder(I->getModule()); in buildAssumeFromInst()
297 AssumeBuilderState Builder(I->getModule(), I, AC, DT); in salvageKnowledge()
312 AssumeBuilderState Builder(CtxI->getModule(), CtxI, AC, DT); in buildAssumeFromKnowledge()
322 AssumeBuilderState Builder(Assume->getModule(), Assume, AC, DT); in simplifyRetainedKnowledge()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPrepareFunctions.cpp103 Module *M = Intrinsic->getModule(); in lowerIntrinsicToFunction()
289 Module *M = FSHIntrinsic->getModule(); in lowerFunnelShifts()
381 II->getModule(), Intrinsic::SPVIntrinsics::spv_assume); in lowerExpectAssume()
385 II->getModule(), Intrinsic::SPVIntrinsics::spv_expect, in lowerExpectAssume()
399 F = Intrinsic::getDeclaration(II->getModule(), NewID); in toSpvOverloadedIntrinsic()
404 F = Intrinsic::getDeclaration(II->getModule(), NewID, Tys); in toSpvOverloadedIntrinsic()
414 Module *M = UMulIntrinsic->getModule(); in lowerUMulWithOverflow()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.cpp76 if (clang::Module *module = getModule(id)) in getSourceDescriptor()
81 clang::Module *ClangExternalASTSourceCallbacks::getModule(unsigned id) { in getModule() function in ClangExternalASTSourceCallbacks
H A DASTUtils.h78 clang::Module *getModule(unsigned ID) override { in getModule() function
79 return m_Source->getModule(ID); in getModule()
404 clang::Module *getModule(unsigned ID) override { in getModule() function
406 if (auto M = Sources[i]->getModule(ID)) in getModule()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterInlineAsm.cpp318 MMI->getModule()->getContext().emitError(LocCookie, msg); in EmitInlineAsmStr()
404 MMI->getModule()->getContext().diagnose(DiagnosticInfoInlineAsm( in emitInlineAsm()
406 MMI->getModule()->getContext().diagnose( in emitInlineAsm()
412 MMI->getModule()->getContext().diagnose(DiagnosticInfoInlineAsm( in emitInlineAsm()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp235 auto *M = Builder.GetInsertBlock()->getModule(); in convertEVLToMask()
300 VPI.getModule(), UnpredicatedIntrinsicID, {VPI.getType()}); in expandPredicationToIntCall()
309 VPI.getModule(), UnpredicatedIntrinsicID, {VPI.getType()}); in expandPredicationToIntCall()
328 VPI.getModule(), UnpredicatedIntrinsicID, {VPI.getType()}); in expandPredicationToFPCall()
338 VPI.getModule(), UnpredicatedIntrinsicID, {VPI.getType()}); in expandPredicationToFPCall()
351 VPI.getModule(), UnpredicatedIntrinsicID, {VPI.getType()}); in expandPredicationToFPCall()
667 auto *M = VPI.getModule(); in discardEVLParameter()
H A DReplaceWithVeclib.cpp132 ? Intrinsic::getName(IID, ScalarArgTypes, II->getModule()) in replaceWithCallToVeclib()
182 getTLIFunction(II->getModule(), VectorFTy, VD->getVectorFnName(), in replaceWithCallToVeclib()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp174 assert(Triple(CB->getModule()->getTargetTriple()).isOSWindows() && in insertCFGuardCheck()
203 assert(Triple(CB->getModule()->getTargetTriple()).isOSWindows() && in insertCFGuardDispatch()
/freebsd/contrib/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()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineModuleInfo.cpp23 LLVMContext &CTX = MMI.getModule()->getContext(); in AMDGPUMachineModuleInfo()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCallGraph.h101 Module &getModule() const { return M; } in getModule() function
367 Module &getModule() const { return G->getModule(); } in begin()
363 Module &getModule() const { return G->getModule(); } getModule() function
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DModuleMap.h174 Module *getModule() const { return Storage.getPointer(); } in getModule() function
181 return getRole() != ExcludedHeader && getModule()->isAvailable(); in isAvailable()
187 (M && M->getTopLevelModule() == getModule()->getTopLevelModule()); in isAccessibleFrom()

123456789