Home
last modified time | relevance | path

Searched refs:Raw (Results 1 – 25 of 47) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/pseudo/unittests/
H A DTokenTest.cpp46 TokenStream Raw = lex(Code, Opts); in TEST() local
47 ASSERT_TRUE(Raw.isFinalized()); in TEST()
48 EXPECT_THAT(Raw.tokens(), in TEST()
71 TokenStream Cooked = cook(Raw, Opts); in TEST()
107 TokenStream Raw = lex(Code, Opts); in TEST() local
109 Raw.tokens(), in TEST()
122 TokenStream Cooked = cook(Raw, Opts); in TEST()
138 TokenStream Raw = lex(Code, Opts); in TEST() local
140 Raw.tokens(), in TEST()
172 TokenStream Raw = lex(Code, Opts); in TEST() local
[all …]
/llvm-project-15.0.7/clang/include/clang/Serialization/
H A DSourceLocationEncoding.h46 static UIntTy encodeRaw(UIntTy Raw) { in encodeRaw() argument
47 return (Raw << 1) | (Raw >> (UIntBits - 1)); in encodeRaw()
49 static UIntTy decodeRaw(UIntTy Raw) { in decodeRaw() argument
50 return (Raw >> 1) | (Raw << (UIntBits - 1)); in decodeRaw()
106 EncodedTy encodeRaw(UIntTy Raw) { in encodeRaw() argument
107 if (Raw == 0) in encodeRaw()
109 UIntTy Rotated = SourceLocationEncoding::encodeRaw(Raw); in encodeRaw()
H A DASTReader.h2156 Sema::AlignPackInfo ReadAlignPackInfo(uint32_t Raw) const { in ReadAlignPackInfo() argument
2157 return Sema::AlignPackInfo::getFromRawEncoding(Raw); in ReadAlignPackInfo()
2162 SourceLocation ReadUntranslatedSourceLocation(SourceLocation::UIntTy Raw,
2164 return SourceLocationEncoding::decode(Raw, Seq);
2169 SourceLocation::UIntTy Raw,
2171 SourceLocation Loc = ReadUntranslatedSourceLocation(Raw, Seq);
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DLSPBinder.h54 LSPBinder(RawHandlers &Raw, RawOutgoing &Out) : Raw(Raw), Out(Out) {} in LSPBinder() argument
101 static llvm::Expected<T> parse(const llvm::json::Value &Raw,
105 RawHandlers &Raw; variable
110 llvm::Expected<T> LSPBinder::parse(const llvm::json::Value &Raw, in parse() argument
115 if (!fromJSON(Raw, Result, Root)) { in parse()
121 Root.printErrorContext(Raw, OS); in parse()
136 Raw.MethodHandlers[Method] = [Method, Handler, This](JSON RawParams, in method()
148 Raw.NotificationHandlers[Method] = [Method, Handler, This](JSON RawParams) { in notification()
161 Raw.CommandHandlers[Method] = [Method, Handler, This](JSON RawParams, in command()
/llvm-project-15.0.7/flang/lib/Decimal/
H A Dbig-radix-floating-point.h348 using Raw = typename Real::RawType; in RemoveLeastOrderZeroDigits() variable
349 constexpr Raw SignBit() const { return Raw{isNegative_} << (Real::bits - 1); } in RemoveLeastOrderZeroDigits()
350 constexpr Raw Infinity() const { in RemoveLeastOrderZeroDigits()
351 return (Raw{Real::maxExponent} << Real::significandBits) | SignBit(); in RemoveLeastOrderZeroDigits()
353 static constexpr Raw NaN() { in RemoveLeastOrderZeroDigits()
354 return (Raw{Real::maxExponent} << Real::significandBits) | in RemoveLeastOrderZeroDigits()
355 (Raw{1} << (Real::significandBits - 2)); in RemoveLeastOrderZeroDigits()
H A Ddecimal-to-binary.cpp303 using Raw = typename Binary::RawType; in ToBinary() typedef
304 Raw raw = static_cast<Raw>(isNegative) << (Binary::bits - 1); in ToBinary()
305 raw |= static_cast<Raw>(expo) << Binary::significandBits; in ToBinary()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DMinidumpEmitter.cpp196 RawContentStream &Raw = cast<RawContentStream>(S); in layout() local
197 File.allocateCallback(Raw.Size, [&Raw](raw_ostream &OS) { in layout()
198 Raw.Content.writeAsBinary(OS); in layout()
199 assert(Raw.Content.binary_size() <= Raw.Size); in layout()
200 OS << std::string(Raw.Size - Raw.Content.binary_size(), '\0'); in layout()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DSymbolID.cpp27 SymbolID SymbolID::fromRaw(llvm::StringRef Raw) { in fromRaw() argument
29 assert(Raw.size() == RawSize); in fromRaw()
30 memcpy(ID.HashValue.data(), Raw.data(), RawSize); in fromRaw()
/llvm-project-15.0.7/llvm/unittests/BinaryFormat/
H A DMsgPackReaderTest.cpp381 EXPECT_EQ(Obj.Raw, Result); in TEST_F()
393 EXPECT_EQ(Obj.Raw, Result); in TEST_F()
414 EXPECT_EQ(Obj.Raw, Result); in TEST_F()
425 EXPECT_EQ(Obj.Raw, Result); in TEST_F()
446 EXPECT_EQ(Obj.Raw, Result); in TEST_F()
457 EXPECT_EQ(Obj.Raw, Result); in TEST_F()
478 EXPECT_EQ(Obj.Raw, Result); in TEST_F()
489 EXPECT_EQ(Obj.Raw, Result); in TEST_F()
510 EXPECT_EQ(Obj.Raw, Result); in TEST_F()
521 EXPECT_EQ(Obj.Raw, Result); in TEST_F()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DMemoryLocation.h84 constexpr LocationSize(uint64_t Raw, DirectConstruction): Value(Raw) {} in LocationSize() argument
98 constexpr LocationSize(uint64_t Raw) in LocationSize() argument
99 : Value(Raw > MaxValue ? AfterPointer : Raw) {} in LocationSize()
/llvm-project-15.0.7/clang/lib/AST/
H A DNestedNameSpecifier.cpp397 SourceLocation::UIntTy Raw; in LoadSourceLocation() local
398 memcpy(&Raw, static_cast<char *>(Data) + Offset, sizeof(Raw)); in LoadSourceLocation()
399 return SourceLocation::getFromRawEncoding(Raw); in LoadSourceLocation()
492 SourceLocation::UIntTy Raw = Loc.getRawEncoding(); in SaveSourceLocation() local
493 Append(reinterpret_cast<char *>(&Raw), in SaveSourceLocation()
494 reinterpret_cast<char *>(&Raw) + sizeof(Raw), Buffer, BufferSize, in SaveSourceLocation()
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h59 StringRef Raw; member
124 return Raw; in getString()
173 return Lhs.Raw < Rhs.Raw;
361 N.Raw = V;
H A DMsgPackReader.h88 StringRef Raw; member
/llvm-project-15.0.7/mlir/include/mlir/Dialect/AMDGPU/
H A DAMDGPU.td35 /// Raw buffer load
49 let summary = "Raw Buffer load, exposing GCN features";
88 /// Raw buffer store
102 let summary = "Raw Buffer Store, exposing GCN features";
129 // Raw buffer atomic floating point add
140 let summary = "Raw Buffer Floating-point Atomic Add (MI-* only)";
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dcxx11-user-defined-literals.cpp7 Integer, Floating, Raw, Template enumerator
19 constexpr LitKind operator"" _kind2(const char *p) { return LitKind::Raw; } in operator ""_kind2()
38 static_assert(4e6_kind2 == LitKind::Raw, "");
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/wasm/
H A Ddump-section.test9 ## Raw contents of the producers section.
20 ## Raw contents of the type section.
/llvm-project-15.0.7/llvm/include/llvm/TextAPI/
H A DArchitectureSet.h39 constexpr ArchitectureSet(ArchSetType Raw) : ArchSet(Raw) {} in ArchitectureSet() argument
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DObjectFile.h598 object::DataRefImpl Raw = Sec.getRawDataRefImpl();
599 return hash_combine(Raw.p, Raw.d.a, Raw.d.b);
/llvm-project-15.0.7/mlir/include/mlir/TableGen/
H A DDialect.h102 enum class EmitPrefix { Raw = 0, Prefixed = 1, Both = 2 }; enumerator
/llvm-project-15.0.7/llvm/lib/Support/
H A DYAMLParser.cpp1947 StringRef Raw = getRawTag(); in getVerbatimTag() local
1948 if (!Raw.empty() && Raw != "!") { in getVerbatimTag()
1950 if (Raw.find_last_of('!') == 0) { in getVerbatimTag()
1952 Ret += Raw.substr(1); in getVerbatimTag()
1954 } else if (Raw.startswith("!!")) { in getVerbatimTag()
1956 Ret += Raw.substr(2); in getVerbatimTag()
1959 StringRef TagHandle = Raw.substr(0, Raw.find_last_of('!') + 1); in getVerbatimTag()
1970 Ret += Raw.substr(Raw.find_last_of('!') + 1); in getVerbatimTag()
/llvm-project-15.0.7/clang/unittests/Format/
H A DFormatTestRawStrings.cpp874 aaaaaaaaa(bbbbbbbbb, EqualsProto(R"Raw( in TEST_F()
878 )Raw")); in TEST_F()
882 aaaaaaaaa(bbbbbbbbb, EqualsProto(R"Raw( in TEST_F()
886 )Raw")); in TEST_F()
/llvm-project-15.0.7/llvm/unittests/DebugInfo/DWARF/
H A DDWARFFormValueTest.cpp44 char Raw[sizeof(RawTypeT)]; in createDataXFormValue() local
45 memcpy(Raw, &Value, sizeof(RawTypeT)); in createDataXFormValue()
48 DWARFDataExtractor Data(StringRef(Raw, sizeof(RawTypeT)), in createDataXFormValue()
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/COFF/
H A Dsection-name-encoding.s24 ## Raw encoding
/llvm-project-15.0.7/llvm/lib/BinaryFormat/
H A DMsgPackDocumentYAML.cpp40 OS << Raw; in toString()
/llvm-project-15.0.7/libc/docs/
H A Dstrings.rst52 Other Raw Memory Functions

12