/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenModule.cpp | 848 getModule().setProfileSummary( in Release() 1072 getModule().addModuleFlag( in Release() 1167 getModule().addModuleFlag( in Release() 1177 getModule().addModuleFlag( in Release() 1244 getModule().setCodeModel(codeModel); in Release() 1255 getModule().setRtLibUseGOT(); in Release() 1298 getModule().setStackProtectorGuardReg( in Release() 2033 return getModule().getNamedValue(Name); in GetGlobalValue() 2768 llvm::Module &M = getModule(); in finalizeKCFITypes() 3565 getModule(), Init->getType(), in GetAddrOfMSGuidDecl() [all …]
|
H A D | MicrosoftCXXABI.cpp | 398 CGM.getModule(), VDispMapTy, /*isConstant=*/true, Linkage, in getAddrOfVirtualDisplacementMap() 1873 CGM.getModule().getNamedGlobal(VFTableName)) { in getAddrOfVTable() 1894 VTable = new llvm::GlobalVariable(CGM.getModule(), VTableType, in getAddrOfVTable() 1902 C = CGM.getModule().getOrInsertComdat(VFTableName.str()); in getAddrOfVTable() 1923 &CGM.getModule()); in getAddrOfVTable() 2075 ThunkName.str(), &CGM.getModule()); in EmitVirtualMemPtrThunk() 2150 assert(!CGM.getModule().getNamedGlobal(Name) && in getAddrOfVBTable() 2525 if (auto *GV = CGM.getModule().getNamedGlobal(VarName)) in getInitThreadEpochPtr() 2528 CGM.getModule(), CGM.IntTy, in getInitThreadEpochPtr() 3582 if (auto VTable = CGM.getModule().getNamedGlobal(MangledName)) in getTypeInfoVTable() [all …]
|
H A D | CGOpenMPRuntimeGPU.cpp | 805 const auto &DL = CGM.getModule().getDataLayout(); in emitKernelDeinit() 1167 CGM.getModule(), OMPRTL___kmpc_free_shared), in getKmpcFreeShared() 1332 CGM.getModule(), OMPRTL___kmpc_barrier), in emitBarrierCall() 1350 CGM.getModule(), OMPRTL___kmpc_warp_active_thread_mask)); in emitCriticalRegion() 1706 llvm::Module &M = CGM.getModule(); in emitInterWarpCopyFunction() 2020 "_omp_reduction_shuffle_and_reduce_func", &CGM.getModule()); in emitShuffleAndReduceFunction() 2177 "_omp_reduction_list_to_global_copy_func", &CGM.getModule()); in emitListToGlobalCopyFunction() 2289 "_omp_reduction_list_to_global_reduce_func", &CGM.getModule()); in emitListToGlobalReduceFunction() 2383 "_omp_reduction_global_to_list_copy_func", &CGM.getModule()); in emitGlobalToListCopyFunction() 3281 CGM.getModule(), VarTy, /*isConstant=*/false, in getAddressOfLocalVariable() [all …]
|
H A D | ConstantInitBuilder.cpp | 73 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()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | VectorBuilder.cpp | 30 Module &VectorBuilder::getModule() const { in getModule() function in llvm::VectorBuilder 31 return *Builder.GetInsertBlock()->getModule(); in getModule() 96 auto *VPDecl = VPIntrinsic::getDeclarationForParams(&getModule(), VPID, in createVectorInstruction()
|
/freebsd/contrib/llvm-project/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/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | Trace.cpp | 31 Module *Trace::getModule() const { in getModule() function in Trace 41 (*i)->printAsOperand(O, true, getModule()); in print()
|
H A D | CallGraphSCCPass.cpp | 127 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 D | MemoryLocation.cpp | 37 const auto &DL = LI->getModule()->getDataLayout(); in get() 46 const auto &DL = SI->getModule()->getDataLayout(); in get() 60 const auto &DL = CXI->getModule()->getDataLayout(); in get() 69 const auto &DL = RMWI->getModule()->getDataLayout(); in get() 168 const DataLayout &DL = II->getModule()->getDataLayout(); in getForArgument()
|
H A D | LoopUnrollAnalyzer.cpp | 87 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()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | AMDGPUEmitPrintf.cpp | 55 auto M = Builder.GetInsertBlock()->getModule(); in callPrintfBegin() 66 auto M = Builder.GetInsertBlock()->getModule(); in callAppendArgs() 88 Module *M = Prev->getModule(); in getStrlenWithNull() 158 auto M = Builder.GetInsertBlock()->getModule(); in callAppendStringN() 226 Module *M = Builder.GetInsertBlock()->getModule(); in callBufferedPrintfStart() 354 const DataLayout &DL = Builder.GetInsertBlock()->getModule()->getDataLayout(); in processNonStringArg() 377 Module *M = Builder.GetInsertBlock()->getModule(); in callBufferedPrintfArgPush() 442 Module *M = Builder.GetInsertBlock()->getModule(); in emitAMDGPUPrintfCall()
|
H A D | InjectTLIMappings.cpp | 43 Module *M = CI.getModule(); in addVariantDeclaration() 90 Module *M = CI.getModule(); in addMappingsFromTLI()
|
H A D | AssumeBundleBuilder.cpp | 253 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() 323 RK = canonicalizedKnowledge(RK, Assume->getModule()->getDataLayout()); in simplifyRetainedKnowledge()
|
H A D | BuildLibCalls.cpp | 1442 Module *M = B.GetInsertBlock()->getModule(); in emitLibCall() 1522 Module *M = B.GetInsertBlock()->getModule(); in emitMemCpyChk() 1701 Module *M = B.GetInsertBlock()->getModule(); in emitUnaryFloatFnCallHelper() 1735 Module *M = B.GetInsertBlock()->getModule(); in emitUnaryFloatFnCall() 1750 Module *M = B.GetInsertBlock()->getModule(); in emitBinaryFloatFnCallHelper() 1789 Module *M = B.GetInsertBlock()->getModule(); in emitBinaryFloatFnCall() 1801 Module *M = B.GetInsertBlock()->getModule(); in emitPutChar() 1820 Module *M = B.GetInsertBlock()->getModule(); in emitPutS() 1838 Module *M = B.GetInsertBlock()->getModule(); in emitFPutC() 1858 Module *M = B.GetInsertBlock()->getModule(); in emitFPutS() [all …]
|
H A D | LoopVersioning.cpp | 65 VersionedLoop->getHeader()->getModule()->getDataLayout(), in versionLoop() 70 SCEVExpander Exp(*SE, RuntimeCheckBB->getModule()->getDataLayout(), in versionLoop() 77 InstSimplifyFolder(RuntimeCheckBB->getModule()->getDataLayout())); in versionLoop()
|
H A D | SimplifyLibCalls.cpp | 1056 Module &M = *CI->getModule(); in optimizeWcslen() 1592 Module *M = CI->getModule(); in optimizeMemCmp() 1777 Module *M = CI->getModule(); in replaceUnaryCall() 2323 Module *M = CI->getModule(); in optimizeExp2() 2356 Module *M = CI->getModule(); in optimizeFMinFMax() 2542 Module *M = CI->getModule(); in optimizeSqrt() 2612 Module *M = CI->getModule(); in optimizeTan() 2760 Module *M = CI->getModule(); in classifyArgUse() 3010 Module *M = CI->getModule(); in optimizePrintF() 3131 Module *M = CI->getModule(); in optimizeSPrintF() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | MatrixBuilder.h | 35 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/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ClangExternalASTSourceCallbacks.cpp | 75 if (clang::Module *module = getModule(id)) in getSourceDescriptor() 80 clang::Module *ClangExternalASTSourceCallbacks::getModule(unsigned id) { in getModule() function in ClangExternalASTSourceCallbacks
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVPrepareFunctions.cpp | 100 Module *M = Intrinsic->getModule(); in lowerIntrinsicToFunction() 160 Module *M = FSHIntrinsic->getModule(); in lowerFunnelShifts() 252 II->getModule(), Intrinsic::SPVIntrinsics::spv_assume); in lowerExpectAssume() 256 II->getModule(), Intrinsic::SPVIntrinsics::spv_expect, in lowerExpectAssume() 270 Module *M = UMulIntrinsic->getModule(); in lowerUMulWithOverflow()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinterInlineAsm.cpp | 317 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitInlineAsmStr() 403 MMI->getModule()->getContext().diagnose(DiagnosticInfoInlineAsm( in emitInlineAsm() 405 MMI->getModule()->getContext().diagnose( in emitInlineAsm() 411 MMI->getModule()->getContext().diagnose(DiagnosticInfoInlineAsm( in emitInlineAsm()
|
/freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | ExternalPreprocessorSource.h | 42 virtual Module *getModule(unsigned ModuleID) = 0;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUMachineModuleInfo.cpp | 22 LLVMContext &CTX = MMI.getModule()->getContext(); in AMDGPUMachineModuleInfo()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/CFGuard/ |
H A D | CFGuard.cpp | 173 assert(Triple(CB->getModule()->getTargetTriple()).isOSWindows() && in insertCFGuardCheck() 202 assert(Triple(CB->getModule()->getTargetTriple()).isOSWindows() && in insertCFGuardDispatch()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandVectorPredication.cpp | 235 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() 349 VPI.getModule(), UnpredicatedIntrinsicID, {VPI.getType()}); in expandPredicationToFPCall() 643 auto *M = VPI.getModule(); in discardEVLParameter()
|
/freebsd/contrib/llvm-project/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 82 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()
|