Home
last modified time | relevance | path

Searched defs:Weights (Results 1 – 25 of 31) sorted by relevance

12

/llvm-project/llvm/lib/IR/
H A DProfDataUtils.cpp72 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 DMDBuilder.cpp52 MDNode *MDBuilder::createBranchWeights(ArrayRef<uint32_t> Weights, in createBranchWeights() argument
/llvm-project/llvm/unittests/Transforms/Utils/
H A DProfDataUtilTest.cpp52 SmallVector<uint32_t> Weights; in TEST() local
80 SmallVector<uint32_t> Weights; in TEST() local
/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp664 SmallVector<uint32_t> Weights; global() member
703 SmallVector<uint32_t> Weights; initBranchWeights() local
1015 DenseMap<Instruction *, WeightInfo> Weights; peelLoop() local
[all...]
H A DLoopRotationUtils.cpp289 SmallVector<uint32_t, 2> Weights; in updateBranchWeights() local
H A DSimplifyCFG.cpp864 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 DLocal.cpp224 SmallVector<uint32_t, 8> Weights; ConstantFoldTerminator() local
317 SmallVector<uint32_t> Weights; ConstantFoldTerminator() local
[all...]
/llvm-project/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp178 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 DBranchProbabilityInfo.cpp397 SmallVector<uint32_t, 2> Weights; calcMetadataWeights() local
673 SmallVector<uint32_t, 4> Weights; getMaxEstimatedEdgeWeight() local
[all...]
/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDataFlowTrace.cpp193 auto Weights = Coverage.FunctionWeights(NumFunctions); in Init() local
H A DFuzzerCorpus.h571 std::vector<double> Weights; variable
/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp97 SmallVector<uint32_t, 16> Weights(n + 1, UnlikelyBranchWeightVal); in handleSwitchExpect() local
H A DLoopPredication.cpp921 extractBranchWeights(ProfileData, Weights); in isLoopProfitableToPredicate() local
H A DJumpThreading.cpp226 Weights[0] = BP.getNumerator(); in updatePredecessorProfileMetadata() local
2603 SmallVector<uint32_t, 4> Weights; updateBlockFreqAndEdgeWeight() local
/llvm-project/llvm/unittests/Analysis/
H A DProfileSummaryInfoTest.cpp342 SmallVector<uint32_t, 1> Weights; in TEST_F() local
/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp1033 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 DCGDeclCXX.cpp412 llvm::MDNode *Weights; EmitCXXGuardedInitBranch() local
/llvm-project/llvm/lib/CodeGen/
H A DStackProtector.cpp671 MDNode *Weights = MDBuilder(F->getContext()) InsertStackProtectors() local
H A DSafeStack.cpp472 MDNode *Weights = MDBuilder(F.getContext()) checkStackGuard() local
/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h388 WeightList Weights; ///< Individual successor weights. member
/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h1085 addBranchMetadata(InstTy * I,MDNode * Weights,MDNode * Unpredictable) addBranchMetadata() argument
/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1477 SmallVector<uint32_t, 4> Weights; populateCoverage() local
2274 SmallVector<unsigned, 4> Weights; setProfMetadata() local
[all...]
/llvm-project/llvm/unittests/IR/
H A DIRBuilderTest.cpp495 MDNode *Weights = MDBuilder(Ctx).createBranchWeights(42, 13); TEST_F() local
/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp1683 SmallVector<uint32_t, 4> Weights; generateMDProfMetadata() local
/llvm-project/compiler-rt/lib/fuzzer/tests/
H A DFuzzerUnittest.cpp1144 auto Weights = Cov.FunctionWeights(2); in TEST() local

12