Home
last modified time | relevance | path

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

123456

/external/llvm/include/llvm/IR/
DCallSite.h122 assert(arg_begin() + ArgNo < arg_end() && "Argument # out of range!"); in getArgument()
123 return *(arg_begin() + ArgNo); in getArgument()
128 assert(arg_begin() + ArgNo < arg_end() && "Argument # out of range!"); in setArgument()
142 assert(arg_begin() <= U && U < arg_end() in getArgumentNo()
144 return U - arg_begin(); in getArgumentNo()
152 return make_range(arg_begin(), arg_end()); in args()
154 bool arg_empty() const { return arg_end() == arg_begin(); } in arg_empty()
155 unsigned arg_size() const { return unsigned(arg_end() - arg_begin()); } in arg_size()
381 IterTy arg_begin() const { in arg_begin() function
382 CALLSITE_DELEGATE_GETTER(arg_begin()); in arg_begin()
[all …]
DStatepoint.h159 typename CallSiteTy::arg_iterator arg_begin() const { in arg_begin() function
161 return getCallSite().arg_begin() + CallArgsBeginPos; in arg_begin()
164 auto I = arg_begin() + arg_size(); in arg_end()
171 return *(arg_begin() + Index); in getArgument()
176 return make_range(arg_begin(), arg_end()); in call_args()
272 (void)arg_begin(); in verify()
369 return *(CS.arg_begin() + getBasePtrIndex()); in getBasePtr()
374 return *(CS.arg_begin() + getDerivedPtrIndex()); in getDerivedPtr()
DFunction.h490 arg_iterator arg_begin() {
494 const_arg_iterator arg_begin() const {
508 return make_range(arg_begin(), arg_end());
512 return make_range(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.cpp43 EXPECT_TRUE((++F->arg_begin())->isUsedInBasicBlock(&F->front())); in TEST()
44 EXPECT_TRUE(F->arg_begin()->isUsedInBasicBlock(&F->front())); 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", F.arg_begin(), F.arg_end(), in AddPrototypes()
106 EnsureFunctionExists(M, "longjmp", F.arg_begin(), F.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.cpp52 assert (CE->arg_begin() != CE->arg_end()); in evalCall()
53 SVal X = state->getSVal(*(CE->arg_begin()), LCtx); in evalCall()
68 state->getSVal(*(CE->arg_begin()), LCtx).castAs<DefinedOrUnknownSVal>(); in evalCall()
/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()
641 for (Function::const_arg_iterator AI = F.arg_begin(), in SurveyFunction()
758 for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(); in RemoveDeadStuffFromFunction()
910 CallSite::arg_iterator I = CS.arg_begin(); in RemoveDeadStuffFromFunction()
1026 for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(), in RemoveDeadStuffFromFunction()
1027 I2 = NF->arg_begin(); I != E; ++I, ++i) in RemoveDeadStuffFromFunction()
/external/llvm/examples/ParallelJIT/
DParallelJIT.cpp52 assert(Add1F->arg_begin() != Add1F->arg_end()); // Make sure there's an arg in createAdd1()
53 Argument *ArgX = &*Add1F->arg_begin(); // Get the arg in createAdd1()
83 Argument *ArgX = &*FibF->arg_begin(); // Get the arg. in CreateFibFunction()
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h401 arg_range arguments() { return arg_range(arg_begin(), arg_end()); } in arguments()
403 return arg_const_range(arg_begin(), arg_end()); in arguments()
406 const_arg_iterator arg_begin() const { return getArgsBuffer() + 1; } in arg_begin() function
408 arg_iterator arg_begin() { return getArgsBuffer() + 1; } in arg_begin() function
/external/llvm/include/llvm/Analysis/
DAliasAnalysis.h826 for (ImmutableCallSite::arg_iterator AI = CS.arg_begin(), in getModRefInfo()
832 unsigned ArgIdx = std::distance(CS.arg_begin(), AI); in getModRefInfo()
890 for (ImmutableCallSite::arg_iterator I = CS2.arg_begin(), in getModRefInfo()
896 unsigned CS2ArgIdx = std::distance(CS2.arg_begin(), I); in getModRefInfo()
924 for (ImmutableCallSite::arg_iterator I = CS1.arg_begin(), in getModRefInfo()
930 unsigned CS1ArgIdx = std::distance(CS1.arg_begin(), I); in getModRefInfo()
/external/llvm/lib/Transforms/Utils/
DCloneModule.cpp132 Function::arg_iterator DestI = F->arg_begin(); in CloneModule()
133 for (Function::const_arg_iterator J = I->arg_begin(); J != I->arg_end(); in CloneModule()
DInstructionNamer.cpp35 for (Function::arg_iterator AI = F.arg_begin(), AE = F.arg_end(); in runOnFunction()
/external/clang/include/clang/Lex/
DMacroInfo.h177 arg_iterator arg_begin() const { return ArgumentList; } in arg_begin() function
187 for (arg_iterator I = arg_begin(), E = arg_end(); I != E; ++I) in getArgumentNum()
189 return I - arg_begin(); in getArgumentNum()
/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/clang/lib/Lex/
DMacroInfo.cpp86 for (arg_iterator I = arg_begin(), OI = Other.arg_begin(), E = arg_end(); in isIdenticalTo()
/external/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp125 auto NewArgI = NewF->arg_begin(); in cloneFunctionDecl()
126 for (auto ArgI = F.arg_begin(), ArgE = F.arg_end(); ArgI != ArgE; in cloneFunctionDecl()
/external/llvm/lib/Transforms/Scalar/
DTailRecursionElimination.cpp491 for (Function::arg_iterator AI = F->arg_begin(); &*AI != Arg; ++AI) in isDynamicConstant()
607 CallSite::arg_iterator I = CallSite(CI).arg_begin(), in FindTRECandidate()
609 Function::arg_iterator FI = F->arg_begin(), in FindTRECandidate()
711 for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(); in EliminateRecursiveTailCall()
/external/llvm/tools/opt/
DAnalysisWrappers.cpp47 for (CallSite::arg_iterator AI = CS.arg_begin(), in runOnModule()
/external/clang/lib/CodeGen/
DCGVTables.cpp171 llvm::Function::arg_iterator AI = Fn->arg_begin(); in GenerateVarArgsThunk()
306 assert(similar(CallFnInfo.arg_begin()[i].info, in EmitCallAndReturnForThunk()
307 CallFnInfo.arg_begin()[i].type, in EmitCallAndReturnForThunk()
308 CurFnInfo->arg_begin()[i].info, in EmitCallAndReturnForThunk()
309 CurFnInfo->arg_begin()[i].type)); in EmitCallAndReturnForThunk()
356 const ABIArgInfo &ThisAI = CurFnInfo->arg_begin()->info; in EmitMustTailThunk()

123456