| /llvm-project-15.0.7/flang/lib/Parser/ |
| H A D | unparse.cpp | 153 Word("REAL"); in Before() 165 Word("INTEGER"); in Before() 340 Word("NOPASS"); in Unparse() 1492 Word("DT"); in Unparse() 1501 Word("T"); in Unparse() 1505 Word("TL"); in Unparse() 1509 Word("TR"); in Unparse() 1516 Word("X"); in Unparse() 1529 Word("P"); in Unparse() 2618 Word(prefix), Walk(*x), Word(suffix); in Walk() [all …]
|
| /llvm-project-15.0.7/flang/include/flang/Common/ |
| H A D | constexpr-bitset.h | 27 using Word = HostUnsignedIntType<(BITS <= 32 ? 32 : BITS)>; variable 28 static constexpr Word allBits{ 29 ~static_cast<Word>(0) >> (8 * sizeof(Word) - BITS)}; 31 constexpr BitSet(Word b) : bits_{b} {} in BitSet() 112 bits_ |= static_cast<Word>(1) << x; 121 bits_ &= ~(static_cast<Word>(1) << x); in reset() 129 bits_ ^= static_cast<Word>(1) << x; in flip() 141 Word bits() const { return bits_; } in bits() 144 Word bits_{0};
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | HashTable.cpp | 31 uint32_t Word; in readSparseBitVector() local 32 if (auto EC = Stream.readInteger(Word)) in readSparseBitVector() 37 if (Word & (1U << Idx)) in readSparseBitVector() 57 uint32_t Word = 0; in writeSparseBitVector() local 60 Word |= (1 << WordIdx); in writeSparseBitVector() 62 if (auto EC = Writer.writeInteger(Word)) in writeSparseBitVector()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-query/ |
| H A D | QueryParser.cpp | 41 StringRef Word; in lexWord() local 43 Word = Line.substr(0, 1); in lexWord() 45 Word = Line.take_until(isWhitespace); in lexWord() 47 Line = Line.drop_front(Word.size()); in lexWord() 48 return Word; in lexWord() 54 StringRef Word; member 66 : Word(P->lexWord()), Switch(Word), P(P), in LexOrCompleteWord() 68 OutWord = Word; in LexOrCompleteWord() 69 if (P->CompletionPos && P->CompletionPos <= Word.data() + Word.size()) { in LexOrCompleteWord() 70 if (P->CompletionPos < Word.data()) in LexOrCompleteWord() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | FuzzyMatchTests.cpp | 21 ExpectedMatch(llvm::StringRef Match) : Word(Match), Annotated(Match) { in ExpectedMatch() 23 Word.erase(std::remove(Word.begin(), Word.end(), C), Word.end()); in ExpectedMatch() 24 if (Word.size() == Annotated->size()) in ExpectedMatch() 33 OS << "'" << M.Word; in operator <<() 39 std::string Word; member 64 auto Result = Matcher.match(Candidate.Word); in MatchAndExplain() 205 auto Score = Matcher.match(Str.Word); in MatchAndExplain() 207 *OS << "\nDoesn't match '" << Str.Word << "'"; in MatchAndExplain() 220 *OS << "\nRanks '" << Str.Word << "'=" << *Score << " above '" in MatchAndExplain() 221 << LastMatch->Word << "'=" << *LastScore << "\n" in MatchAndExplain() [all …]
|
| /llvm-project-15.0.7/flang/include/flang/Evaluate/ |
| H A D | logical.h | 20 using Word = Integer<bits>; variable 31 constexpr Logical(Word &&w) : word_{std::move(w)} {} in Logical() 38 Word word() const { return word_; } in word() 97 static constexpr Word canonicalTrue{IsLikeC ? 1 : -std::uint64_t{1}}; 98 static constexpr Word canonicalFalse{0}; 99 static constexpr Word Represent(bool x) { in Represent() 102 Word word_;
|
| H A D | real.h | 41 using Word = WORD; 50 static constexpr int bits{Word::bits}; 59 constexpr Real(const Word &bits) : word_{bits} {} in Real() 205 return {Word{maxExponent} in NotANumber() 213 static constexpr Real NegativeZero() { return {Word{}.MASKL(1)}; } in NegativeZero() 216 Word infinity{maxExponent}; in Infinity() 333 constexpr Word RawBits() const { return word_; } in RawBits() 423 Word word_{}; // an Integer<>
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | FuzzyMatch.cpp | 92 llvm::Optional<float> FuzzyMatcher::match(llvm::StringRef Word) { in match() argument 93 if (!(WordContainsPattern = init(Word))) in match() 185 std::copy(NewWord.begin(), NewWord.begin() + WordN, Word); in init() 189 LowWord[I] = lower(Word[I]); in init() 202 WordTypeSet = calculateRoles(llvm::StringRef(Word, WordN), in init() 288 if (Pat[P] == Word[W] || in matchBonus() 314 return Result = llvm::StringRef(Word, WordN); in dumpLast() 354 Result.push_back(Word[I]); in dumpLast() 359 for (char C : llvm::StringRef(Word, WordN)) in dumpLast() 370 OS << "\n'" << llvm::StringRef(Word, WordN) << "'\n "; in dumpLast() [all …]
|
| H A D | FuzzyMatch.h | 80 llvm::Optional<float> match(llvm::StringRef Word); 101 bool init(llvm::StringRef Word); 116 char Word[MaxWord]; // Word data variable
|
| H A D | XRefs.cpp | 560 !Word.LikelyIdentifier || !Index) in locateSymbolTextually() 564 if (Word.PartOfSpelledToken && in locateSymbolTextually() 571 Req.Query = Word.Text.str(); in locateSymbolTextually() 590 if (Sym.Name != Word.Text) in locateSymbolTextually() 642 Word.Text); in locateSymbolTextually() 664 if (Word.ExpandedToken) in findNearbyIdentifier() 668 if (Word.PartOfSpelledToken && in findNearbyIdentifier() 745 Word.Text, Word.Location.printToString(SM), in findNearbyIdentifier() 804 auto Word = in locateSymbolAt() local 806 if (Word) { in locateSymbolAt() [all …]
|
| H A D | XRefs.h | 63 locateSymbolTextually(const SpelledWord &Word, ParsedAST &AST, 70 const syntax::Token *findNearbyIdentifier(const SpelledWord &Word,
|
| /llvm-project-15.0.7/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerDictionary.h | 49 typedef FixedWord<64> Word; typedef 54 DictionaryEntry(Word W) : W(W) {} in DictionaryEntry() 55 DictionaryEntry(Word W, size_t PositionHint) in DictionaryEntry() 57 const Word &GetW() const { return W; } in GetW() 79 Word W; 89 bool ContainsWord(const Word &W) const { in ContainsWord()
|
| H A D | FuzzerTracePC.h | 51 Word MemMemWords[kSize]; 52 Word EmptyWord; 56 Size = std::min(Size, Word::GetMaxSize()); in Add() 60 const Word &Get(size_t Idx) { in Get() 62 const Word &W = MemMemWords[(Idx + i) % kSize]; in Get() 107 TableOfRecentCompares<Word, 32> TORCW;
|
| H A D | FuzzerMutate.h | 90 void AddWordToManualDictionary(const Word &W); 119 DictionaryEntry MakeDictionaryEntryFromCMP(const Word &Arg1, const Word &Arg2,
|
| H A D | FuzzerMutate.cpp | 23 static void PrintASCII(const Word &W, const char *PrintAfter) { in PrintASCII() 186 const Word &W = DE.GetW(); in ApplyDictionaryEntry() 218 Word W; in MakeDictionaryEntryFromCMP() 255 const Word &Arg1, const Word &Arg2, const uint8_t *Data, size_t Size) { in MakeDictionaryEntryFromCMP() 262 Word W; in Mutate_AddWordFromTORC() 591 void MutationDispatcher::AddWordToManualDictionary(const Word &W) { in AddWordToManualDictionary()
|
| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | IRSymtab.h | 52 using Word = support::ulittle32_t; variable 56 Word Offset, Size; 65 Word Offset, Size; 75 Word Begin, End; 78 Word UncBegin; 86 Word SelectionKind; 100 Word ComdatIndex; 102 Word Flags; 123 Word CommonSize, CommonAlign; 138 Word Version;
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/include/clang-pseudo/grammar/ |
| H A D | LRTable.h | 188 using Word = uint64_t; variable 189 constexpr static unsigned WordBits = CHAR_BIT * sizeof(Word); 192 std::vector<Word> HasValue; 212 HasValue[I / WordBits] |= (Word(1) << (I % WordBits)); in TransitionTable() 220 Word KeyMask = Word(1) << (Key % WordBits); in get() 225 Word BelowKeyMask = KeyMask - 1; in get()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFTypePrinter.cpp | 88 if (Word) in appendPointerLikeTypeBefore() 93 Word = false; in appendPointerLikeTypeBefore() 100 Word = true; in appendUnqualifiedNameBefore() 115 if (Word) { in appendUnqualifiedNameBefore() 118 Word = false; in appendUnqualifiedNameBefore() 135 else if (Word) in appendUnqualifiedNameBefore() 143 Word = false; in appendUnqualifiedNameBefore() 161 Word = true; in appendUnqualifiedNameBefore() 178 Word = true; in appendUnqualifiedNameBefore() 205 Word = true; in appendUnqualifiedNameBefore() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | IdentifierNamingCheck.cpp | 687 for (StringRef Word : Words) in getEnumPrefix() local 688 Initial += tolower(Word[0]); in getEnumPrefix() 917 for (auto const &Word : Words) { in fixupWithCase() local 918 if (&Word != &Words.front()) in fixupWithCase() 920 Fixup += Word.lower(); in fixupWithCase() 925 for (auto const &Word : Words) { in fixupWithCase() local 926 if (&Word != &Words.front()) in fixupWithCase() 928 Fixup += Word.upper(); in fixupWithCase() 933 for (auto const &Word : Words) { in fixupWithCase() local 942 Fixup += Word.lower(); in fixupWithCase() [all …]
|
| /llvm-project-15.0.7/flang/unittests/Evaluate/ |
| H A D | real.cpp | 51 using Word = typename R::Word; in basicTests() typedef 53 Word::littleEndian, kind); in basicTests() 63 TEST(zero.Negate().RawBits().IEOR(Word::MASKL(1)).IsZero())(desc); in basicTests() 65 R minusZero{Word{std::uint64_t{1}}.SHIFTL(R::bits - 1)}; in basicTests() 80 R nan{Word{std::uint64_t{1}} in basicTests() 82 .SubtractSigned(Word{std::uint64_t{1}}) in basicTests() 98 R inf{Word{maxExponent}.SHIFTL(significandBits)}; in basicTests() 109 R negInf{Word{maxExponent}.SHIFTL(significandBits).IOR(Word::MASKL(1))}; in basicTests() 370 REAL x{typename REAL::Word{std::uint64_t{rj}}}; in subsetTests() 456 REAL y{typename REAL::Word{std::uint64_t{rk}}}; in subsetTests()
|
| /llvm-project-15.0.7/llvm/tools/llvm-cxxfilt/ |
| H A D | llvm-cxxfilt.cpp | 135 for (const auto &Word : Words) in demangleLine() local 136 Result += ::demangle(std::string(Word.first)) + Word.second.str(); in demangleLine()
|
| /llvm-project-15.0.7/llvm/lib/Target/M68k/MCTargetDesc/ |
| H A D | M68kMCCodeEmitter.cpp | 235 for (uint64_t Word : Data) { in encodeInstruction() local 237 support::endian::write<uint16_t>(OS, static_cast<uint16_t>(Word), in encodeInstruction() 239 Word >>= 16; in encodeInstruction()
|
| /llvm-project-15.0.7/llvm/tools/llvm-readobj/ |
| H A D | ARMEHABIPrinter.h | 327 typedef typename ET::Word Elf_Word; 477 const support::ulittle32_t Word = in PrintExceptionTable() local 480 if (Word & 0x80000000) { in PrintExceptionTable() 483 unsigned PersonalityIndex = (Word & 0x0f000000) >> 24; in PrintExceptionTable() 492 unsigned AdditionalWords = (Word & 0x00ff0000) >> 16; in PrintExceptionTable() 501 ? PREL31(Word, EHT.sh_addr) in PrintExceptionTable() 502 : PREL31(Word, EHT.sh_addr + TableEntryOffset); in PrintExceptionTable()
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVUtils.cpp | 30 uint32_t Word = 0u; // Build up this 32-bit word from 4 8-bit chars. in convertCharsToWord() local 37 Word |= (CharToAdd << (WordIndex * 8)); in convertCharsToWord() 39 return Word; in convertCharsToWord()
|
| /llvm-project-15.0.7/compiler-rt/lib/xray/ |
| H A D | xray_trampoline_arm.S | 9 @ Word-aligned function entry point 40 @ Word-aligned function entry point 72 @ Word-aligned function entry point
|