Home
last modified time | relevance | path

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

12345678910

/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeNVPTX.cpp38 &CGF.CGM.getModule(), llvm::Intrinsic::nvvm_read_ptx_sreg_warpsize), in getGPUWarpSize()
46 &CGF.CGM.getModule(), llvm::Intrinsic::nvvm_read_ptx_sreg_tid_x); in getGPUThreadID()
54 &CGF.CGM.getModule(), llvm::Intrinsic::nvvm_read_ptx_sreg_ntid_x); in getGPUNumThreads()
H A DCodeGenModule.cpp503 getModule().setProfileSummary( in Release()
535 getModule(), FT->getPointerTo(), in Release()
703 getModule().addModuleFlag( in Release()
765 getModule().setCodeModel(codeModel); in Release()
770 getModule().setRtLibUseGOT(); in Release()
772 getModule().setUwtable(); in Release()
806 getModule().setStackProtectorGuardReg( in Release()
1419 return getModule().getNamedValue(Name); in GetGlobalValue()
2791 getModule(), Init->getType(), in GetAddrOfMSGuidDecl()
2826 getModule(), Init->getType(), in GetAddrOfTemplateParamObject()
[all …]
H A DCGOpenMPRuntimeAMDGCN.cpp51 llvm::Module *M = &CGF.CGM.getModule(); in getGPUNumThreads()
57 llvm::GlobalVariable::ExternalLinkage, LocSize, &CGF.CGM.getModule()); in getGPUNumThreads()
H A DMicrosoftCXXABI.cpp369 CGM.getModule(), VDispMapTy, /*isConstant=*/true, Linkage, in getAddrOfVirtualDisplacementMap()
1843 CGM.getModule().getNamedGlobal(VFTableName)) { in getAddrOfVTable()
1864 VTable = new llvm::GlobalVariable(CGM.getModule(), VTableType, in getAddrOfVTable()
1874 C = CGM.getModule().getOrInsertComdat(VFTableName.str()); in getAddrOfVTable()
1895 &CGM.getModule()); in getAddrOfVTable()
2045 ThunkName.str(), &CGM.getModule()); in EmitVirtualMemPtrThunk()
2118 assert(!CGM.getModule().getNamedGlobal(Name) && in getAddrOfVBTable()
2410 if (auto *GV = CGM.getModule().getNamedGlobal(VarName)) in getInitThreadEpochPtr()
2413 CGM.getModule(), CGM.IntTy, in getInitThreadEpochPtr()
3489 if (auto VTable = CGM.getModule().getNamedGlobal(MangledName)) in getTypeInfoVTable()
[all …]
H A DSanitizerMetadata.cpp60 CGM.getModule().getOrInsertNamedMetadata("llvm.asan.globals"); in reportGlobalToASan()
88 I->setMetadata(CGM.getModule().getMDKindID("nosanitize"), in disableSanitizerForInstruction()
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()
/freebsd-13.1/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-13.1/contrib/llvm-project/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.cpp127 Module &M = CG.getModule(); in RunPassOnSCC()
473 uint64_t RefHash = StructuralHash(CG.getModule()); in RunAllPassesOnSCC()
483 if (!LocalChanged && (RefHash != StructuralHash(CG.getModule()))) { in RunAllPassesOnSCC()
564 Changed |= ((FPPassManager*)PM)->doInitialization(CG.getModule()); in doInitialization()
579 Changed |= ((FPPassManager*)PM)->doFinalization(CG.getModule()); in doFinalization()
699 SCC.getCallGraph().getModule().print(OS, nullptr); in runOnSCC()
720 SCC.getCallGraph().getModule().print(OS, nullptr); in runOnSCC()
754 SCC.getCallGraph().getModule().getContext().getOptPassGate(); in skipSCC()
H A DMemoryLocation.cpp40 const auto &DL = LI->getModule()->getDataLayout(); in get()
50 const auto &DL = SI->getModule()->getDataLayout(); in get()
69 const auto &DL = CXI->getModule()->getDataLayout(); in get()
80 const auto &DL = RMWI->getModule()->getDataLayout(); in get()
156 const DataLayout &DL = II->getModule()->getDataLayout(); in getForArgument()
H A DLoopUnrollAnalyzer.cpp84 const DataLayout &DL = I.getModule()->getDataLayout(); in visitBinaryOperator()
157 const DataLayout &DL = I.getModule()->getDataLayout(); in visitCastInst()
194 const DataLayout &DL = I.getModule()->getDataLayout(); in visitCmpInst()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DMatrixBuilder.h35 Module *getModule() { return B.GetInsertBlock()->getParent()->getParent(); } in getModule() function
80 getModule(), Intrinsic::matrix_column_major_load, OverloadedTypes);
103 getModule(), Intrinsic::matrix_column_major_store, OverloadedTypes);
123 getModule(), Intrinsic::matrix_transpose, OverloadedTypes);
144 getModule(), Intrinsic::matrix_multiply, OverloadedTypes);
H A DBasicBlock.h114 const Module *getModule() const;
115 Module *getModule() { in getModule() function
117 static_cast<const BasicBlock *>(this)->getModule()); in getModule()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAMDGPUEmitPrintf.cpp64 auto M = Builder.GetInsertBlock()->getModule(); in callPrintfBegin()
75 auto M = Builder.GetInsertBlock()->getModule(); in callAppendArgs()
97 Module *M = Prev->getModule(); in getStrlenWithNull()
167 auto M = Builder.GetInsertBlock()->getModule(); in callAppendStringN()
H A DAssumeBundleBuilder.cpp253 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.cpp45 Module *M = CI.getModule(); in addVariantDeclaration()
89 Module *M = CI.getModule(); in addMappingsFromTLI()
/freebsd-13.1/contrib/llvm-project/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
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp160 assert(Triple(CB->getModule()->getTargetTriple()).isOSWindows() && in insertCFGuardCheck()
184 assert(Triple(CB->getModule()->getTargetTriple()).isOSWindows() && in insertCFGuardDispatch()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/
H A DExternalPreprocessorSource.h42 virtual Module *getModule(unsigned ModuleID) = 0;
H A DModuleMap.h170 Module *getModule() const { return Storage.getPointer(); } in getModule() function
177 return getModule()->isAvailable(); in isAvailable()
183 (M && M->getTopLevelModule() == getModule()->getTopLevelModule()); in isAccessibleFrom()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineModuleInfo.cpp21 LLVMContext &CTX = MMI.getModule()->getContext(); in AMDGPUMachineModuleInfo()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DReplaceWithVeclib.cpp43 Module *M = CI.getModule(); in replaceWithTLIFunction()
145 ScalarName = Intrinsic::getName(IntrinsicID, ScalarTypes, CI.getModule()); in replaceWithCallToVeclib()
H A DEHContGuardCatchret.cpp66 if (!MF.getMMI().getModule()->getModuleFlag("ehcontguard")) in runOnMachineFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterInlineAsm.cpp264 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitMSInlineAsmStr()
446 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitGCCInlineAsmStr()
542 MMI->getModule()->getContext().diagnose(DiagnosticInfoInlineAsm( in emitInlineAsm()
544 MMI->getModule()->getContext().diagnose( in emitInlineAsm()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCallGraph.h102 Module &getModule() const { return M; } in getModule() function
355 Module &getModule() const { return G->getModule(); } in getModule() function

12345678910