| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | JumpTableToSwitch.cpp | 76 JumpTableTy JumpTable; in parseJumpTable() local 77 JumpTable.Index = VariableOffsets.front().first; in parseJumpTable() 78 JumpTable.Funcs.reserve(N); in parseJumpTable() 88 JumpTable.Funcs.push_back(Func); in parseJumpTable() 90 return JumpTable; in parseJumpTable() 170 std::optional<JumpTableTy> JumpTable = parseJumpTable(GEP, PtrTy); in run() local 171 if (!JumpTable) in run() 173 SplittedOutTail = expandToSwitch(Call, *JumpTable, DTU, ORE); in run()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
| H A D | SymbolRecordMapping.cpp | 487 JumpTableSym &JumpTable) { in visitKnownRecord() argument 488 error(IO.mapInteger(JumpTable.BaseOffset)); in visitKnownRecord() 489 error(IO.mapInteger(JumpTable.BaseSegment)); in visitKnownRecord() 490 error(IO.mapEnum(JumpTable.SwitchType)); in visitKnownRecord() 491 error(IO.mapInteger(JumpTable.BranchOffset)); in visitKnownRecord() 492 error(IO.mapInteger(JumpTable.TableOffset)); in visitKnownRecord() 493 error(IO.mapInteger(JumpTable.BranchSegment)); in visitKnownRecord() 494 error(IO.mapInteger(JumpTable.TableSegment)); in visitKnownRecord() 495 error(IO.mapInteger(JumpTable.EntriesCount)); in visitKnownRecord()
|
| H A D | SymbolDumper.cpp | 662 JumpTableSym &JumpTable) { in visitKnownRecord() argument 663 W.printHex("BaseOffset", JumpTable.BaseOffset); in visitKnownRecord() 664 W.printNumber("BaseSegment", JumpTable.BaseSegment); in visitKnownRecord() 665 W.printEnum("SwitchType", static_cast<uint16_t>(JumpTable.SwitchType), in visitKnownRecord() 667 W.printHex("BranchOffset", JumpTable.BranchOffset); in visitKnownRecord() 668 W.printHex("TableOffset", JumpTable.TableOffset); in visitKnownRecord() 669 W.printNumber("BranchSegment", JumpTable.BranchSegment); in visitKnownRecord() 670 W.printNumber("TableSegment", JumpTable.TableSegment); in visitKnownRecord() 671 W.printNumber("EntriesCount", JumpTable.EntriesCount); in visitKnownRecord()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | StaticDataSplitter.cpp | 228 for (const auto &JumpTable : MJTI->getJumpTables()) { in updateStatsWithProfiles() local 229 if (JumpTable.Hotness == MachineFunctionDataHotness::Hot) { in updateStatsWithProfiles() 232 assert(JumpTable.Hotness == MachineFunctionDataHotness::Cold && in updateStatsWithProfiles()
|
| H A D | PseudoSourceValue.cpp | 107 JumpTablePSV(PseudoSourceValue::JumpTable, TM), in PseudoSourceValueManager()
|
| H A D | SwitchLoweringUtils.cpp | 257 JumpTable JT(Register(), JTI, JumpTableMBB, nullptr, SL); in buildJumpTable()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
| H A D | MinimalSymbolDumper.cpp | 946 JumpTableSym &JumpTable) { in visitKnownRecord() argument 951 formatSegmentOffset(JumpTable.BaseSegment, JumpTable.BaseOffset), in visitKnownRecord() 952 formatJumpTableEntrySize(JumpTable.SwitchType), in visitKnownRecord() 953 formatSegmentOffset(JumpTable.BranchSegment, JumpTable.BranchOffset), in visitKnownRecord() 954 formatSegmentOffset(JumpTable.TableSegment, JumpTable.TableOffset), in visitKnownRecord() 955 JumpTable.EntriesCount); in visitKnownRecord() 960 HotPatchFuncSym &JumpTable) { in visitKnownRecord() argument 962 P.formatLine("function = {0}, name = {1}", typeIndex(JumpTable.Function), in visitKnownRecord() 963 JumpTable.Name); in visitKnownRecord()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | PseudoSourceValue.h | 38 JumpTable, enumerator 69 bool isJumpTable() const { return Kind == JumpTable; } in isJumpTable()
|
| H A D | SwitchLoweringUtils.h | 170 struct JumpTable { struct 185 JumpTable(Register R, unsigned J, MachineBasicBlock *M, MachineBasicBlock *D, in JumpTable() argument 202 using JumpTableBlock = std::pair<JumpTableHeader, JumpTable>;
|
| H A D | ISDOpcodes.h | 91 JumpTable, enumerator
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Target/ |
| H A D | TargetOptions.h | 37 namespace JumpTable {
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.cpp | 3592 for (const auto &JumpTable : FI.JumpTables) { in emitDebugInfoForJumpTables() local 3593 for (const auto &CaseSym : JumpTable.Cases) { in emitDebugInfoForJumpTables() 3604 for (const auto &JumpTable : FI.JumpTables) { in emitDebugInfoForJumpTables() local 3606 if (JumpTable.Base) { in emitDebugInfoForJumpTables() 3608 OS.emitCOFFSecRel32(JumpTable.Base, JumpTable.BaseOffset); in emitDebugInfoForJumpTables() 3610 OS.emitCOFFSectionIndex(JumpTable.Base); in emitDebugInfoForJumpTables() 3618 OS.emitInt16(static_cast<uint16_t>(JumpTable.EntrySize)); in emitDebugInfoForJumpTables() 3620 OS.emitCOFFSecRel32(JumpTable.Branch, /*Offset=*/0); in emitDebugInfoForJumpTables() 3622 OS.emitCOFFSecRel32(JumpTable.Table, /*Offset=*/0); in emitDebugInfoForJumpTables() 3624 OS.emitCOFFSectionIndex(JumpTable.Branch); in emitDebugInfoForJumpTables() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | IRTranslator.h | 380 bool emitJumpTableHeader(SwitchCG::JumpTable &JT, 383 void emitJumpTable(SwitchCG::JumpTable &JT, MachineBasicBlock *MBB);
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | Relocation.txt | 6 GlobalAddress, GlobalTLSAddress, JumpTable, ConstantPool,
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
| H A D | LVCodeViewVisitor.cpp | 1683 JumpTableSym &JumpTable) { in visitKnownRecord() argument 1685 W.printHex("BaseOffset", JumpTable.BaseOffset); in visitKnownRecord() 1686 W.printNumber("BaseSegment", JumpTable.BaseSegment); in visitKnownRecord() 1687 W.printFlags("SwitchType", static_cast<uint16_t>(JumpTable.SwitchType), in visitKnownRecord() 1689 W.printHex("BranchOffset", JumpTable.BranchOffset); in visitKnownRecord() 1690 W.printHex("TableOffset", JumpTable.TableOffset); in visitKnownRecord() 1691 W.printNumber("BranchSegment", JumpTable.BranchSegment); in visitKnownRecord() 1692 W.printNumber("TableSegment", JumpTable.TableSegment); in visitKnownRecord() 1693 W.printNumber("EntriesCount", JumpTable.EntriesCount); in visitKnownRecord()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kInstrCompiler.td | 16 // ConstantPool, GlobalAddress, ExternalSymbol, and JumpTable
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.h | 530 void visitJumpTable(SwitchCG::JumpTable &JT); 531 void visitJumpTableHeader(SwitchCG::JumpTable &JT,
|
| H A D | SelectionDAGDumper.cpp | 143 case ISD::JumpTable: return "JumpTable"; in getOperationName()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILPrepare.cpp | 51 Attribute::JumpTable, in isValidForDXIL()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
| H A D | ARCISelLowering.cpp | 150 setOperationAction(ISD::JumpTable, MVT::i32, Custom); in ARCTargetLowering() 782 case ISD::JumpTable: in LowerOperation()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | LowerTypeTests.cpp | 1702 auto JumpTable = ConstantExpr::getPointerCast( in buildBitSetsFromFunctionsNative() local 1705 lowerTypeTestCalls(TypeIds, JumpTable, GlobalLayout); in buildBitSetsFromFunctionsNative() 1714 JumpTableType, JumpTable, in buildBitSetsFromFunctionsNative()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
| H A D | CSKYISelLowering.cpp | 92 setOperationAction(ISD::JumpTable, MVT::i32, Custom); in CSKYTargetLowering() 176 case ISD::JumpTable: in LowerOperation()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
| H A D | MSP430ISelLowering.cpp | 149 setOperationAction(ISD::JumpTable, MVT::i16, Custom); in MSP430TargetLowering() 234 case ISD::JumpTable: return LowerJumpTable(Op, DAG); in LowerOperation()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiISelLowering.cpp | 92 setOperationAction(ISD::JumpTable, MVT::i32, Custom); in LanaiTargetLowering() 179 case ISD::JumpTable: in LowerOperation()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/ |
| H A D | XtensaISelLowering.cpp | 106 setOperationAction(ISD::JumpTable, PtrVT, Custom); in XtensaTargetLowering() 1470 case ISD::JumpTable: in LowerOperation()
|