Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunction.cpp294 JumpTableInfo->~MachineJumpTableInfo(); in clear()
315 MachineJumpTableInfo *MachineFunction::
320 MachineJumpTableInfo((MachineJumpTableInfo::JTEntryKind)EntryKind); in getOrCreateJumpTableInfo()
1260 unsigned MachineJumpTableInfo::getEntrySize(const DataLayout &TD) const { in getEntrySize()
1264 case MachineJumpTableInfo::EK_BlockAddress: in getEntrySize()
1266 case MachineJumpTableInfo::EK_GPRel64BlockAddress: in getEntrySize()
1267 case MachineJumpTableInfo::EK_LabelDifference64: in getEntrySize()
1269 case MachineJumpTableInfo::EK_GPRel32BlockAddress: in getEntrySize()
1270 case MachineJumpTableInfo::EK_LabelDifference32: in getEntrySize()
1271 case MachineJumpTableInfo::EK_Custom32: in getEntrySize()
[all …]
H A DBranchFolding.cpp224 MachineJumpTableInfo *JTI = MF.getJumpTableInfo(); in OptimizeFunction()
1387 if (MachineJumpTableInfo *MJTI = MF.getJumpTableInfo()) in OptimizeBlock()
1674 if (MachineJumpTableInfo *MJTI = MF.getJumpTableInfo()) in OptimizeBlock()
H A DMIRPrinter.cpp121 const MachineJumpTableInfo &JTI);
601 const MachineJumpTableInfo &JTI) { in convert()
H A DMachineBasicBlock.cpp1070 const MachineJumpTableInfo &MJTI = *MF.getJumpTableInfo(); in jumpTableHasOtherUses()
1164 MachineJumpTableInfo &MJTI = *MF->getJumpTableInfo(); in SplitCriticalEdge()
/freebsd/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.h140 /// The returned value is a member of the MachineJumpTableInfo::JTEntryKind
144 const MCExpr *LowerCustomJumpTableEntry(const MachineJumpTableInfo *MJTI,
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
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 DMachineJumpTableInfo.h1 //===-- CodeGen/MachineJumpTableInfo.h - Abstract Jump Tables --*- C++ -*-===//
9 // The MachineJumpTableInfo class keeps track of jump tables referenced by
42 class MachineJumpTableInfo {
89 explicit MachineJumpTableInfo(JTEntryKind Kind): EntryKind(Kind) {}
82 explicit MachineJumpTableInfo(JTEntryKind Kind): EntryKind(Kind) {} MachineJumpTableInfo() function
H A DMachineFunction.h61 class MachineJumpTableInfo; variable
279 MachineJumpTableInfo *JumpTableInfo;
740 const MachineJumpTableInfo *getJumpTableInfo() const { return JumpTableInfo; }
741 MachineJumpTableInfo *getJumpTableInfo() { return JumpTableInfo; }
745 MachineJumpTableInfo *getOrCreateJumpTableInfo(unsigned JTEntryKind);
H A DAsmPrinter.h58 class MachineJumpTableInfo; variable
889 void emitJumpTableEntry(const MachineJumpTableInfo *MJTI,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2698 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in emitJumpTableInfo()
2700 if (MJTI->getEntryKind() == MachineJumpTableInfo::EK_Inline) return; in emitJumpTableInfo()
2709 MJTI->getEntryKind() == MachineJumpTableInfo::EK_LabelDifference32 || in emitJumpTableInfo()
2710 MJTI->getEntryKind() == MachineJumpTableInfo::EK_LabelDifference64, in emitJumpTableInfo()
2733 if (MJTI->getEntryKind() == MachineJumpTableInfo::EK_LabelDifference32 && in emitJumpTableInfo()
2775 void AsmPrinter::emitJumpTableEntry(const MachineJumpTableInfo *MJTI, in emitJumpTableEntry()
2781 case MachineJumpTableInfo::EK_Inline: in emitJumpTableEntry()
2783 case MachineJumpTableInfo::EK_Custom32: in emitJumpTableEntry()
2787 case MachineJumpTableInfo::EK_BlockAddress: in emitJumpTableEntry()
2792 case MachineJumpTableInfo::EK_GPRel32BlockAddress: { in emitJumpTableEntry()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVInstructionSelector.cpp636 const MachineJumpTableInfo *MJTI = MF.getJumpTableInfo(); in select()
641 (MJTI->getEntryKind() == MachineJumpTableInfo::EK_LabelDifference32 || in select()
642 MJTI->getEntryKind() == MachineJumpTableInfo::EK_Custom32 || in select()
643 MJTI->getEntryKind() == MachineJumpTableInfo::EK_BlockAddress) && in select()
671 if (MJTI->getEntryKind() == MachineJumpTableInfo::EK_LabelDifference32) { in select()
/freebsd/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()
2427 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/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/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.h221 const MCExpr *LowerCustomJumpTableEntry(const MachineJumpTableInfo *MJTI,
H A DVEISelLowering.cpp1976 return MachineJumpTableInfo::EK_Custom32; in getJumpTableEncoding()
1983 const MachineJumpTableInfo *MJTI, const MachineBasicBlock *MBB, in LowerCustomJumpTableEntry()
2481 MachineJumpTableInfo *JTI = MF->getOrCreateJumpTableInfo(JTE); in emitSjLjDispatchBlock()
2560 case MachineJumpTableInfo::EK_BlockAddress: { in emitSjLjDispatchBlock()
2581 case MachineJumpTableInfo::EK_Custom32: { in emitSjLjDispatchBlock()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLoweringCall.cpp419 return MachineJumpTableInfo::EK_Custom32; in getJumpTableEncoding()
423 return MachineJumpTableInfo::EK_LabelDifference64; in getJumpTableEncoding()
462 X86TargetLowering::LowerCustomJumpTableEntry(const MachineJumpTableInfo *MJTI, in LowerCustomJumpTableEntry()
H A DX86ISelLowering.h994 LowerCustomJumpTableEntry(const MachineJumpTableInfo *MJTI,
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsAsmPrinter.cpp1246 if (MachineJumpTableInfo *JtInfo = MF.getJumpTableInfo()) { in NaClAlignIndirectJumpTargets()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h831 const MCExpr *LowerCustomJumpTableEntry(const MachineJumpTableInfo *MJTI,
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaISelLowering.cpp626 const MachineJumpTableInfo *MJTI = MF.getJumpTableInfo(); in LowerBR_JT()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp1012 MachineJumpTableInfo *JTI = PFS.MF.getOrCreateJumpTableInfo(YamlJTI.Kind); in initializeJumpTableInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64AsmPrinter.cpp1167 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in emitJumpTableInfo()
1384 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in LowerHardenedBRJumpTable()

12