Home
last modified time | relevance | path

Searched refs:PtrAsInt (Results 1 – 3 of 3) 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp685 Value *PtrAsInt = B.CreatePtrToInt(Ptr, IntPtrTy); in lowerTypeTestCall() local
690 return B.CreateICmpEQ(PtrAsInt, OffsetedGlobalAsInt); in lowerTypeTestCall()
692 Value *PtrOffset = B.CreateSub(PtrAsInt, OffsetedGlobalAsInt); in lowerTypeTestCall()