Lines Matching refs:BinaryContext
78 BinaryContext::BinaryContext(std::unique_ptr<MCContext> Ctx, in BinaryContext() function in llvm::bolt::BinaryContext
103 BinaryContext::~BinaryContext() { in ~BinaryContext()
115 Expected<std::unique_ptr<BinaryContext>>
116 BinaryContext::createBinaryContext(const ObjectFile *File, bool IsPIC, in createBinaryContext()
231 auto BC = std::make_unique<BinaryContext>( in createBinaryContext()
259 bool BinaryContext::forceSymbolRelocations(StringRef SymbolName) const { in forceSymbolRelocations()
275 BinaryContext::createObjectWriter(raw_pwrite_stream &OS) { in createObjectWriter()
279 bool BinaryContext::validateObjectNesting() const { in validateObjectNesting()
302 bool BinaryContext::validateHoles() const { in validateHoles()
324 void BinaryContext::updateObjectNesting(BinaryDataMapType::iterator GAI) { in updateObjectNesting()
367 iterator_range<BinaryContext::binary_data_iterator>
368 BinaryContext::getSubBinaryData(BinaryData *BD) { in getSubBinaryData()
377 BinaryContext::handleAddressRef(uint64_t Address, BinaryFunction &BF, in handleAddressRef()
443 MemoryContentsType BinaryContext::analyzeMemoryAt(uint64_t Address, in analyzeMemoryAt()
493 bool BinaryContext::analyzeJumpTable( in analyzeJumpTable()
622 void BinaryContext::populateJumpTables() { in populateJumpTables()
704 void BinaryContext::skipMarkedFragments() { in skipMarkedFragments()
734 MCSymbol *BinaryContext::getOrCreateGlobalSymbol(uint64_t Address, Twine Prefix, in getOrCreateGlobalSymbol()
749 MCSymbol *BinaryContext::getOrCreateUndefinedGlobalSymbol(StringRef Name) { in getOrCreateUndefinedGlobalSymbol()
753 BinaryFunction *BinaryContext::createBinaryFunction( in createBinaryFunction()
767 BinaryContext::getOrCreateJumpTable(BinaryFunction &Function, uint64_t Address, in getOrCreateJumpTable()
837 BinaryContext::duplicateJumpTable(BinaryFunction &Function, JumpTable *JT, in duplicateJumpTable()
868 std::string BinaryContext::generateJumpTableName(const BinaryFunction &BF, in generateJumpTableName()
885 bool BinaryContext::hasValidCodePadding(const BinaryFunction &BF) { in hasValidCodePadding()
968 void BinaryContext::adjustCodePadding() { in adjustCodePadding()
988 MCSymbol *BinaryContext::registerNameAtAddress(StringRef Name, uint64_t Address, in registerNameAtAddress()
1018 BinaryContext::getBinaryDataContainingAddressImpl(uint64_t Address) const { in getBinaryDataContainingAddressImpl()
1037 bool BinaryContext::setBinaryDataSize(uint64_t Address, uint64_t Size) { in setBinaryDataSize()
1059 void BinaryContext::generateSymbolHashes() { in generateSymbolHashes()
1120 bool BinaryContext::registerFragment(BinaryFunction &TargetFunction, in registerFragment()
1140 void BinaryContext::addAdrpAddRelocAArch64(BinaryFunction &BF, in addAdrpAddRelocAArch64()
1155 bool BinaryContext::handleAArch64Veneer(uint64_t Address, bool MatchOnly) { in handleAArch64Veneer()
1234 void BinaryContext::processInterproceduralReferences() { in processInterproceduralReferences()
1301 void BinaryContext::postProcessSymbolTable() { in postProcessSymbolTable()
1319 void BinaryContext::foldFunction(BinaryFunction &ChildBF, in foldFunction()
1380 void BinaryContext::fixBinaryDataHoles() { in fixBinaryDataHoles()
1434 void BinaryContext::printGlobalSymbols(raw_ostream &OS) const { in printGlobalSymbols()
1468 Expected<unsigned> BinaryContext::getDwarfFile( in getDwarfFile()
1477 unsigned BinaryContext::addDebugFilenameToUnit(const uint32_t DestCUID, in addDebugFilenameToUnit()
1507 std::vector<BinaryFunction *> BinaryContext::getSortedFunctions() { in getSortedFunctions()
1524 std::vector<BinaryFunction *> BinaryContext::getAllBinaryFunctions() { in getAllBinaryFunctions()
1536 Optional<DWARFUnit *> BinaryContext::getDWOCU(uint64_t DWOId) { in getDWOCU()
1544 DWARFContext *BinaryContext::getDWOContext() const { in getDWOContext()
1551 void BinaryContext::preprocessDWODebugInfo() { in preprocessDWODebugInfo()
1572 void BinaryContext::preprocessDebugInfo() { in preprocessDebugInfo()
1701 bool BinaryContext::shouldEmit(const BinaryFunction &Function) const { in shouldEmit()
1716 void BinaryContext::printCFI(raw_ostream &OS, const MCCFIInstruction &Inst) { in printCFI()
1771 MarkerSymType BinaryContext::getMarkerType(const SymbolRef &Symbol) const { in getMarkerType()
1796 bool BinaryContext::isMarker(const SymbolRef &Symbol) const { in isMarker()
1830 void BinaryContext::printInstruction(raw_ostream &OS, const MCInst &Instruction, in printInstruction()
1894 BinaryContext::getBaseAddressForMapping(uint64_t MMapAddress, in getBaseAddressForMapping()
1909 ErrorOr<BinarySection &> BinaryContext::getSectionForAddress(uint64_t Address) { in getSectionForAddress()
1923 BinaryContext::getSectionNameForAddress(uint64_t Address) const { in getSectionNameForAddress()
1929 BinarySection &BinaryContext::registerSection(BinarySection *Section) { in registerSection()
1943 BinarySection &BinaryContext::registerSection(SectionRef Section) { in registerSection()
1948 BinaryContext::registerSection(StringRef SectionName, in registerSection()
1955 BinaryContext::registerOrUpdateSection(StringRef Name, unsigned ELFType, in registerOrUpdateSection()
1980 bool BinaryContext::deregisterSection(BinarySection &Section) { in deregisterSection()
2010 void BinaryContext::printSections(raw_ostream &OS) const { in printSections()
2015 BinarySection &BinaryContext::absoluteSection() { in absoluteSection()
2021 ErrorOr<uint64_t> BinaryContext::getUnsignedValueAtAddress(uint64_t Address, in getUnsignedValueAtAddress()
2036 ErrorOr<uint64_t> BinaryContext::getSignedValueAtAddress(uint64_t Address, in getSignedValueAtAddress()
2051 void BinaryContext::addRelocation(uint64_t Address, MCSymbol *Symbol, in addRelocation()
2060 void BinaryContext::addDynamicRelocation(uint64_t Address, MCSymbol *Symbol, in addDynamicRelocation()
2069 bool BinaryContext::removeRelocationAt(uint64_t Address) { in removeRelocationAt()
2075 const Relocation *BinaryContext::getRelocationAt(uint64_t Address) { in getRelocationAt()
2083 const Relocation *BinaryContext::getDynamicRelocationAt(uint64_t Address) { in getDynamicRelocationAt()
2091 void BinaryContext::markAmbiguousRelocations(BinaryData &BD, in markAmbiguousRelocations()
2122 BinaryFunction *BinaryContext::getFunctionForSymbol(const MCSymbol *Symbol, in getFunctionForSymbol()
2136 void BinaryContext::exitWithBugReport(StringRef Message, in exitWithBugReport()
2156 BinaryContext::createInjectedBinaryFunction(const std::string &Name, in createInjectedBinaryFunction()
2166 BinaryContext::calculateEmittedSize(BinaryFunction &BF, bool FixBranches) { in calculateEmittedSize()
2247 bool BinaryContext::validateEncoding(const MCInst &Inst, in validateEncoding()
2267 uint64_t BinaryContext::getHotThreshold() const { in getHotThreshold()
2277 BinaryFunction *BinaryContext::getBinaryFunctionContainingAddress( in getBinaryFunctionContainingAddress()
2293 BinaryFunction *BinaryContext::getBinaryFunctionAtAddress(uint64_t Address) { in getBinaryFunctionAtAddress()
2314 DebugAddressRangesVector BinaryContext::translateModuleAddressRanges( in translateModuleAddressRanges()