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

References

lib/Transforms/IPO/ArgumentPromotion.cpp
  139   for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(); I != E;
  140        ++I, ++ArgNo) {
  141     if (ByValArgsToTransform.count(&*I)) {
  143       Type *AgTy = cast<PointerType>(I->getType())->getElementType();
  149     } else if (!ArgsToPromote.count(&*I)) {
  151       Params.push_back(I->getType());
  153     } else if (I->use_empty()) {
  159       I->replaceAllUsesWith(UndefValue::get(I->getType()));
  159       I->replaceAllUsesWith(UndefValue::get(I->getType()));
  166       ScalarizeTable &ArgIndices = ScalarizedElements[&*I];
  167       for (User *U : I->users()) {
  192         OriginalLoads[std::make_pair(&*I, Indices)] = OrigLoad;
  199             cast<PointerType>(I->getType()->getScalarType())->getElementType(),