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

References

examples/BrainF/BrainFDriver.cpp
   84     Function::arg_iterator args = main_func->arg_begin();
examples/Fibonacci/fibonacci.cpp
   67   Argument *ArgX = &*FibF->arg_begin(); // Get the arg.
examples/HowToUseJIT/HowToUseJIT.cpp
   88   assert(Add1F->arg_begin() != Add1F->arg_end()); // Make sure there's an arg
   89   Argument *ArgX = &*Add1F->arg_begin();          // Get the arg
examples/HowToUseLLJIT/HowToUseLLJIT.cpp
   45   assert(Add1F->arg_begin() != Add1F->arg_end()); // Make sure there's an arg
   46   Argument *ArgX = &*Add1F->arg_begin();          // Get the arg
examples/ParallelJIT/ParallelJIT.cpp
   66   assert(Add1F->arg_begin() != Add1F->arg_end()); // Make sure there's an arg
   67   Argument *ArgX = &*Add1F->arg_begin();          // Get the arg
   97   Argument *ArgX = &*FibF->arg_begin(); // Get the arg.
include/llvm/IR/Function.h
  725     return make_range(arg_begin(), arg_end());
include/llvm/Transforms/IPO/Attributor.h
  301     return AssociatedFn->arg_begin() + ArgNo;
lib/Analysis/InlineCost.cpp
 1788   for (Function::arg_iterator FAI = F.arg_begin(), FAE = F.arg_end();
lib/Analysis/Lint.cpp
  253     Function::arg_iterator PI = F->arg_begin(), PE = F->arg_end();
lib/AsmParser/LLParser.cpp
 5507   Function::arg_iterator ArgIt = Fn->arg_begin();
lib/ExecutionEngine/Interpreter/Execution.cpp
 2151   for (Function::arg_iterator AI = F->arg_begin(), E = F->arg_end();
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
  295     auto NewArgI = NewF->arg_begin();
lib/IR/AutoUpgrade.cpp
  504                                         F->arg_begin()->getType());
  509         F->arg_begin()->getType(),
  522                                         F->arg_begin()->getType());
  580                                         F->arg_begin()->getType());
  586                                         F->arg_begin()->getType());
  662       Type *Tys[] = { F->getReturnType(), F->arg_begin()->getType() };
  685       Type *Tys[] = {F->getReturnType(), F->arg_begin()->getType()};
  775       Type *Tys[2] = { F->getReturnType(), F->arg_begin()->getType() };
  789       Type *Tys[] = {F->arg_begin()->getType()};
lib/IR/Core.cpp
 2445   for (Function::arg_iterator I = Fn->arg_begin(),
 2452   return wrap(&Fn->arg_begin()[index]);
 2461   Function::arg_iterator I = Func->arg_begin();
 2470   if (I == Func->arg_begin())
 2480   return wrap(&Fn->arg_begin()[A->getArgNo() + 1]);
 2487   return wrap(&A->getParent()->arg_begin()[A->getArgNo() - 1]);
lib/Target/AMDGPU/R600OpenCLImageTypeLoweringPass.cpp
  235     for (auto ArgI = F->arg_begin(); ArgI != F->arg_end(); ++ArgI) {
  308     auto NewFArgIt = NewF->arg_begin();
lib/Target/Mips/MipsOs16.cpp
   59     Argument &Arg = *F.arg_begin();
lib/Target/WebAssembly/WebAssemblyAddMissingPrototypes.cpp
   83       if (!(NumParams == 1 && F.arg_begin()->hasStructRetAttr()))
lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
  128   Function::arg_iterator AI = Wrapper->arg_begin();
lib/Target/X86/X86WinEHState.cpp
  413   auto AI = Trampoline->arg_begin();
lib/Transforms/Coroutines/CoroElide.cpp
   94   auto *ArgType = Resume->arg_begin()->getType();
lib/Transforms/Coroutines/CoroSplit.cpp
  424   for (auto I = std::next(NewF->arg_begin()), E = NewF->arg_end(); I != E; ++I)
  616     return &*NewF->arg_begin();
  621     Argument *NewStorage = &*NewF->arg_begin();
lib/Transforms/IPO/ArgumentPromotion.cpp
  139   for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(); I != E;
  253     for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(); I != E;
  370   for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(),
  371                               I2 = NF->arg_begin();
lib/Transforms/IPO/CrossDSOCFI.cpp
  117   auto args = F->arg_begin();
lib/Transforms/IPO/DeadArgumentElimination.cpp
  234   for (Function::arg_iterator I = Fn.arg_begin(), E = Fn.arg_end(),
  235        I2 = NF->arg_begin(); I != E; ++I, ++I2) {
  752   for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end();
 1015   for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(),
 1016        I2 = NF->arg_begin(); I != E; ++I, ++i)
lib/Transforms/IPO/FunctionAttrs.cpp
  404     Uses.push_back(&*std::next(F->arg_begin(), UseIndex));
  535           !SCCNodes.count(&*std::next(F->arg_begin(), UseIndex))) {
  704       for (Function::arg_iterator A = F->arg_begin(), E = F->arg_end(); A != E;
  715     for (Function::arg_iterator A = F->arg_begin(), E = F->arg_end(); A != E;
lib/Transforms/IPO/IPConstantPropagation.cpp
   78     Function::arg_iterator Arg = F.arg_begin();
  127   Function::arg_iterator AI = F.arg_begin();
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  260             !F->arg_begin()->use_empty())
  262         for (auto &Arg : make_range(std::next(F->arg_begin()), F->arg_end())) {
lib/Transforms/IPO/WholeProgramDevirt.cpp
 1066   JTArgs.push_back(JT->arg_begin());
 1415         Target.Fn->arg_empty() || !Target.Fn->arg_begin()->use_empty() ||
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  668     for (Function::arg_iterator ai = NewF->arg_begin(); n != 0; ++ai, --n)
  689     Function::arg_iterator AI = F->arg_begin(); ++AI;
  692     CallInst *CI = CallInst::Create(FT, &*F->arg_begin(), Args, "", BB);
  700     Function::arg_iterator ValAI = F->arg_begin(), ShadowAI = AI; ++ValAI;
  846         for (Function::arg_iterator FArg = F.arg_begin(),
  847                                     NewFArg = NewF->arg_begin(),
 1044         Function::arg_iterator i = F->arg_begin();
lib/Transforms/Scalar/SCCP.cpp
 1314     for (Function::arg_iterator AI = F->arg_begin(), E = F->arg_end();
 2074       for (Function::arg_iterator AI = F.arg_begin(), E = F.arg_end(); AI != E;
lib/Transforms/Scalar/TailRecursionElimination.cpp
  371     for (Function::arg_iterator AI = F->arg_begin(); &*AI != Arg; ++AI)
  488     Function::arg_iterator FI = F->arg_begin(),
  594     for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end();
lib/Transforms/Utils/CloneFunction.cpp
  257   Function::arg_iterator DestI = NewF->arg_begin();
lib/Transforms/Utils/CloneModule.cpp
  156     Function::arg_iterator DestI = F->arg_begin();
lib/Transforms/Utils/CodeExtractor.cpp
  926   Function::arg_iterator AI = newFunction->arg_begin();
  953     AI = newFunction->arg_begin();
 1147   Function::arg_iterator OutputArgBegin = newFunction->arg_begin();
lib/Transforms/Utils/Evaluator.cpp
  683   for (Function::arg_iterator AI = F->arg_begin(), E = F->arg_end(); AI != E;
lib/Transforms/Utils/InlineFunction.cpp
 1686     for (Function::arg_iterator I = CalledFunc->arg_begin(),
lib/Transforms/Utils/MetaRenamer.cpp
  145       for (auto AI = F.arg_begin(), AE = F.arg_end(); AI != AE; ++AI)
tools/bugpoint/Miscompilation.cpp
  806       for (Function::arg_iterator I = newMain->arg_begin(),
  808                                   OI = oldMain->arg_begin();
tools/clang/lib/CodeGen/CGBuiltin.cpp
 4345   for (Function::const_arg_iterator ai = F->arg_begin(), ae = F->arg_end();
 5210   for (Function::const_arg_iterator ai = F->arg_begin(), ae = F->arg_end();
tools/clang/lib/CodeGen/CGCUDANV.cpp
  419   llvm::Argument &GpuBinaryHandlePtr = *RegisterKernelsFunc->arg_begin();
tools/clang/lib/CodeGen/CGCall.cpp
 2835     auto AI = CurFn->arg_begin();
tools/clang/lib/CodeGen/CGException.cpp
 1630       FP = &CGF.CurFn->arg_begin()[1];
 1779     auto AI = CurFn->arg_begin();
 1932     SEHInfo = &*CurFn->arg_begin();
 1981   auto AI = CurFn->arg_begin();
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 5040       std::next(TaskFunction->arg_begin(), 3)->getType();
tools/clang/lib/CodeGen/CGVTables.cpp
  194   llvm::Function::arg_iterator AI = Fn->arg_begin();
tools/clang/lib/CodeGen/CodeGenFunction.cpp
  905     auto AI = CurFn->arg_begin();
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1813            F->arg_begin()->getType()
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 4339     llvm::Value *exn = &*fn->arg_begin();
tools/clang/lib/CodeGen/TargetInfo.cpp
 9965   Builder.CreateAlignedStore(F->arg_begin(), BlockPtr, BlockAlign);
 9969   for (auto I = F->arg_begin() + 1, E = F->arg_end(); I != E; ++I)
tools/lldb/source/Expression/IRInterpreter.cpp
  671   for (llvm::Function::arg_iterator ai = function.arg_begin(),
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
 1674   Function::arg_iterator iter(llvm_function.arg_begin());
tools/llvm-diff/DiffConsumer.cpp
   25          AI = F->arg_begin(), AE = F->arg_end(); AI != AE; ++AI)
tools/llvm-diff/DifferenceEngine.cpp
  495            LI = L->arg_begin(), LE = L->arg_end(),
  496            RI = R->arg_begin(), RE = R->arg_end();
tools/polly/lib/CodeGen/LoopGeneratorsGOMP.cpp
   66   SubFn->arg_begin()->setName("polly.par.userContext");
  130       &*SubFn->arg_begin(), StructData->getType(), "polly.par.userContext");
tools/polly/lib/CodeGen/LoopGeneratorsKMP.cpp
   88   Function::arg_iterator AI = SubFn->arg_begin();
  159   Function::arg_iterator AI = SubFn->arg_begin();
tools/polly/lib/CodeGen/RuntimeDebugBuilder.cpp
  287   Builder.CreateCall(F, Constant::getNullValue(F->arg_begin()->getType()));
unittests/Analysis/BasicAliasAnalysisTest.cpp
   78   Value *IncomingI32Ptr = F->arg_begin();
  112   Value *ArbitraryI32 = F->arg_begin();
unittests/Analysis/CaptureTrackingTest.cpp
   58     Value *Arg = &*F->arg_begin();
unittests/Analysis/DivergenceAnalysisTest.cpp
   98   Argument &arg = *F->arg_begin();
  141   auto ItArg = F->arg_begin();
  195   auto ItArg = F->arg_begin();
  324     auto ItArg = F->arg_begin();
  346     auto ItArg = F->arg_begin();
  368     auto ItArg = F->arg_begin();
  412   auto &CondArg = *F->arg_begin();
unittests/Analysis/LazyCallGraphTest.cpp
 2081   D.arg_begin()->replaceAllUsesWith(&*E.arg_begin());
 2081   D.arg_begin()->replaceAllUsesWith(&*E.arg_begin());
 2082   E.arg_begin()->takeName(&*D.arg_begin());
 2082   E.arg_begin()->takeName(&*D.arg_begin());
unittests/Analysis/MemorySSATest.cpp
   85   Argument *PointerArg = &*F->arg_begin();
  123   Argument *PointerArg = &*F->arg_begin();
  213   Argument *PointerArg = &*F->arg_begin();
  257   Argument *PointerArg = &*F->arg_begin();
  305   Argument *PointerArg = &*F->arg_begin();
  341   Argument *PointerArg = &*F->arg_begin();
  387   Argument *PointerArg = &*F->arg_begin();
  431   Argument *PointerArg = &*F->arg_begin();
  488   Argument *PointerArg = &*F->arg_begin();
  533   Argument *PointerArg = &*F->arg_begin();
  900   Argument *FirstArg = &*F->arg_begin();
 1102   auto *ArgIt = F->arg_begin();
 1144   auto *ArgIt = F->arg_begin();
 1228   Value *Foo = &*F->arg_begin();
 1414   Argument *PointerArg = &*F->arg_begin();
 1470   Argument *PointerArg = &*F->arg_begin();
 1542   Argument *PointerArg = &*F->arg_begin();
unittests/Analysis/OrderedInstructionsTest.cpp
   46   Argument *PointerArg = &*F->arg_begin();
unittests/Analysis/ScalarEvolutionTest.cpp
  410   Value *X = &*F->arg_begin();
  411   Value *Y = &*std::next(F->arg_begin());
  447   Argument *A1 = &*F->arg_begin();
  448   Argument *A2 = &*(std::next(F->arg_begin()));
  573       const SCEV *V0 = SE.getSCEV(&*F.arg_begin());
  574       const SCEV *V1 = SE.getSCEV(&*std::next(F.arg_begin(), 1));
  575       const SCEV *V2 = SE.getSCEV(&*std::next(F.arg_begin(), 2));
  576       const SCEV *V3 = SE.getSCEV(&*std::next(F.arg_begin(), 3));
  760   Argument *Arg = &*F->arg_begin();
  932   Argument *Arg = &*F->arg_begin();
 1079   auto *Arg = &*(F->arg_begin());
 1108   auto *Arg = &*(F->arg_begin());
 1220   Argument *Arg = &*F->arg_begin();
 1272   Argument *Arg = &*F->arg_begin();
 1322   Argument *Arg = &*F->arg_begin();
 1373   Argument *Arg = &*F->arg_begin();
 1423   Argument *A = &*F->arg_begin();
 1424   Argument *B = &*std::next(F->arg_begin());
unittests/Analysis/SparsePropagation.cpp
  382   F->arg_begin()->setName("cond");
  384   LoadInst *Cond = Builder.CreateLoad(Type::getInt1Ty(Context), F->arg_begin());
  422   F->arg_begin()->setName("cond");
  424   LoadInst *Cond = Builder.CreateLoad(Type::getInt1Ty(Context), F->arg_begin());
  465   Argument *A = G->arg_begin();
  466   Argument *B = std::next(G->arg_begin());
unittests/ExecutionEngine/MCJIT/MCJITTestBase.h
  100     Function::arg_iterator args = Result->arg_begin();
  167     Value *Param = &*Result->arg_begin();
unittests/IR/FunctionTest.cpp
   34   (void)F->arg_begin();
unittests/IR/InstructionsTest.cpp
  599   auto *Arg0 = &*F->arg_begin();
unittests/IR/LegacyPassManagerTest.cpp
  580         Function::arg_iterator args = func_test4->arg_begin();
unittests/IR/UseTest.cpp
   42   ASSERT_TRUE(F->arg_begin() != F->arg_end());
   43   Argument &X = *F->arg_begin();
   87   ASSERT_TRUE(F->arg_begin() != F->arg_end());
   88   Argument &X = *F->arg_begin();
unittests/IR/ValueTest.cpp
   42   EXPECT_TRUE(std::next(F->arg_begin())->isUsedInBasicBlock(&F->front()));
   43   EXPECT_TRUE(F->arg_begin()->isUsedInBasicBlock(&F->front()));
unittests/Linker/LinkModulesTest.cpp
   83   GEPIndices.push_back(&*F->arg_begin());
unittests/Transforms/Scalar/LoopPassManagerTest.cpp
  884   Argument &Ptr = *F.arg_begin();
 1087   Argument &Ptr = *F.arg_begin();
 1348   Argument &Ptr = *F.arg_begin();
unittests/Transforms/Utils/CloningTest.cpp
  172   Argument *A = &*F1->arg_begin();
  180   EXPECT_FALSE(F2->arg_begin()->hasNoCaptureAttr());
  200   VMap[&*F1->arg_begin()] = &*F2->arg_begin();
  200   VMap[&*F1->arg_begin()] = &*F2->arg_begin();
unittests/Transforms/Utils/FunctionComparatorTest.cpp
   33     Argument *PointerArg = &*F->arg_begin();
unittests/Transforms/Utils/IntegerDivisionTest.cpp
   36   Function::arg_iterator AI = F->arg_begin();
   66   Function::arg_iterator AI = F->arg_begin();
   96   Function::arg_iterator AI = F->arg_begin();
  126   Function::arg_iterator AI = F->arg_begin();
  157   Function::arg_iterator AI = F->arg_begin();
  187   Function::arg_iterator AI = F->arg_begin();
  217   Function::arg_iterator AI = F->arg_begin();
  247   Function::arg_iterator AI = F->arg_begin();
unittests/Transforms/Utils/SSAUpdaterBulkTest.cpp
   46   Argument *FirstArg = &*(F->arg_begin());
  133   Argument *FirstArg = &*F->arg_begin();
unittests/Transforms/Utils/ValueMapperTest.cpp
  272   Argument &A = *F->arg_begin();
  291   Argument &A = *F->arg_begin();
  335   Argument &A = *F->arg_begin();