Home
last modified time | relevance | path

Searched refs:MachineJumpTableInfo (Results 1 – 25 of 37) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunction.cpp293 JumpTableInfo->~MachineJumpTableInfo(); in clear()
314 MachineJumpTableInfo *MachineFunction::
319 MachineJumpTableInfo((MachineJumpTableInfo::JTEntryKind)EntryKind); in getOrCreateJumpTableInfo()
1252 case MachineJumpTableInfo::EK_BlockAddress: in getEntrySize()
1255 case MachineJumpTableInfo::EK_LabelDifference64: in getEntrySize()
1258 case MachineJumpTableInfo::EK_LabelDifference32: in getEntrySize()
1259 case MachineJumpTableInfo::EK_Custom32: in getEntrySize()
1261 case MachineJumpTableInfo::EK_Inline: in getEntrySize()
1273 case MachineJumpTableInfo::EK_BlockAddress: in getEntryAlignment()
1280 case MachineJumpTableInfo::EK_Custom32: in getEntryAlignment()
[all …]
H A DGCEmptyBasicBlocks.cpp48 MachineJumpTableInfo *JTI = MF.getJumpTableInfo(); in runOnMachineFunction()
H A DBranchFolding.cpp220 MachineJumpTableInfo *JTI = MF.getJumpTableInfo(); in OptimizeFunction()
1376 if (MachineJumpTableInfo *MJTI = MF.getJumpTableInfo()) in OptimizeBlock()
1663 if (MachineJumpTableInfo *MJTI = MF.getJumpTableInfo()) in OptimizeBlock()
H A DMIRPrinter.cpp119 const MachineJumpTableInfo &JTI);
598 const MachineJumpTableInfo &JTI) { in convert()
H A DMachineBasicBlock.cpp1064 const MachineJumpTableInfo &MJTI = *MF.getJumpTableInfo(); in jumpTableHasOtherUses()
1149 MachineJumpTableInfo &MJTI = *MF->getJumpTableInfo(); in SplitCriticalEdge()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kSubtarget.cpp225 return MachineJumpTableInfo::EK_Custom32; in getJumpTableEncoding()
227 return MachineJumpTableInfo::EK_LabelDifference32; in getJumpTableEncoding()
231 return MachineJumpTableInfo::EK_BlockAddress; in getJumpTableEncoding()
H A DM68kISelLowering.h144 const MCExpr *LowerCustomJumpTableEntry(const MachineJumpTableInfo *MJTI,
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineJumpTableInfo.h42 class MachineJumpTableInfo {
89 explicit MachineJumpTableInfo(JTEntryKind Kind): EntryKind(Kind) {} in MachineJumpTableInfo() function
H A DMIRYamlMapping.h129 template <> struct ScalarEnumerationTraits<MachineJumpTableInfo::JTEntryKind> {
131 MachineJumpTableInfo::JTEntryKind &EntryKind) {
133 MachineJumpTableInfo::EK_BlockAddress);
135 MachineJumpTableInfo::EK_GPRel64BlockAddress);
137 MachineJumpTableInfo::EK_GPRel32BlockAddress);
139 MachineJumpTableInfo::EK_LabelDifference32);
141 MachineJumpTableInfo::EK_LabelDifference64);
142 IO.enumCase(EntryKind, "inline", MachineJumpTableInfo::EK_Inline);
143 IO.enumCase(EntryKind, "custom32", MachineJumpTableInfo::EK_Custom32);
580 MachineJumpTableInfo::JTEntryKind Kind = MachineJumpTableInfo::EK_Custom32;
H A DMachineFunction.h61 class MachineJumpTableInfo; variable
280 MachineJumpTableInfo *JumpTableInfo;
739 const MachineJumpTableInfo *getJumpTableInfo() const { return JumpTableInfo; }
740 MachineJumpTableInfo *getJumpTableInfo() { return JumpTableInfo; }
744 MachineJumpTableInfo *getOrCreateJumpTableInfo(unsigned JTEntryKind);
H A DAsmPrinter.h56 class MachineJumpTableInfo; variable
891 void emitJumpTableEntry(const MachineJumpTableInfo *MJTI,
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2690 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in emitJumpTableInfo()
2692 if (MJTI->getEntryKind() == MachineJumpTableInfo::EK_Inline) return; in emitJumpTableInfo()
2701 MJTI->getEntryKind() == MachineJumpTableInfo::EK_LabelDifference32 || in emitJumpTableInfo()
2765 void AsmPrinter::emitJumpTableEntry(const MachineJumpTableInfo *MJTI, in emitJumpTableEntry()
2771 case MachineJumpTableInfo::EK_Inline: in emitJumpTableEntry()
2773 case MachineJumpTableInfo::EK_Custom32: in emitJumpTableEntry()
2777 case MachineJumpTableInfo::EK_BlockAddress: in emitJumpTableEntry()
2782 case MachineJumpTableInfo::EK_GPRel32BlockAddress: { in emitJumpTableEntry()
2791 case MachineJumpTableInfo::EK_GPRel64BlockAddress: { in emitJumpTableEntry()
2800 case MachineJumpTableInfo::EK_LabelDifference32: in emitJumpTableEntry()
[all …]
H A DCodeViewDebug.cpp3470 const std::function<void(const MachineJumpTableInfo &, const MachineInstr &, in forEachJumpTableBranch() argument
3526 [this](const MachineJumpTableInfo &, const MachineInstr &BranchMI, in discoverJumpTableBranches()
3534 [this, MF](const MachineJumpTableInfo &JTI, const MachineInstr &BranchMI, in collectDebugInfoForJumpTables() argument
3544 case MachineJumpTableInfo::EK_Custom32: in collectDebugInfoForJumpTables()
3545 case MachineJumpTableInfo::EK_GPRel32BlockAddress: in collectDebugInfoForJumpTables()
3546 case MachineJumpTableInfo::EK_GPRel64BlockAddress: in collectDebugInfoForJumpTables()
3550 case MachineJumpTableInfo::EK_BlockAddress: in collectDebugInfoForJumpTables()
3555 case MachineJumpTableInfo::EK_Inline: in collectDebugInfoForJumpTables()
3556 case MachineJumpTableInfo::EK_LabelDifference32: in collectDebugInfoForJumpTables()
3557 case MachineJumpTableInfo::EK_LabelDifference64: in collectDebugInfoForJumpTables()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVInstructionSelector.cpp621 const MachineJumpTableInfo *MJTI = MF.getJumpTableInfo(); in select()
626 (MJTI->getEntryKind() == MachineJumpTableInfo::EK_LabelDifference32 || in select()
627 MJTI->getEntryKind() == MachineJumpTableInfo::EK_Custom32 || in select()
628 MJTI->getEntryKind() == MachineJumpTableInfo::EK_BlockAddress) && in select()
656 if (MJTI->getEntryKind() == MachineJumpTableInfo::EK_LabelDifference32) { in select()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp609 if (MJTI->getEntryKind() != MachineJumpTableInfo::EK_Inline) in doInitialJumpTablePlacement()
757 if (const MachineJumpTableInfo *JTI = MF->getJumpTableInfo()) in scanFunctionJumpTables()
785 MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in initializeFunctionInfo()
787 MJTI && MJTI->getEntryKind() == MachineJumpTableInfo::EK_Inline; in initializeFunctionInfo()
2232 MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in optimizeThumb2JumpTables()
2428 MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in reorderThumb2JumpTables()
H A DARMAsmPrinter.cpp1010 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in emitJumpTableAddrs()
1053 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in emitJumpTableInsts()
1081 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in emitJumpTableTBInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreAsmPrinter.cpp189 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in printInlineJT()
H A DXCoreISelLowering.cpp332 return MachineJumpTableInfo::EK_Inline; in getJumpTableEncoding()
345 const MachineJumpTableInfo *MJTI = MF.getJumpTableInfo(); in LowerBR_JT()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.h221 const MCExpr *LowerCustomJumpTableEntry(const MachineJumpTableInfo *MJTI,
H A DVEISelLowering.cpp1978 return MachineJumpTableInfo::EK_Custom32; in getJumpTableEncoding()
1985 const MachineJumpTableInfo *MJTI, const MachineBasicBlock *MBB, in LowerCustomJumpTableEntry()
2483 MachineJumpTableInfo *JTI = MF->getOrCreateJumpTableInfo(JTE); in emitSjLjDispatchBlock()
2562 case MachineJumpTableInfo::EK_BlockAddress: { in emitSjLjDispatchBlock()
2583 case MachineJumpTableInfo::EK_Custom32: { in emitSjLjDispatchBlock()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h772 const MCExpr *LowerCustomJumpTableEntry(const MachineJumpTableInfo *MJTI,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLoweringCall.cpp418 return MachineJumpTableInfo::EK_Custom32; in getJumpTableEncoding()
421 return MachineJumpTableInfo::EK_LabelDifference64; in getJumpTableEncoding()
460 X86TargetLowering::LowerCustomJumpTableEntry(const MachineJumpTableInfo *MJTI, in LowerCustomJumpTableEntry()
H A DX86ISelLowering.h989 LowerCustomJumpTableEntry(const MachineJumpTableInfo *MJTI,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsAsmPrinter.cpp1242 if (MachineJumpTableInfo *JtInfo = MF.getJumpTableInfo()) { in NaClAlignIndirectJumpTargets()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp992 MachineJumpTableInfo *JTI = PFS.MF.getOrCreateJumpTableInfo(YamlJTI.Kind); in initializeJumpTableInfo()

12