Home
last modified time | relevance | path

Searched refs:MBBs (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZLongBranch.cpp162 SmallVector<MBBInfo, 16> MBBs; member in __anona4a2e8f10111::SystemZLongBranch
289 MBBs.clear(); in initMBBInfo()
290 MBBs.resize(NumBlocks); in initMBBInfo()
298 MBBInfo &Block = MBBs[I]; in initMBBInfo()
334 const MBBInfo &Target = MBBs[Terminator.TargetBlock]; in mustRelaxBranch()
360 for (auto &Block : MBBs) { in setWorstCaseAddresses()
466 for (auto &Block : MBBs) { in relaxBranches()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMachineFunctionInfo.cpp139 SmallPtrSet<const MachineBasicBlock *, 16> MBBs; in WebAssemblyFunctionInfo() local
141 MBBs.insert(&MBB); in WebAssemblyFunctionInfo()
145 if (MBBs.count(SrcBB) && MBBs.count(DestBB)) in WebAssemblyFunctionInfo()
H A DWebAssemblyLateEHPrepare.cpp97 static void eraseDeadBBsAndChildren(const Container &MBBs) { in eraseDeadBBsAndChildren() argument
98 SmallVector<MachineBasicBlock *, 8> WL(MBBs.begin(), MBBs.end()); in eraseDeadBBsAndChildren()
H A DWebAssemblyISelLowering.cpp2073 const auto &MBBs = MJTI->getJumpTables()[JT->getIndex()].MBBs; in LowerBR_JT() local
2076 for (auto *MBB : MBBs) in LowerBR_JT()
2082 Ops.push_back(DAG.getBasicBlock(*MBBs.begin())); in LowerBR_JT()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLivePhysRegs.h218 inline void fullyRecomputeLiveIns(ArrayRef<MachineBasicBlock *> MBBs) { in fullyRecomputeLiveIns() argument
219 MachineBasicBlock *const *Data = MBBs.data(); in fullyRecomputeLiveIns()
220 const size_t Len = MBBs.size(); in fullyRecomputeLiveIns()
H A DMachineJumpTableInfo.h38 std::vector<MachineBasicBlock*> MBBs; member
125 JumpTables[Idx].MBBs.clear(); in RemoveJumpTable()
H A DLexicalScopes.h166 SmallPtrSetImpl<const MachineBasicBlock *> &MBBs);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLexicalScopes.cpp281 const DILocation *DL, SmallPtrSetImpl<const MachineBasicBlock *> &MBBs) { in getMachineBasicBlocks() argument
283 MBBs.clear(); in getMachineBasicBlocks()
290 MBBs.insert_range(llvm::make_pointer_range(*MF)); in getMachineBasicBlocks()
302 MBBs.insert(&*CurMBBIt); in getMachineBasicBlocks()
H A DMachineFunction.cpp1315 const std::vector<MachineBasicBlock *> &MBBs) in MachineJumpTableEntry() argument
1316 : MBBs(MBBs), Hotness(MachineFunctionDataHotness::Unknown) {} in MachineJumpTableEntry()
1393 auto removeBeginItr = std::remove(JTE.MBBs.begin(), JTE.MBBs.end(), MBB); in RemoveMBBFromJumpTables()
1394 MadeChange |= (removeBeginItr != JTE.MBBs.end()); in RemoveMBBFromJumpTables()
1395 JTE.MBBs.erase(removeBeginItr, JTE.MBBs.end()); in RemoveMBBFromJumpTables()
1408 for (MachineBasicBlock *&MBB : JTE.MBBs) in ReplaceMBBInJumpTable()
1423 for (const MachineBasicBlock *MBB : JumpTables[i].MBBs) in print()
H A DRegisterCoalescer.cpp4214 std::vector<MBBPriorityInfo> MBBs; in joinAllIntervals() local
4215 MBBs.reserve(MF->size()); in joinAllIntervals()
4217 MBBs.push_back(MBBPriorityInfo(&MBB, Loops->getLoopDepth(&MBB), in joinAllIntervals()
4220 array_pod_sort(MBBs.begin(), MBBs.end(), compareMBBPriority); in joinAllIntervals()
4224 for (MBBPriorityInfo &MBB : MBBs) { in joinAllIntervals()
H A DMIRPrinter.cpp621 for (const auto *MBB : Table.MBBs) { in convertMJTI()
H A DMachineBasicBlock.cpp1075 for (MachineBasicBlock *B : MJTE.MBBs) { in jumpTableHasOtherUses()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CompressJumpTables.cpp114 if (JT.MBBs.empty()) in compressJumpTable()
120 for (auto *Block : JT.MBBs) { in compressJumpTable()
H A DAArch64BranchTargets.cpp84 JumpTableTargets.insert_range(JTE.MBBs); in runOnMachineFunction()
H A DAArch64AsmPrinter.cpp1297 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in emitJumpTableImpl()
1541 const uint64_t NumTableEntries = JTs[JTI].MBBs.size(); in LowerHardenedBRJumpTable()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFMIPeephole.cpp419 std::vector<MachineBasicBlock *> MBBs; in adjustBranch() local
434 MBBs.push_back(&MBB); in adjustBranch()
438 for (unsigned i = 0; i < MBBs.size(); i++) { in adjustBranch()
446 MachineBasicBlock *MBB = MBBs[i]; in adjustBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsAsmPrinter.cpp1277 const std::vector<MachineBasicBlock *> &MBBs = I.MBBs; in NaClAlignIndirectJumpTargets() local
1279 for (MachineBasicBlock *MBB : MBBs) in NaClAlignIndirectJumpTargets()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchAsmPrinter.cpp289 if (JT[JTIIdx].MBBs.empty()) in emitJumpTableInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreAsmPrinter.cpp188 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in printInlineJT()
H A DXCoreISelLowering.cpp321 unsigned NumEntries = MJTI->getJumpTables()[JTI].MBBs.size(); in LowerBR_JT()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp656 unsigned Size = JT[JTI].MBBs.size() * sizeof(uint32_t); in doInitialJumpTablePlacement()
2228 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in optimizeThumb2JumpTables()
2424 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in reorderThumb2JumpTables()
H A DARMAsmPrinter.cpp1019 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in emitJumpTableAddrs()
1062 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in emitJumpTableInsts()
1090 const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs; in emitJumpTableTBInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp2987 ArrayRef<MachineBasicBlock *> MBBs = MJTI->getJumpTables()[JId].MBBs; in LowerBR_JT() local
2996 assert(!MBBs.empty()); in LowerBR_JT()
2997 for (MachineBasicBlock *MBB : MBBs.drop_back()) in LowerBR_JT()
3002 SDValue EndOps[] = {Chain.getValue(0), DAG.getBasicBlock(MBBs.back()), Index, in LowerBR_JT()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp3582 JTE.MBBs.size(), in collectDebugInfoForJumpTables()
3584 for (const auto &MBB : JTE.MBBs) in collectDebugInfoForJumpTables()
H A DAsmPrinter.cpp3017 ArrayRef<MachineBasicBlock *> JTBBs = JT[JumpTableIndex].MBBs; in emitJumpTableImpl()
3112 const std::vector<MachineBasicBlock *> &JTBBs = JT[JTI].MBBs; in emitJumpTableSizesSection()

12