H A D | Instructions.cpp | 525 Value *ArraySize, in createMalloc() 535 if (!ArraySize) in createMalloc() 536 ArraySize = ConstantInt::get(IntPtrTy, 1); in createMalloc() 537 else if (ArraySize->getType() != IntPtrTy) { in createMalloc() 539 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, in createMalloc() 542 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, in createMalloc() 546 if (!IsConstantOne(ArraySize)) { in createMalloc() 548 AllocSize = ArraySize; // Operan in createMalloc() 522 createMalloc(Instruction *InsertBefore, BasicBlock *InsertAtEnd, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, ArrayRef<OperandBundleDef> OpB, Function *MallocF, const Twine &Name) createMalloc() argument 610 CreateMalloc(Instruction *InsertBefore, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, Function *MallocF, const Twine &Name) CreateMalloc() argument 618 CreateMalloc(Instruction *InsertBefore, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, ArrayRef<OperandBundleDef> OpB, Function *MallocF, const Twine &Name) CreateMalloc() argument 636 CreateMalloc(BasicBlock *InsertAtEnd, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, Function *MallocF, const Twine &Name) CreateMalloc() argument 643 CreateMalloc(BasicBlock *InsertAtEnd, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, ArrayRef<OperandBundleDef> OpB, Function *MallocF, const Twine &Name) CreateMalloc() argument 1218 AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize, const Twine &Name, Instruction *InsertBefore) AllocaInst() argument 1223 AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize, const Twine &Name, BasicBlock *InsertAtEnd) AllocaInst() argument 1227 AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize, MaybeAlign Align, const Twine &Name, Instruction *InsertBefore) AllocaInst() argument 1238 AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize, MaybeAlign Align, const Twine &Name, BasicBlock *InsertAtEnd) AllocaInst() argument [all...] |