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

References

lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
  119   Module *M = F->getParent();
  122                                        F->getName() + "_bitcast", M);
  130   FunctionType::param_iterator PI = F->getFunctionType()->param_begin();
  131   FunctionType::param_iterator PE = F->getFunctionType()->param_end();
  135   Type *ExpectedRtnType = F->getFunctionType()->getReturnType();
  138   if ((F->getFunctionType()->getNumParams() != Ty->getNumParams()) ||
  139       (F->getFunctionType()->isVarArg() != Ty->isVarArg()) ||
  157                           << F->getName() << "\n");
  161                           << F->getName() << "\n");
  173     if (F->isVarArg())
  177     CallInst *Call = CallInst::Create(F, Args, "", BB);
  179     Type *ExpectedRtnType = F->getFunctionType()->getReturnType();
  197                         << F->getName() << "\n");
  201                         << F->getName() << "\n");
  212                                F->getName() + "_bitcast_invalid", M);
  215     Wrapper->setName(F->getName() + "_bitcast_invalid");
  217     LLVM_DEBUG(dbgs() << "createWrapper: no wrapper needed: " << F->getName()
  222   LLVM_DEBUG(dbgs() << "createWrapper: " << F->getName() << "\n");