Lines Matching defs:IntPtrTy
290 CallInst *IRBuilderBase::CreateMalloc(Type *IntPtrTy, Type *AllocTy,
299 ArraySize = ConstantInt::get(IntPtrTy, 1);
300 else if (ArraySize->getType() != IntPtrTy)
301 ArraySize = CreateIntCast(ArraySize, IntPtrTy, false);
312 assert(AllocSize->getType() == IntPtrTy && "malloc arg is wrong size");
319 MallocFunc = M->getOrInsertFunction("malloc", BPTy, IntPtrTy);
333 CallInst *IRBuilderBase::CreateMalloc(Type *IntPtrTy, Type *AllocTy,
337 return CreateMalloc(IntPtrTy, AllocTy, AllocSize, ArraySize, {}, MallocF,
1273 Type *IntPtrTy = getIntPtrTy(DL, PtrTy->getAddressSpace());
1274 Value *AlignValue = ConstantInt::get(IntPtrTy, Alignment);