/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
MachineBlockFrequencyInfo.cpp | 33 MBFI = new BlockFrequencyImpl<MachineBasicBlock, MachineFunction, 38 delete MBFI; 49 MBFI->doFunction(&F, &MBPI); 60 return MBFI->getBlockFreq(MBB);
|
/external/llvm/lib/CodeGen/ |
MachineBlockFrequencyInfo.cpp | 103 const MachineBlockFrequencyInfo *MBFI) { 105 Node, EI, MBFI, MBFI->getMBPI(), ViewHotFreqPercent); 139 if (!MBFI) 140 MBFI.reset(new ImplType); 141 MBFI->calculate(F, MBPI, MLI); 152 void MachineBlockFrequencyInfo::releaseMemory() { MBFI.reset(); } 169 return MBFI ? MBFI->getBlockFreq(MBB) : 0; 174 const Function *F = MBFI->getFunction()->getFunction() [all...] |
ShrinkWrap.cpp | 114 MachineBlockFrequencyInfo *MBFI; 166 MBFI = &getAnalysis<MachineBlockFrequencyInfo>(); 168 EntryFreq = MBFI->getEntryFreq(); 488 << 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()) &&
|
BranchFolding.h | 33 MBFIWrapper &MBFI, 113 MBFIWrapper(const MachineBlockFrequencyInfo &I) : MBFI(I) {} 122 const MachineBlockFrequencyInfo &MBFI;
|
MachineBlockPlacement.cpp | 251 std::unique_ptr<BranchFolder::MBFIWrapper> MBFI; 621 BlockFrequency CandidateEdgeFreq = MBFI->getBlockFreq(BB) * RealSuccProb; 643 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, Succ); 750 BlockFrequency CandidateFreq = MBFI->getBlockFreq(MBB); 752 MBFI->printBlockFreq(dbgs(), CandidateFreq) << " (freq)\n"); [all...] |
SpillPlacement.h | 49 const MachineBlockFrequencyInfo *MBFI;
|
SpillPlacement.cpp | 201 MBFI = &getAnalysis<MachineBlockFrequencyInfo>(); 202 setThreshold(MBFI->getEntryFreq()); 205 BlockFrequencies[Num] = MBFI->getBlockFreq(&I); 237 nodes[n].BiasN = (MBFI->getEntryFreq() / 16);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
MachineBlockFrequencyInfo.cpp | 154 const MachineBlockFrequencyInfo *MBFI) { 156 Node, EI, MBFI, MBFI->getMBPI(), ViewHotFreqPercent); 188 if (!MBFI) 189 MBFI.reset(new ImplType); 190 MBFI->calculate(F, MBPI, MLI); 199 MBFI->print(dbgs()); 211 void MachineBlockFrequencyInfo::releaseMemory() { MBFI.reset(); } 222 return MBFI ? MBFI->getBlockFreq(MBB) : 0 [all...] |
MachineOptimizationRemarkEmitter.cpp | 11 /// analysis pass so that by using this service passes become dependent on MBFI 12 /// as well. MBFI is used to compute the "hotness" of the diagnostic message. 36 if (!MBFI) 39 return MBFI->getBlockProfileCount(&MBB); 73 MachineBlockFrequencyInfo *MBFI; 76 MBFI = &getAnalysis<LazyMachineBlockFrequencyInfoPass>().getBFI(); 78 MBFI = nullptr; 80 ORE = llvm::make_unique<MachineOptimizationRemarkEmitter>(MF, MBFI);
|
LazyMachineBlockFrequencyInfo.cpp | 58 auto *MBFI = getAnalysisIfAvailable<MachineBlockFrequencyInfo>(); 59 if (MBFI) { 61 return *MBFI;
|
SpillPlacement.cpp | 209 MBFI = &getAnalysis<MachineBlockFrequencyInfo>(); 210 setThreshold(MBFI->getEntryFreq()); 213 BlockFrequencies[Num] = MBFI->getBlockFreq(&I); 245 nodes[n].BiasN = (MBFI->getEntryFreq() / 16);
|
SpillPlacement.h | 49 const MachineBlockFrequencyInfo *MBFI;
|
ShrinkWrap.cpp | 128 MachineBlockFrequencyInfo *MBFI; 194 MBFI = &getAnalysis<MachineBlockFrequencyInfo>(); 197 EntryFreq = MBFI->getEntryFreq(); 538 << MBFI->getBlockFreq(Save).getFrequency() 541 << MBFI->getBlockFreq(Restore).getFrequency() << '\n'); 544 if (((IsSaveCheap = EntryFreq >= MBFI->getBlockFreq(Save).getFrequency()) && 545 EntryFreq >= MBFI->getBlockFreq(Restore).getFrequency()) &&
|
CalcSpillWeights.cpp | 36 const MachineBlockFrequencyInfo &MBFI, 42 VirtRegAuxInfo VRAI(MF, LIS, VRM, MLI, MBFI, norm); 191 totalWeight += LiveIntervals::getSpillWeight(true, false, &MBFI, localMBB); 192 totalWeight += LiveIntervals::getSpillWeight(false, true, &MBFI, localMBB); 256 weight = LiveIntervals::getSpillWeight(writes, reads, &MBFI, *mi);
|
BranchFolding.h | 139 MBFIWrapper(const MachineBlockFrequencyInfo &I) : MBFI(I) {} 151 const MachineBlockFrequencyInfo &MBFI;
|
/external/llvm/include/llvm/CodeGen/ |
CalcSpillWeights.h | 57 const MachineBlockFrequencyInfo &MBFI; 64 const MachineBlockFrequencyInfo &mbfi, 66 : MF(mf), LIS(lis), VRM(vrm), Loops(loops), MBFI(mbfi), normalize(norm) {} 77 const MachineBlockFrequencyInfo &MBFI,
|
MachineBlockFrequencyInfo.h | 32 std::unique_ptr<ImplType> MBFI;
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
MachineBlockFrequencyInfo.h | 31 BlockFrequencyImpl<MachineBasicBlock, MachineFunction, MachineBranchProbabilityInfo> *MBFI;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
CalcSpillWeights.h | 56 const MachineBlockFrequencyInfo &MBFI; 63 const MachineBlockFrequencyInfo &mbfi, 65 : MF(mf), LIS(lis), VRM(vrm), Loops(loops), MBFI(mbfi), normalize(norm) {} 102 const MachineBlockFrequencyInfo &MBFI,
|
MachineOptimizationRemarkEmitter.h | 11 /// analysis pass so that by using this service passes become dependent on MBFI 12 /// as well. MBFI is used to compute the "hotness" of the diagnostic message. 148 MachineBlockFrequencyInfo *MBFI) 149 : MF(MF), MBFI(MBFI) {} 185 /// MBFI is only set if hotness is requested. 186 MachineBlockFrequencyInfo *MBFI; 197 bool shouldEmitVerbose() { return MBFI != nullptr; }
|
MachineBlockFrequencyInfo.h | 36 std::unique_ptr<ImplType> MBFI;
|
/external/llvm/lib/Target/WebAssembly/ |
WebAssemblyRegColoring.cpp | 64 const MachineBlockFrequencyInfo *MBFI, 68 weight += LiveIntervals::getSpillWeight(MO.isDef(), MO.isUse(), MBFI, 88 const MachineBlockFrequencyInfo *MBFI = 108 LI->weight = computeWeight(MRI, MBFI, VReg);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/ |
WebAssemblyRegColoring.cpp | 67 const MachineBlockFrequencyInfo *MBFI, 71 weight += LiveIntervals::getSpillWeight(MO.isDef(), MO.isUse(), MBFI, 91 const MachineBlockFrequencyInfo *MBFI = 111 LI->weight = computeWeight(MRI, MBFI, VReg);
|
/external/llvm/lib/CodeGen/GlobalISel/ |
RegBankSelect.cpp | 49 MBFI(nullptr), MBPI(nullptr), OptMode(RunningMode) { 64 MBFI = &getAnalysis<MachineBlockFrequencyInfo>(); 67 MBFI = nullptr; 349 assert((MBFI || !BestCost) && "Costs comparison require MBFI"); 352 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) : 1); 409 // To get accurate information we need MBFI and MBPI. 411 assert(MBFI && MBPI && "Cost computation requires MBFI and MBPI") [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/ |
RegBankSelect.cpp | 90 MBFI = &getAnalysis<MachineBlockFrequencyInfo>(); 93 MBFI = nullptr; 97 MORE = llvm::make_unique<MachineOptimizationRemarkEmitter>(MF, MBFI); 393 assert((MBFI || !BestCost) && "Costs comparison require MBFI"); 399 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) : 1); 460 // To get accurate information we need MBFI and MBPI. 462 assert(MBFI && MBPI && "Cost computation requires MBFI and MBPI") [all...] |