Lines Matching refs:LLVMContext
34 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { in LLVMContext() function in LLVMContext
50 assert(DeoptEntry->second == LLVMContext::OB_deopt && in LLVMContext()
55 assert(FuncletEntry->second == LLVMContext::OB_funclet && in LLVMContext()
60 assert(GCTransitionEntry->second == LLVMContext::OB_gc_transition && in LLVMContext()
65 assert(CFGuardTargetEntry->second == LLVMContext::OB_cfguardtarget && in LLVMContext()
70 assert(PreallocatedEntry->second == LLVMContext::OB_preallocated && in LLVMContext()
75 assert(GCLiveEntry->second == LLVMContext::OB_gc_live && in LLVMContext()
81 assert(ClangAttachedCall->second == LLVMContext::OB_clang_arc_attachedcall && in LLVMContext()
86 assert(PtrauthEntry->second == LLVMContext::OB_ptrauth && in LLVMContext()
91 assert(KCFIEntry->second == LLVMContext::OB_kcfi && in LLVMContext()
96 assert(ConvergenceCtrlEntry->second == LLVMContext::OB_convergencectrl && in LLVMContext()
113 LLVMContext::~LLVMContext() { delete pImpl; } in ~LLVMContext()
115 void LLVMContext::addModule(Module *M) { in addModule()
119 void LLVMContext::removeModule(Module *M) { in removeModule()
127 void LLVMContext::setDiagnosticHandlerCallBack( in setDiagnosticHandlerCallBack()
135 void LLVMContext::setDiagnosticHandler(std::unique_ptr<DiagnosticHandler> &&DH, in setDiagnosticHandler()
141 void LLVMContext::setDiagnosticsHotnessRequested(bool Requested) { in setDiagnosticsHotnessRequested()
144 bool LLVMContext::getDiagnosticsHotnessRequested() const { in getDiagnosticsHotnessRequested()
148 void LLVMContext::setDiagnosticsHotnessThreshold(std::optional<uint64_t> Threshold) { in setDiagnosticsHotnessThreshold()
151 void LLVMContext::setMisExpectWarningRequested(bool Requested) { in setMisExpectWarningRequested()
154 bool LLVMContext::getMisExpectWarningRequested() const { in getMisExpectWarningRequested()
157 uint64_t LLVMContext::getDiagnosticsHotnessThreshold() const { in getDiagnosticsHotnessThreshold()
160 void LLVMContext::setDiagnosticsMisExpectTolerance( in setDiagnosticsMisExpectTolerance()
164 uint32_t LLVMContext::getDiagnosticsMisExpectTolerance() const { in getDiagnosticsMisExpectTolerance()
168 bool LLVMContext::isDiagnosticsHotnessThresholdSetFromPSI() const { in isDiagnosticsHotnessThresholdSetFromPSI()
172 remarks::RemarkStreamer *LLVMContext::getMainRemarkStreamer() { in getMainRemarkStreamer()
175 const remarks::RemarkStreamer *LLVMContext::getMainRemarkStreamer() const { in getMainRemarkStreamer()
176 return const_cast<LLVMContext *>(this)->getMainRemarkStreamer(); in getMainRemarkStreamer()
178 void LLVMContext::setMainRemarkStreamer( in setMainRemarkStreamer()
183 LLVMRemarkStreamer *LLVMContext::getLLVMRemarkStreamer() { in getLLVMRemarkStreamer()
186 const LLVMRemarkStreamer *LLVMContext::getLLVMRemarkStreamer() const { in getLLVMRemarkStreamer()
187 return const_cast<LLVMContext *>(this)->getLLVMRemarkStreamer(); in getLLVMRemarkStreamer()
189 void LLVMContext::setLLVMRemarkStreamer( in setLLVMRemarkStreamer()
195 LLVMContext::getDiagnosticHandlerCallBack() const { in getDiagnosticHandlerCallBack()
199 void *LLVMContext::getDiagnosticContext() const { in getDiagnosticContext()
203 void LLVMContext::setYieldCallback(YieldCallbackTy Callback, void *OpaqueHandle) in setYieldCallback()
209 void LLVMContext::yield() { in yield()
214 void LLVMContext::emitError(const Twine &ErrorStr) { in emitError()
218 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) { in emitError()
239 LLVMContext::getDiagnosticMessagePrefix(DiagnosticSeverity Severity) { in getDiagnosticMessagePrefix()
253 void LLVMContext::diagnose(const DiagnosticInfo &DI) { in diagnose()
279 void LLVMContext::emitError(uint64_t LocCookie, const Twine &ErrorStr) { in emitError()
288 unsigned LLVMContext::getMDKindID(StringRef Name) const { in getMDKindID()
298 void LLVMContext::getMDKindNames(SmallVectorImpl<StringRef> &Names) const { in getMDKindNames()
305 void LLVMContext::getOperandBundleTags(SmallVectorImpl<StringRef> &Tags) const { in getOperandBundleTags()
310 LLVMContext::getOrInsertBundleTag(StringRef TagName) const { in getOrInsertBundleTag()
314 uint32_t LLVMContext::getOperandBundleTagID(StringRef Tag) const { in getOperandBundleTagID()
318 SyncScope::ID LLVMContext::getOrInsertSyncScopeID(StringRef SSN) { in getOrInsertSyncScopeID()
322 void LLVMContext::getSyncScopeNames(SmallVectorImpl<StringRef> &SSNs) const { in getSyncScopeNames()
326 void LLVMContext::setGC(const Function &Fn, std::string GCName) { in setGC()
336 const std::string &LLVMContext::getGC(const Function &Fn) { in getGC()
340 void LLVMContext::deleteGC(const Function &Fn) { in deleteGC()
344 bool LLVMContext::shouldDiscardValueNames() const { in shouldDiscardValueNames()
348 bool LLVMContext::isODRUniquingDebugTypes() const { return !!pImpl->DITypeMap; } in isODRUniquingDebugTypes()
350 void LLVMContext::enableDebugTypeODRUniquing() { in enableDebugTypeODRUniquing()
357 void LLVMContext::disableDebugTypeODRUniquing() { pImpl->DITypeMap.reset(); } in disableDebugTypeODRUniquing()
359 void LLVMContext::setDiscardValueNames(bool Discard) { in setDiscardValueNames()
363 OptPassGate &LLVMContext::getOptPassGate() const { in getOptPassGate()
367 void LLVMContext::setOptPassGate(OptPassGate& OPG) { in setOptPassGate()
371 const DiagnosticHandler *LLVMContext::getDiagHandlerPtr() const { in getDiagHandlerPtr()
375 std::unique_ptr<DiagnosticHandler> LLVMContext::getDiagnosticHandler() { in getDiagnosticHandler()
379 void LLVMContext::setOpaquePointers(bool Enable) const { in setOpaquePointers()
383 bool LLVMContext::supportsTypedPointers() const { in supportsTypedPointers()