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

References

lib/Transforms/IPO/ArgumentPromotion.cpp
  372        I != E; ++I) {
  372        I != E; ++I) {
  373     if (!ArgsToPromote.count(&*I) && !ByValArgsToTransform.count(&*I)) {
  373     if (!ArgsToPromote.count(&*I) && !ByValArgsToTransform.count(&*I)) {
  376       I->replaceAllUsesWith(&*I2);
  377       I2->takeName(&*I);
  382     if (ByValArgsToTransform.count(&*I)) {
  388       Type *AgTy = cast<PointerType>(I->getType())->getElementType();
  391                          MaybeAlign(I->getParamAlignment()), "", InsertPt);
  401         I2->setName(I->getName() + "." + Twine(i));
  406       I->replaceAllUsesWith(TheAlloca);
  407       TheAlloca->takeName(&*I);
  420     if (I->use_empty())
  426     ScalarizeTable &ArgIndices = ScalarizedElements[&*I];
  428     while (!I->use_empty()) {
  429       if (LoadInst *LI = dyn_cast<LoadInst>(I->user_back())) {
  432         I2->setName(I->getName() + ".val");
  435         LLVM_DEBUG(dbgs() << "*** Promoted load of argument '" << I->getName()
  438         GetElementPtrInst *GEP = cast<GetElementPtrInst>(I->user_back());
  455         std::string NewName = I->getName();