Lines Matching defs:IntPtrTy
302 CallInst *IRBuilderBase::CreateMalloc(Type *IntPtrTy, Type *AllocTy,
311 ArraySize = ConstantInt::get(IntPtrTy, 1);
312 else if (ArraySize->getType() != IntPtrTy)
313 ArraySize = CreateIntCast(ArraySize, IntPtrTy, false);
324 assert(AllocSize->getType() == IntPtrTy && "malloc arg is wrong size");
331 MallocFunc = M->getOrInsertFunction("malloc", BPTy, IntPtrTy);
345 CallInst *IRBuilderBase::CreateMalloc(Type *IntPtrTy, Type *AllocTy,
349 return CreateMalloc(IntPtrTy, AllocTy, AllocSize, ArraySize, std::nullopt,
1315 Type *IntPtrTy = getIntPtrTy(DL, PtrTy->getAddressSpace());
1316 Value *AlignValue = ConstantInt::get(IntPtrTy, Alignment);