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()
124 unsigned LLVMContext::generateMachineFunctionNum(Function &F) { in generateMachineFunctionNum()
134 void LLVMContext::setDiagnosticHandlerCallBack( in setDiagnosticHandlerCallBack()
142 void LLVMContext::setDiagnosticHandler(std::unique_ptr<DiagnosticHandler> &&DH, in setDiagnosticHandler()
148 void LLVMContext::setDiagnosticsHotnessRequested(bool Requested) { in setDiagnosticsHotnessRequested()
151 bool LLVMContext::getDiagnosticsHotnessRequested() const { in getDiagnosticsHotnessRequested()
155 void LLVMContext::setDiagnosticsHotnessThreshold(std::optional<uint64_t> Threshold) { in setDiagnosticsHotnessThreshold()
158 void LLVMContext::setMisExpectWarningRequested(bool Requested) { in setMisExpectWarningRequested()
161 bool LLVMContext::getMisExpectWarningRequested() const { in getMisExpectWarningRequested()
164 uint64_t LLVMContext::getDiagnosticsHotnessThreshold() const { in getDiagnosticsHotnessThreshold()
167 void LLVMContext::setDiagnosticsMisExpectTolerance( in setDiagnosticsMisExpectTolerance()
171 uint32_t LLVMContext::getDiagnosticsMisExpectTolerance() const { in getDiagnosticsMisExpectTolerance()
175 bool LLVMContext::isDiagnosticsHotnessThresholdSetFromPSI() const { in isDiagnosticsHotnessThresholdSetFromPSI()
179 remarks::RemarkStreamer *LLVMContext::getMainRemarkStreamer() { in getMainRemarkStreamer()
182 const remarks::RemarkStreamer *LLVMContext::getMainRemarkStreamer() const { in getMainRemarkStreamer()
183 return const_cast<LLVMContext *>(this)->getMainRemarkStreamer(); in getMainRemarkStreamer()
185 void LLVMContext::setMainRemarkStreamer( in setMainRemarkStreamer()
190 LLVMRemarkStreamer *LLVMContext::getLLVMRemarkStreamer() { in getLLVMRemarkStreamer()
193 const LLVMRemarkStreamer *LLVMContext::getLLVMRemarkStreamer() const { in getLLVMRemarkStreamer()
194 return const_cast<LLVMContext *>(this)->getLLVMRemarkStreamer(); in getLLVMRemarkStreamer()
196 void LLVMContext::setLLVMRemarkStreamer( in setLLVMRemarkStreamer()
202 LLVMContext::getDiagnosticHandlerCallBack() const { in getDiagnosticHandlerCallBack()
206 void *LLVMContext::getDiagnosticContext() const { in getDiagnosticContext()
210 void LLVMContext::setYieldCallback(YieldCallbackTy Callback, void *OpaqueHandle) in setYieldCallback()
216 void LLVMContext::yield() { in yield()
221 void LLVMContext::emitError(const Twine &ErrorStr) { in emitError()
225 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) { in emitError()
246 LLVMContext::getDiagnosticMessagePrefix(DiagnosticSeverity Severity) { in getDiagnosticMessagePrefix()
260 void LLVMContext::diagnose(const DiagnosticInfo &DI) { in diagnose()
286 void LLVMContext::emitError(uint64_t LocCookie, const Twine &ErrorStr) { in emitError()
295 unsigned LLVMContext::getMDKindID(StringRef Name) const { in getMDKindID()
305 void LLVMContext::getMDKindNames(SmallVectorImpl<StringRef> &Names) const { in getMDKindNames()
312 void LLVMContext::getOperandBundleTags(SmallVectorImpl<StringRef> &Tags) const { in getOperandBundleTags()
317 LLVMContext::getOrInsertBundleTag(StringRef TagName) const { in getOrInsertBundleTag()
321 uint32_t LLVMContext::getOperandBundleTagID(StringRef Tag) const { in getOperandBundleTagID()
325 SyncScope::ID LLVMContext::getOrInsertSyncScopeID(StringRef SSN) { in getOrInsertSyncScopeID()
329 void LLVMContext::getSyncScopeNames(SmallVectorImpl<StringRef> &SSNs) const { in getSyncScopeNames()
333 void LLVMContext::setGC(const Function &Fn, std::string GCName) { in setGC()
343 const std::string &LLVMContext::getGC(const Function &Fn) { in getGC()
347 void LLVMContext::deleteGC(const Function &Fn) { in deleteGC()
351 bool LLVMContext::shouldDiscardValueNames() const { in shouldDiscardValueNames()
355 bool LLVMContext::isODRUniquingDebugTypes() const { return !!pImpl->DITypeMap; } in isODRUniquingDebugTypes()
357 void LLVMContext::enableDebugTypeODRUniquing() { in enableDebugTypeODRUniquing()
364 void LLVMContext::disableDebugTypeODRUniquing() { pImpl->DITypeMap.reset(); } in disableDebugTypeODRUniquing()
366 void LLVMContext::setDiscardValueNames(bool Discard) { in setDiscardValueNames()
370 OptPassGate &LLVMContext::getOptPassGate() const { in getOptPassGate()
374 void LLVMContext::setOptPassGate(OptPassGate& OPG) { in setOptPassGate()
378 const DiagnosticHandler *LLVMContext::getDiagHandlerPtr() const { in getDiagHandlerPtr()
382 std::unique_ptr<DiagnosticHandler> LLVMContext::getDiagnosticHandler() { in getDiagnosticHandler()
386 void LLVMContext::setOpaquePointers(bool Enable) const { in setOpaquePointers()
390 bool LLVMContext::supportsTypedPointers() const { in supportsTypedPointers()
394 StringRef LLVMContext::getDefaultTargetCPU() { in getDefaultTargetCPU()
398 void LLVMContext::setDefaultTargetCPU(StringRef CPU) { in setDefaultTargetCPU()
402 StringRef LLVMContext::getDefaultTargetFeatures() { in getDefaultTargetFeatures()
406 void LLVMContext::setDefaultTargetFeatures(StringRef Features) { in setDefaultTargetFeatures()