Lines Matching refs:LLVMContext
36 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { in LLVMContext() function in LLVMContext
52 assert(DeoptEntry->second == LLVMContext::OB_deopt && in LLVMContext()
57 assert(FuncletEntry->second == LLVMContext::OB_funclet && in LLVMContext()
62 assert(GCTransitionEntry->second == LLVMContext::OB_gc_transition && in LLVMContext()
67 assert(CFGuardTargetEntry->second == LLVMContext::OB_cfguardtarget && in LLVMContext()
72 assert(PreallocatedEntry->second == LLVMContext::OB_preallocated && in LLVMContext()
77 assert(GCLiveEntry->second == LLVMContext::OB_gc_live && in LLVMContext()
83 assert(ClangAttachedCall->second == LLVMContext::OB_clang_arc_attachedcall && in LLVMContext()
100 LLVMContext::~LLVMContext() { delete pImpl; } in ~LLVMContext()
102 void LLVMContext::addModule(Module *M) { in addModule()
106 void LLVMContext::removeModule(Module *M) { in removeModule()
114 void LLVMContext::setDiagnosticHandlerCallBack( in setDiagnosticHandlerCallBack()
122 void LLVMContext::setDiagnosticHandler(std::unique_ptr<DiagnosticHandler> &&DH, in setDiagnosticHandler()
128 void LLVMContext::setDiagnosticsHotnessRequested(bool Requested) { in setDiagnosticsHotnessRequested()
131 bool LLVMContext::getDiagnosticsHotnessRequested() const { in getDiagnosticsHotnessRequested()
135 void LLVMContext::setDiagnosticsHotnessThreshold(Optional<uint64_t> Threshold) { in setDiagnosticsHotnessThreshold()
139 uint64_t LLVMContext::getDiagnosticsHotnessThreshold() const { in getDiagnosticsHotnessThreshold()
143 bool LLVMContext::isDiagnosticsHotnessThresholdSetFromPSI() const { in isDiagnosticsHotnessThresholdSetFromPSI()
147 remarks::RemarkStreamer *LLVMContext::getMainRemarkStreamer() { in getMainRemarkStreamer()
150 const remarks::RemarkStreamer *LLVMContext::getMainRemarkStreamer() const { in getMainRemarkStreamer()
151 return const_cast<LLVMContext *>(this)->getMainRemarkStreamer(); in getMainRemarkStreamer()
153 void LLVMContext::setMainRemarkStreamer( in setMainRemarkStreamer()
158 LLVMRemarkStreamer *LLVMContext::getLLVMRemarkStreamer() { in getLLVMRemarkStreamer()
161 const LLVMRemarkStreamer *LLVMContext::getLLVMRemarkStreamer() const { in getLLVMRemarkStreamer()
162 return const_cast<LLVMContext *>(this)->getLLVMRemarkStreamer(); in getLLVMRemarkStreamer()
164 void LLVMContext::setLLVMRemarkStreamer( in setLLVMRemarkStreamer()
170 LLVMContext::getDiagnosticHandlerCallBack() const { in getDiagnosticHandlerCallBack()
174 void *LLVMContext::getDiagnosticContext() const { in getDiagnosticContext()
178 void LLVMContext::setYieldCallback(YieldCallbackTy Callback, void *OpaqueHandle) in setYieldCallback()
184 void LLVMContext::yield() { in yield()
189 void LLVMContext::emitError(const Twine &ErrorStr) { in emitError()
193 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) { in emitError()
214 LLVMContext::getDiagnosticMessagePrefix(DiagnosticSeverity Severity) { in getDiagnosticMessagePrefix()
228 void LLVMContext::diagnose(const DiagnosticInfo &DI) { in diagnose()
251 void LLVMContext::emitError(uint64_t LocCookie, const Twine &ErrorStr) { in emitError()
260 unsigned LLVMContext::getMDKindID(StringRef Name) const { in getMDKindID()
270 void LLVMContext::getMDKindNames(SmallVectorImpl<StringRef> &Names) const { in getMDKindNames()
277 void LLVMContext::getOperandBundleTags(SmallVectorImpl<StringRef> &Tags) const { in getOperandBundleTags()
282 LLVMContext::getOrInsertBundleTag(StringRef TagName) const { in getOrInsertBundleTag()
286 uint32_t LLVMContext::getOperandBundleTagID(StringRef Tag) const { in getOperandBundleTagID()
290 SyncScope::ID LLVMContext::getOrInsertSyncScopeID(StringRef SSN) { in getOrInsertSyncScopeID()
294 void LLVMContext::getSyncScopeNames(SmallVectorImpl<StringRef> &SSNs) const { in getSyncScopeNames()
298 void LLVMContext::setGC(const Function &Fn, std::string GCName) { in setGC()
308 const std::string &LLVMContext::getGC(const Function &Fn) { in getGC()
312 void LLVMContext::deleteGC(const Function &Fn) { in deleteGC()
316 bool LLVMContext::shouldDiscardValueNames() const { in shouldDiscardValueNames()
320 bool LLVMContext::isODRUniquingDebugTypes() const { return !!pImpl->DITypeMap; } in isODRUniquingDebugTypes()
322 void LLVMContext::enableDebugTypeODRUniquing() { in enableDebugTypeODRUniquing()
329 void LLVMContext::disableDebugTypeODRUniquing() { pImpl->DITypeMap.reset(); } in disableDebugTypeODRUniquing()
331 void LLVMContext::setDiscardValueNames(bool Discard) { in setDiscardValueNames()
335 OptPassGate &LLVMContext::getOptPassGate() const { in getOptPassGate()
339 void LLVMContext::setOptPassGate(OptPassGate& OPG) { in setOptPassGate()
343 const DiagnosticHandler *LLVMContext::getDiagHandlerPtr() const { in getDiagHandlerPtr()
347 std::unique_ptr<DiagnosticHandler> LLVMContext::getDiagnosticHandler() { in getDiagnosticHandler()
351 bool LLVMContext::supportsTypedPointers() const { in supportsTypedPointers()