Searched refs:getBlockFreq (Results 1 - 25 of 28) sorted by relevance

12

/external/swiftshader/third_party/LLVM/lib/CodeGen/
H A DMachineBlockFrequencyInfo.cpp59 getBlockFreq(MachineBasicBlock *MBB) const { function in class:MachineBlockFrequencyInfo
60 return MBFI->getBlockFreq(MBB);
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DBlockFrequencyInfo.cpp61 BlockFrequency BlockFrequencyInfo::getBlockFreq(BasicBlock *BB) const { function in class:BlockFrequencyInfo
62 return BFI->getBlockFreq(BB);
/external/llvm/unittests/Analysis/
H A DBlockFrequencyInfoTest.cpp70 uint64_t BB0Freq = BFI.getBlockFreq(&BB0).getFrequency();
71 uint64_t BB1Freq = BFI.getBlockFreq(BB1).getFrequency();
72 uint64_t BB2Freq = BFI.getBlockFreq(BB2).getFrequency();
73 uint64_t BB3Freq = BFI.getBlockFreq(BB3).getFrequency();
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
H A DMachineBlockFrequencyInfo.h49 BlockFrequency getBlockFreq(MachineBasicBlock *MBB) const;
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
H A DBlockFrequencyInfo.h50 BlockFrequency getBlockFreq(BasicBlock *BB) const;
H A DBlockFrequencyImpl.h77 return getBlockFreq(Src) * Prob;
245 uint64_t D = getBlockFreq(Head).getFrequency();
310 /// getBlockFreq - Return block frequency. Return 0 if we don't have it.
311 BlockFrequency getBlockFreq(BlockT *BB) const { function in class:llvm::BlockFrequencyImpl
322 OS << " " << getBlockName(BB) << " = " << getBlockFreq(BB) << "\n";
/external/llvm/include/llvm/CodeGen/
H A DMachineBlockFrequencyInfo.h52 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;
/external/llvm/lib/CodeGen/
H A DMachineBlockFrequencyInfo.cpp168 MachineBlockFrequencyInfo::getBlockFreq(const MachineBasicBlock *MBB) const { function in class:MachineBlockFrequencyInfo
169 return MBFI ? MBFI->getBlockFreq(MBB) : 0;
H A DShrinkWrap.cpp488 << MBFI->getBlockFreq(Save).getFrequency() << "\nRestore: "
490 << MBFI->getBlockFreq(Restore).getFrequency() << '\n');
493 if (((IsSaveCheap = EntryFreq >= MBFI->getBlockFreq(Save).getFrequency()) &&
494 EntryFreq >= MBFI->getBlockFreq(Restore).getFrequency()) &&
H A DMachineBlockPlacement.cpp621 BlockFrequency CandidateEdgeFreq = MBFI->getBlockFreq(BB) * RealSuccProb;
643 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, Succ);
750 BlockFrequency CandidateFreq = MBFI->getBlockFreq(MBB);
925 BlockFrequency PredFreq = MBFI->getBlockFreq(Pred);
1022 BlockFrequency ExitEdgeFreq = MBFI->getBlockFreq(MBB) * SuccProb;
1147 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, HeaderBB);
1173 auto ExitFreq = MBFI->getBlockFreq(BB) * LargestExitEdgeProb;
1221 auto TailBBFreq = MBFI->getBlockFreq(TailBB);
1273 LoopFreq += MBFI->getBlockFreq(LoopPred) *
1277 auto Freq = MBFI->getBlockFreq(LoopB
[all...]
H A DBranchFolding.h114 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;
H A DMachineSink.cpp570 uint64_t LHSFreq = MBFI ? MBFI->getBlockFreq(L).getFrequency() : 0;
571 uint64_t RHSFreq = MBFI ? MBFI->getBlockFreq(R).getFrequency() : 0;
H A DSpillPlacement.cpp205 BlockFrequencies[Num] = MBFI->getBlockFreq(&I);
H A DBranchFolding.cpp468 MBBFreqInfo.setBlockFreq(NewMBB, MBBFreqInfo.getBlockFreq(&CurMBB));
545 BranchFolder::MBFIWrapper::getBlockFreq(const MachineBasicBlock *MBB) const { function in class:BranchFolder::MBFIWrapper
551 return MBFI.getBlockFreq(MBB);
562 return MBFI.printBlockFreq(OS, getBlockFreq(MBB));
1112 BlockFrequency BlockFreq = MBBFreqInfo.getBlockFreq(SrcMBB);
H A DInlineSpiller.cpp1268 SpillsInSubTreeMap[*RIt].second = MBFI.getBlockFreq(Block);
1312 if (SubTreeCost > MBFI.getBlockFreq(Block) * MarginProb) {
1337 SubTreeCost = MBFI.getBlockFreq(Block);
H A DSplitKit.cpp865 Costs[ParentVNI->id] += MBFI.getBlockFreq(ValMBB);
885 MBFI.getBlockFreq(Dom.first) > Costs[ParentVNI->id]) {
H A DRegAllocPBQP.cpp430 PBQP::PBQPNum CBenefit = MBFI.getBlockFreq(&MBB).getFrequency() * Scale;
/external/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfo.h57 BlockFrequency getBlockFreq(const BasicBlock *BB) const;
H A DBlockFrequencyInfoImpl.h482 BlockFrequency getBlockFreq(const BlockNode &Node) const;
921 BlockFrequency getBlockFreq(const BlockT *BB) const { function in class:llvm::BlockFrequencyInfoImpl
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;
/external/llvm/lib/Analysis/
H A DBlockFrequencyInfo.cpp153 BlockFrequency BlockFrequencyInfo::getBlockFreq(const BasicBlock *BB) const { function in class:BlockFrequencyInfo
154 return BFI ? BFI->getBlockFreq(BB) : 0;
H A DBlockFrequencyInfoImpl.cpp527 BlockFrequencyInfoImplBase::getBlockFreq(const BlockNode &Node) const { function in class:BlockFrequencyInfoImplBase
541 APInt BlockFreq(128, getBlockFreq(Node).getFrequency());
/external/llvm/lib/CodeGen/GlobalISel/
H A DRegBankSelect.cpp352 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) : 1);
729 return MBFI->getBlockFreq(Instr.getParent()).getFrequency();
737 return MBFI->getBlockFreq(&MBB).getFrequency();
759 return MBFI->getBlockFreq(DstOrSplit).getFrequency();
766 return (MBFI->getBlockFreq(&Src) * MBPI->getEdgeProbability(&Src, DstOrSplit))
/external/llvm/lib/Transforms/Instrumentation/
H A DCFGMST.h103 (BFI != nullptr ? BFI->getBlockFreq(&*BB).getFrequency() : 2);
/external/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp1495 BFI->getBlockFreq(PredBB) * BPI->getEdgeProbability(PredBB, BB);
1602 PredBBFreq += BFI->getBlockFreq(Pred) * BPI->getEdgeProbability(Pred, BB);
1627 auto BBOrigFreq = BFI->getBlockFreq(BB);
1628 auto NewBBFreq = BFI->getBlockFreq(NewBB);
H A DLoopUnswitch.cpp560 BlockFrequency LoopEntryFreq = BFI.getBlockFreq(loopHeader);

Completed in 882 milliseconds

12