Searched refs:Weights (Results 1 - 6 of 6) sorted by relevance

/external/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp35 // Weights are for internal use only. They are used by heuristics to help to
166 SmallVector<uint32_t, 2> Weights; local
167 Weights.reserve(TI->getNumSuccessors());
172 Weights.push_back(
175 assert(Weights.size() == TI->getNumSuccessors() && "Checked above");
177 setEdgeWeight(BB, TI->getSuccessor(i), Weights[i]);
182 // Calculate Edge Weights using "Pointer Heuristics". Predict a comparsion
217 // Calculate Edge Weights using "Loop Branch Heuristics". Predict backedges
473 DenseMap<Edge, uint32_t>::const_iterator I = Weights.find(E);
475 if (I != Weights
[all...]
/external/llvm/lib/CodeGen/
H A DMachineBasicBlock.cpp441 // list, so we fill all Weights with 0's.
442 if (weight != 0 && Weights.empty())
443 Weights.resize(Successors.size());
445 if (weight != 0 || !Weights.empty())
446 Weights.push_back(weight);
458 if (!Weights.empty()) {
460 Weights.erase(WI);
471 if (!Weights.empty()) {
473 Weights.erase(WI);
486 if (!Weights
[all...]
/external/llvm/include/llvm/Analysis/
H A DBranchProbabilityInfo.h105 DenseMap<Edge, uint32_t> Weights; member in class:llvm::BranchProbabilityInfo
/external/llvm/
H A DREADME.android42 * 981d826 - getSuccWeight returns now default 0 if Weights vector is empty. (13 days ago) <Jakub Staszak>
/external/openfst/src/include/fst/
H A Daccumulator.h135 vector<double> *Weights() { return &weights_; } function in class:fst::FastLogAccumulatorData
188 vector<double> &weights = *data_->Weights();
248 vector<double> &weights = *data_->Weights();
/external/llvm/include/llvm/CodeGen/
H A DMachineBasicBlock.h75 /// Weights - Keep track of the weights to the successors. This vector
78 std::vector<uint32_t> Weights; member in class:llvm::MachineBasicBlock
384 /// parameter is stored in Weights list and it may be used by

Completed in 134 milliseconds