reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
43 assert(Weights.size() >= 1 && "Need at least one branch weights!"); 45 SmallVector<Metadata *, 4> Vals(Weights.size() + 1); 49 for (unsigned i = 0, e = Weights.size(); i != e; ++i) 50 Vals[i + 1] = createConstant(ConstantInt::get(Int32Ty, Weights[i]));