/external/llvm/unittests/Analysis/ |
D | BlockFrequencyInfoTest.cpp | 70 uint64_t BB0Freq = BFI.getBlockFreq(&BB0).getFrequency(); in TEST_F() 71 uint64_t BB1Freq = BFI.getBlockFreq(BB1).getFrequency(); in TEST_F() 72 uint64_t BB2Freq = BFI.getBlockFreq(BB2).getFrequency(); in TEST_F() 73 uint64_t BB3Freq = BFI.getBlockFreq(BB3).getFrequency(); in TEST_F()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | MachineBlockFrequencyInfo.cpp | 59 getBlockFreq(MachineBasicBlock *MBB) const { in getBlockFreq() function in MachineBlockFrequencyInfo 60 return MBFI->getBlockFreq(MBB); in getBlockFreq()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | BlockFrequencyInfo.cpp | 61 BlockFrequency BlockFrequencyInfo::getBlockFreq(BasicBlock *BB) const { in getBlockFreq() function in BlockFrequencyInfo 62 return BFI->getBlockFreq(BB); in getBlockFreq()
|
/external/llvm/lib/CodeGen/ |
D | MachineBlockPlacement.cpp | 621 BlockFrequency CandidateEdgeFreq = MBFI->getBlockFreq(BB) * RealSuccProb; in hasBetterLayoutPredecessor() 643 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, Succ); in hasBetterLayoutPredecessor() 750 BlockFrequency CandidateFreq = MBFI->getBlockFreq(MBB); in selectBestCandidateBlock() 925 BlockFrequency PredFreq = MBFI->getBlockFreq(Pred); in findBestLoopTop() 1022 BlockFrequency ExitEdgeFreq = MBFI->getBlockFreq(MBB) * SuccProb; in findBestLoopExit() 1147 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, HeaderBB); in rotateLoopWithProfile() 1173 auto ExitFreq = MBFI->getBlockFreq(BB) * LargestExitEdgeProb; in rotateLoopWithProfile() 1221 auto TailBBFreq = MBFI->getBlockFreq(TailBB); in rotateLoopWithProfile() 1273 LoopFreq += MBFI->getBlockFreq(LoopPred) * in collectLoopBlockSet() 1277 auto Freq = MBFI->getBlockFreq(LoopBB).getFrequency(); in collectLoopBlockSet() [all …]
|
D | ShrinkWrap.cpp | 488 << MBFI->getBlockFreq(Save).getFrequency() << "\nRestore: " in runOnMachineFunction() 490 << MBFI->getBlockFreq(Restore).getFrequency() << '\n'); in runOnMachineFunction() 493 if (((IsSaveCheap = EntryFreq >= MBFI->getBlockFreq(Save).getFrequency()) && in runOnMachineFunction() 494 EntryFreq >= MBFI->getBlockFreq(Restore).getFrequency()) && in runOnMachineFunction()
|
D | MachineBlockFrequencyInfo.cpp | 168 MachineBlockFrequencyInfo::getBlockFreq(const MachineBasicBlock *MBB) const { in getBlockFreq() function in MachineBlockFrequencyInfo 169 return MBFI ? MBFI->getBlockFreq(MBB) : 0; in getBlockFreq()
|
D | BranchFolding.h | 114 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;
|
D | BranchFolding.cpp | 468 MBBFreqInfo.setBlockFreq(NewMBB, MBBFreqInfo.getBlockFreq(&CurMBB)); in SplitMBBAt() 545 BranchFolder::MBFIWrapper::getBlockFreq(const MachineBasicBlock *MBB) const { in getBlockFreq() function in BranchFolder::MBFIWrapper 551 return MBFI.getBlockFreq(MBB); in getBlockFreq() 562 return MBFI.printBlockFreq(OS, getBlockFreq(MBB)); in printBlockFreq() 1112 BlockFrequency BlockFreq = MBBFreqInfo.getBlockFreq(SrcMBB); in setCommonTailEdgeWeights()
|
D | MachineSink.cpp | 570 uint64_t LHSFreq = MBFI ? MBFI->getBlockFreq(L).getFrequency() : 0; in GetAllSortedSuccessors() 571 uint64_t RHSFreq = MBFI ? MBFI->getBlockFreq(R).getFrequency() : 0; in GetAllSortedSuccessors()
|
D | SpillPlacement.cpp | 205 BlockFrequencies[Num] = MBFI->getBlockFreq(&I); in runOnMachineFunction()
|
D | InlineSpiller.cpp | 1268 SpillsInSubTreeMap[*RIt].second = MBFI.getBlockFreq(Block); in runHoistSpills() 1312 if (SubTreeCost > MBFI.getBlockFreq(Block) * MarginProb) { in runHoistSpills() 1337 SubTreeCost = MBFI.getBlockFreq(Block); in runHoistSpills()
|
D | SplitKit.cpp | 865 Costs[ParentVNI->id] += MBFI.getBlockFreq(ValMBB); in hoistCopies() 885 MBFI.getBlockFreq(Dom.first) > Costs[ParentVNI->id]) { in hoistCopies()
|
D | RegAllocPBQP.cpp | 430 PBQP::PBQPNum CBenefit = MBFI.getBlockFreq(&MBB).getFrequency() * Scale; in apply()
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | BlockFrequencyImpl.h | 77 return getBlockFreq(Src) * Prob; in getEdgeFreq() 245 uint64_t D = getBlockFreq(Head).getFrequency(); in doLoop() 311 BlockFrequency getBlockFreq(BlockT *BB) const { in getBlockFreq() function 322 OS << " " << getBlockName(BB) << " = " << getBlockFreq(BB) << "\n"; in print()
|
D | BlockFrequencyInfo.h | 50 BlockFrequency getBlockFreq(BasicBlock *BB) const;
|
/external/llvm/include/llvm/Analysis/ |
D | BlockFrequencyInfoImpl.h | 482 BlockFrequency getBlockFreq(const BlockNode &Node) const; 921 BlockFrequency getBlockFreq(const BlockT *BB) const { 922 return BlockFrequencyInfoImplBase::getBlockFreq(getNode(BB)); 1229 << ", int = " << getBlockFreq(&BB).getFrequency() << "\n"; 1271 std::max(MaxFrequency, Graph->getBlockFreq(&N).getFrequency()); 1274 BlockFrequency Freq = Graph->getBlockFreq(Node); 1299 OS << Graph->getBlockFreq(Node).getFrequency(); 1332 BlockFrequency EFreq = BFI->getBlockFreq(Node) * BP;
|
D | BlockFrequencyInfo.h | 57 BlockFrequency getBlockFreq(const BasicBlock *BB) const;
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | MachineBlockFrequencyInfo.h | 49 BlockFrequency getBlockFreq(MachineBasicBlock *MBB) const;
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineBlockFrequencyInfo.h | 52 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;
|
/external/llvm/lib/Analysis/ |
D | BlockFrequencyInfo.cpp | 153 BlockFrequency BlockFrequencyInfo::getBlockFreq(const BasicBlock *BB) const { in getBlockFreq() function in BlockFrequencyInfo 154 return BFI ? BFI->getBlockFreq(BB) : 0; in getBlockFreq()
|
D | BlockFrequencyInfoImpl.cpp | 527 BlockFrequencyInfoImplBase::getBlockFreq(const BlockNode &Node) const { in getBlockFreq() function in BlockFrequencyInfoImplBase 541 APInt BlockFreq(128, getBlockFreq(Node).getFrequency()); in getBlockProfileCount()
|
/external/llvm/lib/CodeGen/GlobalISel/ |
D | RegBankSelect.cpp | 352 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) : 1); in computeMapping() 729 return MBFI->getBlockFreq(Instr.getParent()).getFrequency(); in frequency() 737 return MBFI->getBlockFreq(&MBB).getFrequency(); in frequency() 759 return MBFI->getBlockFreq(DstOrSplit).getFrequency(); in frequency() 766 return (MBFI->getBlockFreq(&Src) * MBPI->getEdgeProbability(&Src, DstOrSplit)) in frequency()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | CFGMST.h | 103 (BFI != nullptr ? BFI->getBlockFreq(&*BB).getFrequency() : 2); in buildEdges()
|
/external/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 1495 BFI->getBlockFreq(PredBB) * BPI->getEdgeProbability(PredBB, BB); in ThreadEdge() 1602 PredBBFreq += BFI->getBlockFreq(Pred) * BPI->getEdgeProbability(Pred, BB); in SplitBlockPreds() 1627 auto BBOrigFreq = BFI->getBlockFreq(BB); in UpdateBlockFreqAndEdgeWeight() 1628 auto NewBBFreq = BFI->getBlockFreq(NewBB); in UpdateBlockFreqAndEdgeWeight()
|
D | LoopUnswitch.cpp | 560 BlockFrequency LoopEntryFreq = BFI.getBlockFreq(loopHeader); in processCurrentLoop()
|