/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | SimplifyCFGPass.cpp | 250 CFGSimplifyPass(unsigned Threshold = 1, bool ForwardSwitchCond = false, 261 : Threshold; 305 llvm::createCFGSimplificationPass(unsigned Threshold, bool ForwardSwitchCond, argument 309 return new CFGSimplifyPass(Threshold, ForwardSwitchCond, ConvertSwitch,
|
H A D | Scalar.cpp | 238 int Threshold) { 237 LLVMAddScalarReplAggregatesPassWithThreshold(LLVMPassManagerRef PM, int Threshold) argument
|
H A D | Reassociate.cpp | 356 // Any weight W >= Threshold can be replaced with W - CM. 357 APInt Threshold = CM + Bitwidth; local 358 assert(LHS.ult(Threshold) && RHS.ult(Threshold) && "Weights not reduced!"); 361 while (LHS.uge(Threshold)) 367 unsigned Threshold = CM + Bitwidth; local 368 assert(LHS.getZExtValue() < Threshold && RHS.getZExtValue() < Threshold && 371 while (Total >= Threshold)
|
H A D | LoopUnswitch.cpp | 98 Threshold("loop-unswitch-threshold", cl::desc("Max loop size to unswitch"), 129 // value. So in most cases MaxSize will equal the Threshold flag 141 LUAnalysisCache() : MaxSize(Threshold) {}
|
H A D | LoopUnrollPass.cpp | 170 /// A magic value for use with the Threshold parameter to indicate 188 UP.Threshold = OptLevel > 2 ? 300 : 150; 219 UP.Threshold = UP.OptSizeThreshold; 226 UP.Threshold = UnrollThreshold; 252 UP.Threshold = *UserThreshold; 752 if (UP.AllowRemainder && getUnrolledLoopSize(LoopSize, UP) < UP.Threshold) 782 UP.Threshold = std::max<unsigned>(UP.Threshold, PragmaUnrollThreshold); 819 if (getUnrolledLoopSize(LoopSize, UP) < UP.Threshold) { 830 UP.Threshold * U 1273 createLoopUnrollPass(int OptLevel, bool OnlyWhenForced, bool ForgetAllSCEV, int Threshold, int Count, int AllowPartial, int Runtime, int UpperBound, int AllowPeeling) argument [all...] |
H A D | LoopUnrollAndJamPass.cpp | 84 cl::desc("Threshold to use for inner loop when doing unroll and jam.")); 163 // unrolling we leave to the unroller. This uses UP.Threshold / 186 getUnrollAndJammedLoopSize(OuterLoopSize, UP) < UP.Threshold && 199 getUnrollAndJammedLoopSize(OuterLoopSize, UP) < UP.Threshold && 238 if (InnerTripCount && InnerLoopSize * InnerTripCount < UP.Threshold) {
|
H A D | LoopRotation.cpp | 42 int Threshold = EnableHeaderDuplication ? DefaultRotationThreshold : 0; local 51 SQ, false, Threshold, false);
|
H A D | JumpThreading.cpp | 168 FunctionPass *llvm::createJumpThreadingPass(int Threshold) { argument 169 return new JumpThreading(Threshold); 478 unsigned Threshold) { 501 Threshold += Bonus; 509 if (Size > Threshold) 476 getJumpThreadDuplicationCost(BasicBlock *BB, Instruction *StopAt, unsigned Threshold) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 1859 const unsigned Threshold = 100; 1860 if (Loads.size() * Stores.size() > Threshold)
|
H A D | PassManagerBuilder.cpp | 1153 unsigned Threshold) { 1155 Builder->Inliner = createFunctionInliningPass(Threshold); 1152 LLVMPassManagerBuilderUseInlinerWithThreshold(LLVMPassManagerBuilderRef PMB, unsigned Threshold) argument
|
H A D | InlineSimple.cpp | 100 Pass *llvm::createFunctionInliningPass(int Threshold) { argument 101 return new SimpleInliner(llvm::getInlineParams(Threshold));
|
H A D | FunctionImport.cpp | 167 /// that fits the \p Threshold. 179 unsigned Threshold, StringRef CallerModulePath, 235 if ((Summary->instCount() > Threshold) && 264 using EdgeInfo = std::tuple<const FunctionSummary *, unsigned /* Threshold */, 364 const unsigned Threshold, const GVSummaryMapTy &DefinedGVSummaries, 374 LLVM_DEBUG(dbgs() << " edge -> " << VI << " Threshold:" << Threshold local 403 Threshold * GetBonusMultiplier(Edge.second.getHotness()); 426 dbgs() << "ignored! Target was already imported with Threshold " 438 dbgs() << "ignored! Target was already rejected with Threshold " 177 selectCallee(const ModuleSummaryIndex &Index, ArrayRef<std::unique_ptr<GlobalValueSummary>> CalleeSummaryList, unsigned Threshold, StringRef CallerModulePath, FunctionImporter::ImportFailureReason &Reason, GlobalValue::GUID GUID) argument 362 computeImportForFunction( const FunctionSummary &Summary, const ModuleSummaryIndex &Index, const unsigned Threshold, const GVSummaryMapTy &DefinedGVSummaries, SmallVectorImpl<EdgeInfo> &Worklist, FunctionImporter::ImportMapTy &ImportList, StringMap<FunctionImporter::ExportSetTy> *ExportLists, FunctionImporter::ImportThresholdsTy &ImportThresholds) argument 574 auto Threshold = std::get<1>(FuncInfo); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LoopUnrollPeel.cpp | 323 if (2 * LoopSize <= UP.Threshold && UnrollPeelMaxCount > 0) { 343 MaxPeelCount = std::min(MaxPeelCount, UP.Threshold / LoopSize - 1); 386 (LoopSize * (*PeelCount + 1) <= UP.Threshold)) { 397 LLVM_DEBUG(dbgs() << "Max peel cost: " << UP.Threshold << "\n");
|
H A D | LoopRotationUtils.cpp | 668 unsigned Threshold = unsigned(-1), 672 LoopRotate LR(Threshold, LI, TTI, AC, DT, SE, MSSAU, SQ, RotationOnly,
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | ControlHeightReduction.cpp | 650 BranchProbability Threshold = getCHRBiasThreshold(); local 651 if (TrueProb >= Threshold) { 655 } else if (FalseProb >= Threshold) {
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86PadShortFunction.cpp | 54 , Threshold(4) {} 84 const unsigned int Threshold; member in struct:__anon2516::PadShortFunc 141 if (Cycles < Threshold) { 153 addPadding(MBB, ReturnLoc, Threshold - Cycles); 167 if (Cycles >= Threshold)
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCISelDAGToDAG.cpp | 535 // returned function, e.g. stdlib exit(). So we set Threshold to filter 546 const uint32_t Threshold = 10000; local 548 if (std::max(TProb, FProb) / Threshold < std::min(TProb, FProb))
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXTargetTransformInfo.cpp | 153 UP.PartialThreshold = UP.Threshold / 4;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonLoopIdiomRecognition.cpp | 86 cl::Hidden, cl::init(0), cl::desc("Threshold (in bytes) for the runtime " 91 cl::desc("Threshold (in bytes) to perform the transformation, if the " 2162 unsigned Threshold = RuntimeMemSizeThreshold; local 2165 if (Threshold != 0 && C < Threshold) 2214 if (Threshold != 0) { 2216 Value *Thr = ConstantInt::get(Ty, Threshold);
|
H A D | HexagonFrameLowering.cpp | 2514 unsigned Threshold = isOptSize(MF) ? SpillFuncThresholdOs local 2516 return Threshold < NumCSI; 2535 unsigned Threshold = isOptSize(MF) ? SpillFuncThresholdOs-1 local 2537 return Threshold < NumCSI;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ThumbRegisterInfo.cpp | 297 unsigned Threshold = (DestReg == ARM::SP) ? 3 : 2; 300 if (RequiredInstrs > Threshold) {
|
H A D | ARMBaseInstrInfo.cpp | 4362 int Threshold = 1 + Adj; local 4363 return Latency <= Threshold ? 1 : Latency - Adj;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIFixSGPRCopies.cpp | 570 const unsigned Threshold = 50; 571 // Search until B or Threshold for a place to insert the initialization. 572 for (unsigned I = 0; R != B && I < Threshold; ++R, ++I)
|
H A D | AMDGPUTargetTransformInfo.cpp | 94 UP.Threshold = AMDGPU::getIntegerAttribute(F, "amdgpu-unroll-threshold", 300); 120 if (UP.Threshold < MaxBoost && Br->isConditional()) { 127 UP.Threshold += UnrollThresholdIf; 128 LLVM_DEBUG(dbgs() << "Set unroll threshold " << UP.Threshold 131 if (UP.Threshold >= MaxBoost) 143 unsigned Threshold = 0; local 145 Threshold = ThresholdPrivate; 147 Threshold = ThresholdLocal; 151 if (UP.Threshold >= Threshold) [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | LLVMContext.cpp | 138 void LLVMContext::setDiagnosticsHotnessThreshold(uint64_t Threshold) { argument 139 pImpl->DiagnosticsHotnessThreshold = Threshold;
|