Searched refs:JTI (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64BranchTargets.cpp72 if (auto *JTI = MF.getJumpTableInfo())
73 for (auto &JTE : JTI->getJumpTables())
H A DAArch64AsmPrinter.cpp90 const MachineBasicBlock *MBB, unsigned JTI);
778 for (unsigned JTI = 0, e = JT.size(); JTI != e; ++JTI) {
779 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs;
784 unsigned Size = AFI->getJumpTableEntrySize(JTI);
786 OutStreamer->EmitLabel(GetJTISymbol(JTI));
789 emitJumpTableEntry(MJTI, JTBB, JTI);
795 unsigned JTI) {
798 unsigned Size = AFI->getJumpTableEntrySize(JTI);
793 emitJumpTableEntry(const MachineJumpTableInfo *MJTI, const MachineBasicBlock *MBB, unsigned JTI) argument
[all...]
H A DAArch64InstructionSelector.cpp2432 unsigned JTI = I.getOperand(1).getIndex(); local
2440 .addJumpTableIndex(JTI);
2451 assert(I.getOperand(1).isJTI() && "Jump table op should have a JTI!");
2454 unsigned JTI = I.getOperand(1).getIndex(); local
2459 .addJumpTableIndex(JTI, AArch64II::MO_PAGE)
2460 .addJumpTableIndex(JTI, AArch64II::MO_NC | AArch64II::MO_PAGEOFF);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreAsmPrinter.cpp188 unsigned JTI = MI->getOperand(opNum).getIndex(); local
192 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs;
H A DXCoreISelLowering.cpp351 unsigned JTI = JT->getIndex(); local
356 unsigned NumEntries = MJTI->getJumpTables()[JTI].MBBs.size();
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSwitchLoweringUtils.h165 unsigned JTI; member in struct:llvm::SwitchCG::JumpTable
173 : Reg(R), JTI(J), MBB(M), Default(D) {}
H A DMachineFunction.h818 MCSymbol *getJTISymbol(unsigned JTI, MCContext &Ctx,
H A DSelectionDAGNodes.h1793 int JTI; member in class:llvm::JumpTableSDNode
1798 0, DebugLoc(), getSDVTList(VT)), JTI(jti), TargetFlags(TF) {
1802 int getIndex() const { return JTI; }
H A DSelectionDAG.h658 SDValue getJumpTable(int JTI, EVT VT, bool isTarget = false,
660 SDValue getTargetJumpTable(int JTI, EVT VT, unsigned TargetFlags = 0) { argument
661 return getJumpTable(JTI, VT, true, TargetFlags);
H A DTargetLowering.h3023 unsigned JTI, MCContext &Ctx) const;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp594 unsigned JTI = JTOp.getIndex(); local
595 unsigned Size = JT[JTI].MBBs.size() * sizeof(uint32_t);
601 .addJumpTableIndex(JTI)
604 CPEntries.emplace_back(1, CPEntry(CPEMI, JTI));
605 JumpTableEntryIndices.insert(std::make_pair(JTI, CPEntries.size() - 1));
2173 unsigned JTI = JTOP.getIndex(); local
2174 assert(JTI < JT.size());
2179 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs;
2198 CPUser &User = CPUsers[JumpTableUserIndices[JTI]];
2300 .addJumpTableIndex(JTI, JTO
2367 unsigned JTI = JTOP.getIndex(); local
[all...]
H A DARMAsmPrinter.cpp257 raw_svector_ostream(Name) << DL.getPrivateGlobalPrefix() << "JTI"
939 unsigned JTI = MO1.getIndex();
946 MCSymbol *JTISymbol = GetARMJTIPICJumpTableLabel(JTI);
955 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs;
985 unsigned JTI = MO1.getIndex();
992 MCSymbol *JTISymbol = GetARMJTIPICJumpTableLabel(JTI);
998 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs;
1015 unsigned JTI = MO1.getIndex();
1020 MCSymbol *JTISymbol = GetARMJTIPICJumpTableLabel(JTI);
1026 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI]
[all...]
H A DARMISelLowering.cpp5338 SDValue JTI = DAG.getTargetJumpTable(JT->getIndex(), PTy); local
5339 Table = DAG.getNode(ARMISD::WrapperJT, dl, MVT::i32, JTI);
5348 Addr, Op.getOperand(2), JTI);
5356 return DAG.getNode(ARMISD::BR_JT, dl, MVT::Other, Chain, Addr, JTI);
5362 return DAG.getNode(ARMISD::BR_JT, dl, MVT::Other, Chain, Addr, JTI);
9667 MachineJumpTableInfo *JTI = local
9669 unsigned MJTI = JTI->createJumpTableIndex(LPadList);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRPrinter.cpp129 const MachineJumpTableInfo &JTI);
525 const MachineJumpTableInfo &JTI) {
526 YamlJTI.Kind = JTI.getEntryKind();
528 for (const auto &Table : JTI.getJumpTables()) {
523 convert(ModuleSlotTracker &MST, yaml::MachineJumpTable &YamlJTI, const MachineJumpTableInfo &JTI) argument
H A DSwitchLoweringUtils.cpp247 unsigned JTI = CurMF->getOrCreateJumpTableInfo(TLI->getJumpTableEncoding()) local
251 JumpTable JT(-1U, JTI, JumpTableMBB, nullptr);
H A DMachineFunction.cpp636 MCSymbol *MachineFunction::getJTISymbol(unsigned JTI, MCContext &Ctx, argument
640 assert(JTI < JumpTableInfo->getJumpTables().size() && "Invalid JTI!");
646 << Prefix << "JTI" << getFunctionNumber() << '_' << JTI;
H A DBranchFolding.cpp230 MachineJumpTableInfo *JTI = MF.getJumpTableInfo(); local
231 if (!JTI)
235 BitVector JTIsLive(JTI->getJumpTables().size());
250 JTI->RemoveJumpTable(i);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1858 for (unsigned JTI = 0, e = JT.size(); JTI != e; ++JTI) {
1859 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs;
1870 const MCExpr *Base = TLI->getPICJumpTableRelocBaseExpr(MF,JTI,OutContext);
1879 OutStreamer->EmitAssignment(GetJTSetSymbol(JTI, MBB->getNumber()),
1893 OutStreamer->EmitLabel(GetJTISymbol(JTI, true));
1895 MCSymbol* JTISymbol = GetJTISymbol(JTI);
1903 EmitJumpTableEntry(MJTI, JTBBs[ii], JTI);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp197 unsigned JTI) {
199 .addJumpTableIndex(JTI);
263 unsigned JTI,
269 .addJumpTableIndex(JTI)
196 buildJumpTable(const LLT PtrTy, unsigned JTI) argument
262 buildBrJT(Register TablePtr, unsigned JTI, Register IndexReg) argument
H A DIRTranslator.cpp519 auto Table = MIB.buildJumpTable(PtrTy, JT.JTI);
520 MIB.buildBrJT(Table.getReg(0), JT.JTI, JT.Reg);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DMachineIRBuilder.h649 /// Build and insert G_BRJT \p TablePtr, \p JTI, \p IndexReg
652 /// jump table index \p JTI and index \p IndexReg
656 /// \pre \p JTI must be be a jump table index.
660 MachineInstrBuilder buildBrJT(Register TablePtr, unsigned JTI,
1472 /// Build and insert \p Res = G_JUMP_TABLE \p JTI
1475 /// the jump table index \p JTI.
1478 MachineInstrBuilder buildJumpTable(const LLT PtrTy, unsigned JTI);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp849 MachineJumpTableInfo *JTI = PFS.MF.getOrCreateJumpTableInfo(YamlJTI.Kind); local
858 unsigned Index = JTI->createJumpTableIndex(Blocks);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h973 unsigned JTI,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.h750 unsigned JTI, MCContext &Ctx) const override;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp464 unsigned JTI,MCContext &Ctx) const{
466 return MCSymbolRefExpr::create(MF->getJTISymbol(JTI, Ctx), Ctx);
463 getPICJumpTableRelocBaseExpr(const MachineFunction *MF, unsigned JTI,MCContext &Ctx) const argument

Completed in 589 milliseconds

12