Home
last modified time | relevance | path

Searched refs:BBInfo (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInsertWriteVXRM.cpp212 BlockData &BBInfo = BlockInfo[MBB.getNumber()]; in computeVXRMChanges() local
220 if (!BBInfo.VXRMUse.isValid()) in computeVXRMChanges()
221 BBInfo.VXRMUse.setVXRMImm(NewVXRMImm); in computeVXRMChanges()
223 BBInfo.VXRMOut.setVXRMImm(NewVXRMImm); in computeVXRMChanges()
230 if (!BBInfo.VXRMUse.isValid()) in computeVXRMChanges()
231 BBInfo.VXRMUse.setUnknown(); in computeVXRMChanges()
233 BBInfo.VXRMOut.setUnknown(); in computeVXRMChanges()
241 BlockData &BBInfo = BlockInfo[MBB.getNumber()]; in computeAvailable() local
243 BBInfo.InQueue = false; in computeAvailable()
257 if (Available != BBInfo.AvailableIn) { in computeAvailable()
[all …]
H A DRISCVInsertVSETVLI.cpp1311 BlockData &BBInfo = BlockInfo[MBB.getNumber()]; in computeIncomingVLVTYPE() local
1313 BBInfo.InQueue = false; in computeIncomingVLVTYPE()
1317 VSETVLIInfo InInfo = BBInfo.Pred; in computeIncomingVLVTYPE()
1331 if (InInfo == BBInfo.Pred) in computeIncomingVLVTYPE()
1334 BBInfo.Pred = InInfo; in computeIncomingVLVTYPE()
1336 << " changed to " << BBInfo.Pred << "\n"); in computeIncomingVLVTYPE()
1347 if (BBInfo.Exit == TmpStatus) in computeIncomingVLVTYPE()
1350 BBInfo.Exit = TmpStatus; in computeIncomingVLVTYPE()
1352 << " changed to " << BBInfo.Exit << "\n"); in computeIncomingVLVTYPE()
1792 BlockData &BBInfo = BlockInfo[MBB.getNumber()]; in runOnMachineFunction() local
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdaterImpl.h42 class BBInfo {
51 BBInfo *DefBB;
57 BBInfo *IDom = nullptr;
63 BBInfo **Preds = nullptr;
68 BBInfo(BlkT *ThisBB, ValT V) in BBInfo() function
78 using BlockListTy = SmallVectorImpl<BBInfo *>;
79 using BBMapTy = DenseMap<BlkT *, BBInfo *>;
94 SmallVector<BBInfo *, 100> BlockList; in GetValue()
95 BBInfo *PseudoEntry = BuildBlockList(BB, &BlockList); in GetValue()
115 BBInfo *BuildBlockList(BlkT *BB, BlockListTy *BlockList) { in BuildBlockList()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DIfConversion.cpp132 struct BBInfo { struct in __anon8f1f3a690111::IfConverter
152 BBInfo() : IsDone(false), IsBeingAnalyzed(false), in BBInfo() argument
171 BBInfo &BBI;
179 IfcvtToken(BBInfo &b, IfcvtKind k, bool s, unsigned d, unsigned d2 = 0, in IfcvtToken()
187 std::vector<BBInfo> BBAnalysis;
226 bool reverseBranchCondition(BBInfo &BBI) const;
227 bool ValidSimple(BBInfo &TrueBBI, unsigned &Dups,
229 bool ValidTriangle(BBInfo &TrueBBI, BBInfo &FalseBBI,
238 bool ValidDiamond(BBInfo &TrueBBI, BBInfo &FalseBBI,
240 BBInfo &TrueBBICalc, BBInfo &FalseBBICalc) const;
[all …]
H A DMachineVerifier.cpp151 struct BBInfo { struct
179 BBInfo() = default;
214 DenseMap<const MachineBasicBlock*, BBInfo> MBBInfoMap;
638 BBInfo &MInfo = MBBInfoMap[MBB]; in markReachable()
658 BBInfo &MInfo = MBBInfoMap[&MBB]; in visitMachineFunctionBefore()
2915 BBInfo &MInfo = MBBInfoMap[MI->getParent()]; in checkLiveness()
2968 BBInfo &MInfo = MBBInfoMap[MI->getParent()]; in visitMachineBundleAfter()
3113 BBInfo &Info = MBBInfoMap[MB]; in calcRegsPassed()
3119 const BBInfo &PredInfo = MBBInfoMap[Pred]; in calcRegsPassed()
3138 BBInfo &MInfo = MBBInfoMap[&MBB]; in calcRegsRequired()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DADCE.cpp240 for (auto &BBInfo : BlockInfo) in initialize() local
241 for (Instruction &I : *BBInfo.second.BB) in initialize()
242 InstInfo[&I].Block = &BBInfo.second; in initialize()
246 for (auto &BBInfo : BlockInfo) in initialize() local
247 BBInfo.second.TerminatorLiveInfo = &InstInfo[BBInfo.second.Terminator]; in initialize()
326 for (auto &BBInfo : BlockInfo) in initialize() local
327 if (!BBInfo.second.terminatorIsLive()) in initialize()
328 BlocksWithDeadTerminators.insert(BBInfo.second.BB); in initialize()
397 auto &BBInfo = *Info.Block; in markLive() local
398 if (BBInfo.Terminator == I) { in markLive()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBasicBlockInfo.cpp48 BasicBlockInfo &BBI = BBInfo[MBB->getNumber()]; in computeBlockSize()
80 unsigned Offset = BBInfo[MBB->getNumber()].Offset; in getOffsetOf()
97 unsigned DestOffset = BBInfo[DestBB->getNumber()].Offset; in isBBInRange()
131 const unsigned Offset = BBInfo[i - 1].postOffset(Align); in adjustBBOffsetsAfter()
132 const unsigned KnownBits = BBInfo[i - 1].postKnownBits(Align); in adjustBBOffsetsAfter()
138 BBInfo[i].Offset == Offset && in adjustBBOffsetsAfter()
139 BBInfo[i].KnownBits == KnownBits) in adjustBBOffsetsAfter()
142 BBInfo[i].Offset = Offset; in adjustBBOffsetsAfter()
143 BBInfo[i].KnownBits = KnownBits; in adjustBBOffsetsAfter()
H A DARMBasicBlockInfo.h115 SmallVector<BasicBlockInfo, 8> BBInfo; variable
125 BBInfo.resize(MF.getNumBlockIDs()); in computeAllBlockSizes()
135 return BBInfo[MBB->getNumber()].Offset; in getOffsetOf()
141 BBInfo[MBB->getNumber()].Size += Size; in adjustBBSize()
148 BBInfo.insert(BBInfo.begin() + BBNum, BBI); in insert()
151 void clear() { BBInfo.clear(); } in clear()
153 BBInfoVector &getBBInfo() { return BBInfo; } in getBBInfo()
H A DARMConstantIslandPass.cpp304 BBInfoVector &BBInfo = BBUtils->getBBInfo(); in verify() local
305 assert(is_sorted(*MF, [&BBInfo](const MachineBasicBlock &LHS, in verify()
307 return BBInfo[LHS.getNumber()].postOffset() < in verify()
308 BBInfo[RHS.getNumber()].postOffset(); in verify()
332 BBInfoVector &BBInfo = BBUtils->getBBInfo(); in dumpBBs()
333 for (unsigned J = 0, E = BBInfo.size(); J !=E; ++J) { in dumpBBs()
334 const BasicBlockInfo &BBI = BBInfo[J]; in dumpBBs()
338 << format(" size=%#x\n", BBInfo[J].Size); in dumpBBs()
776 BBInfoVector &BBInfo = BBUtils->getBBInfo(); in initializeFunctionInfo() local
779 BBInfo.front().KnownBits = Log2(MF->getAlignment()); in initializeFunctionInfo()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DCFGMST.h39 template <class Edge, class BBInfo> class CFGMST {
47 DenseMap<const BasicBlock *, std::unique_ptr<BBInfo>> BBInfos;
60 BBInfo *findAndCompressGroup(BBInfo *G) {
62 G->Group = findAndCompressGroup(static_cast<BBInfo *>(G->Group));
63 return static_cast<BBInfo *>(G->Group); in unionGroups()
69 BBInfo *BB1G = findAndCompressGroup(&getBBInfo(BB1)); in unionGroups()
70 BBInfo *BB2G = findAndCompressGroup(&getBBInfo(BB2)); in unionGroups()
283 Iter->second = std::move(std::make_unique<BBInfo>(Index));
289 Iter->second = std::move(std::make_unique<BBInfo>(Inde in F()
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYConstantIslandPass.cpp111 std::vector<BasicBlockInfo> BBInfo; member in __anon0b57eac50111::CSKYConstantIslands
279 for (unsigned J = 0, E = BBInfo.size(); J != E; ++J) { in dumpBBs()
280 const BasicBlockInfo &BBI = BBInfo[J]; in dumpBBs()
282 << format(" size=%#x\n", BBInfo[J].Size); in dumpBBs()
358 BBInfo.clear(); in runOnMachineFunction()
479 BBInfo.clear(); in initializeFunctionInfo()
480 BBInfo.resize(MF->getNumBlockIDs()); in initializeFunctionInfo()
584 BasicBlockInfo &BBI = BBInfo[MBB->getNumber()]; in computeBlockSize()
600 unsigned Offset = BBInfo[MBB->getNumber()].Offset; in getOffsetOf()
627 BBInfo.insert(BBInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in updateForInsertedWaterBlock()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsConstantIslandPass.cpp228 std::vector<BasicBlockInfo> BBInfo; member in __anon52b951230111::MipsConstantIslands
426 for (unsigned J = 0, E = BBInfo.size(); J !=E; ++J) { in dumpBBs()
427 const BasicBlockInfo &BBI = BBInfo[J]; in dumpBBs()
429 << format(" size=%#x\n", BBInfo[J].Size); in dumpBBs()
515 BBInfo.clear(); in runOnMachineFunction()
633 BBInfo.clear(); in initializeFunctionInfo()
634 BBInfo.resize(MF->getNumBlockIDs()); in initializeFunctionInfo()
785 BasicBlockInfo &BBI = BBInfo[MBB->getNumber()]; in computeBlockSize()
801 unsigned Offset = BBInfo[MBB->getNumber()].Offset; in getOffsetOf()
828 BBInfo.insert(BBInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in updateForInsertedWaterBlock()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDominators.h121 using BBInfo = DenseMapInfo<const BasicBlock *>;
126 return BasicBlockEdge(BBInfo::getEmptyKey(), BBInfo::getEmptyKey());
130 return BasicBlockEdge(BBInfo::getTombstoneKey(), BBInfo::getTombstoneKey());
134 return hash_combine(BBInfo::getHashValue(Edge.getStart()),
135 BBInfo::getHashValue(Edge.getEnd()));
139 return BBInfo::isEqual(LHS.getStart(), RHS.getStart()) &&
140 BBInfo::isEqual(LHS.getEnd(), RHS.getEnd());
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PadShortFunction.cpp190 VisitedBBInfo BBInfo = it->second; in cyclesUntilReturn() local
191 Cycles += BBInfo.Cycles; in cyclesUntilReturn()
192 return BBInfo.HasReturn; in cyclesUntilReturn()
H A DX86PreTileConfig.cpp92 struct BBInfo { struct
104 DenseMap<MachineBasicBlock *, BBInfo> BBVisitedInfo;
/freebsd/contrib/llvm-project/llvm/tools/llvm-extract/
H A Dllvm-extract.cpp263 auto BBInfo = StrPair.split(':'); in main() local
265 Function *F = M->getFunction(BBInfo.first); in main()
268 << BBInfo.first << "'!\n"; in main()
274 BBInfo.second.split(BBNames, ';', /*MaxSplit=*/-1, /*KeepEmpty=*/false); in main()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DGenericDomTreeConstruction.h188 auto &BBInfo = NodeToInfo[BB]; member
189 BBInfo.ReverseChildren.push_back(ParentNum);
192 if (BBInfo.DFSNum != 0) continue;
193 BBInfo.Parent = ParentNum;
194 BBInfo.DFSNum = BBInfo.Semi = BBInfo.Label = ++LastNum;
314 auto &BBInfo = NodeToInfo[nullptr]; in addVirtualRoot() local
315 BBInfo.DFSNum = BBInfo.Semi = BBInfo.Label = 1; in addVirtualRoot()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DBlockExtractor.cpp144 for (const auto &BBInfo : BInfo.second) { in runOnModule() local
146 *F, [&](const BasicBlock &BB) { return BB.getName() == BBInfo; }); in runOnModule()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp526 template <class Edge, class BBInfo> class FuncPGOInstrumentation {
553 CFGMST<Edge, BBInfo> MST;
574 BBInfo &getBBInfo(const BasicBlock *BB) const { return MST.getBBInfo(BB); } in getBBInfo()
577 BBInfo *findBBInfo(const BasicBlock *BB) const { return MST.findBBInfo(BB); } in findBBInfo()
639 template <class Edge, class BBInfo>
640 void FuncPGOInstrumentation<Edge, BBInfo>::computeCFGHash() { in computeCFGHash()
718 template <class Edge, class BBInfo>
719 void FuncPGOInstrumentation<Edge, BBInfo>::renameComdatFunction() { in renameComdatFunction()
756 template <class Edge, class BBInfo>
757 void FuncPGOInstrumentation<Edge, BBInfo>::getInstrumentBBs( in getInstrumentBBs()
[all …]
H A DGCOVProfiling.cpp167 struct BBInfo { struct
168 BBInfo *Group; argument
172 BBInfo(unsigned Index) : Group(this), Index(Index) {} in BBInfo() argument
706 static BasicBlock *getInstrBB(CFGMST<Edge, BBInfo> &MST, Edge &E, in getInstrBB()
751 static void dumpEdges(CFGMST<Edge, BBInfo> &MST, GCOVFunction &GF) { in dumpEdges()
820 CFGMST<Edge, BBInfo> MST(F, /*InstrumentFuncEntry_=*/false, BPI, BFI); in emitProfileNotes()
169 Index__anon09913f2a0211::BBInfo global() argument
170 Rank__anon09913f2a0211::BBInfo global() argument
173 infoString__anon09913f2a0211::BBInfo infoString() argument
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp841 unsigned ArgIndex = BBInfo[Blk->getBlockID()].ProcessedPredecessors; in mergePhiNodesBackEdge()
862 BBInfo.resize(NBlocks); in enterCFG()
894 CurrentBlockInfo = &BBInfo[B->getBlockID()]; in enterCFGBlock()
905 BlockInfo *PredInfo = &BBInfo[Pred->getBlockID()]; in handlePredecessor()
976 ++BBInfo[Succ->getBlockID()].ProcessedPredecessors; in handleSuccessorBackEdge()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCOpts.cpp434 raw_ostream &llvm::operator<<(raw_ostream &OS, BBState &BBInfo) { in operator <<() argument
437 if (!BBInfo.hasTopDownPtrs()) { in operator <<()
440 for (auto I = BBInfo.top_down_ptr_begin(), E = BBInfo.top_down_ptr_end(); in operator <<()
457 if (!BBInfo.hasBottomUpPtrs()) { in operator <<()
460 for (auto I = BBInfo.bottom_up_ptr_begin(), E = BBInfo.bottom_up_ptr_end(); in operator <<()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h520 std::vector<BlockInfo> BBInfo; variable