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()
103 LLVMContext::~LLVMContext() { delete pImpl; } in ~LLVMContext()
105 void LLVMContext::addModule(Module *M) { in addModule()
109 void LLVMContext::removeModule(Module *M) { in removeModule()
117 void LLVMContext::setDiagnosticHandlerCallBack( in setDiagnosticHandlerCallBack()
125 void LLVMContext::setDiagnosticHandler(std::unique_ptr<DiagnosticHandler> &&DH, in setDiagnosticHandler()
131 void LLVMContext::setDiagnosticsHotnessRequested(bool Requested) { in setDiagnosticsHotnessRequested()
134 bool LLVMContext::getDiagnosticsHotnessRequested() const { in getDiagnosticsHotnessRequested()
138 void LLVMContext::setDiagnosticsHotnessThreshold(Optional<uint64_t> Threshold) { in setDiagnosticsHotnessThreshold()
141 void LLVMContext::setMisExpectWarningRequested(bool Requested) { in setMisExpectWarningRequested()
144 bool LLVMContext::getMisExpectWarningRequested() const { in getMisExpectWarningRequested()
147 uint64_t LLVMContext::getDiagnosticsHotnessThreshold() const { in getDiagnosticsHotnessThreshold()
150 void LLVMContext::setDiagnosticsMisExpectTolerance( in setDiagnosticsMisExpectTolerance()
154 uint64_t LLVMContext::getDiagnosticsMisExpectTolerance() const { in getDiagnosticsMisExpectTolerance()
158 bool LLVMContext::isDiagnosticsHotnessThresholdSetFromPSI() const { in isDiagnosticsHotnessThresholdSetFromPSI()
162 remarks::RemarkStreamer *LLVMContext::getMainRemarkStreamer() { in getMainRemarkStreamer()
165 const remarks::RemarkStreamer *LLVMContext::getMainRemarkStreamer() const { in getMainRemarkStreamer()
166 return const_cast<LLVMContext *>(this)->getMainRemarkStreamer(); in getMainRemarkStreamer()
168 void LLVMContext::setMainRemarkStreamer( in setMainRemarkStreamer()
173 LLVMRemarkStreamer *LLVMContext::getLLVMRemarkStreamer() { in getLLVMRemarkStreamer()
176 const LLVMRemarkStreamer *LLVMContext::getLLVMRemarkStreamer() const { in getLLVMRemarkStreamer()
177 return const_cast<LLVMContext *>(this)->getLLVMRemarkStreamer(); in getLLVMRemarkStreamer()
179 void LLVMContext::setLLVMRemarkStreamer( in setLLVMRemarkStreamer()
185 LLVMContext::getDiagnosticHandlerCallBack() const { in getDiagnosticHandlerCallBack()
189 void *LLVMContext::getDiagnosticContext() const { in getDiagnosticContext()
193 void LLVMContext::setYieldCallback(YieldCallbackTy Callback, void *OpaqueHandle) in setYieldCallback()
199 void LLVMContext::yield() { in yield()
204 void LLVMContext::emitError(const Twine &ErrorStr) { in emitError()
208 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) { in emitError()
229 LLVMContext::getDiagnosticMessagePrefix(DiagnosticSeverity Severity) { in getDiagnosticMessagePrefix()
243 void LLVMContext::diagnose(const DiagnosticInfo &DI) { in diagnose()
266 void LLVMContext::emitError(uint64_t LocCookie, const Twine &ErrorStr) { in emitError()
275 unsigned LLVMContext::getMDKindID(StringRef Name) const { in getMDKindID()
285 void LLVMContext::getMDKindNames(SmallVectorImpl<StringRef> &Names) const { in getMDKindNames()
292 void LLVMContext::getOperandBundleTags(SmallVectorImpl<StringRef> &Tags) const { in getOperandBundleTags()
297 LLVMContext::getOrInsertBundleTag(StringRef TagName) const { in getOrInsertBundleTag()
301 uint32_t LLVMContext::getOperandBundleTagID(StringRef Tag) const { in getOperandBundleTagID()
305 SyncScope::ID LLVMContext::getOrInsertSyncScopeID(StringRef SSN) { in getOrInsertSyncScopeID()
309 void LLVMContext::getSyncScopeNames(SmallVectorImpl<StringRef> &SSNs) const { in getSyncScopeNames()
313 void LLVMContext::setGC(const Function &Fn, std::string GCName) { in setGC()
323 const std::string &LLVMContext::getGC(const Function &Fn) { in getGC()
327 void LLVMContext::deleteGC(const Function &Fn) { in deleteGC()
331 bool LLVMContext::shouldDiscardValueNames() const { in shouldDiscardValueNames()
335 bool LLVMContext::isODRUniquingDebugTypes() const { return !!pImpl->DITypeMap; } in isODRUniquingDebugTypes()
337 void LLVMContext::enableDebugTypeODRUniquing() { in enableDebugTypeODRUniquing()
344 void LLVMContext::disableDebugTypeODRUniquing() { pImpl->DITypeMap.reset(); } in disableDebugTypeODRUniquing()
346 void LLVMContext::setDiscardValueNames(bool Discard) { in setDiscardValueNames()
350 OptPassGate &LLVMContext::getOptPassGate() const { in getOptPassGate()
354 void LLVMContext::setOptPassGate(OptPassGate& OPG) { in setOptPassGate()
358 const DiagnosticHandler *LLVMContext::getDiagHandlerPtr() const { in getDiagHandlerPtr()
362 std::unique_ptr<DiagnosticHandler> LLVMContext::getDiagnosticHandler() { in getDiagnosticHandler()
366 bool LLVMContext::hasSetOpaquePointersValue() const { in hasSetOpaquePointersValue()
370 void LLVMContext::setOpaquePointers(bool Enable) const { in setOpaquePointers()
374 bool LLVMContext::supportsTypedPointers() const { in supportsTypedPointers()
378 Any &LLVMContext::getTargetData() const { in getTargetData()