Home | History | Annotate | Download | only in InstCombine

Lines Matching defs:PtrToInt

1481   // Canonicalize (gep i8* X, -(ptrtoint Y)) to (sub (ptrtoint X), (ptrtoint Y))
1491 Value *PtrToInt = Builder->CreatePtrToInt(PtrOp, Index->getType());
1492 Value *NewSub = Builder->CreateSub(PtrToInt, Index->getOperand(1));