Lines Matching refs:ArraySize

665                                  Value *ArraySize,  in createMalloc()  argument
675 if (!ArraySize) in createMalloc()
676 ArraySize = ConstantInt::get(IntPtrTy, 1); in createMalloc()
677 else if (ArraySize->getType() != IntPtrTy) { in createMalloc()
679 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, in createMalloc()
682 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, in createMalloc()
686 if (!IsConstantOne(ArraySize)) { in createMalloc()
688 AllocSize = ArraySize; // Operand * 1 = Operand in createMalloc()
689 } else if (Constant *CO = dyn_cast<Constant>(ArraySize)) { in createMalloc()
697 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, in createMalloc()
700 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, in createMalloc()
752 Value *AllocSize, Value *ArraySize, in CreateMalloc() argument
756 ArraySize, None, MallocF, Name); in CreateMalloc()
760 Value *AllocSize, Value *ArraySize, in CreateMalloc() argument
765 ArraySize, OpB, MallocF, Name); in CreateMalloc()
778 Value *AllocSize, Value *ArraySize, in CreateMalloc() argument
781 ArraySize, None, MallocF, Name); in CreateMalloc()
785 Value *AllocSize, Value *ArraySize, in CreateMalloc() argument
789 ArraySize, OpB, MallocF, Name); in CreateMalloc()
1371 AllocaInst::AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize, in AllocaInst() argument
1373 : AllocaInst(Ty, AddrSpace, ArraySize, in AllocaInst()
1377 AllocaInst::AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize, in AllocaInst() argument
1379 : AllocaInst(Ty, AddrSpace, ArraySize, in AllocaInst()
1383 AllocaInst::AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize, in AllocaInst() argument
1387 getAISize(Ty->getContext(), ArraySize), InsertBefore), in AllocaInst()
1394 AllocaInst::AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize, in AllocaInst() argument
1397 getAISize(Ty->getContext(), ArraySize), InsertAtEnd), in AllocaInst()