Searched refs:PtrAsInt (Results 1 – 2 of 2) sorted by relevance
440 Value *PtrAsInt = B.CreatePtrToInt(Ptr, IntPtrTy); in lowerBitSetCall() local443 return B.CreateICmpEQ(PtrAsInt, OffsetedGlobalAsInt); in lowerBitSetCall()445 Value *PtrOffset = B.CreateSub(PtrAsInt, OffsetedGlobalAsInt); in lowerBitSetCall()
244 llvm::Value *PtrAsInt = Ptr; in emitRoundPointerUpToAlignment() local246 PtrAsInt = CGF.Builder.CreatePtrToInt(PtrAsInt, CGF.IntPtrTy); in emitRoundPointerUpToAlignment()247 PtrAsInt = CGF.Builder.CreateAdd(PtrAsInt, in emitRoundPointerUpToAlignment()249 PtrAsInt = CGF.Builder.CreateAnd(PtrAsInt, in emitRoundPointerUpToAlignment()251 PtrAsInt = CGF.Builder.CreateIntToPtr(PtrAsInt, in emitRoundPointerUpToAlignment()254 return PtrAsInt; in emitRoundPointerUpToAlignment()