Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DMachineFunction.cpp277 JumpTableInfo->~MachineJumpTableInfo(); in clear()
298 MachineJumpTableInfo *MachineFunction::
303 MachineJumpTableInfo((MachineJumpTableInfo::JTEntryKind)EntryKind); in getOrCreateJumpTableInfo()
1234 unsigned MachineJumpTableInfo::getEntrySize(const DataLayout &TD) const { in getEntrySize()
1238 case MachineJumpTableInfo::EK_BlockAddress: in getEntrySize()
1240 case MachineJumpTableInfo::EK_GPRel64BlockAddress: in getEntrySize()
1242 case MachineJumpTableInfo::EK_GPRel32BlockAddress: in getEntrySize()
1243 case MachineJumpTableInfo::EK_LabelDifference32: in getEntrySize()
1244 case MachineJumpTableInfo::EK_Custom32: in getEntrySize()
1246 case MachineJumpTableInfo::EK_Inline: in getEntrySize()
[all …]
H A DBranchFolding.cpp220 MachineJumpTableInfo *JTI = MF.getJumpTableInfo(); in OptimizeFunction()
1366 if (MachineJumpTableInfo *MJTI = MF.getJumpTableInfo()) in OptimizeBlock()
1643 if (MachineJumpTableInfo *MJTI = MF.getJumpTableInfo()) in OptimizeBlock()
H A DMIRPrinter.cpp119 const MachineJumpTableInfo &JTI);
580 const MachineJumpTableInfo &JTI) { in convert()
/openbsd-src/gnu/llvm/llvm/lib/Target/M68k/
H A DM68kSubtarget.cpp227 return MachineJumpTableInfo::EK_Custom32; in getJumpTableEncoding()
229 return MachineJumpTableInfo::EK_LabelDifference32; in getJumpTableEncoding()
233 return MachineJumpTableInfo::EK_BlockAddress; in getJumpTableEncoding()
H A DM68kISelLowering.h144 const MCExpr *LowerCustomJumpTableEntry(const MachineJumpTableInfo *MJTI,
H A DM68kISelLowering.cpp2710 const MachineJumpTableInfo *MJTI, const MachineBasicBlock *MBB, in LowerCustomJumpTableEntry()
2718 if (getJumpTableEncoding() == MachineJumpTableInfo::EK_Custom32) in getPICJumpTableRelocBase()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DMachineJumpTableInfo.h42 class MachineJumpTableInfo {
82 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);
140 IO.enumCase(EntryKind, "inline", MachineJumpTableInfo::EK_Inline);
141 IO.enumCase(EntryKind, "custom32", MachineJumpTableInfo::EK_Custom32);
554 MachineJumpTableInfo::JTEntryKind Kind = MachineJumpTableInfo::EK_Custom32;
H A DMachineFunction.h60 class MachineJumpTableInfo; variable
279 MachineJumpTableInfo *JumpTableInfo;
695 const MachineJumpTableInfo *getJumpTableInfo() const { return JumpTableInfo; }
696 MachineJumpTableInfo *getJumpTableInfo() { return JumpTableInfo; }
700 MachineJumpTableInfo *getOrCreateJumpTableInfo(unsigned JTEntryKind);
H A DAsmPrinter.h56 class MachineJumpTableInfo; variable
869 void emitJumpTableEntry(const MachineJumpTableInfo *MJTI,
H A DTargetLowering.h82 class MachineJumpTableInfo; variable
3577 LowerCustomJumpTableEntry(const MachineJumpTableInfo * /*MJTI*/, in LowerCustomJumpTableEntry() argument
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMBranchTargets.cpp72 if (const MachineJumpTableInfo *JTI = MF.getJumpTableInfo()) in runOnMachineFunction()
H A DARMConstantIslandPass.cpp750 if (const MachineJumpTableInfo *JTI = MF->getJumpTableInfo()) in scanFunctionJumpTables()
2221 MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in optimizeThumb2JumpTables()
2414 MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in reorderThumb2JumpTables()
2458 const MachineJumpTableInfo &MJTI = *MF->getJumpTableInfo(); in fixupBTI()
H A DARMAsmPrinter.cpp993 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in emitJumpTableAddrs()
1036 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in emitJumpTableInsts()
1064 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in emitJumpTableTBInst()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2480 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in emitJumpTableInfo()
2482 if (MJTI->getEntryKind() == MachineJumpTableInfo::EK_Inline) return; in emitJumpTableInfo()
2491 MJTI->getEntryKind() == MachineJumpTableInfo::EK_LabelDifference32, in emitJumpTableInfo()
2514 if (MJTI->getEntryKind() == MachineJumpTableInfo::EK_LabelDifference32 && in emitJumpTableInfo()
2554 void AsmPrinter::emitJumpTableEntry(const MachineJumpTableInfo *MJTI, in emitJumpTableEntry()
2560 case MachineJumpTableInfo::EK_Inline: in emitJumpTableEntry()
2562 case MachineJumpTableInfo::EK_Custom32: in emitJumpTableEntry()
2566 case MachineJumpTableInfo::EK_BlockAddress: in emitJumpTableEntry()
2571 case MachineJumpTableInfo::EK_GPRel32BlockAddress: { in emitJumpTableEntry()
2580 case MachineJumpTableInfo::EK_GPRel64BlockAddress: { in emitJumpTableEntry()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/XCore/
H A DXCoreAsmPrinter.cpp189 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in printInlineJT()
H A DXCoreISelLowering.cpp337 return MachineJumpTableInfo::EK_Inline; in getJumpTableEncoding()
350 const MachineJumpTableInfo *MJTI = MF.getJumpTableInfo(); in LowerBR_JT()
/openbsd-src/gnu/llvm/llvm/lib/Target/VE/
H A DVEISelLowering.h131 const MCExpr *LowerCustomJumpTableEntry(const MachineJumpTableInfo *MJTI,
H A DVEISelLowering.cpp1980 return MachineJumpTableInfo::EK_Custom32; in getJumpTableEncoding()
1987 const MachineJumpTableInfo *MJTI, const MachineBasicBlock *MBB, in LowerCustomJumpTableEntry()
2485 MachineJumpTableInfo *JTI = MF->getOrCreateJumpTableInfo(JTE); in emitSjLjDispatchBlock()
2564 case MachineJumpTableInfo::EK_BlockAddress: { in emitSjLjDispatchBlock()
2585 case MachineJumpTableInfo::EK_Custom32: { in emitSjLjDispatchBlock()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h608 const MCExpr *LowerCustomJumpTableEntry(const MachineJumpTableInfo *MJTI,
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsAsmPrinter.cpp1357 if (MachineJumpTableInfo *JtInfo = MF.getJumpTableInfo()) { in NaClAlignIndirectJumpTargets()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.h983 LowerCustomJumpTableEntry(const MachineJumpTableInfo *MJTI,
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp953 MachineJumpTableInfo *JTI = PFS.MF.getOrCreateJumpTableInfo(YamlJTI.Kind); in initializeJumpTableInfo()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64AsmPrinter.cpp928 const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo(); in emitJumpTableInfo()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp444 return MachineJumpTableInfo::EK_BlockAddress; in getJumpTableEncoding()
448 return MachineJumpTableInfo::EK_GPRel32BlockAddress; in getJumpTableEncoding()
451 return MachineJumpTableInfo::EK_LabelDifference32; in getJumpTableEncoding()
459 if ((JTEncoding == MachineJumpTableInfo::EK_GPRel64BlockAddress) || in getPICJumpTableRelocBase()
460 (JTEncoding == MachineJumpTableInfo::EK_GPRel32BlockAddress)) in getPICJumpTableRelocBase()

12