Lines Matching refs:OF
23 inline OwningBinary<ObjectFile> *unwrap(LLVMObjectFileRef OF) { in unwrap() argument
24 return reinterpret_cast<OwningBinary<ObjectFile> *>(OF); in unwrap()
27 inline LLVMObjectFileRef wrap(const OwningBinary<ObjectFile> *OF) { in wrap() argument
29 const_cast<OwningBinary<ObjectFile> *>(OF)); in wrap()
150 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileCopySectionIterator() local
151 auto sections = OF->sections(); in LLVMObjectFileCopySectionIterator()
159 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileIsSectionIteratorAtEnd() local
160 return (*unwrap(SI) == OF->section_end()) ? 1 : 0; in LLVMObjectFileIsSectionIteratorAtEnd()
164 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileCopySymbolIterator() local
165 auto symbols = OF->symbols(); in LLVMObjectFileCopySymbolIterator()
173 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileIsSymbolIteratorAtEnd() local
174 return (*unwrap(SI) == OF->symbol_end()) ? 1 : 0; in LLVMObjectFileIsSymbolIteratorAtEnd()
198 LLVMSectionIteratorRef LLVMGetSections(LLVMObjectFileRef OF) { in LLVMGetSections() argument
199 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSections()
208 LLVMBool LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef OF, in LLVMIsSectionIteratorAtEnd() argument
210 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMIsSectionIteratorAtEnd()
232 LLVMSymbolIteratorRef LLVMGetSymbols(LLVMObjectFileRef OF) { in LLVMGetSymbols() argument
233 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSymbols()
242 LLVMBool LLVMIsSymbolIteratorAtEnd(LLVMObjectFileRef OF, in LLVMIsSymbolIteratorAtEnd() argument
244 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMIsSymbolIteratorAtEnd()