Home
last modified time | relevance | path

Searched refs:arg_begin (Results 1 – 25 of 155) sorted by relevance

1234567

/external/llvm/include/llvm/IR/
DCallSite.h115 assert(arg_begin() + ArgNo < arg_end() && "Argument # out of range!"); in getArgument()
116 return *(arg_begin() + ArgNo); in getArgument()
121 assert(arg_begin() + ArgNo < arg_end() && "Argument # out of range!"); in setArgument()
135 assert(arg_begin() <= U && U < arg_end() in getArgumentNo()
137 return U - arg_begin(); in getArgumentNo()
146 IterTy arg_begin() const { in arg_begin() function
153 bool arg_empty() const { return arg_end() == arg_begin(); } in arg_empty()
154 unsigned arg_size() const { return unsigned(arg_end() - arg_begin()); } in arg_size()
328 for (arg_iterator AI = this->arg_begin(), E = this->arg_end(); AI != E; in hasArgument()
DStatepoint.h89 return StatepointCS.arg_begin() + Offset; in call_args_begin()
94 return StatepointCS.arg_begin() + Offset; in call_args_end()
108 return StatepointCS.arg_begin() + Offset; in vm_state_end()
246 return *(CS.arg_begin() + basePtrIndex()); in basePtr()
250 return *(CS.arg_begin() + derivedPtrIndex()); in derivedPtr()
DFunction.h416 arg_iterator arg_begin() {
420 const_arg_iterator arg_begin() const {
434 return iterator_range<arg_iterator>(arg_begin(), arg_end());
438 return iterator_range<const_arg_iterator>(arg_begin(), arg_end());
/external/llvm/lib/TableGen/
DSetTheory.cpp32 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts, Loc); in apply()
44 ST.evaluate(*Expr->arg_begin(), Add, Loc); in apply()
45 ST.evaluate(Expr->arg_begin() + 1, Expr->arg_end(), Sub, Loc); in apply()
60 ST.evaluate(Expr->arg_begin()[0], S1, Loc); in apply()
61 ST.evaluate(Expr->arg_begin()[1], S2, Loc); in apply()
79 ST.evaluate(Expr->arg_begin()[0], Set, Loc); in apply()
80 IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[1]); in apply()
175 if (IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[3])) { in apply()
183 if (StringInit *SI = dyn_cast<StringInit>(Expr->arg_begin()[0])) in apply()
189 if (IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[1])) in apply()
[all …]
/external/llvm/unittests/IR/
DUseTest.cpp44 ASSERT_TRUE(F->arg_begin() != F->arg_end()); in TEST()
45 Argument &X = *F->arg_begin(); in TEST()
89 ASSERT_TRUE(F->arg_begin() != F->arg_end()); in TEST()
90 Argument &X = *F->arg_begin(); in TEST()
DValueTest.cpp42 EXPECT_TRUE((++F->arg_begin())->isUsedInBasicBlock(F->begin())); in TEST()
43 EXPECT_TRUE(F->arg_begin()->isUsedInBasicBlock(F->begin())); in TEST()
/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp42 switch((int)Fn->arg_begin()->getType()->getTypeID()) { in EnsureFPIntrinsicsExist()
44 EnsureFunctionExists(M, FName, Fn->arg_begin(), Fn->arg_end(), in EnsureFPIntrinsicsExist()
48 EnsureFunctionExists(M, DName, Fn->arg_begin(), Fn->arg_end(), in EnsureFPIntrinsicsExist()
54 EnsureFunctionExists(M, LDName, Fn->arg_begin(), Fn->arg_end(), in EnsureFPIntrinsicsExist()
55 Fn->arg_begin()->getType()); in EnsureFPIntrinsicsExist()
102 EnsureFunctionExists(M, "setjmp", I->arg_begin(), I->arg_end(), in AddPrototypes()
106 EnsureFunctionExists(M, "longjmp", I->arg_begin(), I->arg_end(), in AddPrototypes()
324 ReplaceCallWith(Fname, CI, CS.arg_begin(), CS.arg_end(), in ReplaceFPIntrinsicWithCall()
328 ReplaceCallWith(Dname, CI, CS.arg_begin(), CS.arg_end(), in ReplaceFPIntrinsicWithCall()
334 ReplaceCallWith(LDname, CI, CS.arg_begin(), CS.arg_end(), in ReplaceFPIntrinsicWithCall()
[all …]
/external/llvm/unittests/Transforms/Utils/
DIntegerDivision.cpp37 Function::arg_iterator AI = F->arg_begin(); in TEST()
67 Function::arg_iterator AI = F->arg_begin(); in TEST()
97 Function::arg_iterator AI = F->arg_begin(); in TEST()
127 Function::arg_iterator AI = F->arg_begin(); in TEST()
158 Function::arg_iterator AI = F->arg_begin(); in TEST()
188 Function::arg_iterator AI = F->arg_begin(); in TEST()
218 Function::arg_iterator AI = F->arg_begin(); in TEST()
248 Function::arg_iterator AI = F->arg_begin(); in TEST()
DCloning.cpp168 Argument *A = F1->arg_begin(); in TEST_F()
176 EXPECT_FALSE(F2->arg_begin()->hasNoCaptureAttr()); in TEST_F()
196 VMap[F1->arg_begin()] = F2->arg_begin(); in TEST_F()
/external/clang/lib/StaticAnalyzer/Checkers/
DBuiltinFunctionChecker.cpp51 assert (CE->arg_begin() != CE->arg_end()); in evalCall()
52 SVal X = state->getSVal(*(CE->arg_begin()), LCtx); in evalCall()
67 state->getSVal(*(CE->arg_begin()), LCtx).castAs<DefinedOrUnknownSVal>(); in evalCall()
/external/llvm/lib/Analysis/
DAliasAnalysis.cpp120 for (ImmutableCallSite::arg_iterator AI = CS.arg_begin(), AE = CS.arg_end(); in getModRefInfo()
127 getArgLocation(CS, (unsigned) std::distance(CS.arg_begin(), AI), in getModRefInfo()
182 I = CS2.arg_begin(), E = CS2.arg_end(); I != E; ++I) { in getModRefInfo()
188 getArgLocation(CS2, (unsigned) std::distance(CS2.arg_begin(), I), in getModRefInfo()
211 I = CS1.arg_begin(), E = CS1.arg_end(); I != E; ++I) { in getModRefInfo()
217 CS1, (unsigned)std::distance(CS1.arg_begin(), I), ArgMask); in getModRefInfo()
449 for (ImmutableCallSite::arg_iterator CI = CS.arg_begin(), CE = CS.arg_end(); in callCapturesBefore()
/external/llvm/examples/HowToUseJIT/
DHowToUseJIT.cpp82 assert(Add1F->arg_begin() != Add1F->arg_end()); // Make sure there's an arg in main()
83 Argument *ArgX = Add1F->arg_begin(); // Get the arg in main()
/external/llvm/lib/Transforms/IPO/
DIPConstantPropagation.cpp106 CallSite::arg_iterator AI = CS.arg_begin(); in PropagateConstantsIntoArguments()
107 Function::arg_iterator Arg = F.arg_begin(); in PropagateConstantsIntoArguments()
135 Function::arg_iterator AI = F.arg_begin(); in PropagateConstantsIntoArguments()
DDeadArgumentElimination.cpp246 Args.assign(CS.arg_begin(), CS.arg_begin() + NumArgs); in DeleteDeadVarargs()
296 for (Function::arg_iterator I = Fn.arg_begin(), E = Fn.arg_end(), in DeleteDeadVarargs()
297 I2 = NF->arg_begin(); I != E; ++I, ++I2) { in DeleteDeadVarargs()
354 for (Function::arg_iterator I = Fn.arg_begin(), E = Fn.arg_end(); in RemoveDeadArgumentsFromCallers()
640 for (Function::const_arg_iterator AI = F.arg_begin(), in SurveyFunction()
757 for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(); in RemoveDeadStuffFromFunction()
918 CallSite::arg_iterator I = CS.arg_begin(); in RemoveDeadStuffFromFunction()
1035 for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(), in RemoveDeadStuffFromFunction()
1036 I2 = NF->arg_begin(); I != E; ++I, ++i) in RemoveDeadStuffFromFunction()
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h399 arg_range arguments() { return arg_range(arg_begin(), arg_end()); } in arguments()
401 return arg_const_range(arg_begin(), arg_end()); in arguments()
404 const_arg_iterator arg_begin() const { return getArgsBuffer() + 1; } in arg_begin() function
406 arg_iterator arg_begin() { return getArgsBuffer() + 1; } in arg_begin() function
/external/llvm/examples/ParallelJIT/
DParallelJIT.cpp51 assert(Add1F->arg_begin() != Add1F->arg_end()); // Make sure there's an arg in createAdd1()
52 Argument *ArgX = Add1F->arg_begin(); // Get the arg in createAdd1()
82 Argument *ArgX = FibF->arg_begin(); // Get the arg. in CreateFibFunction()
/external/llvm/lib/ExecutionEngine/Orc/
DCloneSubModule.cpp19 Function::arg_iterator DestI = New.arg_begin(); in copyFunctionBody()
20 for (Function::const_arg_iterator J = Orig.arg_begin(); J != Orig.arg_end(); in copyFunctionBody()
/external/clang/include/clang/Lex/
DMacroInfo.h179 arg_iterator arg_begin() const { return ArgumentList; } in arg_begin() function
186 for (arg_iterator I = arg_begin(), E = arg_end(); I != E; ++I) in getArgumentNum()
187 if (*I == Arg) return I-arg_begin(); in getArgumentNum()
/external/llvm/lib/Transforms/Utils/
DCloneModule.cpp95 Function::arg_iterator DestI = F->arg_begin(); in CloneModule()
96 for (Function::const_arg_iterator J = I->arg_begin(); J != I->arg_end(); in CloneModule()
DCloneFunction.cpp87 for (Function::const_arg_iterator I = OldFunc->arg_begin(), in CloneFunctionInto()
222 for (Function::const_arg_iterator I = F->arg_begin(), E = F->arg_end(); in CloneFunction()
235 Function::arg_iterator DestI = NewF->arg_begin(); in CloneFunction()
236 for (Function::const_arg_iterator I = F->arg_begin(), E = F->arg_end(); in CloneFunction()
487 for (Function::const_arg_iterator II = OldFunc->arg_begin(), in CloneAndPruneIntoFromInst()
DInstructionNamer.cpp35 for (Function::arg_iterator AI = F.arg_begin(), AE = F.arg_end(); in runOnFunction()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTestBase.h73 Function::arg_iterator arg_iter = Result->arg_begin(); in insertSimpleCallFunction()
100 Function::arg_iterator args = Result->arg_begin();
173 Value *Param = Result->arg_begin();
/external/clang/lib/Lex/
DMacroInfo.cpp86 for (arg_iterator I = arg_begin(), OI = Other.arg_begin(), E = arg_end(); in isIdenticalTo()
/external/llvm/lib/Transforms/ObjCARC/
DDependencyAnalysis.cpp57 for (ImmutableCallSite::arg_iterator I = CS.arg_begin(), E = CS.arg_end(); in CanAlterRefCount()
104 for (ImmutableCallSite::arg_iterator OI = CS.arg_begin(), in CanUse()
/external/llvm/lib/Transforms/Scalar/
DTailRecursionElimination.cpp484 for (Function::arg_iterator AI = F->arg_begin(); &*AI != Arg; ++AI) in isDynamicConstant()
601 CallSite::arg_iterator I = CallSite(CI).arg_begin(), in FindTRECandidate()
603 Function::arg_iterator FI = F->arg_begin(), in FindTRECandidate()
705 for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(); in EliminateRecursiveTailCall()

1234567