| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | MachineJumpTableInfo.h | 80 std::vector<MachineJumpTableEntry> JumpTables; variable 97 bool isEmpty() const { return JumpTables.empty(); } in isEmpty() 100 return JumpTables; in getJumpTables() 106 JumpTables[Idx].MBBs.clear(); in RemoveJumpTable()
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | BinaryFunctionProfile.cpp | 45 extern cl::opt<JumpTableSupportLevel> JumpTables; 170 if (opts::ICP < ICP_JUMP_TABLES && opts::JumpTables < JTS_AGGRESSIVE) in postProcessProfile() 257 auto JTMergeI = BF.JumpTables.begin(); in mergeProfileDataInto() 258 for (const auto &JTEntry : JumpTables) { in mergeProfileDataInto() 271 assert(JTMergeI == BF.JumpTables.end()); in mergeProfileDataInto()
|
| H A D | BinaryEmitter.cpp | 34 extern cl::opt<JumpTableSupportLevel> JumpTables; 388 if (!EmitColdPart && opts::JumpTables > JTS_NONE) in emitFunction() 722 if ((opts::JumpTables == JTS_BASIC || !BF.isSimple()) && in emitJumpTables() 727 if (opts::JumpTables == JTS_BASIC) { in emitJumpTables() 759 if (opts::JumpTables > JTS_SPLIT && !JT.Counts.empty()) { in emitJumpTable()
|
| H A D | JumpTable.cpp | 26 extern cl::opt<JumpTableSupportLevel> JumpTables;
|
| H A D | BinaryFunction.cpp | 80 JumpTables("jump-tables", variable 1125 if (opts::JumpTables == JTS_NONE) in disassemble() 1638 for (auto &JTI : JumpTables) { in postProcessJumpTables() 1641 opts::JumpTables = JTS_MOVE; in postProcessJumpTables() 3696 SmallSet<uint64_t, 4> JumpTables; in checkForAmbiguousJumpTables() local 3707 if (!JumpTables.count(JTAddress)) { in checkForAmbiguousJumpTables() 3708 JumpTables.insert(JTAddress); in checkForAmbiguousJumpTables() 3720 SmallPtrSet<JumpTable *, 4> JumpTables; in disambiguateJumpTables() local 3728 auto Iter = JumpTables.find(JT); in disambiguateJumpTables() 3729 if (Iter == JumpTables.end()) { in disambiguateJumpTables() [all …]
|
| H A D | BinaryContext.cpp | 108 for (std::pair<const uint64_t, JumpTable *> JTI : JumpTables) in ~BinaryContext() 625 for (auto JTI = JumpTables.begin(), JTE = JumpTables.end(); JTI != JTE; in populateJumpTables() 793 Function.JumpTables.emplace(Address, JT); in getOrCreateJumpTable() 829 JumpTables.emplace(Address, JT); in getOrCreateJumpTable() 832 Function.JumpTables.emplace(Address, JT); in getOrCreateJumpTable() 863 JumpTables.emplace(JumpTableID, NewJT); in duplicateJumpTable() 864 Function.JumpTables.emplace(JumpTableID, NewJT); in duplicateJumpTable() 879 Id = JumpTableIds[Address] = BF.JumpTables.size(); in generateJumpTableName()
|
| /llvm-project-15.0.7/bolt/lib/RuntimeLibs/ |
| H A D | InstrumentationRuntimeLibrary.cpp | 39 extern cl::opt<JumpTableSupportLevel> JumpTables; 50 if (opts::JumpTables != JTS_MOVE) { in adjustCommandLineOptions() 51 opts::JumpTables = JTS_MOVE; in adjustCommandLineOptions()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineFunction.cpp | 1311 JumpTables.push_back(MachineJumpTableEntry(DestBBs)); in createJumpTableIndex() 1312 return JumpTables.size()-1; in createJumpTableIndex() 1321 for (size_t i = 0, e = JumpTables.size(); i != e; ++i) in ReplaceMBBInJumpTables() 1329 for (MachineJumpTableEntry &JTE : JumpTables) { in RemoveMBBFromJumpTables() 1344 MachineJumpTableEntry &JTE = JumpTables[Idx]; in ReplaceMBBInJumpTable() 1354 if (JumpTables.empty()) return; in print() 1358 for (unsigned i = 0, e = JumpTables.size(); i != e; ++i) { in print() 1360 for (const MachineBasicBlock *MBB : JumpTables[i].MBBs) in print()
|
| /llvm-project-15.0.7/bolt/lib/Passes/ |
| H A D | JTFootprintReduction.cpp | 29 extern cl::opt<JumpTableSupportLevel> JumpTables; 250 if (opts::JumpTables == JTS_BASIC && BC.HasRelocations) in runOnFunctions()
|
| H A D | ReorderData.cpp | 30 extern cl::opt<JumpTableSupportLevel> JumpTables; 448 if (opts::JumpTables > JTS_BASIC) { in runOnFunctions()
|
| /llvm-project-15.0.7/bolt/include/bolt/Core/ |
| H A D | BinaryFunction.h | 539 std::map<uint64_t, JumpTable *> JumpTables; variable 800 return make_range(JumpTables.begin(), JumpTables.end()); in jumpTables() 931 auto JTI = JumpTables.upper_bound(Address); in getJumpTableContainingAddress() 932 if (JTI == JumpTables.begin()) in getJumpTableContainingAddress() 1401 bool hasJumpTables() const { return !JumpTables.empty(); } in hasJumpTables()
|
| H A D | BinaryContext.h | 192 std::map<uint64_t, JumpTable *> JumpTables; variable 374 auto JTI = JumpTables.upper_bound(Address); in getJumpTableContainingAddress() 375 if (JTI == JumpTables.begin()) in getJumpTableContainingAddress() 516 for (auto &JTI : JumpTables) { in clearJumpTableTempData()
|
| /llvm-project-15.0.7/bolt/lib/Rewrite/ |
| H A D | MachORewriteInstance.cpp | 38 extern cl::opt<bolt::JumpTableSupportLevel> JumpTables; 613 opts::JumpTables = JTS_MOVE; in adjustCommandLineOptions()
|
| H A D | RewriteInstance.cpp | 78 extern cl::opt<JumpTableSupportLevel> JumpTables; 3710 if (opts::JumpTables == JTS_BASIC) { in mapCodeSections() 3711 for (auto &JTI : Function.JumpTables) { in mapCodeSections() 5269 if (!BC->HasRelocations && opts::JumpTables == JTS_BASIC) { in rewriteFile() 5270 for (auto &JTI : Function->JumpTables) { in rewriteFile()
|