Home
last modified time | relevance | path

Searched refs:JTI (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYConstantPoolValue.cpp206 JTI(JTIndex) {} in CSKYConstantPoolJT()
209 CSKYConstantPoolJT::Create(Type *Ty, int JTI, unsigned PCAdj, in Create() argument
211 return new CSKYConstantPoolJT(Ty, JTI, PCAdj, Modifier, false); in Create()
220 ID.AddInteger(JTI); in addSelectionDAGCSEId()
225 O << "JTI#" << JTI; in print()
H A DCSKYConstantPoolValue.h201 signed JTI; // Machine basic block. variable
207 static CSKYConstantPoolJT *Create(Type *Ty, int JTI, unsigned PCAdj,
210 signed getJTI() { return JTI; } in getJTI()
218 return JTI == A->JTI && CSKYConstantPoolValue::equals(A); in equals()
H A DCSKYAsmPrinter.cpp209 signed JTI = cast<CSKYConstantPoolJT>(CCPV)->getJTI(); in emitMachineConstantPoolValue() local
210 MCSym = GetJTISymbol(JTI); in emitMachineConstantPoolValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64BranchTargets.cpp73 if (auto *JTI = MF.getJumpTableInfo()) in runOnMachineFunction() local
74 for (auto &JTE : JTI->getJumpTables()) in runOnMachineFunction()
H A DAArch64AsmPrinter.cpp111 getCodeViewJumpTableInfo(int JTI, const MachineInstr *BranchInstr,
1178 for (unsigned JTI = 0, e = JT.size(); JTI != e; ++JTI) { in emitJumpTableInfo() local
1179 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in emitJumpTableInfo()
1184 unsigned Size = AFI->getJumpTableEntrySize(JTI); in emitJumpTableInfo()
1186 OutStreamer->emitLabel(GetJTISymbol(JTI)); in emitJumpTableInfo()
1188 const MCSymbol *BaseSym = AArch64FI->getJumpTableEntryPCRelSymbol(JTI); in emitJumpTableInfo()
1211 AArch64AsmPrinter::getCodeViewJumpTableInfo(int JTI, in getCodeViewJumpTableInfo() argument
1215 const auto Base = AArch64FI->getJumpTableEntryPCRelSymbol(JTI); in getCodeViewJumpTableInfo()
1217 switch (AFI->getJumpTableEntrySize(JTI)) { in getCodeViewJumpTableInfo()
1406 unsigned JTI = JTOp.getIndex(); in LowerHardenedBRJumpTable() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp280 MachineBasicBlock *adjustJTTargetBlockForward(unsigned JTI,
656 unsigned JTI = JTOp.getIndex(); in doInitialJumpTablePlacement() local
657 unsigned Size = JT[JTI].MBBs.size() * sizeof(uint32_t); in doInitialJumpTablePlacement()
663 .addJumpTableIndex(JTI) in doInitialJumpTablePlacement()
666 CPEntries.emplace_back(1, CPEntry(CPEMI, JTI)); in doInitialJumpTablePlacement()
667 JumpTableEntryIndices.insert(std::make_pair(JTI, CPEntries.size() - 1)); in doInitialJumpTablePlacement()
757 if (const MachineJumpTableInfo *JTI = MF->getJumpTableInfo()) in scanFunctionJumpTables() local
758 for (const MachineJumpTableEntry &JTE : JTI->getJumpTables()) in scanFunctionJumpTables()
2241 unsigned JTI = JTOP.getIndex(); in optimizeThumb2JumpTables() local
2242 assert(JTI < JT.size()); in optimizeThumb2JumpTables()
[all …]
H A DARMAsmPrinter.cpp996 unsigned JTI = MO1.getIndex(); in emitJumpTableAddrs() local
1003 MCSymbol *JTISymbol = GetARMJTIPICJumpTableLabel(JTI); in emitJumpTableAddrs()
1012 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in emitJumpTableAddrs()
1042 unsigned JTI = MO1.getIndex(); in emitJumpTableInsts() local
1049 MCSymbol *JTISymbol = GetARMJTIPICJumpTableLabel(JTI); in emitJumpTableInsts()
1055 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in emitJumpTableInsts()
1072 unsigned JTI = MO1.getIndex(); in emitJumpTableTBInst() local
1077 MCSymbol *JTISymbol = GetARMJTIPICJumpTableLabel(JTI); in emitJumpTableTBInst()
1083 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in emitJumpTableTBInst()
1123 ARMAsmPrinter::getCodeViewJumpTableInfo(int JTI, in getCodeViewJumpTableInfo() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreAsmPrinter.cpp187 unsigned JTI = MI->getOperand(opNum).getIndex(); in printInlineJT() local
191 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in printInlineJT()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSwitchLoweringUtils.h170 unsigned JTI; member
182 : Reg(R), JTI(J), MBB(M), Default(D), SL(SL) {}
H A DAsmPrinter.h789 getCodeViewJumpTableInfo(int JTI, const MachineInstr *BranchInstr,
H A DSelectionDAG.h742 SDValue getJumpTable(int JTI, EVT VT, bool isTarget = false,
744 SDValue getTargetJumpTable(int JTI, EVT VT, unsigned TargetFlags = 0) {
745 return getJumpTable(JTI, VT, true, TargetFlags);
747 SDValue getJumpTableDebugInfo(int JTI, SDValue Chain, const SDLoc &DL);
H A DSelectionDAGNodes.h1950 int JTI;
1956 JTI(jti), TargetFlags(TF) {}
1959 int getIndex() const { return JTI; }
H A DMachineFunction.h1139 MCSymbol *getJTISymbol(unsigned JTI, MCContext &Ctx,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineBasicBlock.cpp1162 int JTI = findJumpTableIndex(*this); in SplitCriticalEdge() local
1163 if (JTI >= 0) { in SplitCriticalEdge()
1165 MJTI.ReplaceMBBInJumpTable(JTI, Succ, NMBB); in SplitCriticalEdge()
1401 int JTI = findJumpTableIndex(*this); in canSplitCriticalEdge() local
1402 if (JTI >= 0 && !jumpTableHasOtherUses(*MF, *this, JTI)) in canSplitCriticalEdge()
H A DMIRPrinter.cpp121 const MachineJumpTableInfo &JTI);
601 const MachineJumpTableInfo &JTI) { in convert() argument
602 YamlJTI.Kind = JTI.getEntryKind(); in convert()
604 for (const auto &Table : JTI.getJumpTables()) { in convert()
H A DSwitchLoweringUtils.cpp253 unsigned JTI = CurMF->getOrCreateJumpTableInfo(TLI->getJumpTableEncoding()) in buildJumpTable() local
257 JumpTable JT(-1U, JTI, JumpTableMBB, nullptr, SL); in buildJumpTable()
H A DBranchFolding.cpp224 MachineJumpTableInfo *JTI = MF.getJumpTableInfo(); in OptimizeFunction() local
225 if (!JTI) in OptimizeFunction()
229 BitVector JTIsLive(JTI->getJumpTables().size()); in OptimizeFunction()
244 JTI->RemoveJumpTable(i); in OptimizeFunction()
H A DMachineFunction.cpp747 MCSymbol *MachineFunction::getJTISymbol(unsigned JTI, MCContext &Ctx, in getJTISymbol() argument
751 assert(JTI < JumpTableInfo->getJumpTables().size() && "Invalid JTI!"); in getJTISymbol()
757 << Prefix << "JTI" << getFunctionNumber() << '_' << JTI; in getJTISymbol()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2725 for (unsigned JTI = 0, e = JT.size(); JTI != e; ++JTI) { in emitJumpTableInfo() local
2726 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in emitJumpTableInfo()
2737 const MCExpr *Base = TLI->getPICJumpTableRelocBaseExpr(MF,JTI,OutContext); in emitJumpTableInfo()
2745 OutStreamer->emitAssignment(GetJTSetSymbol(JTI, MBB->getNumber()), in emitJumpTableInfo()
2759 OutStreamer->emitLabel(GetJTISymbol(JTI, true)); in emitJumpTableInfo()
2761 MCSymbol* JTISymbol = GetJTISymbol(JTI); in emitJumpTableInfo()
2767 emitJumpTableEntry(MJTI, MBB, JTI); in emitJumpTableInfo()
4371 AsmPrinter::getCodeViewJumpTableInfo(int JTI, const MachineInstr *BranchInstr, in getCodeViewJumpTableInfo() argument
4375 TLI->getPICJumpTableRelocBaseExpr(MF, JTI, MMI->getContext()); in getCodeViewJumpTableInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelLowering.h156 unsigned JTI,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp179 unsigned JTI) { in buildJumpTable() argument
181 .addJumpTableIndex(JTI); in buildJumpTable()
302 unsigned JTI, in buildBrJT() argument
308 .addJumpTableIndex(JTI) in buildBrJT()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.h1003 unsigned JTI, MCContext &Ctx) const override;
1584 int JTI, SelectionDAG &DAG) const override;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp1012 MachineJumpTableInfo *JTI = PFS.MF.getOrCreateJumpTableInfo(YamlJTI.Kind); in initializeJumpTableInfo() local
1021 unsigned Index = JTI->createJumpTableIndex(Blocks); in initializeJumpTableInfo()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DMachineIRBuilder.h847 MachineInstrBuilder buildBrJT(Register TablePtr, unsigned JTI,
2046 MachineInstrBuilder buildJumpTable(const LLT PtrTy, unsigned JTI);
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h888 int JTI, SelectionDAG &DAG) const override;

12