Home
last modified time | relevance | path

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

12

/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/include/llvm/CodeGen/
H A DPseudoSourceValue.h36 JumpTable,
67 bool isJumpTable() const { return Kind == JumpTable; }
40 JumpTable, global() enumerator
H A DSwitchLoweringUtils.h165 struct JumpTable { struct
177 /// The debug location of the instruction this JumpTable was produced from. in JumpTable() argument
180 JumpTable(unsigned R, unsigned J, MachineBasicBlock *M, MachineBasicBlock *D,
197 using JumpTableBlock = std::pair<JumpTableHeader, JumpTable>;
268 /// Vector of JumpTable structures used to communicate SwitchInst code
H A DISDOpcodes.h81 JumpTable, enumerator
H A DSelectionDAGNodes.h1954 : SDNode(isTarg ? ISD::TargetJumpTable : ISD::JumpTable, 0, DebugLoc(),
1963 return N->getOpcode() == ISD::JumpTable ||
/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()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DPseudoSourceValue.cpp107 JumpTablePSV(PseudoSourceValue::JumpTable, TM), in PseudoSourceValueManager()
H A DSwitchLoweringUtils.cpp257 JumpTable JT(-1U, JTI, JumpTableMBB, nullptr, SL); in buildJumpTable()
H A DMachineOperand.cpp1205 case PseudoSourceValue::JumpTable: in print()
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetOptions.h43 namespace JumpTable {
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp49 Attribute::JumpTable, in isValidForDXIL()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h385 bool emitJumpTableHeader(SwitchCG::JumpTable &JT,
388 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.cpp1690 JumpTableSym &JumpTable) { in visitKnownRecord() argument
1692 W.printHex("BaseOffset", JumpTable.BaseOffset); in visitKnownRecord()
1693 W.printNumber("BaseSegment", JumpTable.BaseSegment); in visitKnownRecord()
1694 W.printFlags("SwitchType", static_cast<uint16_t>(JumpTable.SwitchType), in visitKnownRecord()
1696 W.printHex("BranchOffset", JumpTable.BranchOffset); in visitKnownRecord()
1697 W.printHex("TableOffset", JumpTable.TableOffset); in visitKnownRecord()
1698 W.printNumber("BranchSegment", JumpTable.BranchSegment); in visitKnownRecord()
1699 W.printNumber("TableSegment", JumpTable.TableSegment); in visitKnownRecord()
1700 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.h531 void visitJumpTable(SwitchCG::JumpTable &JT);
532 void visitJumpTableHeader(SwitchCG::JumpTable &JT,
H A DSelectionDAGDumper.cpp132 case ISD::JumpTable: return "JumpTable"; in getOperationName()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCISelLowering.cpp149 setOperationAction(ISD::JumpTable, MVT::i32, Custom); in ARCTargetLowering()
798 case ISD::JumpTable: in LowerOperation()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaISelLowering.cpp82 setOperationAction(ISD::JumpTable, PtrVT, Custom); in XtensaTargetLowering()
727 case ISD::JumpTable: in LowerOperation()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp1661 auto JumpTable = in buildBitSetsFromFunctionsNative() local
1664 lowerTypeTestCalls(TypeIds, JumpTable, GlobalLayout); in buildBitSetsFromFunctionsNative()
1676 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/Lanai/
H A DLanaiISelLowering.cpp94 setOperationAction(ISD::JumpTable, MVT::i32, Custom); in LanaiTargetLowering()
186 case ISD::JumpTable: in LowerOperation()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.td131 def JumpTable : EnumAttr<"jumptable", [FnAttr]>;
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.cpp150 setOperationAction(ISD::JumpTable, MVT::i16, Custom); in MSP430TargetLowering()
355 case ISD::JumpTable: return LowerJumpTable(Op, DAG); in LowerOperation()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp838 void IRTranslator::emitJumpTable(SwitchCG::JumpTable &JT, in emitJumpTable()
853 bool IRTranslator::emitJumpTableHeader(SwitchCG::JumpTable &JT, in emitJumpTableHeader()
991 SwitchCG::JumpTable *JT = &SL->JTCases[I->JTCasesIndex].second; in lowerJumpTableWorkItem()

12