Lines Matching refs:Ptr
42 Value *IRBuilderBase::getCastedInt8PtrValue(Value *Ptr) { in getCastedInt8PtrValue() argument
43 PointerType *PT = cast<PointerType>(Ptr->getType()); in getCastedInt8PtrValue()
45 return Ptr; in getCastedInt8PtrValue()
49 BitCastInst *BCI = new BitCastInst(Ptr, PT, ""); in getCastedInt8PtrValue()
64 CreateMemSet(Value *Ptr, Value *Val, Value *Size, unsigned Align, in CreateMemSet() argument
66 Ptr = getCastedInt8PtrValue(Ptr); in CreateMemSet()
67 Value *Ops[] = { Ptr, Val, Size, getInt32(Align), getInt1(isVolatile) }; in CreateMemSet()
68 Type *Tys[] = { Ptr->getType(), Size->getType() }; in CreateMemSet()
121 CallInst *IRBuilderBase::CreateLifetimeStart(Value *Ptr, ConstantInt *Size) { in CreateLifetimeStart() argument
122 assert(isa<PointerType>(Ptr->getType()) && in CreateLifetimeStart()
124 Ptr = getCastedInt8PtrValue(Ptr); in CreateLifetimeStart()
130 Value *Ops[] = { Size, Ptr }; in CreateLifetimeStart()
136 CallInst *IRBuilderBase::CreateLifetimeEnd(Value *Ptr, ConstantInt *Size) { in CreateLifetimeEnd() argument
137 assert(isa<PointerType>(Ptr->getType()) && in CreateLifetimeEnd()
139 Ptr = getCastedInt8PtrValue(Ptr); in CreateLifetimeEnd()
145 Value *Ops[] = { Size, Ptr }; in CreateLifetimeEnd()