Home
last modified time | relevance | path

Searched defs:Obj (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackReader.cpp29 Expected<bool> Reader::read(Object &Obj) { in read()
184 template <class T> Expected<bool> Reader::readRaw(Object &Obj) { in readRaw()
194 template <class T> Expected<bool> Reader::readInt(Object &Obj) { in readInt()
204 template <class T> Expected<bool> Reader::readUInt(Object &Obj) { in readUInt()
214 template <class T> Expected<bool> Reader::readLength(Object &Obj) { in readLength()
224 template <class T> Expected<bool> Reader::readExt(Object &Obj) { in readExt()
234 Expected<bool> Reader::createRaw(Object &Obj, uint32_t Size) { in createRaw()
244 Expected<bool> Reader::createExt(Object &Obj, uint32_t Size) { in createExt()
/llvm-project/llvm/tools/llvm-pdbutil/
H A DPdbYaml.cpp104 void MappingTraits<PdbObject>::mapping(IO &IO, PdbObject &Obj) { in mapping()
116 void MappingTraits<MSFHeaders>::mapping(IO &IO, MSFHeaders &Obj) { in mapping()
142 void MappingTraits<PdbInfoStream>::mapping(IO &IO, PdbInfoStream &Obj) { in mapping()
150 void MappingTraits<PdbDbiStream>::mapping(IO &IO, PdbDbiStream &Obj) { in mapping()
162 pdb::yaml::PdbTpiStream &Obj) { in mapping()
168 IO &IO, pdb::yaml::PdbPublicsStream &Obj) { in mapping()
173 NamedStreamMapping &Obj) { in mapping()
178 void MappingTraits<PdbModiStream>::mapping(IO &IO, PdbModiStream &Obj) { in mapping()
183 void MappingTraits<PdbDbiModuleInfo>::mapping(IO &IO, PdbDbiModuleInfo &Obj) { in mapping()
/llvm-project/clang/unittests/Basic/
H A DDarwinSDKInfoTest.cpp19 llvm::json::Object Obj({{"3.0", "1.0"}, {"3.1", "1.2"}}); in TEST() local
57 llvm::json::Object Obj({{"3.0", "1.0"}, {"5.0", "1.2"}}); in TEST() local
68 llvm::json::Object Obj({}); in TEST() local
75 llvm::json::Object Obj({{"test", "1.2"}}); in TEST() local
82 llvm::json::Object Obj; in TEST() local
128 llvm::json::Object Obj; in TEST() local
184 llvm::json::Object Obj; in TEST() local
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dunnecessary-value-param-delayed.cpp28 void positiveExpensiveConstValue(const ExpensiveToCopyType Obj) { in positiveExpensiveConstValue() argument
35 void positiveExpensiveValue(ExpensiveToCopyType Obj) { in positiveExpensiveValue() argument
86 negativePointer(ExpensiveToCopyType * Obj) negativePointer() argument
89 negativeConstPointer(const ExpensiveToCopyType * Obj) negativeConstPointer() argument
92 negativeConstReference(const ExpensiveToCopyType & Obj) negativeConstReference() argument
95 negativeReference(ExpensiveToCopyType & Obj) negativeReference() argument
98 negativeUniversalReference(ExpensiveToCopyType && Obj) negativeUniversalReference() argument
113 negativeValueIsMutatedByReference(ExpensiveToCopyType Obj) negativeValueIsMutatedByReference() argument
117 negativeValueIsMutatatedByPointer(ExpensiveToCopyType Obj) negativeValueIsMutatatedByPointer() argument
121 negativeValueIsReassigned(ExpensiveToCopyType Obj) negativeValueIsReassigned() argument
125 negativeValueNonConstMethodIsCalled(ExpensiveToCopyType Obj) negativeValueNonConstMethodIsCalled() argument
[all...]
H A Dunnecessary-value-param.cpp60 positiveExpensiveConstValue(const ExpensiveToCopyType Obj) positiveExpensiveConstValue() argument
67 positiveExpensiveValue(ExpensiveToCopyType Obj) positiveExpensiveValue() argument
79 for (const auto& Obj : V) { positiveVector() local
126 negativePointer(ExpensiveToCopyType * Obj) negativePointer() argument
129 negativeConstPointer(const ExpensiveToCopyType * Obj) negativeConstPointer() argument
132 negativeConstReference(const ExpensiveToCopyType & Obj) negativeConstReference() argument
135 negativeReference(ExpensiveToCopyType & Obj) negativeReference() argument
138 negativeUniversalReference(ExpensiveToCopyType && Obj) negativeUniversalReference() argument
153 negativeValueIsMutatedByReference(ExpensiveToCopyType Obj) negativeValueIsMutatedByReference() argument
157 negativeValueIsMutatatedByPointer(ExpensiveToCopyType Obj) negativeValueIsMutatatedByPointer() argument
161 negativeValueIsReassigned(ExpensiveToCopyType Obj) negativeValueIsReassigned() argument
165 negativeValueNonConstMethodIsCalled(ExpensiveToCopyType Obj) negativeValueNonConstMethodIsCalled() argument
[all...]
H A Dunnecessary-copy-initialization.cpp103 PositiveMethodCallConstReferenceParam(const ExpensiveToCopyType & Obj) PositiveMethodCallConstReferenceParam() argument
125 PositiveMethodCallConstParam(const ExpensiveToCopyType Obj) PositiveMethodCallConstParam() argument
147 PositiveMethodCallConstPointerParam(const ExpensiveToCopyType * const Obj) PositiveMethodCallConstPointerParam() argument
280 const ExpensiveToCopyType Obj; PositiveLocalConstValue() local
288 const ExpensiveToCopyType Obj; PositiveLocalConstRef() local
297 const ExpensiveToCopyType Obj; PositiveLocalConstPointer() local
312 NegativeStaticLocalVar(const ExpensiveToCopyType & Obj) NegativeStaticLocalVar() argument
338 positiveNonConstVarInCodeBlock(const ExpensiveToCopyType & Obj) positiveNonConstVarInCodeBlock() argument
349 positiveNonConstVarInCodeBlockWithAlias(const ExpensiveToCopyType & Obj) positiveNonConstVarInCodeBlockWithAlias() argument
358 negativeNonConstVarWithNonConstUse(const ExpensiveToCopyType & Obj) negativeNonConstVarWithNonConstUse() argument
381 PositiveMethodCallNonConstRefNotModified(ExpensiveToCopyType & Obj) PositiveMethodCallNonConstRefNotModified() argument
388 NegativeMethodCallNonConstRefIsModified(ExpensiveToCopyType & Obj) NegativeMethodCallNonConstRefIsModified() argument
396 PositiveMethodCallNonConstNotModified(ExpensiveToCopyType Obj) PositiveMethodCallNonConstNotModified() argument
403 NegativeMethodCallNonConstValueArgumentIsModified(ExpensiveToCopyType Obj) NegativeMethodCallNonConstValueArgumentIsModified() argument
408 PositiveMethodCallNonConstPointerNotModified(ExpensiveToCopyType * const Obj) PositiveMethodCallNonConstPointerNotModified() argument
416 NegativeMethodCallNonConstPointerIsModified(ExpensiveToCopyType * const Obj) NegativeMethodCallNonConstPointerIsModified() argument
433 ExpensiveToCopyType Obj; NegativeLocalVarIsModified() local
440 ExpensiveToCopyType Obj; global() member
[all...]
/llvm-project/clang/lib/InstallAPI/
H A DFileList.cpp62 Implementation::parseString(const Object *Obj, StringRef Key, StringRef Error) { in parseString()
69 Expected<HeaderType> Implementation::parseType(const Object *Obj) { in parseType()
86 Expected<StringRef> Implementation::parsePath(const Object *Obj) { in parsePath()
95 Implementation::parseLanguage(const Object *Obj) { in parseLanguage()
110 auto *Obj = H.getAsObject(); in parseHeaders() local
/llvm-project/llvm/tools/llvm-objdump/
H A DWasmDump.cpp24 const WasmObjectFile &Obj; member in __anonf72805130111::WasmDumper
33 objdump::createWasmDumper(const object::WasmObjectFile &Obj) { in createWasmDumper()
44 Error objdump::getWasmRelocationValueString(const WasmObjectFile *Obj, in getWasmRelocationValueString()
H A DXCOFFDump.cpp99 if (Obj.is64Bit()) in isLabel() argument
40 createXCOFFDumper(const object::XCOFFObjectFile & Obj) createXCOFFDumper() argument
44 getXCOFFRelocationValueString(const XCOFFObjectFile & Obj,const RelocationRef & Rel,bool SymbolDescription,SmallVectorImpl<char> & Result) getXCOFFRelocationValueString() argument
68 getXCOFFSymbolCsectSMC(const XCOFFObjectFile & Obj,const SymbolRef & Sym) getXCOFFSymbolCsectSMC() argument
83 getXCOFFSymbolContainingSymbolRef(const XCOFFObjectFile & Obj,const SymbolRef & Sym) getXCOFFSymbolContainingSymbolRef() argument
134 PRINTBOOL(Prefix,Obj,Field) global() argument
137 PRINTGET(Prefix,Obj,Field) global() argument
152 dumpTracebackTable(ArrayRef<uint8_t> Bytes,uint64_t Address,formatted_raw_ostream & OS,uint64_t End,const MCSubtargetInfo & STI,const XCOFFObjectFile * Obj) dumpTracebackTable() argument
[all...]
H A DCOFFDump.cpp59 const llvm::object::COFFObjectFile &Obj; member in __anon4ecf40f90111::COFFDumper
65 objdump::createCOFFDumper(const object::COFFObjectFile &Obj) { in createCOFFDumper() argument
325 resolveSectionAndAddress(const COFFObjectFile * Obj,const SymbolRef & Sym,const coff_section * & ResolvedSection,uint64_t & ResolvedAddr) resolveSectionAndAddress() argument
359 getSectionContents(const COFFObjectFile * Obj,const std::vector<RelocationRef> & Rels,uint64_t Offset,ArrayRef<uint8_t> & Contents,uint64_t & Addr) getSectionContents() argument
400 printSEHTable(const COFFObjectFile * Obj,uint32_t TableVA,int Count) printSEHTable() argument
436 printTLSDirectory(const COFFObjectFile * Obj) printTLSDirectory() argument
455 printLoadConfiguration(const COFFObjectFile * Obj) printLoadConfiguration() argument
493 printImportTables(const COFFObjectFile * Obj) printImportTables() argument
539 printExportTable(const COFFObjectFile * Obj) printExportTable() argument
594 getPDataSection(const COFFObjectFile * Obj,std::vector<RelocationRef> & Rels,const RuntimeFunction * & RFStart,int & NumRFs) getPDataSection() argument
622 getCOFFRelocationValueString(const COFFObjectFile * Obj,const RelocationRef & Rel,SmallVectorImpl<char> & Result) getCOFFRelocationValueString() argument
676 printRuntimeFunction(const COFFObjectFile * Obj,const RuntimeFunction & RF) printRuntimeFunction() argument
699 printRuntimeFunctionRels(const COFFObjectFile * Obj,const RuntimeFunction & RF,uint64_t SectionOffset,const std::vector<RelocationRef> & Rels) printRuntimeFunctionRels() argument
745 printCOFFUnwindInfo(const COFFObjectFile * Obj) printCOFFUnwindInfo() argument
[all...]
/llvm-project/llvm/lib/ObjCopy/wasm/
H A DWasmWriter.h22 Writer(Object &Obj, raw_ostream &Out) : Obj(Obj), Out(Out) {} in Writer()
27 Object &Obj; variable
/llvm-project/clang/test/OpenMP/
H A Dcancel_codegen_cleanup.cpp33 struct Obj { struct
34 int a; Obj(); Obj(const Obj& r) = delete; Obj &operator=(const Obj& r); argument
/llvm-project/clang/test/CodeGenObjC/
H A Dbitfield-gnu.m4 @interface Obj { B *b; } @end interface
5 @implementation Obj @end implementation
/llvm-project/llvm/lib/Object/
H A DELFObjectFile.cpp1007 if (const auto *Obj = dyn_cast<ELF32LEObjectFile>(this)) in readBBAddrMap() local
1009 if (const auto *Obj in readBBAddrMap() local
73 createELFObjectFile(MemoryBufferRef Obj,bool InitContent) createELFObjectFile() argument
994 if (const auto *Obj = dyn_cast<ELF32LEObjectFile>(this)) readDynsymVersions() local
996 if (const auto *Obj = dyn_cast<ELF32BEObjectFile>(this)) readDynsymVersions() local
998 if (const auto *Obj = dyn_cast<ELF64LEObjectFile>(this)) readDynsymVersions() local
1011 if (const auto *Obj = dyn_cast<ELF32BEObjectFile>(this)) readBBAddrMap() local
1019 if (const auto *Obj = dyn_cast<ELF32LEObjectFile>(this)) getCrelDecodeProblem() local
1021 if (const auto *Obj = dyn_cast<ELF32BEObjectFile>(this)) getCrelDecodeProblem() local
1023 if (const auto *Obj = dyn_cast<ELF64LEObjectFile>(this)) getCrelDecodeProblem() local
[all...]
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/llvm/
H A Dprefer-isa-or-dyn-cast-in-conditionals.cpp116 #define CAST(T, Obj) cast<T>(Obj) in foo() argument
118 #define ISA(T, Obj) isa<T>(Obj) in foo() argument
119 #define ISA_OR_NULL(T, Obj) Obj &&isa<T>(Obj) in foo() argument
/llvm-project/clang/lib/Basic/
H A DDarwinSDKInfo.cpp39 const llvm::json::Object &Obj, VersionTuple MaximumDeploymentTarget) { in parseJSON()
65 static std::optional<VersionTuple> getVersionKey(const llvm::json::Object &Obj, in getVersionKey()
77 DarwinSDKInfo::parseDarwinSDKSettingsJSON(const llvm::json::Object *Obj) { in parseDarwinSDKSettingsJSON()
146 if (const auto *Obj = Result->getAsObject()) { in parseDarwinSDKInfo() local
/llvm-project/llvm/include/llvm/Support/
H A DTrailingObjects.h145 getTrailingObjectsImpl(const BaseTy *Obj, in getTrailingObjectsImpl()
160 getTrailingObjectsImpl(BaseTy *Obj, in getTrailingObjectsImpl()
241 getTrailingObjectsImpl(const BaseTy *Obj, in getTrailingObjectsImpl()
247 getTrailingObjectsImpl(BaseTy *Obj, in getTrailingObjectsImpl()
260 callNumTrailingObjects(const BaseTy *Obj, in callNumTrailingObjects()
266 static size_t callNumTrailingObjects(const BaseTy *Obj, in callNumTrailingObjects()
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/
H A Dmisleading-capture-default-by-value.cpp3 struct Obj { struct
4 void lambdas_that_warn_default_capture_copy() { in lambdas_that_warn_default_capture_copy()
53 void lambdas_that_dont_warn_default_capture_ref() { in lambdas_that_dont_warn_default_capture_ref()
65 void lambdas_that_dont_warn() { in lambdas_that_dont_warn()
78 int x;
/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFWriter.h25 Object &Obj; variable
55 COFFWriter(Object &Obj, raw_ostream &Out) in COFFWriter()
/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp158 return std::make_unique<ELFWriter<ELF32LE>>(Obj, Out, !Config.StripSections, in createELFWriter() argument
62 onlyKeepDWOPred(const Object & Obj,const SectionBase & Sec) onlyKeepDWOPred() argument
179 createWriter(const CommonConfig & Config,Object & Obj,raw_ostream & Out,ElfType OutputElfType) createWriter() argument
194 dumpSectionToFile(StringRef SecName,StringRef Filename,Object & Obj) dumpSectionToFile() argument
285 isRequiredByABISymbol(const Object & Obj,const Symbol & Sym) isRequiredByABISymbol() argument
305 updateAndRemoveSymbols(const CommonConfig & Config,const ELFConfig & ELFConfig,Object & Obj) updateAndRemoveSymbols() argument
417 replaceAndRemoveSections(const CommonConfig & Config,const ELFConfig & ELFConfig,Object & Obj) replaceAndRemoveSections() argument
564 addSymbol(Object & Obj,const NewSymbolInfo & SymInfo,uint8_t DefaultVisibility) addSymbol() argument
634 handleArgs(const CommonConfig & Config,const ELFConfig & ELFConfig,Object & Obj) handleArgs() argument
824 writeOutput(const CommonConfig & Config,Object & Obj,raw_ostream & Out,ElfType OutputElfType) writeOutput() argument
837 Expected<std::unique_ptr<Object>> Obj = Reader.create(true); executeObjcopyOnIHex() local
853 Expected<std::unique_ptr<Object>> Obj = Reader.create(true); executeObjcopyOnRawBinary() local
871 Expected<std::unique_ptr<Object>> Obj = executeObjcopyOnBinary() local
[all...]
/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DObjectFileInterface.cpp43 getMachOObjectFileSymbolInfo(ExecutionSession & ES,const object::MachOObjectFile & Obj) getMachOObjectFileSymbolInfo() argument
100 getELFObjectFileSymbolInfo(ExecutionSession & ES,const object::ELFObjectFileBase & Obj) getELFObjectFileSymbolInfo() argument
154 getCOFFObjectFileSymbolInfo(ExecutionSession & ES,const object::COFFObjectFile & Obj) getCOFFObjectFileSymbolInfo() argument
236 getGenericObjectFileSymbolInfo(ExecutionSession & ES,const object::ObjectFile & Obj) getGenericObjectFileSymbolInfo() argument
276 auto Obj = object::ObjectFile::createObjectFile(ObjBuffer); getObjectFileInterface() local
[all...]
/llvm-project/llvm/lib/Remarks/
H A DRemarkLinker.cpp30 getRemarksSectionName(const object::ObjectFile &Obj) { in getRemarksSectionName()
39 llvm::remarks::getRemarksSectionContents(const object::ObjectFile &Obj) { in getRemarksSectionContents()
105 Error RemarkLinker::link(const object::ObjectFile &Obj, in link()
/llvm-project/llvm/tools/llvm-readobj/
H A DObjDumper.cpp91 void ObjDumper::printFileSummary(StringRef FileStr, object::ObjectFile &Obj, in printFileSummary() argument
104 getSectionRefsByNameOrIndex(const object::ObjectFile & Obj,ArrayRef<std::string> Sections) getSectionRefsByNameOrIndex() argument
146 maybeDecompress(const object::ObjectFile & Obj,StringRef SectionName,StringRef & SectionContent,SmallString<0> & Out) maybeDecompress() argument
159 printSectionsAsString(const object::ObjectFile & Obj,ArrayRef<std::string> Sections,bool Decompress) printSectionsAsString() argument
176 printSectionsAsHex(const object::ObjectFile & Obj,ArrayRef<std::string> Sections,bool Decompress) printSectionsAsHex() argument
[all...]
/llvm-project/llvm/lib/TextAPI/BinaryReader/
H A DDylibReader.cpp48 static TripleVec constructTriples(MachOObjectFile *Obj, in constructTriples()
145 static Error readMachOHeader(MachOObjectFile *Obj, RecordsSlice &Slice) { in readMachOHeader()
249 static Error readSymbols(MachOObjectFile *Obj, RecordsSlice &Slice, in readSymbols()
337 static Error load(MachOObjectFile *Obj, RecordsSlice &Slice, in load()
362 if (auto *Obj = dyn_cast<MachOObjectFile>(&Bin)) { in readFile() local
405 auto &Obj = *ObjOrErr.get(); in readFile() local
440 accumulateLocs(MachOObjectFile &Obj, in accumulateLocs()
535 auto &Obj = **MachOOrErr; in accumulateSourceLocFromDSYM() local
/llvm-project/llvm/lib/ObjCopy/XCOFF/
H A DXCOFFObjcopy.cpp33 assert(Obj && "Unable to deserialize XCOFF object"); in executeObjcopyOnBinary() local
23 handleArgs(const CommonConfig & Config,Object & Obj) handleArgs() argument

12345678910>>...12