/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntimeNVPTX.cpp | 38 &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 D | CodeGenModule.cpp | 186 !getModule().getSourceFileName().empty()) { in CodeGenModule() 187 std::string Path = getModule().getSourceFileName(); in CodeGenModule() 503 getModule().setProfileSummary( in Release() 514 CodeGenPGO(*this).setValueProfilingFlag(getModule()); in Release() 548 auto *NMD = getModule().getOrInsertNamedMetadata("llvm.dependent-libraries"); in Release() 555 getModule().addModuleFlag(llvm::Module::Error, "NumRegisterParameters", in Release() 559 getModule().addModuleFlag(llvm::Module::Max, "Dwarf Version", in Release() 564 getModule().addModuleFlag(llvm::Module::Max, "DWARF64", 1); in Release() 568 getModule().setSemanticInterposition(1); in Release() 572 getModule().addModuleFlag(llvm::Module::Warning, "CodeView", 1); in Release() [all …]
|
H A D | CGOpenMPRuntimeGPU.cpp | 608 /*placeholder=*/"_worker", &CGM.getModule()); in createWorkerFunction() 1109 CGM.getModule(), CGM.VoidPtrTy, /*isConstant=*/false, in emitNonSPMDKernel() 1164 CGM.getModule(), OMPRTL___kmpc_kernel_init), in emitNonSPMDEntryHeader() 1169 CGM.getModule(), OMPRTL___kmpc_data_sharing_init_stack)); in emitNonSPMDEntryHeader() 1193 CGM.getModule(), OMPRTL___kmpc_kernel_deinit), in emitNonSPMDEntryFooter() 1243 CGM.getModule(), CGM.VoidPtrTy, /*isConstant=*/false, in emitSPMDKernel() 1268 CGM.getModule(), OMPRTL___kmpc_spmd_kernel_init), in emitSPMDEntryHeader() 1274 CGM.getModule(), OMPRTL___kmpc_data_sharing_init_stack_spmd)); in emitSPMDEntryHeader() 1301 CGM.getModule(), OMPRTL___kmpc_spmd_kernel_deinit_v2), in emitSPMDEntryFooter() 1318 new llvm::GlobalVariable(CGM.getModule(), CGM.Int8Ty, /*isConstant=*/true, in setPropertyExecutionMode() [all …]
|
H A D | CGOpenMPRuntimeAMDGCN.cpp | 51 llvm::Module *M = &CGF.CGM.getModule(); in getGPUNumThreads() 57 llvm::GlobalVariable::ExternalLinkage, LocSize, &CGF.CGM.getModule()); in getGPUNumThreads()
|
H A D | MicrosoftCXXABI.cpp | 339 if (auto *VDispMap = CGM.getModule().getNamedGlobal(MangledName)) in getAddrOfVirtualDisplacementMap() 369 CGM.getModule(), VDispMapTy, /*isConstant=*/true, Linkage, in getAddrOfVirtualDisplacementMap() 537 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name)) in getImageBase() 540 auto *GV = new llvm::GlobalVariable(CGM.getModule(), CGM.Int8Ty, in getImageBase() 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() 2036 if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName)) in EmitVirtualMemPtrThunk() 2045 ThunkName.str(), &CGM.getModule()); in EmitVirtualMemPtrThunk() [all …]
|
H A D | SanitizerMetadata.cpp | 60 CGM.getModule().getOrInsertNamedMetadata("llvm.asan.globals"); in reportGlobalToASan() 88 I->setMetadata(CGM.getModule().getMDKindID("nosanitize"), in disableSanitizerForInstruction()
|
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 | CodeGenAction.cpp | 178 llvm::Module *getModule() const { return Gen->GetModule(); } in getModule() function in clang::BackendConsumer 262 *getModule(), std::move(LM.Module), LM.LinkFlags, in LinkInModules() 269 Err = Linker::linkModules(*getModule(), std::move(LM.Module), in LinkInModules() 301 if (!getModule()) in HandleTranslationUnit() 304 LLVMContext &Ctx = getModule()->getContext(); in HandleTranslationUnit() 332 EmbedBitcode(getModule(), CodeGenOpts, llvm::MemoryBufferRef()); in HandleTranslationUnit() 336 getModule(), Action, std::move(AsmOutStream)); in HandleTranslationUnit()
|
H A D | CGOpenMPRuntime.cpp | 647 CGF.CGM.getModule(), Init->getType(), /*isConstant=*/true, in emitInitWithReductionInitializer() 1078 OMPBuilder(CGM.getModule()), OffloadEntriesInfoManager(CGM) { in CGOpenMPRuntime() 1132 Name, &CGM.getModule()); in emitCombinerOrInitializer() 1317 CGM.getModule(), OMPRTL___kmpc_omp_task), in emitTaskOutlinedFunction() 1515 OMPBuilder.getOrCreateRuntimeFunction(CGM.getModule(), in getThreadID() 1697 llvm::Value *Ptr = CGM.getModule().getNamedValue(PtrName); in getAddrOfDeclareTargetVar() 1741 CGM.getModule(), OMPRTL___kmpc_threadprivate_cached), in getAddrOfThreadPrivate() 1753 CGM.getModule(), OMPRTL___kmpc_global_thread_num), in emitThreadPrivateVarInit() 1762 CGM.getModule(), OMPRTL___kmpc_threadprivate_register), in emitThreadPrivateVarInit() 1948 CGM.getModule(), CGM.Int8Ty, /*isConstant=*/true, in emitDeclareTargetVarDefinition() [all …]
|
H A D | CGObjCMac.cpp | 2042 auto *GV = new llvm::GlobalVariable(CGM.getModule(), C->getType(), isConstant, in GenerateConstantNSString() 3141 Entry = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ProtocolTy, in GetOrEmitProtocolRef() 3653 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in GenerateClass() 3716 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitMetaClass() 3743 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitMetaClassRef() 3745 GV = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassTy, false, in EmitMetaClassRef() 3756 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitSuperClassRef() 3759 GV = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassTy, false, in EmitSuperClassRef() 4035 Name, &CGM.getModule()); in GenerateMethod() 4071 "", &CGM.getModule()); in GenerateDirectMethod() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | CallGraphSCCPass.cpp | 127 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 D | MemoryLocation.cpp | 40 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 D | Trace.cpp | 31 Module *Trace::getModule() const { in getModule() function in Trace 41 (*i)->printAsOperand(O, true, getModule()); in print()
|
H A D | LazyValueInfo.cpp | 1019 EVI->getModule()->getDataLayout())) in solveBlockValueExtractValue() 1303 const DataLayout &DL = BBTo->getModule()->getDataLayout(); in getEdgeValueLocal() 1366 const DataLayout &DL = BBTo->getModule()->getDataLayout(); in getEdgeValueLocal() 1571 getImpl(PImpl, AC, BB->getModule()).getValueInBlock(V, BB, CxtI); in getConstant() 1589 getImpl(PImpl, AC, BB->getModule()).getValueInBlock(V, BB, CxtI); in getConstantRange() 1606 Module *M = FromBB->getModule(); in getConstantOnEdge() 1625 Module *M = FromBB->getModule(); in getConstantRangeOnEdge() 1711 Module *M = FromBB->getModule(); in getPredicateOnEdge() 1725 Module *M = CxtI->getModule(); in getPredicateAt() 1844 getImpl(PImpl, AC, PredBB->getModule()) in threadEdge() [all …]
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | MatrixBuilder.h | 35 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 D | BasicBlock.h | 114 const Module *getModule() const; 115 Module *getModule() { in getModule() function 117 static_cast<const BasicBlock *>(this)->getModule()); in getModule()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | AMDGPUEmitPrintf.cpp | 64 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 D | AssumeBundleBuilder.cpp | 253 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 D | InjectTLIMappings.cpp | 45 Module *M = CI.getModule(); in addVariantDeclaration() 89 Module *M = CI.getModule(); in addMappingsFromTLI()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/CFGuard/ |
H A D | CFGuard.cpp | 160 assert(Triple(CB->getModule()->getTargetTriple()).isOSWindows() && in insertCFGuardCheck() 184 assert(Triple(CB->getModule()->getTargetTriple()).isOSWindows() && in insertCFGuardDispatch()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/ |
H A D | ModuleMap.h | 170 Module *getModule() const { return Storage.getPointer(); } in getModule() function 177 return getModule()->isAvailable(); in isAvailable() 183 (M && M->getTopLevelModule() == getModule()->getTopLevelModule()); in isAccessibleFrom()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinterInlineAsm.cpp | 263 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitMSInlineAsmStr() 445 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitGCCInlineAsmStr() 541 MMI->getModule()->getContext().diagnose(DiagnosticInfoInlineAsm( in emitInlineAsm() 543 MMI->getModule()->getContext().diagnose( in emitInlineAsm()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | CallGraph.h | 102 Module &getModule() const { return M; } in getModule() function 355 Module &getModule() const { return G->getModule(); } in getModule() function
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 81 Module &DstM = Mover.getModule(); in getLinkedToGlobal() 155 Module &DstM = Mover.getModule(); in computeResultingSelectionKind() 221 Module &DstM = Mover.getModule(); in getComdatResult() 458 Module &DstM = Mover.getModule(); in run()
|