Home
last modified time | relevance | path

Searched refs:JumpTable (Results 1 – 25 of 54) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpTableToSwitch.cpp76 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 DSymbolRecordMapping.cpp487 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 DSymbolDumper.cpp662 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 DStaticDataSplitter.cpp228 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 DPseudoSourceValue.cpp107 JumpTablePSV(PseudoSourceValue::JumpTable, TM), in PseudoSourceValueManager()
H A DSwitchLoweringUtils.cpp257 JumpTable JT(Register(), JTI, JumpTableMBB, nullptr, SL); in buildJumpTable()
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalSymbolDumper.cpp946 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 DPseudoSourceValue.h38 JumpTable, enumerator
69 bool isJumpTable() const { return Kind == JumpTable; } in isJumpTable()
H A DSwitchLoweringUtils.h170 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 DISDOpcodes.h91 JumpTable, enumerator
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetOptions.h37 namespace JumpTable {
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp3592 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 DIRTranslator.h380 bool emitJumpTableHeader(SwitchCG::JumpTable &JT,
383 void emitJumpTable(SwitchCG::JumpTable &JT, MachineBasicBlock *MBB);
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DRelocation.txt6 GlobalAddress, GlobalTLSAddress, JumpTable, ConstantPool,
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.cpp1683 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 DM68kInstrCompiler.td16 // ConstantPool, GlobalAddress, ExternalSymbol, and JumpTable
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h530 void visitJumpTable(SwitchCG::JumpTable &JT);
531 void visitJumpTableHeader(SwitchCG::JumpTable &JT,
H A DSelectionDAGDumper.cpp143 case ISD::JumpTable: return "JumpTable"; in getOperationName()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp51 Attribute::JumpTable, in isValidForDXIL()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCISelLowering.cpp150 setOperationAction(ISD::JumpTable, MVT::i32, Custom); in ARCTargetLowering()
782 case ISD::JumpTable: in LowerOperation()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp1702 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 DCSKYISelLowering.cpp92 setOperationAction(ISD::JumpTable, MVT::i32, Custom); in CSKYTargetLowering()
176 case ISD::JumpTable: in LowerOperation()
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.cpp149 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 DLanaiISelLowering.cpp92 setOperationAction(ISD::JumpTable, MVT::i32, Custom); in LanaiTargetLowering()
179 case ISD::JumpTable: in LowerOperation()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaISelLowering.cpp106 setOperationAction(ISD::JumpTable, PtrVT, Custom); in XtensaTargetLowering()
1470 case ISD::JumpTable: in LowerOperation()

123