/freebsd-12-stable/sys/dev/rtwn/rtl8812a/usb/ |
H A D | r12au_init.c | 76 const uint8_t dma_count = R12A_DMA_MODE | SM(R12A_BURST_CNT, 3); 81 dma_count | SM(R12A_BURST_SZ, R12A_BURST_SZ_USB2)); 85 dma_count | SM(R12A_BURST_SZ, R12A_BURST_SZ_USB1)); 92 const uint8_t dma_count = R12A_DMA_MODE | SM(R12A_BURST_CNT, 3); 99 dma_count | SM(R12A_BURST_SZ, R12A_BURST_SZ_USB3));
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Lex/ |
H A D | TokenLexer.cpp | 60 SourceManager &SM = PP.getSourceManager(); local 61 MacroStartSLocOffset = SM.getNextLocalOffset(); 73 MacroDefStart = SM.getExpansionLoc(Tokens[0].getLocation()); 74 MacroDefLength = Macro->getDefinitionLength(SM); 75 MacroExpansionStart = SM.createExpansionLoc(MacroDefStart, 638 SourceManager &SM = PP.getSourceManager(); local 675 SM.isBeforeInSLocAddrSpace(Tok.getLocation(), MacroStartSLocOffset)) { 678 instLoc = SM.createExpansionLoc(Tok.getLocation(), 852 SourceManager &SM = PP.getSourceManager(); local 854 SM 900 SourceManager &SM = PP.getSourceManager(); local 970 SourceManager &SM = PP.getSourceManager(); local 988 updateConsecutiveMacroArgTokens(SourceManager &SM, SourceLocation InstLoc, Token *&begin_tokens, Token * end_tokens) argument 1057 SourceManager &SM = PP.getSourceManager(); local [all...] |
H A D | TokenConcatenation.cpp | 53 SourceManager &SM = PP.getSourceManager(); 54 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); 136 SourceManager &SM = PP.getSourceManager(); local 137 return *SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); 171 SourceManager &SM = PP.getSourceManager(); 172 SourceLocation PrevSpellLoc = SM.getSpellingLoc(PrevTok.getLocation()); 173 SourceLocation SpellLoc = SM.getSpellingLoc(Tok.getLocation());
|
H A D | PreprocessingRecord.cpp | 54 PreprocessingRecord::PreprocessingRecord(SourceManager &SM) : SourceMgr(SM) {} argument 78 SourceManager &SM) { 87 return SM.isInFileID(SM.getFileLoc(Loc), FID); 182 const SourceManager &SM; member in struct:__anon3088::PPEntityComp 184 explicit PPEntityComp(const SourceManager &SM) : SM(SM) {} argument 189 return SM 77 isPreprocessedEntityIfInFileID(PreprocessedEntity *PPE, FileID FID, SourceManager &SM) argument [all...] |
/freebsd-12-stable/sys/dev/ath/ath_hal/ar9002/ |
H A D | ar9287_reset.c | 500 SM(pModal->iqCalICh[i], 502 SM(pModal->iqCalQCh[i], 532 SM(pModal->txEndToXpaOff, AR_PHY_RF_CTL4_TX_END_XPAA_OFF) 533 | SM(pModal->txEndToXpaOff, AR_PHY_RF_CTL4_TX_END_XPAB_OFF) 534 | SM(pModal->txFrameToXpaOn, AR_PHY_RF_CTL4_FRAME_XPAA_ON) 535 | SM(pModal->txFrameToXpaOn, AR_PHY_RF_CTL4_FRAME_XPAB_ON)); 552 regval |= (SM(pModal->db1, AR9287_AN_RF2G3_DB1) | 553 SM(pModal->db2, AR9287_AN_RF2G3_DB2) | 554 SM(pModal->ob_cck, AR9287_AN_RF2G3_OB_CCK) | 555 SM(pModa [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | DependencyFile.cpp | 34 SourceManager &SM; member in struct:__anon3022::DepCollectorPPCallbacks 36 DepCollectorPPCallbacks(DependencyCollector &L, SourceManager &SM, argument 38 : DepCollector(L), SM(SM), Diags(Diags) {} 50 SM.getFileEntryRefForID(SM.getFileID(SM.getExpansionLoc(Loc)));
|
H A D | TextDiagnostic.cpp | 763 void TextDiagnostic::emitFilename(StringRef Filename, const SourceManager &SM) { 768 auto File = SM.getFileManager().getFile(Filename); 791 Filename = SM.getFileManager().getCanonicalName(*File); 872 auto &SM = Loc.getManager(); 873 SourceLocation B = SM.getExpansionLoc(RI->getBegin()); 874 CharSourceRange ERange = SM.getExpansionRange(RI->getEnd()); 878 std::pair<FileID, unsigned> BInfo = SM.getDecomposedLoc(B); 879 std::pair<FileID, unsigned> EInfo = SM.getDecomposedLoc(E); 890 TokSize = Lexer::MeasureTokenLength(E, SM, LangOpts); 892 FullSourceLoc BF(B, SM), E [all...] |
H A D | DependencyGraph.cpp | 82 SourceManager &SM = PP->getSourceManager(); 84 = SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(HashLoc)));
|
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/MCA/HardwareUnits/ |
H A D | LSUnit.h | 199 LSUnitBase(const MCSchedModel &SM, unsigned LoadQueueSize, 419 LSUnit(const MCSchedModel &SM) argument 420 : LSUnit(SM, /* LQSize */ 0, /* SQSize */ 0, /* NoAlias */ false) {} 421 LSUnit(const MCSchedModel &SM, unsigned LQ, unsigned SQ) argument 422 : LSUnit(SM, LQ, SQ, /* NoAlias */ false) {} 423 LSUnit(const MCSchedModel &SM, unsigned LQ, unsigned SQ, bool AssumeNoAlias) argument 424 : LSUnitBase(SM, LQ, SQ, AssumeNoAlias), CurrentLoadGroupID(0),
|
H A D | RetireControlUnit.h | 80 RetireControlUnit(const MCSchedModel &SM);
|
/freebsd-12-stable/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_spectral.c | 60 val |= SM(MAX_RADAR_RSSI_THRESH, AR_PHY_RADAR_0_RRSSI); 63 val |= SM(MAX_RADAR_HEIGHT, AR_PHY_RADAR_0_HEIGHT); 96 val |= SM(ss->ss_fft_period, AR_PHY_SPECTRAL_SCAN_FFT_PERIOD); 101 val |= SM(ss->ss_period, AR_PHY_SPECTRAL_SCAN_PERIOD); 106 val |= SM(ss->ss_period, AR_PHY_SPECTRAL_SCAN_PERIOD); 113 val |= SM(ss->ss_count, AR_PHY_SPECTRAL_SCAN_COUNT); 130 val |= SM(ss->ss_count, AR_PHY_SPECTRAL_SCAN_COUNT_KIWI);
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | SarifDiagnostics.cpp | 148 static unsigned int adjustColumnPos(const SourceManager &SM, SourceLocation Loc, argument 152 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedExpansionLoc(Loc); 153 assert(LocInfo.second > SM.getExpansionColumnNumber(Loc) && 157 const MemoryBuffer *Buf = SM.getBuffer(LocInfo.first, &InvalidBuffer); 164 unsigned int Off = LocInfo.second - (SM.getExpansionColumnNumber(Loc) - 1); 175 const SourceManager &SM) { 177 {"startLine", SM.getExpansionLineNumber(R.getBegin())}, 178 {"startColumn", adjustColumnPos(SM, R.getBegin())}, 181 Region["endColumn"] = adjustColumnPos(SM, R.getBegin()); 183 Region["endLine"] = SM 174 createTextRegion(const LangOptions &LO, SourceRange R, const SourceManager &SM) argument [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
H A D | USRFinder.cpp | 78 const SourceManager &SM = Context.getSourceManager(); local 88 SM.isBeforeInTranslationUnit(StartLoc, Point) != 89 SM.isBeforeInTranslationUnit(EndLoc, Point))
|
/freebsd-12-stable/sys/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_beacon.c | 160 | SM(bs->bs_intval, AR_BEACON_PERIOD) 161 | SM(bs->bs_timoffset ? bs->bs_timoffset + 4 : 0, AR_BEACON_TIM) 199 | SM(bs->bs_bmissthreshold > BMISS_MAX ?
|
/freebsd-12-stable/sys/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_beacon.c | 165 | SM(bs->bs_intval, AR_BEACON_PERIOD) 166 | SM(bs->bs_timoffset ? bs->bs_timoffset + 4 : 0, AR_BEACON_TIM) 176 | SM(bs->bs_bmissthreshold, AR_RSSI_THR_BM_THR);
|
/freebsd-12-stable/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_xmit.c | 72 AR_TXCFG, (txcfg &~ AR_FTRIG) | SM(new_level, AR_FTRIG)); 235 SM(ahp->ah_tx_ok_interrupt_mask, AR_IMR_S0_QCU_TXOK)); 237 SM(ahp->ah_tx_err_interrupt_mask, AR_IMR_S1_QCU_TXERR) 238 | SM(ahp->ah_tx_eol_interrupt_mask, AR_IMR_S1_QCU_TXEOL)); 327 OS_REG_WRITE(ah, AR_DLCL_IFS(q), SM(cw_min, AR_D_LCL_IFS_CWMIN) 328 | SM(qi->tqi_cwmax, AR_D_LCL_IFS_CWMAX) 329 | SM(qi->tqi_aifs, AR_D_LCL_IFS_AIFS)); 334 SM(INIT_SSH_RETRY, AR_D_RETRY_LIMIT_STA_SH) | 335 SM(INIT_SLG_RETRY, AR_D_RETRY_LIMIT_STA_LG) | 336 SM(q [all...] |
H A D | ar9300_timer.c | 148 (SM(AR_GENTMR_BIT(index), AR_IMR_S5_GENTIMER_THRESH) | 149 SM(AR_GENTMR_BIT(index), AR_IMR_S5_GENTIMER_TRIG))); 168 (SM(AR_GENTMR_BIT(index), AR_IMR_S5_GENTIMER_THRESH) | 169 SM(AR_GENTMR_BIT(index), AR_IMR_S5_GENTIMER_TRIG)));
|
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | GCMetadataPrinter.h | 67 virtual bool emitStackMaps(StackMaps &SM, AsmPrinter &AP) { return false; } argument
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | AnalyzerStatsChecker.cpp | 44 const SourceManager &SM = B.getSourceManager(); local 92 PresumedLoc Loc = SM.getPresumedLoc(D->getLocation()); 115 output.str(), PathDiagnosticLocation(D, SM)); 134 PathDiagnosticLocation::createBegin(CS->getStmt(), SM, LC));
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Tooling/Core/ |
H A D | Lookup.cpp | 143 const auto &SM = UseContext.getParentASTContext().getSourceManager(); local 144 UseLoc = SM.getSpellingLoc(UseLoc); 162 SM.isBeforeInTranslationUnit( 163 SM.getSpellingLoc(Res->getLocation()), UseLoc))
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
H A D | ModuleDepCollector.cpp | 27 SourceManager &SM = Instance.getSourceManager(); 33 SM.getFileEntryRefForID(SM.getFileID(SM.getExpansionLoc(Loc)));
|
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Frontend/ |
H A D | VerifyDiagnosticConsumer.h | 271 void setSourceManager(SourceManager &SM) { argument 272 assert((!SrcManager || SrcManager == &SM) && "SourceManager changed!"); 273 SrcManager = &SM; 318 void UpdateParsedFileStatus(SourceManager &SM, FileID FID, ParsedStatus PS);
|
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Rewrite/Core/ |
H A D | Rewriter.h | 69 explicit Rewriter(SourceManager &SM, const LangOptions &LO) argument 70 : SourceMgr(&SM), LangOpts(&LO) {} 72 void setSourceMgr(SourceManager &SM, const LangOptions &LO) { argument 73 SourceMgr = &SM;
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | Transforms.cpp | 132 SourceManager &SM = Ctx.getSourceManager(); local 134 if (!Lexer::isAtEndOfMacroExpansion(loc, SM, Ctx.getLangOpts(), &loc)) 137 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOpts()); 140 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); 144 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); 151 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), 385 SourceManager &SM = Pass.Ctx.getSourceManager(); 388 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); 392 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); 399 Lexer lexer(SM 538 const SourceManager &SM = pass.Ctx.getSourceManager(); local [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-mca/Views/ |
H A D | SchedulerStatistics.h | 48 const llvm::MCSchedModel &SM; member in class:llvm::mca::final
|