Lines Matching refs:pImpl
35 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { in LLVMContext()
141 auto *DeoptEntry = pImpl->getOrInsertBundleTag("deopt"); in LLVMContext()
146 auto *FuncletEntry = pImpl->getOrInsertBundleTag("funclet"); in LLVMContext()
151 auto *GCTransitionEntry = pImpl->getOrInsertBundleTag("gc-transition"); in LLVMContext()
157 LLVMContext::~LLVMContext() { delete pImpl; } in ~LLVMContext()
160 pImpl->OwnedModules.insert(M); in addModule()
164 pImpl->OwnedModules.erase(M); in removeModule()
174 pImpl->InlineAsmDiagHandler = DiagHandler; in setInlineAsmDiagnosticHandler()
175 pImpl->InlineAsmDiagContext = DiagContext; in setInlineAsmDiagnosticHandler()
182 return pImpl->InlineAsmDiagHandler; in getInlineAsmDiagnosticHandler()
188 return pImpl->InlineAsmDiagContext; in getInlineAsmDiagnosticContext()
194 pImpl->DiagnosticHandler = DiagnosticHandler; in setDiagnosticHandler()
195 pImpl->DiagnosticContext = DiagnosticContext; in setDiagnosticHandler()
196 pImpl->RespectDiagnosticFilters = RespectFilters; in setDiagnosticHandler()
200 return pImpl->DiagnosticHandler; in getDiagnosticHandler()
204 return pImpl->DiagnosticContext; in getDiagnosticContext()
209 pImpl->YieldCallback = Callback; in setYieldCallback()
210 pImpl->YieldOpaqueHandle = OpaqueHandle; in setYieldCallback()
214 if (pImpl->YieldCallback) in yield()
215 pImpl->YieldCallback(this, pImpl->YieldOpaqueHandle); in yield()
255 if (pImpl->DiagnosticHandler) { in diagnose()
256 if (!pImpl->RespectDiagnosticFilters || isDiagnosticEnabled(DI)) in diagnose()
257 pImpl->DiagnosticHandler(DI, pImpl->DiagnosticContext); in diagnose()
284 return pImpl->CustomMDKindNames.insert( in getMDKindID()
286 Name, pImpl->CustomMDKindNames.size())) in getMDKindID()
293 Names.resize(pImpl->CustomMDKindNames.size()); in getMDKindNames()
294 for (StringMap<unsigned>::const_iterator I = pImpl->CustomMDKindNames.begin(), in getMDKindNames()
295 E = pImpl->CustomMDKindNames.end(); I != E; ++I) in getMDKindNames()
300 pImpl->getOperandBundleTags(Tags); in getOperandBundleTags()
304 return pImpl->getOperandBundleTagID(Tag); in getOperandBundleTagID()
308 auto It = pImpl->GCNames.find(&Fn); in setGC()
310 if (It == pImpl->GCNames.end()) { in setGC()
311 pImpl->GCNames.insert(std::make_pair(&Fn, std::move(GCName))); in setGC()
318 return pImpl->GCNames[&Fn]; in getGC()
322 pImpl->GCNames.erase(&Fn); in deleteGC()
326 return pImpl->DiscardValueNames; in shouldDiscardValueNames()
329 bool LLVMContext::isODRUniquingDebugTypes() const { return !!pImpl->DITypeMap; } in isODRUniquingDebugTypes()
332 if (pImpl->DITypeMap) in enableDebugTypeODRUniquing()
335 pImpl->DITypeMap.emplace(); in enableDebugTypeODRUniquing()
338 void LLVMContext::disableDebugTypeODRUniquing() { pImpl->DITypeMap.reset(); } in disableDebugTypeODRUniquing()
341 pImpl->DiscardValueNames = Discard; in setDiscardValueNames()
345 return pImpl->getOptBisect(); in getOptBisect()