Lines Matching refs:NumOpts
100 : NumOpts(OptVec.size()), Opts(new unsigned[NumOpts]) { in AllowedRegVector()
104 unsigned size() const { return NumOpts; } in size()
108 if (NumOpts != Other.NumOpts)
110 return std::equal(Opts.get(), Opts.get() + NumOpts, Other.Opts.get());
118 unsigned NumOpts = 0;
124 unsigned *OEnd = OptRegs.Opts.get() + OptRegs.NumOpts; in hash_value()
125 return hash_combine(OptRegs.NumOpts, in hash_value()
184 : RS(Other.RS), NumOpts(Other.NumOpts), DeniedOpts(Other.DeniedOpts), in NodeMetadata()
185 OptUnsafeEdges(new unsigned[NumOpts]), VReg(Other.VReg), in NodeMetadata()
191 if (NumOpts > 0) { in NodeMetadata()
192 std::copy(&Other.OptUnsafeEdges[0], &Other.OptUnsafeEdges[NumOpts], in NodeMetadata()
209 NumOpts = Costs.getLength() - 1; in setup()
210 OptUnsafeEdges = std::unique_ptr<unsigned[]>(new unsigned[NumOpts]()); in setup()
230 for (unsigned i = 0; i < NumOpts; ++i) in handleAddEdge()
238 for (unsigned i = 0; i < NumOpts; ++i) in handleRemoveEdge()
243 return (DeniedOpts < NumOpts) || in isConservativelyAllocatable()
244 (std::find(&OptUnsafeEdges[0], &OptUnsafeEdges[NumOpts], 0) != in isConservativelyAllocatable()
245 &OptUnsafeEdges[NumOpts]); in isConservativelyAllocatable()
256 unsigned NumOpts = 0; variable