/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenModule.cpp | 438 !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 D | MicrosoftCXXABI.cpp | 364 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 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()
|
H A D | CGOpenMPRuntimeGPU.cpp | 785 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 D | CGHLSLRuntime.cpp | 167 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 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/IR/ |
H A D | VectorBuilder.cpp | 30 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 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 | Trace.cpp | 31 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 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/llvm/lib/Transforms/Utils/ |
H A D | AMDGPUEmitPrintf.cpp | 56 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 D | InjectTLIMappings.cpp | 43 Module *M = CI.getModule(); in addVariantDeclaration() 90 Module *M = CI.getModule(); in addMappingsFromTLI()
|
H A D | BuildLibCalls.cpp | 1444 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 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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVPrepareFunctions.cpp | 103 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 D | ClangExternalASTSourceCallbacks.cpp | 76 if (clang::Module *module = getModule(id)) in getSourceDescriptor() 81 clang::Module *ClangExternalASTSourceCallbacks::getModule(unsigned id) { in getModule() function in ClangExternalASTSourceCallbacks
|
H A D | ASTUtils.h | 78 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 D | AsmPrinterInlineAsm.cpp | 318 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 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() 351 VPI.getModule(), UnpredicatedIntrinsicID, {VPI.getType()}); in expandPredicationToFPCall() 667 auto *M = VPI.getModule(); in discardEVLParameter()
|
H A D | ReplaceWithVeclib.cpp | 132 ? 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 D | CFGuard.cpp | 174 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 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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUMachineModuleInfo.cpp | 23 LLVMContext &CTX = MMI.getModule()->getContext(); in AMDGPUMachineModuleInfo()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | CallGraph.h | 101 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 D | ModuleMap.h | 174 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()
|