Lines Matching refs:OF
24 inline OwningBinary<ObjectFile> *unwrap(LLVMObjectFileRef OF) { in unwrap() argument
25 return reinterpret_cast<OwningBinary<ObjectFile> *>(OF); in unwrap()
28 inline LLVMObjectFileRef wrap(const OwningBinary<ObjectFile> *OF) { in wrap() argument
30 const_cast<OwningBinary<ObjectFile> *>(OF)); in wrap()
153 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileCopySectionIterator() local
154 auto sections = OF->sections(); in LLVMObjectFileCopySectionIterator()
162 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileIsSectionIteratorAtEnd() local
163 return (*unwrap(SI) == OF->section_end()) ? 1 : 0; in LLVMObjectFileIsSectionIteratorAtEnd()
167 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileCopySymbolIterator() local
168 auto symbols = OF->symbols(); in LLVMObjectFileCopySymbolIterator()
176 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileIsSymbolIteratorAtEnd() local
177 return (*unwrap(SI) == OF->symbol_end()) ? 1 : 0; in LLVMObjectFileIsSymbolIteratorAtEnd()
201 LLVMSectionIteratorRef LLVMGetSections(LLVMObjectFileRef OF) { in LLVMGetSections() argument
202 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSections()
211 LLVMBool LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef OF, in LLVMIsSectionIteratorAtEnd() argument
213 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMIsSectionIteratorAtEnd()
234 LLVMSymbolIteratorRef LLVMGetSymbols(LLVMObjectFileRef OF) { in LLVMGetSymbols() argument
235 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSymbols()
244 LLVMBool LLVMIsSymbolIteratorAtEnd(LLVMObjectFileRef OF, in LLVMIsSymbolIteratorAtEnd() argument
246 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMIsSymbolIteratorAtEnd()