Lines Matching refs:ArraySize

444                                  Value *ArraySize,  in createMalloc()  argument
454 if (!ArraySize) in createMalloc()
455 ArraySize = ConstantInt::get(IntPtrTy, 1); in createMalloc()
456 else if (ArraySize->getType() != IntPtrTy) { in createMalloc()
458 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, in createMalloc()
461 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, in createMalloc()
465 if (!IsConstantOne(ArraySize)) { in createMalloc()
467 AllocSize = ArraySize; // Operand * 1 = Operand in createMalloc()
468 } else if (Constant *CO = dyn_cast<Constant>(ArraySize)) { in createMalloc()
476 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, in createMalloc()
479 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, in createMalloc()
530 Value *AllocSize, Value *ArraySize, in CreateMalloc() argument
534 ArraySize, None, MallocF, Name); in CreateMalloc()
538 Value *AllocSize, Value *ArraySize, in CreateMalloc() argument
543 ArraySize, OpB, MallocF, Name); in CreateMalloc()
557 Value *AllocSize, Value *ArraySize, in CreateMalloc() argument
560 ArraySize, None, MallocF, Name); in CreateMalloc()
564 Value *AllocSize, Value *ArraySize, in CreateMalloc() argument
568 ArraySize, OpB, MallocF, Name); in CreateMalloc()
1256 AllocaInst::AllocaInst(Type *Ty, Value *ArraySize, const Twine &Name, in AllocaInst() argument
1258 : AllocaInst(Ty, ArraySize, /*Align=*/0, Name, InsertBefore) {} in AllocaInst()
1260 AllocaInst::AllocaInst(Type *Ty, Value *ArraySize, const Twine &Name, in AllocaInst() argument
1262 : AllocaInst(Ty, ArraySize, /*Align=*/0, Name, InsertAtEnd) {} in AllocaInst()
1264 AllocaInst::AllocaInst(Type *Ty, Value *ArraySize, unsigned Align, in AllocaInst() argument
1267 getAISize(Ty->getContext(), ArraySize), InsertBefore), in AllocaInst()
1274 AllocaInst::AllocaInst(Type *Ty, Value *ArraySize, unsigned Align, in AllocaInst() argument
1277 getAISize(Ty->getContext(), ArraySize), InsertAtEnd), in AllocaInst()