Lines Matching refs:CurVal
253 BitsInit *CurVal = dyn_cast<BitsInit>(RV->getValue()); in SetValue() local
254 if (!CurVal) in SetValue()
263 SmallVector<Init *, 16> NewBits(CurVal->getNumBits()); in SetValue()
274 for (unsigned i = 0, e = CurVal->getNumBits(); i != e; ++i) in SetValue()
276 NewBits[i] = CurVal->getBit(i); in SetValue()
833 auto *CurVal = ParseValue(CurRec); in ParseSliceElement() local
834 if (!CurVal) in ParseSliceElement()
836 auto *LHS = cast<TypedInit>(CurVal); in ParseSliceElement()
844 CurVal = ParseValue(CurRec); in ParseSliceElement()
845 if (!CurVal) in ParseSliceElement()
847 RHS = cast<TypedInit>(CurVal); in ParseSliceElement()
896 TypedInit *CurVal; in ParseSliceElements() local
909 CurVal = ParseSliceElement(CurRec); in ParseSliceElements()
910 if (!CurVal) in ParseSliceElements()
912 auto *CurValTy = CurVal->getType(); in ParseSliceElements()
922 Slices.push_back(CurVal); in ParseSliceElements()
924 CurVal = nullptr; in ParseSliceElements()
938 if (CurVal) in ParseSliceElements()
939 Elems.push_back(CurVal); in ParseSliceElements()
940 CurVal = nullptr; in ParseSliceElements()
943 if (CurVal) { in ParseSliceElements()
946 return CurVal; in ParseSliceElements()
948 Elems.push_back(CurVal); in ParseSliceElements()
971 Init *CurVal = FirstItem; in ParseRangePiece() local
972 if (!CurVal) in ParseRangePiece()
973 CurVal = ParseValue(nullptr); in ParseRangePiece()
975 IntInit *II = dyn_cast_or_null<IntInit>(CurVal); in ParseRangePiece()