/llvm-project/llvm/lib/IR/ |
H A D | ProfDataUtils.cpp | 72 extractFromBranchWeightMD(const MDNode * ProfileData,SmallVectorImpl<T> & Weights) extractFromBranchWeightMD() argument 164 extractFromBranchWeightMD32(const MDNode * ProfileData,SmallVectorImpl<uint32_t> & Weights) extractFromBranchWeightMD32() argument 169 extractFromBranchWeightMD64(const MDNode * ProfileData,SmallVectorImpl<uint64_t> & Weights) extractFromBranchWeightMD64() argument 174 extractBranchWeights(const MDNode * ProfileData,SmallVectorImpl<uint32_t> & Weights) extractBranchWeights() argument 182 extractBranchWeights(const Instruction & I,SmallVectorImpl<uint32_t> & Weights) extractBranchWeights() argument 194 SmallVector<uint32_t, 2> Weights; extractBranchWeights() local 239 setBranchWeights(Instruction & I,ArrayRef<uint32_t> Weights,bool IsExpected) setBranchWeights() argument [all...] |
H A D | MDBuilder.cpp | 52 MDNode *MDBuilder::createBranchWeights(ArrayRef<uint32_t> Weights, in createBranchWeights() argument
|
/llvm-project/llvm/unittests/Transforms/Utils/ |
H A D | ProfDataUtilTest.cpp | 52 SmallVector<uint32_t> Weights; in TEST() local 80 SmallVector<uint32_t> Weights; in TEST() local
|
/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LoopPeel.cpp | 664 SmallVector<uint32_t> Weights; global() member 703 SmallVector<uint32_t> Weights; initBranchWeights() local 1015 DenseMap<Instruction *, WeightInfo> Weights; peelLoop() local [all...] |
H A D | LoopRotationUtils.cpp | 289 SmallVector<uint32_t, 2> Weights; in updateBranchWeights() local
|
H A D | SimplifyCFG.cpp | 864 setBranchWeights(SwitchInst * SI,ArrayRef<uint32_t> Weights,bool IsExpected) setBranchWeights() argument 1069 GetBranchWeights(Instruction * TI,SmallVectorImpl<uint64_t> & Weights) GetBranchWeights() argument 1086 FitWeights(MutableArrayRef<uint64_t> Weights) FitWeights() argument 1183 SmallVector<uint64_t, 8> Weights; PerformValueComparisonIntoPredecessorFolding() local 4707 SmallVector<uint64_t, 8> Weights; SimplifySwitchOnSelect() local 5590 SmallVector<uint64_t, 8> Weights; TurnSwitchRangeIntoICmp() local 7444 uint64_t Weights[2] = {BBTWeight * BB1FWeight + BBFWeight * BB2TWeight, mergeNestedCondBranch() local [all...] |
H A D | Local.cpp | 224 SmallVector<uint32_t, 8> Weights; ConstantFoldTerminator() local 317 SmallVector<uint32_t> Weights; ConstantFoldTerminator() local [all...] |
/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; calcMetadataWeights() local 673 SmallVector<uint32_t, 4> Weights; getMaxEstimatedEdgeWeight() local [all...] |
/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 | 571 std::vector<double> Weights; variable
|
/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 | 921 extractBranchWeights(ProfileData, Weights); in isLoopProfitableToPredicate() local
|
H A D | JumpThreading.cpp | 226 Weights[0] = BP.getNumerator(); in updatePredecessorProfileMetadata() local 2603 SmallVector<uint32_t, 4> Weights; updateBlockFreqAndEdgeWeight() local
|
/llvm-project/llvm/unittests/Analysis/ |
H A D | ProfileSummaryInfoTest.cpp | 342 SmallVector<uint32_t, 1> Weights; in TEST_F() local
|
/llvm-project/clang/lib/CodeGen/ |
H A D | CGStmt.cpp | 1033 llvm::MDNode *Weights = EmitWhileStmt() local 1248 llvm::MDNode *Weights = EmitForStmt() local 1351 llvm::MDNode *Weights = EmitCXXForRangeStmt() local 1666 llvm::MDNode *Weights = nullptr; EmitCaseStmtRange() local [all...] |
H A D | CGDeclCXX.cpp | 412 llvm::MDNode *Weights; EmitCXXGuardedInitBranch() local
|
/llvm-project/llvm/lib/CodeGen/ |
H A D | StackProtector.cpp | 671 MDNode *Weights = MDBuilder(F->getContext()) InsertStackProtectors() local
|
H A D | SafeStack.cpp | 472 MDNode *Weights = MDBuilder(F.getContext()) checkStackGuard() local
|
/llvm-project/llvm/include/llvm/Analysis/ |
H A D | BlockFrequencyInfoImpl.h | 388 WeightList Weights; ///< Individual successor weights. member
|
/llvm-project/llvm/include/llvm/IR/ |
H A D | IRBuilder.h | 1085 addBranchMetadata(InstTy * I,MDNode * Weights,MDNode * Unpredictable) addBranchMetadata() argument
|
/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | PGOInstrumentation.cpp | 1477 SmallVector<uint32_t, 4> Weights; populateCoverage() local 2274 SmallVector<unsigned, 4> Weights; setProfMetadata() local [all...] |
/llvm-project/llvm/unittests/IR/ |
H A D | IRBuilderTest.cpp | 495 MDNode *Weights = MDBuilder(Ctx).createBranchWeights(42, 13); TEST_F() local
|
/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | SampleProfile.cpp | 1683 SmallVector<uint32_t, 4> Weights; generateMDProfMetadata() local
|
/llvm-project/compiler-rt/lib/fuzzer/tests/ |
H A D | FuzzerUnittest.cpp | 1144 auto Weights = Cov.FunctionWeights(2); in TEST() local
|