reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/IR/Instructions.cpp
  547     if (IsConstantOne(AllocSize)) {
  548       AllocSize = ArraySize;         // Operand * 1 = Operand
  553       AllocSize = ConstantExpr::getMul(Scale, cast<Constant>(AllocSize));
  553       AllocSize = ConstantExpr::getMul(Scale, cast<Constant>(AllocSize));
  557         AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize,
  557         AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize,
  560         AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize,
  560         AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize,
  565   assert(AllocSize->getType() == IntPtrTy && "malloc arg is wrong size");
  578     MCall = CallInst::Create(MallocFunc, AllocSize, OpB, "malloccall",
  585     MCall = CallInst::Create(MallocFunc, AllocSize, OpB, "malloccall");