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

References

lib/Transforms/IPO/GlobalOpt.cpp
 1279   LLVM_DEBUG(dbgs() << "SROA HEAP ALLOC: " << *GV << "  MALLOC = " << *CI
 1281   Type *MAT = getMallocAllocatedType(CI, TLI);
 1288   ReplaceUsesOfMallocWithGlobal(CI, GV);
 1296   CI->getOperandBundlesAsDefs(OpBundles);
 1313     Type *IntPtrTy = DL.getIntPtrType(CI->getType());
 1314     Value *NMI = CallInst::CreateMalloc(CI, IntPtrTy, FieldTy,
 1317                                         CI->getName() + ".f" + Twine(FieldNo));
 1319     new StoreInst(NMI, NGV, CI);
 1335   Constant *ConstantZero = ConstantInt::get(CI->getArgOperand(0)->getType(), 0);
 1336   Value *RunningOr = new ICmpInst(CI, ICmpInst::ICMP_SLT, CI->getArgOperand(0),
 1336   Value *RunningOr = new ICmpInst(CI, ICmpInst::ICMP_SLT, CI->getArgOperand(0),
 1339     Value *Cond = new ICmpInst(CI, ICmpInst::ICMP_EQ, FieldMallocs[i],
 1342     RunningOr = BinaryOperator::CreateOr(RunningOr, Cond, "tmp", CI);
 1346   BasicBlock *OrigBB = CI->getParent();
 1348       OrigBB->splitBasicBlock(CI->getIterator(), "malloc_cont");
 1388   CI->eraseFromParent();