Home
last modified time | relevance | path

Searched refs:SM (Results 1 – 25 of 441) sorted by relevance

12345678910>>...18

/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp54 const SourceManager &SM, in validateRange() argument
65 if (SM.isInSystemHeader(Range.getBegin()) || in validateRange()
66 SM.isInSystemHeader(Range.getEnd())) in validateRange()
71 std::pair<FileID, unsigned> BeginInfo = SM.getDecomposedLoc(Range.getBegin()); in validateRange()
72 std::pair<FileID, unsigned> EndInfo = SM.getDecomposedLoc(Range.getEnd()); in validateRange()
85 const SourceManager &SM) { in validateEditRange() argument
86 return validateRange(Range, SM, /*AllowSystemHeaders=*/false); in validateEditRange()
90 const SourceManager &SM) { in spelledInMacroDefinition() argument
92 const auto &Expansion = SM.getSLocEntry(SM.getFileID(Loc)).getExpansion(); in spelledInMacroDefinition()
108 getExpansionForSplitToken(SourceLocation Loc, const SourceManager &SM, in getExpansionForSplitToken() argument
[all …]
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_aic.c453 ahp->ah_aic_sram[i] = (SM(aic_sram[i].sram.vga_dir_sign, in ar9300_aic_cal_post_process()
455 SM(aic_sram[i].sram.vga_quad_sign, in ar9300_aic_cal_post_process()
457 SM(aic_sram[i].sram.com_att_6db, in ar9300_aic_cal_post_process()
459 SM(aic_sram[i].sram.valid, in ar9300_aic_cal_post_process()
461 SM(aic_sram[i].sram.rot_dir_att_db, in ar9300_aic_cal_post_process()
463 SM(aic_sram[i].sram.rot_quad_att_db, in ar9300_aic_cal_post_process()
525 (SM(0, AR_PHY_AIC_MON_ENABLE) | in ar9300_aic_calibration()
526 SM(40, AR_PHY_AIC_CAL_MAX_HOP_COUNT) | in ar9300_aic_calibration()
527 SM(1, AR_PHY_AIC_CAL_MIN_VALID_COUNT) | //26 in ar9300_aic_calibration()
528 SM(37, AR_PHY_AIC_F_WLAN) | in ar9300_aic_calibration()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp59 const SourceManager &SM, const LangOptions &LangOpts, in mergeFixits() argument
61 edit::Commit commit(SM, LangOpts); in mergeFixits()
79 edit::EditedSource Editor(SM, LangOpts); in mergeFixits()
248 void DiagnosticRenderer::emitModuleBuildStack(const SourceManager &SM) { in emitModuleBuildStack() argument
249 ModuleBuildStack Stack = SM.getModuleBuildStack(); in emitModuleBuildStack()
263 bool IsBegin, const SourceManager *SM, in retrieveMacroLocation() argument
265 assert(SM->getFileID(Loc) == MacroFileID); in retrieveMacroLocation()
273 if (SM->isMacroArgExpansion(Loc)) { in retrieveMacroLocation()
279 CharSourceRange(SM->getImmediateSpellingLoc(Loc), IsTokenRange); in retrieveMacroLocation()
280 MacroArgRange = SM->getImmediateExpansionRange(Loc); in retrieveMacroLocation()
[all …]
H A DTextDiagnostic.cpp742 void TextDiagnostic::emitFilename(StringRef Filename, const SourceManager &SM) { in emitFilename() argument
747 auto File = SM.getFileManager().getOptionalFileRef(Filename); in emitFilename()
770 Filename = SM.getFileManager().getCanonicalName(*File); in emitFilename()
847 const SourceManager &SM = Loc.getManager(); in emitDiagnosticLoc() local
854 SourceLocation B = SM.getExpansionLoc(R.getBegin()); in emitDiagnosticLoc()
855 CharSourceRange ERange = SM.getExpansionRange(R.getEnd()); in emitDiagnosticLoc()
860 if (SM.getFileID(B) != CaretFileID || SM.getFileID(E) != CaretFileID) in emitDiagnosticLoc()
867 TokSize = Lexer::MeasureTokenLength(E, SM, LangOpts); in emitDiagnosticLoc()
869 FullSourceLoc BF(B, SM), EF(E, SM); in emitDiagnosticLoc()
914 const SourceManager &SM) { in findLinesForRange() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DMacroExpansionContext.cpp22 SourceManager &SM; member in clang::detail::MacroExpansionRangeRecorder
27 const Preprocessor &PP, SourceManager &SM, in MacroExpansionRangeRecorder() argument
29 : PP(PP), SM(SM), ExpansionRanges(ExpansionRanges) {} in MacroExpansionRangeRecorder()
37 SourceLocation MacroNameBegin = SM.getExpansionLoc(MacroName.getLocation()); in MacroExpands()
38 assert(MacroNameBegin == SM.getExpansionLoc(Range.getBegin())); in MacroExpands()
40 const SourceLocation ExpansionEnd = [Range, &SM = SM, &MacroName] { in MacroExpands()
43 return SM.getExpansionLoc( in MacroExpands()
47 return SM.getExpansionLoc(Range.getEnd()).getLocWithOffset(1); in MacroExpands()
55 MacroNameBegin.print(llvm::dbgs(), SM); in MacroExpands()
57 ExpansionEnd.print(llvm::dbgs(), SM); llvm::dbgs() << '\n';); in MacroExpands()
[all …]
H A DCFGStmtMap.cpp28 SMap *SM = AsMap(M); in getBlock() local
34 SMap::iterator I = SM->find(X); in getBlock()
35 if (I != SM->end()) { in getBlock()
39 (*SM)[X] = B; in getBlock()
49 static void Accumulate(SMap &SM, CFGBlock *B) { in Accumulate() argument
57 CFGBlock *&Entry = SM[CS->getStmt()]; in Accumulate()
69 SM[Label] = B; in Accumulate()
75 SM[Term] = B; in Accumulate()
82 SMap *SM = new SMap(); in Build() local
87 Accumulate(*SM, *I); in Build()
[all …]
/freebsd/sys/dev/rtwn/rtl8812a/
H A Dr12a_chan.c69 SM(R12A_TXAGC_MCS0, power[RTWN_RIDX_HT_MCS(0)]) | in r12a_write_txpower_ht()
70 SM(R12A_TXAGC_MCS1, power[RTWN_RIDX_HT_MCS(1)]) | in r12a_write_txpower_ht()
71 SM(R12A_TXAGC_MCS2, power[RTWN_RIDX_HT_MCS(2)]) | in r12a_write_txpower_ht()
72 SM(R12A_TXAGC_MCS3, power[RTWN_RIDX_HT_MCS(3)])); in r12a_write_txpower_ht()
74 SM(R12A_TXAGC_MCS4, power[RTWN_RIDX_HT_MCS(4)]) | in r12a_write_txpower_ht()
75 SM(R12A_TXAGC_MCS5, power[RTWN_RIDX_HT_MCS(5)]) | in r12a_write_txpower_ht()
76 SM(R12A_TXAGC_MCS6, power[RTWN_RIDX_HT_MCS(6)]) | in r12a_write_txpower_ht()
77 SM(R12A_TXAGC_MCS7, power[RTWN_RIDX_HT_MCS(7)])); in r12a_write_txpower_ht()
80 SM(R12A_TXAGC_MCS8, power[RTWN_RIDX_HT_MCS(8)]) | in r12a_write_txpower_ht()
81 SM(R12A_TXAGC_MCS9, power[RTWN_RIDX_HT_MCS(9)]) | in r12a_write_txpower_ht()
[all …]
H A Dr12a_beacon.c71 txd->txdw1 = htole32(SM(R12A_TXDW1_QSEL, R12A_TXDW1_QSEL_BEACON)); in r12a_beacon_init()
72 txd->txdw1 |= htole32(SM(R12A_TXDW1_MACID, RTWN_MACID_BC)); in r12a_beacon_init()
75 txd->txdw3 |= htole32(SM(R12A_TXDW3_SEQ_SEL, id)); in r12a_beacon_init()
77 txd->txdw4 = htole32(SM(R12A_TXDW4_DATARATE, RTWN_RIDX_CCK1)); in r12a_beacon_init()
79 txd->txdw6 = htole32(SM(R21A_TXDW6_MBSSID, id)); in r12a_beacon_init()
89 txd->txdw4 = htole32(SM(R12A_TXDW4_DATARATE, in r12a_beacon_set_rate()
92 txd->txdw4 = htole32(SM(R12A_TXDW4_DATARATE, RTWN_RIDX_CCK1)); in r12a_beacon_set_rate()
/freebsd/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_xmit.c79 SM(10, AR_QUIET2_QUIET_DUR)); in ar5416StopTxDma()
125 (SM((_series)[_index].Tries, AR_XmitDataTries##_index))
128 (SM((_series)[_index].Rate, AR_XmitRate##_index))
131 (SM((_series)[_index].PktDuration, AR_PacketDur##_index) |\
139 |SM((_series)[_index].ChSel, AR_ChainSel##_index)
373 ads->ds_ctl2 = SM(txTries0, AR_XmitDataTries0) in ar5416SetupTxDesc()
381 ads->ds_ctl7 = SM(ahp->ah_tx_chainmask, AR_ChainSel0) in ar5416SetupTxDesc()
382 | SM(ahp->ah_tx_chainmask, AR_ChainSel1) in ar5416SetupTxDesc()
383 | SM(ahp->ah_tx_chainmask, AR_ChainSel2) in ar5416SetupTxDesc()
384 | SM(ahp->ah_tx_chainmask, AR_ChainSel3) in ar5416SetupTxDesc()
[all …]
/freebsd/sys/dev/ath/ath_hal/ar9002/
H A Dar9285_diversity.c91 regVal |= SM(ant_div_control1, AR_PHY_9285_ANT_DIV_CTL); in ar9285SetAntennaSwitch()
96 regVal |= SM(ant_div_control2, AR_PHY_9285_ANT_DIV_ALT_LNACONF); in ar9285SetAntennaSwitch()
97 regVal |= SM((ant_div_control2 >> 2), AR_PHY_9285_ANT_DIV_MAIN_LNACONF); in ar9285SetAntennaSwitch()
98 regVal |= SM((ant_div_control1 >> 1), AR_PHY_9285_ANT_DIV_ALT_GAINTB); in ar9285SetAntennaSwitch()
99 regVal |= SM((ant_div_control1 >> 2), AR_PHY_9285_ANT_DIV_MAIN_GAINTB); in ar9285SetAntennaSwitch()
105 regVal |= SM(HAL_ANT_DIV_COMB_LNA2, AR_PHY_9285_ANT_DIV_ALT_LNACONF); in ar9285SetAntennaSwitch()
106 regVal |= SM(HAL_ANT_DIV_COMB_LNA1, AR_PHY_9285_ANT_DIV_MAIN_LNACONF); in ar9285SetAntennaSwitch()
107 regVal |= SM(AR_PHY_9285_ANT_DIV_GAINTB_0, AR_PHY_9285_ANT_DIV_ALT_GAINTB); in ar9285SetAntennaSwitch()
108 regVal |= SM(AR_PHY_9285_ANT_DIV_GAINTB_1, AR_PHY_9285_ANT_DIV_MAIN_GAINTB); in ar9285SetAntennaSwitch()
114 regVal |= SM(HAL_ANT_DIV_COMB_LNA1, AR_PHY_9285_ANT_DIV_ALT_LNACONF); in ar9285SetAntennaSwitch()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteMacros.cpp63 SourceManager &SM = PP.getSourceManager(); in LexRawTokensFromMainFile() local
67 llvm::MemoryBufferRef FromFile = SM.getBufferOrFake(SM.getMainFileID()); in LexRawTokensFromMainFile()
68 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in LexRawTokensFromMainFile()
90 SourceManager &SM = PP.getSourceManager(); in RewriteMacrosInInput() local
93 Rewrite.setSourceMgr(SM, PP.getLangOpts()); in RewriteMacrosInInput()
94 RewriteBuffer &RB = Rewrite.getEditBuffer(SM.getMainFileID()); in RewriteMacrosInInput()
114 SourceLocation PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput()
117 if (!SM.isWrittenInMainFile(PPLoc)) { in RewriteMacrosInInput()
133 RB.InsertTextAfter(SM.getFileOffset(RawTok.getLocation()), "//"); in RewriteMacrosInInput()
139 RB.InsertTextAfter(SM.getFileOffset(RawTok.getLocation()), "//"); in RewriteMacrosInInput()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheck.cpp138 const SourceMgr &SM) const { in valueFromStringRepr()
242 BinaryOperation::getImplicitFormat(const SourceMgr &SM) const { in getImplicitFormat()
243 Expected<ExpressionFormat> LeftFormat = LeftOperand->getImplicitFormat(SM); in getImplicitFormat()
244 Expected<ExpressionFormat> RightFormat = RightOperand->getImplicitFormat(SM); in getImplicitFormat()
258 SM, getExpressionStr(), in getImplicitFormat()
289 Pattern::parseVariable(StringRef &Str, const SourceMgr &SM) { in parseVariable() argument
291 return ErrorDiagnostic::get(SM, Str, "empty variable name"); in parseVariable()
301 return ErrorDiagnostic::get(SM, Str.slice(I, StringRef::npos), in parseVariable()
307 return ErrorDiagnostic::get(SM, Str, "invalid variable name"); in parseVariable()
339 const SourceMgr &SM) { in parseNumericVariableDefinition() argument
[all …]
H A DFileCheckImpl.h100 APInt valueFromStringRepr(StringRef StrVal, const SourceMgr &SM) const;
142 /// \p SM if implicit formats of the AST's components conflict, or NoFormat
146 getImplicitFormat(const SourceMgr &SM) const {
293 getImplicitFormat(const SourceMgr &SM) const override { in clearValue()
329 /// \p SM if the implicit formats of the AST's components conflict, or no
333 getImplicitFormat(const SourceMgr &SM) const override;
455 /// \p SM for all definition parsing failures, if any, or Success otherwise.
457 SourceMgr &SM);
508 static Error get(const SourceMgr &SM, SMLoc Loc, const Twine &ErrMsg,
511 SM
170 getImplicitFormat(const SourceMgr & SM) getImplicitFormat() argument
318 getImplicitFormat(const SourceMgr & SM) getImplicitFormat() argument
540 get(const SourceMgr & SM,StringRef Buffer,const Twine & ErrMsg) get() argument
[all...]
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DCuda.cpp83 #define SM(sm) SM2(sm, "compute_" #sm) macro
89 SM(30), {OffloadArch::SM_32_, "sm_32", "compute_32"}, SM(35), SM(37), // Kepler
90 SM(50), SM(52), SM(53), // Maxwell
91 SM(60), SM(61), SM(62), // Pascal
92 SM(70), SM(72), // Volta
93 SM(75), // Turing
94 SM(80), SM(86), // Ampere
95 SM(87), // Jetson/Drive AGX Orin
96 SM(89), // Ada Lovelace
97 SM(90), // Hopper
[all …]
H A DXRayLists.cpp23 ArrayRef<std::string> AttrListPaths, SourceManager &SM) in XRayFunctionFilter() argument
25 AlwaysInstrumentPaths, SM.getFileManager().getVirtualFileSystem())), in XRayFunctionFilter()
27 NeverInstrumentPaths, SM.getFileManager().getVirtualFileSystem())), in XRayFunctionFilter()
29 AttrListPaths, SM.getFileManager().getVirtualFileSystem())), in XRayFunctionFilter()
30 SM(SM) {} in XRayFunctionFilter()
75 return this->shouldImbueFunctionsInFile(SM.getFilename(SM.getFileLoc(Loc)), in shouldImbueLocation()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTokens.cpp41 const SourceManager &SM) { in getTokensCovering() argument
46 return SM.isBeforeInTranslationUnit(T.location(), R.getBegin()); in getTokensCovering()
50 return !SM.isBeforeInTranslationUnit(R.getEnd(), T.location()); in getTokensCovering()
69 const SourceManager &SM) { in spelledForExpandedSlow() argument
77 assert(SM.getSLocEntry(TargetFile).isFile()); in spelledForExpandedSlow()
89 auto DecFirst = SM.getDecomposedLoc(First); in spelledForExpandedSlow()
90 auto DecLast = SM.getDecomposedLoc(Last); in spelledForExpandedSlow()
91 auto &ExpFirst = SM.getSLocEntry(DecFirst.first).getExpansion(); in spelledForExpandedSlow()
92 auto &ExpLast = SM.getSLocEntry(DecLast.first).getExpansion(); in spelledForExpandedSlow()
106 auto ExpFileID = SM.getFileID(ExpFirst.getExpansionLocStart()); in spelledForExpandedSlow()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MCA/
H A DSupport.cpp40 void computeProcResourceMasks(const MCSchedModel &SM, in computeProcResourceMasks() argument
44 assert(Masks.size() == SM.getNumProcResourceKinds() && in computeProcResourceMasks()
50 for (unsigned I = 1, E = SM.getNumProcResourceKinds(); I < E; ++I) { in computeProcResourceMasks()
51 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in computeProcResourceMasks()
59 for (unsigned I = 1, E = SM.getNumProcResourceKinds(); I < E; ++I) { in computeProcResourceMasks()
60 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in computeProcResourceMasks()
74 for (unsigned I = 0, E = SM.getNumProcResourceKinds(); I < E; ++I) { in computeProcResourceMasks()
75 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in computeProcResourceMasks()
83 double computeBlockRThroughput(const MCSchedModel &SM, unsigned DispatchWidth, in computeBlockRThroughput() argument
94 for (unsigned I = 0, E = SM in computeBlockRThroughput()
[all...]
H A DContext.cpp34 const MCSchedModel &SM = STI.getSchedModel(); in createDefaultPipeline() local
36 if (!SM.isOutOfOrder()) in createDefaultPipeline()
40 auto RCU = std::make_unique<RetireControlUnit>(SM); in createDefaultPipeline()
41 auto PRF = std::make_unique<RegisterFile>(SM, MRI, Opts.RegisterFileSize); in createDefaultPipeline()
42 auto LSU = std::make_unique<LSUnit>(SM, Opts.LoadQueueSize, in createDefaultPipeline()
44 auto HWS = std::make_unique<Scheduler>(SM, *LSU); in createDefaultPipeline()
75 const MCSchedModel &SM = STI.getSchedModel(); in createInOrderPipeline() local
76 auto PRF = std::make_unique<RegisterFile>(SM, MRI, Opts.RegisterFileSize); in createInOrderPipeline()
77 auto LSU = std::make_unique<LSUnit>(SM, Opts.LoadQueueSize, in createInOrderPipeline()
/freebsd/sys/dev/rtwn/rtl8192c/
H A Dr92c_chan.c243 SM(R92C_TXAGC_RATE06, power[RTWN_RIDX_OFDM6]) | in r92c_write_txpower()
244 SM(R92C_TXAGC_RATE09, power[RTWN_RIDX_OFDM9]) | in r92c_write_txpower()
245 SM(R92C_TXAGC_RATE12, power[RTWN_RIDX_OFDM12]) | in r92c_write_txpower()
246 SM(R92C_TXAGC_RATE18, power[RTWN_RIDX_OFDM18])); in r92c_write_txpower()
248 SM(R92C_TXAGC_RATE24, power[RTWN_RIDX_OFDM24]) | in r92c_write_txpower()
249 SM(R92C_TXAGC_RATE36, power[RTWN_RIDX_OFDM36]) | in r92c_write_txpower()
250 SM(R92C_TXAGC_RATE48, power[RTWN_RIDX_OFDM48]) | in r92c_write_txpower()
251 SM(R92C_TXAGC_RATE54, power[RTWN_RIDX_OFDM54])); in r92c_write_txpower()
254 SM(R92C_TXAGC_MCS00, power[RTWN_RIDX_HT_MCS(0)]) | in r92c_write_txpower()
255 SM(R92C_TXAGC_MCS01, power[RTWN_RIDX_HT_MCS(1)]) | in r92c_write_txpower()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp231 SpellingRegion(SourceManager &SM, SourceLocation LocStart, in SpellingRegion()
233 LineStart = SM.getSpellingLineNumber(LocStart); in SpellingRegion()
234 ColumnStart = SM.getSpellingColumnNumber(LocStart); in SpellingRegion()
235 LineEnd = SM.getSpellingLineNumber(LocEnd); in SpellingRegion()
236 ColumnEnd = SM.getSpellingColumnNumber(LocEnd); in SpellingRegion()
239 SpellingRegion(SourceManager &SM, SourceMappingRegion &R) in SpellingRegion()
240 : SpellingRegion(SM, R.getBeginLoc(), R.getEndLoc()) {} in SpellingRegion()
255 SourceManager &SM; member in __anon413222f00211::CoverageMappingBuilder
277 CoverageMappingBuilder(CoverageMappingModuleGen &CVM, SourceManager &SM, in CoverageMappingBuilder() argument
279 : CVM(CVM), SM(SM), LangOpts(LangOpts) {} in CoverageMappingBuilder()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/
H A DSourceExtraction.cpp22 bool isSemicolonAtLocation(SourceLocation TokenLoc, const SourceManager &SM, in isSemicolonAtLocation() argument
25 CharSourceRange::getTokenRange(TokenLoc, TokenLoc), SM, in isSemicolonAtLocation()
62 const SourceManager &SM) { in areOnSameLine() argument
64 SM.getSpellingLineNumber(Loc1) == SM.getSpellingLineNumber(Loc2); in areOnSameLine()
74 const SourceManager &SM, in compute() argument
99 if (isSemicolonAtLocation(End, SM, LangOpts)) in compute()
104 std::optional<Token> NextToken = Lexer::findNextToken(End, SM, LangOpts); in compute()
106 areOnSameLine(NextToken->getLocation(), End, SM)) { in compute()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h125 static bool isInCodeFile(SourceLocation SL, const SourceManager &SM) { in isInCodeFile() argument
126 if (SM.isInMainFile(SL)) in isInCodeFile()
133 SourceLocation IL = SM.getIncludeLoc(SM.getFileID(SL)); in isInCodeFile()
134 if (!IL.isValid() || !SM.isInMainFile(IL)) in isInCodeFile()
138 if (SM.getFilename(IL).contains("UnifiedSource")) { in isInCodeFile()
141 return llvm::StringSwitch<bool>(SM.getFilename(SL).rsplit('.').second) in isInCodeFile()
151 const SourceManager &SM = getASTContext().getSourceManager(); in isInCodeFile() local
152 return isInCodeFile(SL, SM); in isInCodeFile()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/
H A DCodeRegion.cpp54 SM.PrintMessage(Loc, llvm::SourceMgr::DK_Error, in beginRegion()
56 SM.PrintMessage(R.startLoc(), llvm::SourceMgr::DK_Note, in beginRegion()
62 SM.PrintMessage(Loc, llvm::SourceMgr::DK_Error, in beginRegion()
64 SM.PrintMessage(R.startLoc(), llvm::SourceMgr::DK_Note, in beginRegion()
104 SM.PrintMessage(Loc, llvm::SourceMgr::DK_Error, in endRegion()
107 SM.PrintMessage(Loc, llvm::SourceMgr::DK_Note, in endRegion()
110 SM.PrintMessage(Loc, llvm::SourceMgr::DK_Note, in endRegion()
120 SM.PrintMessage(Loc, llvm::SourceMgr::DK_Error, in beginRegion()
129 SM.PrintMessage( in beginRegion()
132 SM.PrintMessage(R.startLoc(), llvm::SourceMgr::DK_Note, in beginRegion()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DParser.cpp28 SourceMgr SM; in parseAssemblyInto() local
30 SM.AddNewSourceBuffer(std::move(Buf), SMLoc()); in parseAssemblyInto()
33 return LLParser(F.getBuffer(), SM, Err, M, Index, in parseAssemblyInto()
147 SourceMgr SM; in parseSummaryIndexAssemblyInto() local
149 SM.AddNewSourceBuffer(std::move(Buf), SMLoc()); in parseSummaryIndexAssemblyInto()
154 return LLParser(F.getBuffer(), SM, Err, nullptr, &Index, unusedContext) in parseSummaryIndexAssemblyInto()
190 SourceMgr SM; in parseConstantValue() local
192 SM.AddNewSourceBuffer(std::move(Buf), SMLoc()); in parseConstantValue()
194 if (LLParser(Asm, SM, Err, const_cast<Module *>(&M), nullptr, M.getContext()) in parseConstantValue()
207 SourceMgr SM; in parseType() local
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-mc/
H A DDisassembler.cpp35 SourceMgr &SM, MCStreamer &Streamer, bool InAtomicBlock, in PrintInsts()
50 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]), in PrintInsts()
63 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]), in PrintInsts()
100 SourceMgr &SM) { in ByteArrayFromString()
114 SM.PrintMessage(SMLoc::getFromPointer(Value.data()), SourceMgr::DK_Error, in ByteArrayFromString()
132 MemoryBuffer &Buffer, SourceMgr &SM, in disassemble()
172 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, in disassemble()
181 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, in disassemble()
191 ErrorOccurred |= ByteArrayFromString(ByteArray, Str, SM); in disassemble()
195 PrintInsts(*DisAsm, ByteArray, SM, Streame in disassemble()
36 PrintInsts(const MCDisassembler & DisAsm,const ByteArrayTy & Bytes,SourceMgr & SM,raw_ostream & Out,MCStreamer & Streamer,bool InAtomicBlock,const MCSubtargetInfo & STI) PrintInsts() argument
102 ByteArrayFromString(ByteArrayTy & ByteArray,StringRef & Str,SourceMgr & SM) ByteArrayFromString() argument
134 disassemble(const Target & T,const std::string & Triple,MCSubtargetInfo & STI,MCStreamer & Streamer,MemoryBuffer & Buffer,SourceMgr & SM,MCContext & Ctx,raw_ostream & Out,const MCTargetOptions & MCOptions) disassemble() argument
[all...]

12345678910>>...18