Home
last modified time | relevance | path

Searched refs:Object (Results 1 – 25 of 829) sorted by relevance

12345678910>>...34

/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOReader.h27 virtual Expected<std::unique_ptr<Object>> create() const = 0;
33 void readHeader(Object &O) const;
34 Error readLoadCommands(Object &O) const;
35 void readSymbolTable(Object &O) const;
36 void setSymbolInRelocationInfo(Object &O) const;
37 void readRebaseInfo(Object &O) const;
38 void readBindInfo(Object &O) const;
39 void readWeakBindInfo(Object &O) const;
40 void readLazyBindInfo(Object &O) const;
41 void readExportInfo(Object &O) const;
[all …]
/llvm-project/llvm/lib/ObjectYAML/
H A DObjectYAML.cpp26 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping()
28 MappingTraits<COFFYAML::Object>::mapping(IO, *ObjectFile.Coff); in mapping()
30 MappingTraits<GOFFYAML::Object>::mapping(IO, *ObjectFile.Goff); in mapping()
32 MappingTraits<MachOYAML::Object>::mapping(IO, *ObjectFile.MachO); in mapping()
46 ObjectFile.Elf.reset(new ELFYAML::Object()); in mapping()
47 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping()
49 ObjectFile.Coff.reset(new COFFYAML::Object()); in mapping()
50 MappingTraits<COFFYAML::Object>::mapping(IO, *ObjectFile.Coff); in mapping()
52 ObjectFile.Goff.reset(new GOFFYAML::Object()); in mapping()
53 MappingTraits<GOFFYAML::Object>::mapping(IO, *ObjectFile.Goff); in mapping()
[all …]
/llvm-project/clang/lib/Basic/
H A DSarif.cpp144 static json::Object createMessage(StringRef Text) { in createMessage()
145 return json::Object{{"text", Text.str()}}; in createMessage()
150 static json::Object createTextRegion(const SourceManager &SM, in createTextRegion()
154 json::Object Region{{"startLine", BeginCharLoc.getExpansionLineNumber()}, in createTextRegion()
166 static json::Object createLocation(json::Object &&PhysicalLocation, in createLocation()
168 json::Object Ret{{"physicalLocation", std::move(PhysicalLocation)}}; in createLocation()
201 static json::Object
202 createThreadFlowLocation(json::Object &&Location, in createThreadFlowLocation()
204 return json::Object{{"locatio in createThreadFlowLocation()
[all...]
/llvm-project/llvm/include/llvm/ObjectYAML/
H A Dyaml2obj.h28 struct Object;
32 struct Object;
36 struct Object;
40 struct Object;
48 struct Object;
52 struct Object;
60 struct Object;
70 bool yaml2coff(COFFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH);
71 bool yaml2goff(GOFFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH);
72 bool yaml2elf(ELFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH,
[all …]
H A DObjectYAML.h32 std::unique_ptr<ELFYAML::Object> Elf;
33 std::unique_ptr<COFFYAML::Object> Coff;
34 std::unique_ptr<GOFFYAML::Object> Goff;
35 std::unique_ptr<MachOYAML::Object> MachO;
37 std::unique_ptr<MinidumpYAML::Object> Minidump;
39 std::unique_ptr<WasmYAML::Object> Wasm;
40 std::unique_ptr<XCOFFYAML::Object> Xcoff;
41 std::unique_ptr<DXContainerYAML::Object> DXContainer;
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Duse-trailing-return-type.cpp493 struct Object { long long value; }; struct
495 Object j1(unsigned Object) { return {Object * 2}; } in j1() argument
498 ::Object j1(unsigned Object);
501 const Object& j2(unsigned a, int b, char Object, long l);
504 const struct Object& j2(unsigned a, int b, char Object, long l);
507 std::vector<Object> j3(unsigned Object);
510 std::vector<const Object> j7(unsigned Object);
513 std::vector<Object> j4(unsigned vector);
516 std::vector<::Object> j4(unsigned vector);
519 std::vector<struct Object> j4(unsigned vector);
[all …]
/llvm-project/clang/lib/ExtractAPI/Serialization/
H A DSymbolGraphSerializer.cpp39 void serializeObject(Object &Paren, StringRef Key, in serializeObject()
40 std::optional<Object> &&Obj) { in serializeObject()
47 void serializeArray(Object &Paren, StringRef Key, in serializeArray()
56 void serializeArray(Object &Paren, StringRef Key, ContainerTy &&C) { in serializeArray()
74 /// \returns \c std::nullopt if the version \p V is empty, or an \c Object
76 std::optional<Object> serializeSemanticVersion(const VersionTuple &V) { in serializeSemanticVersion()
80 Object Version; in serializeSemanticVersion()
91 Object serializeOperatingSystem(const Triple &T) { in serializeOperatingSystem()
92 Object OS; in serializeOperatingSystem()
103 Object serializePlatfor
[all...]
/llvm-project/libcxx/test/libcxx/thread/thread.stoptoken/
H A Dintrusive_shared_ptr.pass.cpp20 struct Object {
25 struct std::__intrusive_shared_ptr_traits<Object> { in __get_atomic_ref_count()
26 static std::atomic<int>& __get_atomic_ref_count(Object& obj) { return obj.counter; }
29 using Ptr = std::__intrusive_shared_ptr<Object>;
40 auto object = new Object; in main()
47 auto object = new Object; in main()
56 auto object = new Object; in main()
65 auto object1 = new Object; in main()
66 auto object2 = new Object; in main()
77 auto object1 = new Object; in main()
19 struct Object { global() struct
24 counterObject global() argument
[all...]
/llvm-project/lldb/tools/lldb-dap/
H A DJSONUtils.h31 /// Emplace a StringRef in a json::Object after enusring that the
43 void EmplaceSafeString(llvm::json::Object &obj, llvm::StringRef key,
72 llvm::StringRef GetString(const llvm::json::Object &obj, llvm::StringRef key,
74 llvm::StringRef GetString(const llvm::json::Object *obj, llvm::StringRef key,
90 uint64_t GetUnsigned(const llvm::json::Object &obj, llvm::StringRef key,
92 uint64_t GetUnsigned(const llvm::json::Object *obj, llvm::StringRef key,
108 bool GetBoolean(const llvm::json::Object &obj, llvm::StringRef key,
110 bool GetBoolean(const llvm::json::Object *obj, llvm::StringRef key,
126 int64_t GetSigned(const llvm::json::Object &obj, llvm::StringRef key,
128 int64_t GetSigned(const llvm::json::Object *ob
[all...]
H A Dlldb-dap.cpp117 typedef void (*RequestCallback)(const llvm::json::Object &command); in PrintWelcomeMessage()
196 llvm::json::Object event(CreateEventObject("exited")); in SendThreadExitedEvent()
197 llvm::json::Object body; in SendThreadExitedEvent()
204 llvm::json::Object event(CreateEventObject("thread"));
205 llvm::json::Object body;
225 llvm::json::Object event(CreateEventObject("continued")); in SendContinuedEvent()
226 llvm::json::Object body;
240 llvm::json::Object event(CreateTerminatedEventObject(dap.target));
381 llvm::json::Object event(CreateEventObject("process")); in SendProcessEvent()
382 llvm::json::Object bod in SendProcessEvent()
[all...]
/llvm-project/lldb/tools/debugserver/source/
H A DJSONGenerator.h28 class Object;
37 typedef std::shared_ptr<Object> ObjectSP;
58 class Object : public std::enable_shared_from_this<Object> {
60 Object(Type t = Type::eTypeInvalid) : m_type(t) {} in m_type()
62 virtual ~Object() {} in ~Object()
122 class Array : public Object {
124 Array() : Object(Type::eTypeArray) {} in Array()
157 class Integer : public Object {
159 Integer(uint64_t value = 0) : Object(Type::eTypeInteger), m_value(value) {} in Object() function
173 class Float : public Object {
[all …]
/llvm-project/llvm/unittests/Support/
H A DArrayRecyclerTest.cpp18 struct Object { struct
20 Object *Other; argument
22 typedef ArrayRecycler<Object> ARO;
52 ArrayRecycler<Object> DUT; in TEST()
55 Object *A1 = DUT.allocate(Cap, Allocator); in TEST()
59 Object *A2 = DUT.allocate(Cap, Allocator); in TEST()
63 Object *A3 = DUT.allocate(Cap, Allocator); in TEST()
83 Object *A2x = DUT.allocate(Cap, Allocator); in TEST()
92 Object *A3x = DUT.allocate(Cap, Allocator); in TEST()
94 Object *A1x = DUT.allocate(Cap, Allocator); in TEST()
[all …]
H A DJSONTest.cpp30 EXPECT_EQ(R"({"x":10,"y":20})", s(Object{{"x", 10}, {"y", 20}})); in TEST()
34 EXPECT_EQ(R"({"��":0})", s(Object{{"\xC0\x80", 0}})); in TEST()
37 EXPECT_DEATH(s(Object{{"\xC0\x80", 0}}), "Invalid UTF-8"); in TEST()
45 EXPECT_EQ("[[{}]]", s({{Object{}}})); in TEST()
46 EXPECT_EQ(R"({"A":{"B":{}}})", s(Object{{"A", Object{{"B", Object{}}}}})); in TEST()
48 s(Object{{"A", Object{{"B", Object{{" in TEST()
135 TEST(JSONTest,Object) TEST() argument
[all...]
/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPackReader.h81 struct Object { struct
100 Object() : Kind(Type::Int), Int(0) {} in Object() argument
128 Expected<bool> read(Object &Obj);
141 template <class T> Expected<bool> readRaw(Object &Obj);
142 template <class T> Expected<bool> readInt(Object &Obj);
143 template <class T> Expected<bool> readUInt(Object &Obj);
144 template <class T> Expected<bool> readLength(Object &Obj);
145 template <class T> Expected<bool> readExt(Object &Obj);
146 Expected<bool> createRaw(Object &Obj, uint32_t Size);
147 Expected<bool> createExt(Object &Obj, uint32_t Size);
/llvm-project/clang-tools-extra/clangd/xpc/
H A DXPCTransport.cpp23 json::Object encodeError(Error E) { in encodeError()
34 return json::Object{ in encodeError()
40 Error decodeError(const json::Object &O) { in decodeError()
58 sendMessage(json::Object{ in notify()
65 sendMessage(json::Object{ in call()
74 sendMessage(json::Object{ in reply()
80 sendMessage(json::Object{ in reply()
109 auto *Object = Message.getAsObject(); in handleMessage() local
110 if (!Object || in handleMessage()
111 Object->getString("jsonrpc") != std::optional<StringRef>("2.0")) { in handleMessage()
[all …]
/llvm-project/llvm/test/Bitcode/
H A Dmetadata-2.ll12 …" (%object.Object*)*, i64 (%object.Object*)*, i32 (%object.Object*, %object.Object*)*, i32 (%objec…
15 … %"byte[]" (%object.Object*)*, i64 (%object.Object*)*, i32 (%object.Object*, %object.Object*)*, i3…
16 %object.Object = type { %object.ModuleInfo.__vtbl*, i8* }
19 … %"byte[]" (%object.Object*)*, i64 (%object.Object*)*, i32 (%object.Object*, %object.Object*)*, i3…
86 !0 = !{%object.Object undef, i1 false, i1 false}
/llvm-project/flang/test/Semantics/
H A Dcuf03.cuf12 !ERROR: Object 'mcl' with ATTRIBUTES(CONSTANT) may not be allocatable, pointer, or target
14 !ERROR: Object 'mcp' with ATTRIBUTES(CONSTANT) may not be allocatable, pointer, or target
16 !ERROR: Object 'mct' with ATTRIBUTES(CONSTANT) may not be allocatable, pointer, or target
23 !ERROR: Object 'ms' with ATTRIBUTES(SHARED) must be declared in a device subprogram
25 !ERROR: Object 'msi' with ATTRIBUTES(SHARED) must be declared in a device subprogram
27 !ERROR: Object 'msl' with ATTRIBUTES(SHARED) may not be allocatable, pointer, or target
29 !ERROR: Object 'msp' with ATTRIBUTES(SHARED) may not be allocatable, pointer, or target
31 !ERROR: Object 'mst' with ATTRIBUTES(SHARED) may not be allocatable, pointer, or target
33 !ERROR: Object 'msa' with ATTRIBUTES(SHARED) must be declared in a device subprogram
38 !ERROR: Object 'mm
[all...]
/llvm-project/llvm/lib/Support/
H A DJSON.cpp24 Value &Object::operator[](const ObjectKey &K) { in operator []()
27 Value &Object::operator[](ObjectKey &&K) { in operator []()
30 Value *Object::get(StringRef K) { in get()
36 const Value *Object::get(StringRef K) const { in get()
42 std::optional<std::nullptr_t> Object::getNull(StringRef K) const { in getNull()
47 std::optional<bool> Object::getBoolean(StringRef K) const { in getBoolean()
52 std::optional<double> Object::getNumber(StringRef K) const { in getNumber()
57 std::optional<int64_t> Object::getInteger(StringRef K) const { in getInteger()
62 std::optional<llvm::StringRef> Object::getString(StringRef K) const { in getString()
67 const json::Object *Object::getObject(StringRef K) const { in getObject()
[all …]
/llvm-project/clang-tools-extra/clangd/support/
H A DTrace.cpp40 rawEvent("M", llvm::json::Object{ in JSONTracer()
42 {"args", llvm::json::Object{{"name", "clangd"}}}, in JSONTracer()
57 llvm::function_ref<void(llvm::json::Object *)> AttachDetails) override { in beginSpan()
71 void instant(llvm::StringRef Name, llvm::json::Object &&Args) override { in instant()
74 llvm::json::Object{{"name", Name}, {"args", std::move(Args)}}); in instant()
79 void jsonEvent(llvm::StringRef Phase, llvm::json::Object &&Contents, in jsonEvent()
112 llvm::json::Object{{"id", FlowID}, in JSONSpan()
118 llvm::json::Object{{"id", FlowID}, in JSONSpan()
129 llvm::json::Object{{"name", std::move(Name)}, in ~JSONSpan()
138 llvm::json::Object Args;
[all …]
/llvm-project/clang/test/Analysis/
H A Dretain-release-path-notes.m48 …return; // expected-warning{{leak}} expected-note{{Object leaked: object allocated and stored into…
53 …return; // expected-warning{{leak}} expected-note{{Object leaked: object allocated and stored into…
61 …return; // expected-warning{{leak}} expected-note{{Object leaked: object allocated and stored into…
67 …return; // expected-warning{{leak}} expected-note{{Object leaked: object allocated and stored into…
73 …return; // expected-warning{{leak}} expected-note{{Object leaked: object allocated and stored into…
78 [object dealloc]; // expected-note{{Object released by directly sending the '-dealloc' message}}
84 [object release]; // expected-note{{Object released}}
90 [object autorelease]; // expected-note{{Object autoreleased}}
91 [object autorelease]; // expected-note{{Object autoreleased}}
92 …return; // expected-warning{{Object autoreleased too many times}} expected-note{{Object was autore…
[all …]
H A Dretain-count-alloc.cpp13 struct Object { int Ref; }; argument
16 Object *copyObj(__isl_keep Object *O) { in copyObj()
21 void freeObj(__isl_take Object *O) { in freeObj()
28 void useAfterFree(__isl_take Object *A) { in useAfterFree()
32 Object *B = copyObj(A); in useAfterFree()
/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFObject.cpp18 void Object::addSymbols(ArrayRef<Symbol> NewSymbols) {
26 void Object::updateSymbols() {
32 const Symbol *Object::findSymbol(size_t UniqueId) const {
36 Error Object::removeSymbols(
52 Error Object::markSymbols() {
67 void Object::addSections(ArrayRef<Section> NewSections) {
75 void Object::updateSections() {
84 const Section *Object::findSection(ssize_t UniqueId) const {
88 void Object::removeSections(function_ref<bool(const Section &)> ToRemove) {
119 void Object in removeSections()
[all...]
/llvm-project/lldb/include/lldb/Utility/
H A DStructuredData.h56 class Object;
66 typedef std::shared_ptr<Object> ObjectSP;
78 class Object : public std::enable_shared_from_this<Object> {
80 Object(lldb::StructuredDataType t = lldb::eStructuredDataTypeInvalid)
83 virtual ~Object() = default;
193 class Array : public Object {
195 Array() : Object(lldb::eStructuredDataTypeArray) {} in Array()
200 ForEach(std::function<bool(Object *object)> const &foreach_callback) const { in ForEach()
299 template <typename N> class Integer : public Object {
304 : Object(std::numeric_limits<N>::is_signed
[all …]
/llvm-project/clang/test/Modules/
H A Dpr59999.cppm9 // RUN: %clang_cc1 -std=c++20 -triple %itanium_abi_triple %t/Object.cppm \
10 // RUN: -fmodule-file=Module=%t/Module.pcm -emit-module-interface -o %t/Object.pcm
11 // RUN: %clang_cc1 -std=c++20 -triple %itanium_abi_triple %t/Object.pcm \
12 // RUN: -fmodule-file=Module=%t/Module.pcm -emit-llvm -o - | FileCheck %t/Object.cppm
21 // RUN: %clang_cc1 -std=c++20 -triple %itanium_abi_triple %t/Object.cppm \
22 // RUN: -fmodule-file=Module=%t/Module.pcm -emit-module-interface -o %t/Object.pcm
23 // RUN: %clang_cc1 -std=c++20 -triple %itanium_abi_triple %t/Object.pcm \
24 // RUN: -fmodule-file=Module=%t/Module.pcm -emit-llvm -o - | FileCheck %t/Object.cppm
38 //--- Object.cppm
39 export module Object;
/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp147 const T &Object,
869 for (const auto &Object : YamlMF.FixedStackObjects) { in initializeFrameInfo()
871 if (Object.Type != yaml::FixedMachineStackObject::SpillSlot) in initializeFrameInfo()
872 ObjectIdx = MFI.CreateFixedObject(Object.Size, Object.Offset, in initializeFrameInfo()
873 Object.IsImmutable, Object.IsAliased); in initializeFrameInfo()
875 ObjectIdx = MFI.CreateFixedSpillStackObject(Object.Size, Object.Offset); in initializeFrameInfo()
877 if (!TFI->isSupportedStackID(Object in initializeFrameInfo()
799 for (const auto &Object : YamlMF.FixedStackObjects) { initializeFrameInfo() local
825 for (const auto &Object : YamlMF.EntryValueObjects) { initializeFrameInfo() local
844 for (const auto &Object : YamlMF.StackObjects) { initializeFrameInfo() local
959 parseStackObjectsDebugInfo(PerFunctionMIParsingState & PFS,const T & Object,int FrameIdx) parseStackObjectsDebugInfo() argument
[all...]

12345678910>>...34