Home
last modified time | relevance | path

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

12

/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunction.cpp30 #include "llvm/CodeGen/MachineJumpTableInfo.h"
294 JumpTableInfo->~MachineJumpTableInfo(); in clear()
315 MachineJumpTableInfo *MachineFunction:: in getOrCreateJumpTableInfo()
320 MachineJumpTableInfo((MachineJumpTableInfo::JTEntryKind)EntryKind); in getOrCreateJumpTableInfo()
1256 // MachineJumpTableInfo implementation in getEntrySize()
1260 unsigned MachineJumpTableInfo::getEntrySize(const DataLayout &TD) const { in getEntrySize()
1264 case MachineJumpTableInfo::EK_BlockAddress: in getEntrySize()
1266 case MachineJumpTableInfo::EK_GPRel64BlockAddress:
1267 case MachineJumpTableInfo
[all...]
H A DGCEmptyBasicBlocks.cpp48 MachineJumpTableInfo *JTI = MF.getJumpTableInfo(); in runOnMachineFunction()
H A DBranchFolding.cpp34 #include "llvm/CodeGen/MachineJumpTableInfo.h"
224 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.cpp27 #include "llvm/CodeGen/MachineJumpTableInfo.h"
121 const MachineJumpTableInfo &JTI);
601 const MachineJumpTableInfo &JTI) { in convert()
H A DMachineBasicBlock.cpp22 #include "llvm/CodeGen/MachineJumpTableInfo.h"
1070 const MachineJumpTableInfo &MJTI = *MF.getJumpTableInfo(); in jumpTableHasOtherUses()
1164 MachineJumpTableInfo &MJTI = *MF->getJumpTableInfo(); in SplitCriticalEdge()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kSubtarget.cpp24 #include "llvm/CodeGen/MachineJumpTableInfo.h"
225 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-src/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.h18 #include "llvm/CodeGen/MachineJumpTableInfo.h"
129 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
[all...]
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;
889 void emitJumpTableEntry(const MachineJumpTableInfo *MJTI,
56 class MachineJumpTableInfo; global() variable
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp51 #include "llvm/CodeGen/MachineJumpTableInfo.h"
2698 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 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-src/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVInstructionSelector.cpp24 #include "llvm/CodeGen/MachineJumpTableInfo.h"
636 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-src/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp37 #include "llvm/CodeGen/MachineJumpTableInfo.h"
609 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.cpp27 #include "llvm/CodeGen/MachineJumpTableInfo.h"
1010 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in emitJumpTableAddrs()
1053 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in emitJumpTableInsts()
1081 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in emitJumpTableTBInst()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreAsmPrinter.cpp189 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in printInlineJT()
H A DXCoreISelLowering.cpp23 #include "llvm/CodeGen/MachineJumpTableInfo.h"
332 return MachineJumpTableInfo::EK_Inline; in getJumpTableEncoding()
345 const MachineJumpTableInfo *MJTI = MF.getJumpTableInfo(); in LowerBR_JT()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.h221 const MCExpr *LowerCustomJumpTableEntry(const MachineJumpTableInfo *MJTI,
H A DVEISelLowering.cpp26 #include "llvm/CodeGen/MachineJumpTableInfo.h"
1976 return MachineJumpTableInfo::EK_Custom32; in getJumpTableEncoding()
1983 const MachineJumpTableInfo *MJTI, const MachineBasicBlock *MBB,
2481 MachineJumpTableInfo *JTI = MF->getOrCreateJumpTableInfo(JTE); in emitSjLjDispatchBlock()
2560 case MachineJumpTableInfo::EK_BlockAddress: { in emitSjLjDispatchBlock()
2581 case MachineJumpTableInfo::EK_Custom32: { in emitSjLjDispatchBlock()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h831 const MCExpr *LowerCustomJumpTableEntry(const MachineJumpTableInfo *MJTI,
/freebsd-src/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLoweringCall.cpp24 #include "llvm/CodeGen/MachineJumpTableInfo.h"
414 /// MachineJumpTableInfo::JTEntryKind enum. in getJumpTableEncoding()
419 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-src/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsAsmPrinter.cpp36 #include "llvm/CodeGen/MachineJumpTableInfo.h"
1246 if (MachineJumpTableInfo *JtInfo = MF.getJumpTableInfo()) { in NaClAlignIndirectJumpTargets()
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp1012 MachineJumpTableInfo *JTI = PFS.MF.getOrCreateJumpTableInfo(YamlJTI.Kind); in parseMBBReference()

12