/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ProfDataUtils.cpp | 72 SmallVectorImpl<T> &Weights) { in extractFromBranchWeightMD() 164 SmallVectorImpl<uint32_t> &Weights) { in extractFromBranchWeightMD32() 169 SmallVectorImpl<uint64_t> &Weights) { in extractFromBranchWeightMD64() 174 SmallVectorImpl<uint32_t> &Weights) { in extractBranchWeights() 182 SmallVectorImpl<uint32_t> &Weights) { in extractBranchWeights() 194 SmallVector<uint32_t, 2> Weights; in extractBranchWeights() local 239 void setBranchWeights(Instruction &I, ArrayRef<uint32_t> Weights, in setBranchWeights()
|
H A D | MDBuilder.cpp | 52 MDNode *MDBuilder::createBranchWeights(ArrayRef<uint32_t> Weights, in createBranchWeights()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LoopPeel.cpp | 664 SmallVector<uint32_t> Weights; member 703 SmallVector<uint32_t> Weights; in initBranchWeights() local 1015 DenseMap<Instruction *, WeightInfo> Weights; in peelLoop() local
|
H A D | LoopRotationUtils.cpp | 289 SmallVector<uint32_t, 2> Weights; in updateBranchWeights() local
|
H A D | SimplifyCFG.cpp | 864 static void setBranchWeights(SwitchInst *SI, ArrayRef<uint32_t> Weights, in setBranchWeights() 1069 SmallVectorImpl<uint64_t> &Weights) { in GetBranchWeights() 1086 static void FitWeights(MutableArrayRef<uint64_t> Weights) { in FitWeights() 1183 SmallVector<uint64_t, 8> Weights; in PerformValueComparisonIntoPredecessorFolding() local 4712 SmallVector<uint64_t, 8> Weights; in SimplifySwitchOnSelect() local 5595 SmallVector<uint64_t, 8> Weights; in TurnSwitchRangeIntoICmp() local 7449 uint64_t Weights[2] = {BBTWeight * BB1FWeight + BBFWeight * BB2TWeight, in mergeNestedCondBranch() local
|
H A D | Local.cpp | 224 SmallVector<uint32_t, 8> Weights; in ConstantFoldTerminator() local 317 SmallVector<uint32_t> Weights; in ConstantFoldTerminator() local
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | BlockFrequencyInfoImpl.cpp | 178 static void combineWeightsBySorting(WeightList &Weights) { in combineWeightsBySorting() 199 static void combineWeightsByHashing(WeightList &Weights) { in combineWeightsByHashing() 218 static void combineWeights(WeightList &Weights) { in combineWeights()
|
H A D | BranchProbabilityInfo.cpp | 397 SmallVector<uint32_t, 2> Weights; in calcMetadataWeights() local 673 SmallVector<uint32_t, 4> Weights; in getMaxEstimatedEdgeWeight() local
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerDataFlowTrace.cpp | 193 auto Weights = Coverage.FunctionWeights(NumFunctions); in Init() local
|
H A D | FuzzerCorpus.h | 570 std::vector<double> Weights; global() variable [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LowerExpectIntrinsic.cpp | 97 SmallVector<uint32_t, 16> Weights(n + 1, UnlikelyBranchWeightVal); in handleSwitchExpect() local
|
H A D | LoopPredication.cpp | 1003 SmallVector<uint32_t> Weights; isLoopProfitableToPredicate() local
|
H A D | JumpThreading.cpp | 226 uint32_t Weights[2]; in updatePredecessorProfileMetadata() local 2603 SmallVector<uint32_t, 4> Weights; in updateBlockFreqAndEdgeWeight() local
|
H A D | SimpleLoopUnswitch.cpp | 3043 SmallVector<uint32_t> Weights; shouldTryInjectBasingOnMetadata() local
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGStmt.cpp | 1039 llvm::MDNode *Weights = in EmitWhileStmt() local 1254 llvm::MDNode *Weights = in EmitForStmt() local 1357 llvm::MDNode *Weights = in EmitCXXForRangeStmt() local 1678 llvm::MDNode *Weights = nullptr; in EmitCaseStmtRange() local
|
H A D | CGDeclCXX.cpp | 418 llvm::MDNode *Weights; in EmitCXXGuardedInitBranch() local
|
H A D | CodeGenFunction.cpp | 2032 llvm::MDNode *Weights = nullptr; in EmitBranchOnBoolExpr() local
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | StackProtector.cpp | 588 MDNode *Weights = MDBuilder(F->getContext()) InsertStackProtectors() local
|
H A D | SafeStack.cpp | 472 MDNode *Weights = MDBuilder(F.getContext()) in checkStackGuard() local
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | BlockFrequencyInfoImpl.h | 388 WeightList Weights; ///< Individual successor weights. member
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IRBuilder.h | 1085 InstTy *addBranchMetadata(InstTy *I, MDNode *Weights, MDNode *Unpredictable) { in addBranchMetadata()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | PGOInstrumentation.cpp | 1479 SmallVector<uint32_t, 4> Weights; in populateCoverage() local 2299 SmallVector<unsigned, 4> Weights; in setProfMetadata() local
|
H A D | ControlHeightReduction.cpp | 1878 uint32_t Weights[] = { in fixupBranchesAndSelects() local
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | SampleProfile.cpp | 1697 SmallVector<uint32_t, 4> Weights; in generateMDProfMetadata() local
|
H A D | WholeProgramDevirt.cpp | 1199 MDNode *Weights = MDBuilder(M.getContext()).createLikelyBranchWeights(); in applySingleImplDevirt() local
|