Home
last modified time | relevance | path

Searched refs:JT (Results 1 – 25 of 131) sorted by relevance

123456

/freebsd/contrib/libpcap/
H A Doptimize.c387 if (JT(b)) { in find_levels_r()
388 find_levels_r(opt_state, ic, JT(b)); in find_levels_r()
390 level = MAX(JT(b)->level, JF(b)->level) + 1; in find_levels_r()
446 if (JT(b) == 0) in find_dom()
448 SET_INTERSECT(JT(b)->dom, b->dom, opt_state->nodewords); in find_dom()
519 if (JT(b) == 0) in find_closure()
521 SET_UNION(JT(b)->closure, b->closure, opt_state->nodewords); in find_closure()
701 p->out_use |= JT(p)->in_use | JF(p)->in_use; in find_ud()
883 struct block *tmp = JT(b); in opt_not()
885 JT(b) = JF(b); in opt_not()
[all …]
H A Dgencode.h413 #define JT(b) ((b)->et.succ) macro
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpTableToSwitch.cpp93 static BasicBlock *expandToSwitch(CallBase *CB, const JumpTableTy &JT, in expandToSwitch() argument
112 SwitchInst *Switch = Builder.CreateSwitch(JT.Index, BBUnreachable); in expandToSwitch()
117 IsVoid ? nullptr : BuilderTail.CreatePHI(CB->getType(), JT.Funcs.size()); in expandToSwitch()
119 for (auto [Index, Func] : llvm::enumerate(JT.Funcs)) { in expandToSwitch()
129 cast<ConstantInt>(ConstantInt::get(JT.Index->getType(), Index)), B); in expandToSwitch()
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelDAGToDAG.cpp48 int JT = -1; member
54 return GV != nullptr || CP != nullptr || ES != nullptr || JT != -1; in hasSymbolicDisplacement()
77 } else if (JT != -1) in dump()
78 errs() << " JT" << JT << " Align" << Alignment.value() << '\n'; in dump()
162 AM.JT = J->getIndex(); in MatchWrapper()
276 else if (AM.JT != -1) in SelectAddr()
277 Disp = CurDAG->getTargetJumpTable(AM.JT, MVT::i16, 0/*AM.SymbolFlags*/); in SelectAddr()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CompressJumpTables.cpp111 const MachineJumpTableEntry &JT = JTInfo.getJumpTables()[JTIdx]; in compressJumpTable() local
114 if (JT.MBBs.empty()) in compressJumpTable()
120 for (auto *Block : JT.MBBs) { in compressJumpTable()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelDAGToDAG.cpp78 int JT; member
86 MCSym(nullptr), JT(-1), Alignment(), SymbolFlags(M68kII::MO_NO_FLAG) {} in M68kISelAddressMode()
90 MCSym != nullptr || JT != -1 || BlockAddr != nullptr; in hasSymbolicDisplacement()
275 if (AM.JT != -1) { in getSymbolicDisplacement()
277 Sym = CurDAG->getTargetJumpTable(AM.JT, MVT::i32, AM.SymbolFlags); in getSymbolicDisplacement()
611 AM.JT = J->getIndex(); in matchWrapper()
648 AM.JT = J->getIndex(); in matchWrapper()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp656 void applyICallBranchFunnel(VTableSlotInfo &SlotInfo, Constant *JT,
1471 Function *JT; in tryICallBranchFunnel() local
1473 JT = Function::Create(FT, Function::ExternalLinkage, in tryICallBranchFunnel()
1476 JT->setVisibility(GlobalValue::HiddenVisibility); in tryICallBranchFunnel()
1478 JT = Function::Create(FT, Function::InternalLinkage, in tryICallBranchFunnel()
1482 JT->addParamAttr(0, Attribute::Nest); in tryICallBranchFunnel()
1485 JTArgs.push_back(JT->arg_begin()); in tryICallBranchFunnel()
1491 BasicBlock *BB = BasicBlock::Create(M.getContext(), "", JT, nullptr); in tryICallBranchFunnel()
1500 applyICallBranchFunnel(SlotInfo, JT, IsExported); in tryICallBranchFunnel()
1506 Constant *JT, bool &IsExported) { in applyICallBranchFunnel() argument
[all …]
H A DLowerTypeTests.cpp540 void replaceWeakDeclarationWithJumpTablePtr(Function *F, Constant *JT,
1436 Function *F, Constant *JT, bool IsJumpTableCanonical) { in replaceWeakDeclarationWithJumpTablePtr() argument
1467 Value *Select = Builder.CreateSelect(ICmp, JT, in replaceWeakDeclarationWithJumpTablePtr()
1824 for (ICallBranchFunnel *JT : ICallBranchFunnels) { in buildBitSetsFromDisjointSet()
1827 for (GlobalTypeMember *T : JT->targets()) in buildBitSetsFromDisjointSet()
/freebsd/crypto/openssl/test/certs/
H A Droot-key2.pem5 SungipsvVsx3i/x8XEnRkMYlqF8uK6udhTJqVo0Icr6Erb5Fp5GA+Wxd+JT+/CGG
/freebsd/crypto/openssl/test/recipes/65-test_cmp_msg_data/
H A Dnew.key5 SungipsvVsx3i/x8XEnRkMYlqF8uK6udhTJqVo0Icr6Erb5Fp5GA+Wxd+JT+/CGG
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchAsmPrinter.cpp279 auto JT = JTI->getJumpTables(); in emitJumpTableInfo() local
289 if (JT[JTIIdx].MBBs.empty()) in emitJumpTableInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreAsmPrinter.cpp187 const std::vector<MachineJumpTableEntry> &JT = MJTI->getJumpTables(); in printInlineJT() local
188 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in printInlineJT()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp605 const std::vector<MachineJumpTableEntry> &JT = MJTI->getJumpTables(); in doInitialJumpTablePlacement() local
656 unsigned Size = JT[JTI].MBBs.size() * sizeof(uint32_t); in doInitialJumpTablePlacement()
2216 const std::vector<MachineJumpTableEntry> &JT = MJTI->getJumpTables(); in optimizeThumb2JumpTables() local
2223 assert(JTI < JT.size()); in optimizeThumb2JumpTables()
2228 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in optimizeThumb2JumpTables()
2411 const std::vector<MachineJumpTableEntry> &JT = MJTI->getJumpTables(); in reorderThumb2JumpTables() local
2418 assert(JTI < JT.size()); in reorderThumb2JumpTables()
2424 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in reorderThumb2JumpTables()
H A DARMAsmPrinter.cpp1018 const std::vector<MachineJumpTableEntry> &JT = MJTI->getJumpTables(); in emitJumpTableAddrs() local
1019 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in emitJumpTableAddrs()
1061 const std::vector<MachineJumpTableEntry> &JT = MJTI->getJumpTables(); in emitJumpTableInsts() local
1062 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in emitJumpTableInsts()
1089 const std::vector<MachineJumpTableEntry> &JT = MJTI->getJumpTables(); in emitJumpTableTBInst() local
1090 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in emitJumpTableTBInst()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp852 void IRTranslator::emitJumpTable(SwitchCG::JumpTable &JT, in emitJumpTable() argument
855 assert(JT.Reg && "Should lower JT Header first!"); in emitJumpTable()
863 auto Table = MIB.buildJumpTable(PtrTy, JT.JTI); in emitJumpTable()
864 MIB.buildBrJT(Table.getReg(0), JT.JTI, JT.Reg); in emitJumpTable()
867 bool IRTranslator::emitJumpTableHeader(SwitchCG::JumpTable &JT, in emitJumpTableHeader() argument
887 JT.Reg = Sub.getReg(0); in emitJumpTableHeader()
890 if (JT.MBB != HeaderBB->getNextNode()) in emitJumpTableHeader()
891 MIB.buildBr(*JT.MBB); in emitJumpTableHeader()
903 auto BrCond = MIB.buildBrCond(Cmp.getReg(0), *JT.Default); in emitJumpTableHeader()
906 if (JT.MBB != HeaderBB->getNextNode()) in emitJumpTableHeader()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMIRYamlMapping.h635 static void mapping(IO &YamlIO, MachineJumpTable &JT) {
636 YamlIO.mapRequired("kind", JT.Kind);
637 YamlIO.mapOptional("entries", JT.Entries,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2956 const std::vector<MachineJumpTableEntry> &JT = MJTI->getJumpTables(); in emitJumpTableInfo() local
2957 if (JT.empty()) return; in emitJumpTableInfo()
2960 emitJumpTableImpl(*MJTI, llvm::to_vector(llvm::seq<unsigned>(JT.size()))); in emitJumpTableInfo()
2968 for (unsigned JTI = 0, JTSize = JT.size(); JTI < JTSize; ++JTI) { in emitJumpTableInfo()
2969 if (JT[JTI].Hotness == MachineFunctionDataHotness::Cold) { in emitJumpTableInfo()
2988 const std::vector<MachineJumpTableEntry> &JT = MJTI.getJumpTables(); in emitJumpTableImpl() local
3001 TLOF.getSectionForJumpTable(F, TM, &JT[JumpTableIndices.front()]); in emitJumpTableImpl()
3017 ArrayRef<MachineBasicBlock *> JTBBs = JT[JumpTableIndex].MBBs; in emitJumpTableImpl()
3072 const std::vector<MachineJumpTableEntry> &JT = MJTI.getJumpTables(); in emitJumpTableSizesSection() local
3074 if (JT.empty()) in emitJumpTableSizesSection()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp257 JumpTable JT(Register(), JTI, JumpTableMBB, nullptr, SL); in buildJumpTable() local
261 JTCases.emplace_back(std::move(JTH), std::move(JT)); in buildJumpTable()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h380 bool emitJumpTableHeader(SwitchCG::JumpTable &JT,
383 void emitJumpTable(SwitchCG::JumpTable &JT, MachineBasicBlock *MBB);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h530 void visitJumpTable(SwitchCG::JumpTable &JT);
531 void visitJumpTableHeader(SwitchCG::JumpTable &JT,
H A DInstrEmitter.cpp441 } else if (JumpTableSDNode *JT = dyn_cast<JumpTableSDNode>(Op)) { in AddOperand() local
442 MIB.addJumpTableIndex(JT->getIndex(), JT->getTargetFlags()); in AddOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp1166 JumpTableSDNode *JT = cast<JumpTableSDNode>(Op); in LowerJumpTable() local
1171 JT->getIndex(), getPointerTy(DAG.getDataLayout()), LanaiII::MO_NO_FLAG); in LowerJumpTable()
1180 JT->getIndex(), getPointerTy(DAG.getDataLayout()), OpFlagHi); in LowerJumpTable()
1182 JT->getIndex(), getPointerTy(DAG.getDataLayout()), OpFlagLo); in LowerJumpTable()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsAsmPrinter.cpp1275 const std::vector<MachineJumpTableEntry> &JT = JtInfo->getJumpTables(); in NaClAlignIndirectJumpTargets() local
1276 for (const auto &I : JT) { in NaClAlignIndirectJumpTargets()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp1731 JumpTarget JT = LI->second; in buildCFG() local
1734 I->scopePosition, B, JT.scopePosition, JT.block); in buildCFG()
1744 JumpTarget JT = LI->second; in buildCFG() local
1746 if (JT.block == Successor) in buildCFG()
1748 addSuccessor(B, JT.block); in buildCFG()
3577 JumpTarget JT = I->second; in VisitGotoStmt() local
3578 addSuccessor(Block, JT.block); in VisitGotoStmt()
3579 addScopeChangesHandling(ScopePos, JT.scopePosition, G); in VisitGotoStmt()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaISelLowering.cpp1057 JumpTableSDNode *JT = cast<JumpTableSDNode>(Table); in LowerBR_JT() local
1060 SDValue TargetJT = DAG.getTargetJumpTable(JT->getIndex(), MVT::i32); in LowerBR_JT()
1082 JumpTableSDNode *JT = cast<JumpTableSDNode>(Op); in LowerJumpTable() local
1088 XtensaConstantPoolJumpTable::Create(*DAG.getContext(), JT->getIndex()); in LowerJumpTable()

123456