Searched refs:C1Log (Results 1 – 2 of 2) sorted by relevance
510 unsigned C1Log; in foldSelectICmpAndOr() local522 C1Log = C1->logBase2(); in foldSelectICmpAndOr()536 C1Log = CmpLHS->getType()->getScalarSizeInBits() - 1; in foldSelectICmpAndOr()556 bool NeedShift = C1Log != C2Log; in foldSelectICmpAndOr()568 APInt C1 = APInt::getOneBitSet(V->getType()->getScalarSizeInBits(), C1Log); in foldSelectICmpAndOr()572 if (C2Log > C1Log) { in foldSelectICmpAndOr()574 V = Builder.CreateShl(V, C2Log - C1Log); in foldSelectICmpAndOr()575 } else if (C1Log > C2Log) { in foldSelectICmpAndOr()576 V = Builder.CreateLShr(V, C1Log - C2Log); in foldSelectICmpAndOr()
339 unsigned C1Log = C1->logBase2(); in foldSelectICmpAndOr() local341 if (C2Log > C1Log) { in foldSelectICmpAndOr()343 V = Builder->CreateShl(V, C2Log - C1Log); in foldSelectICmpAndOr()344 } else if (C1Log > C2Log) { in foldSelectICmpAndOr()345 V = Builder->CreateLShr(V, C1Log - C2Log); in foldSelectICmpAndOr()