Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunction.cpp266 JumpTableInfo->~MachineJumpTableInfo(); in clear()
316 MachineJumpTableInfo *MachineFunction::
321 MachineJumpTableInfo((MachineJumpTableInfo::JTEntryKind)EntryKind); in getOrCreateJumpTableInfo()
1319 unsigned MachineJumpTableInfo::getEntrySize(const DataLayout &TD) const { in getEntrySize()
1323 case MachineJumpTableInfo::EK_BlockAddress: in getEntrySize()
1325 case MachineJumpTableInfo::EK_GPRel64BlockAddress: in getEntrySize()
1326 case MachineJumpTableInfo::EK_LabelDifference64: in getEntrySize()
1328 case MachineJumpTableInfo::EK_GPRel32BlockAddress: in getEntrySize()
1329 case MachineJumpTableInfo::EK_LabelDifference32: in getEntrySize()
1330 case MachineJumpTableInfo::EK_Custom32: in getEntrySize()
[all …]
H A DStaticDataSplitter.cpp166 MachineJumpTableInfo *MJTI = MF.getJumpTableInfo(); in partitionStaticDataWithProfiles()
227 if (const MachineJumpTableInfo *MJTI = MF.getJumpTableInfo()) { in updateStatsWithProfiles()
255 if (const MachineJumpTableInfo *MJTI = MF.getJumpTableInfo()) { in updateStatsWithoutProfiles()
H A DGCEmptyBasicBlocks.cpp47 MachineJumpTableInfo *JTI = MF.getJumpTableInfo(); in runOnMachineFunction()
H A DBranchFolding.cpp249 MachineJumpTableInfo *JTI = MF.getJumpTableInfo(); in OptimizeFunction()
1408 if (MachineJumpTableInfo *MJTI = MF.getJumpTableInfo()) in OptimizeBlock()
1696 if (MachineJumpTableInfo *MJTI = MF.getJumpTableInfo()) in OptimizeBlock()
H A DMIRPrinter.cpp150 const MachineJumpTableInfo &JTI);
614 const MachineJumpTableInfo &JTI) { in convertMJTI()
H A DMachineBasicBlock.cpp1070 const MachineJumpTableInfo &MJTI = *MF.getJumpTableInfo(); in jumpTableHasOtherUses()
1176 MachineJumpTableInfo &MJTI = *MF->getJumpTableInfo(); in SplitCriticalEdge()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kSubtarget.cpp278 return MachineJumpTableInfo::EK_Custom32; in getJumpTableEncoding()
280 return MachineJumpTableInfo::EK_LabelDifference32; in getJumpTableEncoding()
284 return MachineJumpTableInfo::EK_BlockAddress; in getJumpTableEncoding()
H A DM68kISelLowering.h71 const MCExpr *LowerCustomJumpTableEntry(const MachineJumpTableInfo *MJTI,
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineJumpTableInfo.h48 class MachineJumpTableInfo {
95 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);
583 MachineJumpTableInfo::JTEntryKind Kind = MachineJumpTableInfo::EK_Custom32;
H A DAsmPrinter.h62 class MachineJumpTableInfo; variable
935 virtual void emitJumpTableImpl(const MachineJumpTableInfo &MJTI,
938 void emitJumpTableSizesSection(const MachineJumpTableInfo &MJTI,
954 virtual void emitJumpTableEntry(const MachineJumpTableInfo &MJTI,
H A DMachineFunction.h61 class MachineJumpTableInfo; variable
306 MachineJumpTableInfo *JumpTableInfo;
775 const MachineJumpTableInfo *getJumpTableInfo() const { return JumpTableInfo; }
776 MachineJumpTableInfo *getJumpTableInfo() { return JumpTableInfo; }
780 MachineJumpTableInfo *getOrCreateJumpTableInfo(unsigned JTEntryKind);
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsAsmPrinter.cpp829 void MipsAsmPrinter::emitJumpTableEntry(const MachineJumpTableInfo &MJTI, in emitJumpTableEntry()
834 case MachineJumpTableInfo::EK_BlockAddress: in emitJumpTableEntry()
838 case MachineJumpTableInfo::EK_GPRel32BlockAddress: in emitJumpTableEntry()
843 case MachineJumpTableInfo::EK_GPRel64BlockAddress: in emitJumpTableEntry()
1274 if (MachineJumpTableInfo *JtInfo = MF.getJumpTableInfo()) { in NaClAlignIndirectJumpTargets()
H A DMipsAsmPrinter.h88 void emitJumpTableEntry(const MachineJumpTableInfo &MJTI,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2953 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in emitJumpTableInfo()
2980 void AsmPrinter::emitJumpTableImpl(const MachineJumpTableInfo &MJTI, in emitJumpTableImpl()
2982 if (MJTI.getEntryKind() == MachineJumpTableInfo::EK_Inline || in emitJumpTableImpl()
2992 MJTI.getEntryKind() == MachineJumpTableInfo::EK_LabelDifference32 || in emitJumpTableImpl()
2993 MJTI.getEntryKind() == MachineJumpTableInfo::EK_LabelDifference64; in emitJumpTableImpl()
3025 if (MJTI.getEntryKind() == MachineJumpTableInfo::EK_LabelDifference32 && in emitJumpTableImpl()
3070 void AsmPrinter::emitJumpTableSizesSection(const MachineJumpTableInfo &MJTI, in emitJumpTableSizesSection()
3120 void AsmPrinter::emitJumpTableEntry(const MachineJumpTableInfo &MJTI, in emitJumpTableEntry()
3126 case MachineJumpTableInfo::EK_Inline: in emitJumpTableEntry()
3128 case MachineJumpTableInfo::EK_GPRel32BlockAddress: in emitJumpTableEntry()
[all …]
H A DCodeViewDebug.cpp3482 const std::function<void(const MachineJumpTableInfo &, const MachineInstr &, in forEachJumpTableBranch() argument
3538 [this](const MachineJumpTableInfo &, const MachineInstr &BranchMI, in discoverJumpTableBranches()
3546 [this, MF](const MachineJumpTableInfo &JTI, const MachineInstr &BranchMI, in collectDebugInfoForJumpTables() argument
3556 case MachineJumpTableInfo::EK_Custom32: in collectDebugInfoForJumpTables()
3557 case MachineJumpTableInfo::EK_GPRel32BlockAddress: in collectDebugInfoForJumpTables()
3558 case MachineJumpTableInfo::EK_GPRel64BlockAddress: in collectDebugInfoForJumpTables()
3562 case MachineJumpTableInfo::EK_BlockAddress: in collectDebugInfoForJumpTables()
3567 case MachineJumpTableInfo::EK_Inline: in collectDebugInfoForJumpTables()
3568 case MachineJumpTableInfo::EK_LabelDifference32: in collectDebugInfoForJumpTables()
3569 case MachineJumpTableInfo::EK_LabelDifference64: in collectDebugInfoForJumpTables()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreAsmPrinter.cpp186 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in printInlineJT()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp608 if (MJTI->getEntryKind() != MachineJumpTableInfo::EK_Inline) in doInitialJumpTablePlacement()
764 MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in initializeFunctionInfo()
766 MJTI && MJTI->getEntryKind() == MachineJumpTableInfo::EK_Inline; in initializeFunctionInfo()
2213 MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in optimizeThumb2JumpTables()
2408 MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in reorderThumb2JumpTables()
H A DARMAsmPrinter.cpp1017 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in emitJumpTableAddrs()
1060 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in emitJumpTableInsts()
1088 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in emitJumpTableTBInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.h222 const MCExpr *LowerCustomJumpTableEntry(const MachineJumpTableInfo *MJTI,
H A DVEISelLowering.cpp1963 return MachineJumpTableInfo::EK_Custom32; in getJumpTableEncoding()
1970 const MachineJumpTableInfo *MJTI, const MachineBasicBlock *MBB, in LowerCustomJumpTableEntry()
2465 MachineJumpTableInfo *JTI = MF->getOrCreateJumpTableInfo(JTE); in emitSjLjDispatchBlock()
2544 case MachineJumpTableInfo::EK_BlockAddress: { in emitSjLjDispatchBlock()
2565 case MachineJumpTableInfo::EK_Custom32: { in emitSjLjDispatchBlock()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVLegalizerInfo.cpp755 const MachineJumpTableInfo *MJTI = MF.getJumpTableInfo(); in legalizeBRJT()
779 case MachineJumpTableInfo::EK_LabelDifference32: { in legalizeBRJT()
789 case MachineJumpTableInfo::EK_Custom32: { in legalizeBRJT()
795 case MachineJumpTableInfo::EK_BlockAddress: in legalizeBRJT()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h392 const MCExpr *LowerCustomJumpTableEntry(const MachineJumpTableInfo *MJTI,
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLoweringCall.cpp436 return MachineJumpTableInfo::EK_Custom32; in getJumpTableEncoding()
440 return MachineJumpTableInfo::EK_LabelDifference64; in getJumpTableEncoding()
479 X86TargetLowering::LowerCustomJumpTableEntry(const MachineJumpTableInfo *MJTI, in LowerCustomJumpTableEntry()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64AsmPrinter.cpp119 void emitJumpTableImpl(const MachineJumpTableInfo &MJTI,
1277 void AArch64AsmPrinter::emitJumpTableImpl(const MachineJumpTableInfo &MJTI, in emitJumpTableImpl()
1515 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in LowerHardenedBRJumpTable()

12