• Home
  • Raw
  • Download

Lines Matching refs:pImpl

36 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) {  in LLVMContext()
51 auto *DeoptEntry = pImpl->getOrInsertBundleTag("deopt"); in LLVMContext()
56 auto *FuncletEntry = pImpl->getOrInsertBundleTag("funclet"); in LLVMContext()
61 auto *GCTransitionEntry = pImpl->getOrInsertBundleTag("gc-transition"); in LLVMContext()
66 auto *CFGuardTargetEntry = pImpl->getOrInsertBundleTag("cfguardtarget"); in LLVMContext()
71 auto *PreallocatedEntry = pImpl->getOrInsertBundleTag("preallocated"); in LLVMContext()
76 auto *GCLiveEntry = pImpl->getOrInsertBundleTag("gc-live"); in LLVMContext()
82 pImpl->getOrInsertSyncScopeID("singlethread"); in LLVMContext()
88 pImpl->getOrInsertSyncScopeID(""); in LLVMContext()
94 LLVMContext::~LLVMContext() { delete pImpl; } in ~LLVMContext()
97 pImpl->OwnedModules.insert(M); in addModule()
101 pImpl->OwnedModules.erase(M); in removeModule()
111 pImpl->InlineAsmDiagHandler = DiagHandler; in setInlineAsmDiagnosticHandler()
112 pImpl->InlineAsmDiagContext = DiagContext; in setInlineAsmDiagnosticHandler()
119 return pImpl->InlineAsmDiagHandler; in getInlineAsmDiagnosticHandler()
125 return pImpl->InlineAsmDiagContext; in getInlineAsmDiagnosticContext()
131 pImpl->DiagHandler->DiagHandlerCallback = DiagnosticHandler; in setDiagnosticHandlerCallBack()
132 pImpl->DiagHandler->DiagnosticContext = DiagnosticContext; in setDiagnosticHandlerCallBack()
133 pImpl->RespectDiagnosticFilters = RespectFilters; in setDiagnosticHandlerCallBack()
138 pImpl->DiagHandler = std::move(DH); in setDiagnosticHandler()
139 pImpl->RespectDiagnosticFilters = RespectFilters; in setDiagnosticHandler()
143 pImpl->DiagnosticsHotnessRequested = Requested; in setDiagnosticsHotnessRequested()
146 return pImpl->DiagnosticsHotnessRequested; in getDiagnosticsHotnessRequested()
150 pImpl->DiagnosticsHotnessThreshold = Threshold; in setDiagnosticsHotnessThreshold()
154 return pImpl->DiagnosticsHotnessThreshold.getValueOr(UINT64_MAX); in getDiagnosticsHotnessThreshold()
158 return !pImpl->DiagnosticsHotnessThreshold.hasValue(); in isDiagnosticsHotnessThresholdSetFromPSI()
162 return pImpl->MainRemarkStreamer.get(); in getMainRemarkStreamer()
169 pImpl->MainRemarkStreamer = std::move(RemarkStreamer); in setMainRemarkStreamer()
173 return pImpl->LLVMRS.get(); in getLLVMRemarkStreamer()
180 pImpl->LLVMRS = std::move(RemarkStreamer); in setLLVMRemarkStreamer()
185 return pImpl->DiagHandler->DiagHandlerCallback; in getDiagnosticHandlerCallBack()
189 return pImpl->DiagHandler->DiagnosticContext; in getDiagnosticContext()
194 pImpl->YieldCallback = Callback; in setYieldCallback()
195 pImpl->YieldOpaqueHandle = OpaqueHandle; in setYieldCallback()
199 if (pImpl->YieldCallback) in yield()
200 pImpl->YieldCallback(this, pImpl->YieldOpaqueHandle); in yield()
248 if (pImpl->DiagHandler && in diagnose()
249 (!pImpl->RespectDiagnosticFilters || isDiagnosticEnabled(DI)) && in diagnose()
250 pImpl->DiagHandler->handleDiagnostics(DI)) in diagnose()
276 return pImpl->CustomMDKindNames.insert( in getMDKindID()
278 Name, pImpl->CustomMDKindNames.size())) in getMDKindID()
285 Names.resize(pImpl->CustomMDKindNames.size()); in getMDKindNames()
286 for (StringMap<unsigned>::const_iterator I = pImpl->CustomMDKindNames.begin(), in getMDKindNames()
287 E = pImpl->CustomMDKindNames.end(); I != E; ++I) in getMDKindNames()
292 pImpl->getOperandBundleTags(Tags); in getOperandBundleTags()
297 return pImpl->getOrInsertBundleTag(TagName); in getOrInsertBundleTag()
301 return pImpl->getOperandBundleTagID(Tag); in getOperandBundleTagID()
305 return pImpl->getOrInsertSyncScopeID(SSN); in getOrInsertSyncScopeID()
309 pImpl->getSyncScopeNames(SSNs); in getSyncScopeNames()
313 auto It = pImpl->GCNames.find(&Fn); in setGC()
315 if (It == pImpl->GCNames.end()) { in setGC()
316 pImpl->GCNames.insert(std::make_pair(&Fn, std::move(GCName))); in setGC()
323 return pImpl->GCNames[&Fn]; in getGC()
327 pImpl->GCNames.erase(&Fn); in deleteGC()
331 return pImpl->DiscardValueNames; in shouldDiscardValueNames()
334 bool LLVMContext::isODRUniquingDebugTypes() const { return !!pImpl->DITypeMap; } in isODRUniquingDebugTypes()
337 if (pImpl->DITypeMap) in enableDebugTypeODRUniquing()
340 pImpl->DITypeMap.emplace(); in enableDebugTypeODRUniquing()
343 void LLVMContext::disableDebugTypeODRUniquing() { pImpl->DITypeMap.reset(); } in disableDebugTypeODRUniquing()
346 pImpl->DiscardValueNames = Discard; in setDiscardValueNames()
350 return pImpl->getOptPassGate(); in getOptPassGate()
354 pImpl->setOptPassGate(OPG); in setOptPassGate()
358 return pImpl->DiagHandler.get(); in getDiagHandlerPtr()
362 return std::move(pImpl->DiagHandler); in getDiagnosticHandler()