/external/swiftshader/third_party/LLVM/lib/Analysis/ |
BlockFrequencyInfo.cpp | 34 BFI = new BlockFrequencyImpl<BasicBlock, Function, BranchProbabilityInfo>(); 38 delete BFI; 48 BFI->doFunction(&F, &BPI); 53 if (BFI) BFI->print(O); 62 return BFI->getBlockFreq(BB);
|
/external/llvm/lib/Analysis/ |
BlockFrequencyInfo.cpp | 46 ViewBlockFreqFuncName("view-bfi-func-name", cl::Hidden, 106 const BlockFrequencyInfo *BFI) { 107 return BFIDOTGTraitsBase::getEdgeAttributes(Node, EI, BFI, BFI->getBPI(), 124 : BFI(std::move(Arg.BFI)) {} 128 BFI = std::move(RHS.BFI); 133 // defined at the first ODR-use which is the BFI member in the 141 if (!BFI) [all...] |
/external/llvm/unittests/Analysis/ |
BlockFrequencyInfoTest.cpp | 64 BlockFrequencyInfo BFI = buildBFI(*F); 70 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(); 79 EXPECT_EQ(BFI.getBlockProfileCount(&BB0).getValue(), UINT64_C(100)); 80 EXPECT_EQ(BFI.getBlockProfileCount(BB3).getValue(), UINT64_C(100)); 81 EXPECT_EQ(BFI.getBlockProfileCount(BB1).getValue(), 100 * BB1Freq / BB0Freq); 82 EXPECT_EQ(BFI.getBlockProfileCount(BB2).getValue(), 100 * BB2Freq / BB0Freq);
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Analysis/ |
OptimizationDiagnosticInfo.h | 11 // that by using this service passes become dependent on BFI as well. BFI is 41 OptimizationRemarkEmitter(const Function *F, BlockFrequencyInfo *BFI) 42 : F(F), BFI(BFI) {} 52 /// operation since BFI and all its required analyses are computed. This is 58 : F(Arg.F), BFI(Arg.BFI) {} 62 BFI = RHS.BFI; [all...] |
LazyBlockFrequencyInfo.h | 12 // the analysis pass is executed but rather when the BFI result is explicitly 30 /// Wraps a BFI to allow lazy computation of the block frequencies. 32 /// A pass that only conditionally uses BFI can uncondtionally require the 33 /// analysis without paying for the overhead if BFI doesn't end up being used. 49 /// Retrieve the BFI with the block frequencies computed. 53 BFI.calculate( 57 return BFI; 65 BFI.releaseMemory(); 71 BlockFrequencyInfoT BFI; 81 /// rather when the BFI result is explicitly requested by the analysis client [all...] |
ProfileSummaryInfo.h | 43 // units. This would require making this depend on BFI. 59 BlockFrequencyInfo *BFI); 73 bool isHotBB(const BasicBlock *B, BlockFrequencyInfo *BFI); 75 bool isColdBB(const BasicBlock *B, BlockFrequencyInfo *BFI); 77 bool isHotCallSite(const CallSite &CS, BlockFrequencyInfo *BFI); 79 bool isColdCallSite(const CallSite &CS, BlockFrequencyInfo *BFI);
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Analysis/ |
OptimizationDiagnosticInfo.h | 11 // that by using this service passes become dependent on BFI as well. BFI is 41 OptimizationRemarkEmitter(const Function *F, BlockFrequencyInfo *BFI) 42 : F(F), BFI(BFI) {} 52 /// operation since BFI and all its required analyses are computed. This is 58 : F(Arg.F), BFI(Arg.BFI) {} 62 BFI = RHS.BFI; [all...] |
LazyBlockFrequencyInfo.h | 12 // the analysis pass is executed but rather when the BFI result is explicitly 30 /// Wraps a BFI to allow lazy computation of the block frequencies. 32 /// A pass that only conditionally uses BFI can uncondtionally require the 33 /// analysis without paying for the overhead if BFI doesn't end up being used. 49 /// Retrieve the BFI with the block frequencies computed. 53 BFI.calculate( 57 return BFI; 65 BFI.releaseMemory(); 71 BlockFrequencyInfoT BFI; 81 /// rather when the BFI result is explicitly requested by the analysis client [all...] |
ProfileSummaryInfo.h | 43 // units. This would require making this depend on BFI. 59 BlockFrequencyInfo *BFI); 73 bool isHotBB(const BasicBlock *B, BlockFrequencyInfo *BFI); 75 bool isColdBB(const BasicBlock *B, BlockFrequencyInfo *BFI); 77 bool isHotCallSite(const CallSite &CS, BlockFrequencyInfo *BFI); 79 bool isColdCallSite(const CallSite &CS, BlockFrequencyInfo *BFI);
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Analysis/ |
OptimizationDiagnosticInfo.h | 11 // that by using this service passes become dependent on BFI as well. BFI is 41 OptimizationRemarkEmitter(const Function *F, BlockFrequencyInfo *BFI) 42 : F(F), BFI(BFI) {} 52 /// operation since BFI and all its required analyses are computed. This is 58 : F(Arg.F), BFI(Arg.BFI) {} 62 BFI = RHS.BFI; [all...] |
LazyBlockFrequencyInfo.h | 12 // the analysis pass is executed but rather when the BFI result is explicitly 30 /// Wraps a BFI to allow lazy computation of the block frequencies. 32 /// A pass that only conditionally uses BFI can uncondtionally require the 33 /// analysis without paying for the overhead if BFI doesn't end up being used. 49 /// Retrieve the BFI with the block frequencies computed. 53 BFI.calculate( 57 return BFI; 65 BFI.releaseMemory(); 71 BlockFrequencyInfoT BFI; 81 /// rather when the BFI result is explicitly requested by the analysis client [all...] |
ProfileSummaryInfo.h | 43 // units. This would require making this depend on BFI. 59 BlockFrequencyInfo *BFI); 73 bool isHotBB(const BasicBlock *B, BlockFrequencyInfo *BFI); 75 bool isColdBB(const BasicBlock *B, BlockFrequencyInfo *BFI); 77 bool isHotCallSite(const CallSite &CS, BlockFrequencyInfo *BFI); 79 bool isColdCallSite(const CallSite &CS, BlockFrequencyInfo *BFI);
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
OptimizationDiagnosticInfo.h | 11 // that by using this service passes become dependent on BFI as well. BFI is 41 OptimizationRemarkEmitter(const Function *F, BlockFrequencyInfo *BFI) 42 : F(F), BFI(BFI) {} 52 /// operation since BFI and all its required analyses are computed. This is 58 : F(Arg.F), BFI(Arg.BFI) {} 62 BFI = RHS.BFI; [all...] |
LazyBlockFrequencyInfo.h | 12 // the analysis pass is executed but rather when the BFI result is explicitly 30 /// Wraps a BFI to allow lazy computation of the block frequencies. 32 /// A pass that only conditionally uses BFI can uncondtionally require the 33 /// analysis without paying for the overhead if BFI doesn't end up being used. 49 /// Retrieve the BFI with the block frequencies computed. 53 BFI.calculate( 57 return BFI; 65 BFI.releaseMemory(); 71 BlockFrequencyInfoT BFI; 81 /// rather when the BFI result is explicitly requested by the analysis client [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Analysis/ |
OptimizationDiagnosticInfo.h | 11 // that by using this service passes become dependent on BFI as well. BFI is 41 OptimizationRemarkEmitter(const Function *F, BlockFrequencyInfo *BFI) 42 : F(F), BFI(BFI) {} 52 /// operation since BFI and all its required analyses are computed. This is 58 : F(Arg.F), BFI(Arg.BFI) {} 62 BFI = RHS.BFI; [all...] |
LazyBlockFrequencyInfo.h | 12 // the analysis pass is executed but rather when the BFI result is explicitly 30 /// Wraps a BFI to allow lazy computation of the block frequencies. 32 /// A pass that only conditionally uses BFI can uncondtionally require the 33 /// analysis without paying for the overhead if BFI doesn't end up being used. 49 /// Retrieve the BFI with the block frequencies computed. 53 BFI.calculate( 57 return BFI; 65 BFI.releaseMemory(); 71 BlockFrequencyInfoT BFI; 81 /// rather when the BFI result is explicitly requested by the analysis client [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Analysis/ |
OptimizationDiagnosticInfo.h | 11 // that by using this service passes become dependent on BFI as well. BFI is 41 OptimizationRemarkEmitter(const Function *F, BlockFrequencyInfo *BFI) 42 : F(F), BFI(BFI) {} 52 /// operation since BFI and all its required analyses are computed. This is 58 : F(Arg.F), BFI(Arg.BFI) {} 62 BFI = RHS.BFI; [all...] |
LazyBlockFrequencyInfo.h | 12 // the analysis pass is executed but rather when the BFI result is explicitly 30 /// Wraps a BFI to allow lazy computation of the block frequencies. 32 /// A pass that only conditionally uses BFI can uncondtionally require the 33 /// analysis without paying for the overhead if BFI doesn't end up being used. 49 /// Retrieve the BFI with the block frequencies computed. 53 BFI.calculate( 57 return BFI; 65 BFI.releaseMemory(); 71 BlockFrequencyInfoT BFI; 81 /// rather when the BFI result is explicitly requested by the analysis client [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Analysis/ |
OptimizationDiagnosticInfo.h | 11 // that by using this service passes become dependent on BFI as well. BFI is 41 OptimizationRemarkEmitter(const Function *F, BlockFrequencyInfo *BFI) 42 : F(F), BFI(BFI) {} 52 /// operation since BFI and all its required analyses are computed. This is 58 : F(Arg.F), BFI(Arg.BFI) {} 62 BFI = RHS.BFI; [all...] |
LazyBlockFrequencyInfo.h | 12 // the analysis pass is executed but rather when the BFI result is explicitly 30 /// Wraps a BFI to allow lazy computation of the block frequencies. 32 /// A pass that only conditionally uses BFI can uncondtionally require the 33 /// analysis without paying for the overhead if BFI doesn't end up being used. 49 /// Retrieve the BFI with the block frequencies computed. 53 BFI.calculate( 57 return BFI; 65 BFI.releaseMemory(); 71 BlockFrequencyInfoT BFI; 81 /// rather when the BFI result is explicitly requested by the analysis client [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
OptimizationDiagnosticInfo.h | 11 // that by using this service passes become dependent on BFI as well. BFI is 41 OptimizationRemarkEmitter(const Function *F, BlockFrequencyInfo *BFI) 42 : F(F), BFI(BFI) {} 52 /// operation since BFI and all its required analyses are computed. This is 58 : F(Arg.F), BFI(Arg.BFI) {} 62 BFI = RHS.BFI; [all...] |
LazyBlockFrequencyInfo.h | 12 // the analysis pass is executed but rather when the BFI result is explicitly 30 /// Wraps a BFI to allow lazy computation of the block frequencies. 32 /// A pass that only conditionally uses BFI can uncondtionally require the 33 /// analysis without paying for the overhead if BFI doesn't end up being used. 49 /// Retrieve the BFI with the block frequencies computed. 53 BFI.calculate( 57 return BFI; 65 BFI.releaseMemory(); 71 BlockFrequencyInfoT BFI; 81 /// rather when the BFI result is explicitly requested by the analysis client [all...] |
/external/llvm/include/llvm/Analysis/ |
LazyBlockFrequencyInfo.h | 12 // the analysis pass is executed but rather when the BFI results is explicitly 32 /// rather when the BFI results is explicitly requested by the analysis client. 45 /// 3. The computed BFI should be requested with 53 /// Wraps a BFI to allow lazy computation of the block frequencies. 55 /// A pass that only conditionally uses BFI can uncondtionally require the 56 /// analysis without paying for the overhead if BFI doesn't end up being used. 70 /// Retrieve the BFI with the block frequencies computed. 74 BFI.calculate(*F, *BPI, *LI); 77 return BFI; 85 BFI.releaseMemory() [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
CodeExtractor.h | 53 BlockFrequencyInfo *BFI; 73 BlockFrequencyInfo *BFI = nullptr, 83 bool AggregateArgs = false, BlockFrequencyInfo *BFI = nullptr, 91 BlockFrequencyInfo *BFI = nullptr, 99 bool AggregateArgs = false, BlockFrequencyInfo *BFI = nullptr,
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
CodeExtractor.h | 53 BlockFrequencyInfo *BFI; 73 BlockFrequencyInfo *BFI = nullptr, 83 bool AggregateArgs = false, BlockFrequencyInfo *BFI = nullptr, 91 BlockFrequencyInfo *BFI = nullptr, 99 bool AggregateArgs = false, BlockFrequencyInfo *BFI = nullptr,
|