Lines Matching refs:IN
174 if (auto *IN = dyn_cast<DeltaTreeInteriorNode>(this))
176 NewFullDelta += IN->getChild(i)->getFullDelta();
231 auto *IN = cast<DeltaTreeInteriorNode>(this);
232 if (!IN->Children[i]->DoInsertion(FileIndex, Delta, InsertRes))
242 memmove(&IN->Children[i+2], &IN->Children[i+1],
243 (e-i)*sizeof(IN->Children[0]));
244 IN->Children[i] = InsertRes->LHS;
245 IN->Children[i+1] = InsertRes->RHS;
257 IN->Children[i] = InsertRes->LHS;
283 (e-i)*sizeof(IN->Children[0]));
308 if (auto *IN = dyn_cast<DeltaTreeInteriorNode>(this)) {
312 memcpy(&New->Children[0], &IN->Children[WidthFactor],
313 WidthFactor*sizeof(IN->Children[0]));
346 const auto *IN = dyn_cast<DeltaTreeInteriorNode>(N);
347 if (IN == 0) {
363 for (unsigned i = 0, e = IN->getNumValuesUsed(); i != e; ++i) {
365 const DeltaTreeNode *IChild = IN->getChild(i);
367 assert(IN->getValue(i-1).FileLoc < IVal.FileLoc);
376 assert(IN->getChild(i+1)->getValue(0).FileLoc > IVal.FileLoc);
380 FullDelta += IN->getChild(IN->getNumValuesUsed())->getFullDelta();
430 const auto *IN = dyn_cast<DeltaTreeInteriorNode>(Node);
431 if (!IN) return Result;
436 Result += IN->getChild(i)->getFullDelta();
443 return Result+IN->getChild(NumValsGreater)->getFullDelta();
447 Node = IN->getChild(NumValsGreater);