Home
last modified time | relevance | path

Searched refs:PtrAsInt (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp440 Value *PtrAsInt = B.CreatePtrToInt(Ptr, IntPtrTy); in lowerBitSetCall() local
443 return B.CreateICmpEQ(PtrAsInt, OffsetedGlobalAsInt); in lowerBitSetCall()
445 Value *PtrOffset = B.CreateSub(PtrAsInt, OffsetedGlobalAsInt); in lowerBitSetCall()
/external/clang/lib/CodeGen/
DTargetInfo.cpp244 llvm::Value *PtrAsInt = Ptr; in emitRoundPointerUpToAlignment() local
246 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()