Home
last modified time | relevance | path

Searched refs:createBranchWeights (Results 1 – 8 of 8) sorted by relevance

/freebsd-9-stable/contrib/llvm/lib/Transforms/Utils/
DLowerExpectIntrinsic.cpp85 MDBuilder(CI->getContext()).createBranchWeights(Weights)); in HandleSwitchExpect()
124 Node = MDB.createBranchWeights(LikelyBranchWeight, UnlikelyBranchWeight); in HandleIfExpect()
126 Node = MDB.createBranchWeights(UnlikelyBranchWeight, LikelyBranchWeight); in HandleIfExpect()
DSimplifyCFG.cpp647 createBranchWeights(Weights)); in SimplifyEqualityComparisonWithOnlyPredecessor()
952 createBranchWeights(MDWeights)); in FoldValueComparisonIntoPredecessors()
2219 createBranchWeights(MDWeights)); in FoldBranchToCommonDest()
2454 createBranchWeights(MDWeights)); in SimplifyCondBranchToCondBranch()
2531 createBranchWeights(TrueWeight, FalseWeight)); in SimplifyTerminatorOnSelect()
2717 createBranchWeights(MDWeights)); in TryToSimplifyUncondBranchWithICmpInIt()
3169 createBranchWeights(NewTrueWeight, in TurnSwitchRangeIntoICmp()
3229 createBranchWeights(MDWeights)); in EliminateDeadSwitchCases()
DLocal.cpp148 createBranchWeights(Weights)); in ConstantFoldTerminator()
213 createBranchWeights(SICase->getValue().getZExtValue(), in ConstantFoldTerminator()
/freebsd-9-stable/contrib/llvm/include/llvm/IR/
DMDBuilder.h58 MDNode *createBranchWeights(uint32_t TrueWeight, uint32_t FalseWeight) { in createBranchWeights() function
60 return createBranchWeights(Weights); in createBranchWeights()
64 MDNode *createBranchWeights(ArrayRef<uint32_t> Weights) { in createBranchWeights() function
/freebsd-9-stable/contrib/llvm/lib/Transforms/Scalar/
DSampleProfile.cpp452 MDB.createBranchWeights(Weights)); in emitAnnotations()
/freebsd-9-stable/contrib/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp426 ColdCallWeights = MDBuilder(*C).createBranchWeights(1, 1000); in doInitialization()
427 OriginStoreWeights = MDBuilder(*C).createBranchWeights(1, 1000); in doInitialization()
DDataFlowSanitizer.cpp373 ColdCallWeights = MDBuilder(*Ctx).createBranchWeights(1, 1000); in doInitialization()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/CodeGen/
DCGExpr.cpp2148 llvm::MDNode *Node = MDHelper.createBranchWeights((1U << 20) - 1, 1); in EmitCheck()