/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | CallSite.h | 113 assert(arg_begin() + ArgNo < arg_end() && "Argument # out of range!"); in getArgument() 114 return *(arg_begin() + ArgNo); in getArgument() 119 assert(arg_begin() + ArgNo < arg_end() && "Argument # out of range!"); in setArgument() 127 assert(arg_begin() <= &I.getUse() && &I.getUse() < arg_end() in getArgumentNo() 129 return &I.getUse() - arg_begin(); in getArgumentNo() 138 IterTy arg_begin() const { in arg_begin() function 145 bool arg_empty() const { return arg_end() == arg_begin(); } in arg_empty() 146 unsigned arg_size() const { return unsigned(arg_end() - arg_begin()); } in arg_size() 243 for (arg_iterator AI = this->arg_begin(), E = this->arg_end(); AI != E; in hasArgument()
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | SetTheory.cpp | 31 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts); in apply() 42 ST.evaluate(*Expr->arg_begin(), Add); in apply() 43 ST.evaluate(Expr->arg_begin() + 1, Expr->arg_end(), Sub); in apply() 56 ST.evaluate(Expr->arg_begin()[0], S1); in apply() 57 ST.evaluate(Expr->arg_begin()[1], S2); in apply() 74 ST.evaluate(Expr->arg_begin()[0], Set); in apply() 75 IntInit *II = dynamic_cast<IntInit*>(Expr->arg_begin()[1]); in apply() 149 if (StringInit *SI = dynamic_cast<StringInit*>(Expr->arg_begin()[0])) in apply() 155 if (IntInit *II = dynamic_cast<IntInit*>(Expr->arg_begin()[1])) in apply() 162 if (IntInit *II = dynamic_cast<IntInit*>(Expr->arg_begin()[2])) in apply()
|
/external/llvm/include/llvm/IR/ |
D | CallSite.h | 130 return arg_begin() <= U && U < arg_end(); in isArgOperand() 159 assert(arg_begin() + ArgNo < arg_end() && "Argument # out of range!"); in getArgument() 160 return *(arg_begin() + ArgNo); in getArgument() 165 assert(arg_begin() + ArgNo < arg_end() && "Argument # out of range!"); in setArgument() 180 return U - arg_begin(); in getArgumentNo() 188 return make_range(arg_begin(), arg_end()); in args() 190 bool arg_empty() const { return arg_end() == arg_begin(); } in arg_empty() 191 unsigned arg_size() const { return unsigned(arg_end() - arg_begin()); } in arg_size() 512 IterTy arg_begin() const { in arg_begin() function 513 CALLSITE_DELEGATE_GETTER(arg_begin()); in arg_begin() [all …]
|
D | Statepoint.h | 159 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() 271 (void)arg_begin(); in verify() 376 return *(CS.arg_begin() + getBasePtrIndex()); in getBasePtr() 381 return *(CS.arg_begin() + getDerivedPtrIndex()); in getDerivedPtr()
|
/external/llvm/lib/TableGen/ |
D | SetTheory.cpp | 32 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/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/ |
D | SetTheory.cpp | 43 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts, Loc); in apply() 55 ST.evaluate(*Expr->arg_begin(), Add, Loc); in apply() 56 ST.evaluate(Expr->arg_begin() + 1, Expr->arg_end(), Sub, Loc); in apply() 71 ST.evaluate(Expr->arg_begin()[0], S1, Loc); in apply() 72 ST.evaluate(Expr->arg_begin()[1], S2, Loc); in apply() 90 ST.evaluate(Expr->arg_begin()[0], Set, Loc); in apply() 91 IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[1]); in apply() 186 if (IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[3])) { in apply() 194 if (StringInit *SI = dyn_cast<StringInit>(Expr->arg_begin()[0])) in apply() 200 if (IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[1])) in apply() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | CallSite.h | 158 return arg_begin() <= U && U < arg_end(); in isArgOperand() 187 assert(arg_begin() + ArgNo < arg_end() && "Argument # out of range!"); in getArgument() 188 return *(arg_begin() + ArgNo); in getArgument() 193 assert(arg_begin() + ArgNo < arg_end() && "Argument # out of range!"); in setArgument() 208 return U - arg_begin(); in getArgumentNo() 216 return make_range(arg_begin(), arg_end()); in args() 218 bool arg_empty() const { return arg_end() == arg_begin(); } in arg_empty() 219 unsigned arg_size() const { return unsigned(arg_end() - arg_begin()); } in arg_size() 571 IterTy arg_begin() const { in arg_begin() function 572 CALLSITE_DELEGATE_GETTER(arg_begin()); in arg_begin() [all …]
|
D | Statepoint.h | 179 typename CallSiteTy::arg_iterator arg_begin() const { in arg_begin() function 181 return getCallSite().arg_begin() + CallArgsBeginPos; in arg_begin() 184 auto I = arg_begin() + arg_size(); in arg_end() 191 return *(arg_begin() + Index); in getArgument() 196 return make_range(arg_begin(), arg_end()); in call_args() 291 (void)arg_begin(); in verify() 399 return *(CS.arg_begin() + getBasePtrIndex()); in getBasePtr() 404 return *(CS.arg_begin() + getDerivedPtrIndex()); in getDerivedPtr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | UseTest.cpp | 43 ASSERT_TRUE(F->arg_begin() != F->arg_end()); in TEST() 44 Argument &X = *F->arg_begin(); in TEST() 88 ASSERT_TRUE(F->arg_begin() != F->arg_end()); in TEST() 89 Argument &X = *F->arg_begin(); in TEST()
|
/external/llvm/unittests/IR/ |
D | UseTest.cpp | 44 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()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 42 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/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 42 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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 42 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() 321 ReplaceCallWith(Fname, CI, CS.arg_begin(), CS.arg_end(), in ReplaceFPIntrinsicWithCall() 325 ReplaceCallWith(Dname, CI, CS.arg_begin(), CS.arg_end(), in ReplaceFPIntrinsicWithCall() 331 ReplaceCallWith(LDname, CI, CS.arg_begin(), CS.arg_end(), in ReplaceFPIntrinsicWithCall() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/ |
D | IntegerDivision.cpp | 37 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()
|
/external/llvm/unittests/Transforms/Utils/ |
D | IntegerDivision.cpp | 37 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()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | BuiltinFunctionChecker.cpp | 52 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/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 231 Args.assign(CS.arg_begin(), CS.arg_begin() + NumArgs); in DeleteDeadVarargs() 280 for (Function::arg_iterator I = Fn.arg_begin(), E = Fn.arg_end(), in DeleteDeadVarargs() 281 I2 = NF->arg_begin(); I != E; ++I, ++I2) { in DeleteDeadVarargs() 308 for (Function::arg_iterator I = Fn.arg_begin(), E = Fn.arg_end(); in RemoveDeadArgumentsFromCallers() 559 for (Function::const_arg_iterator AI = F.arg_begin(), in SurveyFunction() 734 for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(); in RemoveDeadStuffFromFunction() 796 CallSite::arg_iterator I = CS.arg_begin(); in RemoveDeadStuffFromFunction() 900 for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(), in RemoveDeadStuffFromFunction() 901 I2 = NF->arg_begin(); I != E; ++I, ++i) in RemoveDeadStuffFromFunction()
|
/external/swiftshader/third_party/LLVM/examples/HowToUseJIT/ |
D | HowToUseJIT.cpp | 81 assert(Add1F->arg_begin() != Add1F->arg_end()); // Make sure there's an arg in main() 82 Argument *ArgX = Add1F->arg_begin(); // Get the arg in main()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | InlineCost.cpp | 255 for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(); I != E; ++I) in analyzeFunction() 290 for (Function::arg_iterator I = Callee->arg_begin(), E = Callee->arg_end(); in getSpecializationBonus() 388 CallSite::arg_iterator I = CS.arg_begin(); in getInlineSize() 389 for (Function::arg_iterator FI = Callee->arg_begin(), FE = Callee->arg_end(); in getInlineSize() 460 CallSite::arg_iterator I = CS.arg_begin(); in getInlineBonuses() 461 for (Function::arg_iterator FI = Callee->arg_begin(), FE = Callee->arg_end(); in getInlineBonuses()
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/HowToUseJIT/ |
D | HowToUseJIT.cpp | 88 assert(Add1F->arg_begin() != Add1F->arg_end()); // Make sure there's an arg in main() 89 Argument *ArgX = &*Add1F->arg_begin(); // Get the arg in main()
|
/external/llvm/examples/HowToUseJIT/ |
D | HowToUseJIT.cpp | 90 assert(Add1F->arg_begin() != Add1F->arg_end()); // Make sure there's an arg in main() 91 Argument *ArgX = &*Add1F->arg_begin(); // Get the arg in main()
|
/external/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 166 Args.assign(CS.arg_begin(), CS.arg_begin() + NumArgs); in DeleteDeadVarargs() 219 for (Function::arg_iterator I = Fn.arg_begin(), E = Fn.arg_end(), in DeleteDeadVarargs() 220 I2 = NF->arg_begin(); I != E; ++I, ++I2) { in DeleteDeadVarargs() 575 for (Function::const_arg_iterator AI = F.arg_begin(), in SurveyFunction() 693 for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(); in RemoveDeadStuffFromFunction() 847 CallSite::arg_iterator I = CS.arg_begin(); in RemoveDeadStuffFromFunction() 966 for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(), in RemoveDeadStuffFromFunction() 967 I2 = NF->arg_begin(); I != E; ++I, ++i) in RemoveDeadStuffFromFunction()
|
D | IPConstantPropagation.cpp | 76 CallSite::arg_iterator AI = CS.arg_begin(); in PropagateConstantsIntoArguments() 77 Function::arg_iterator Arg = F.arg_begin(); in PropagateConstantsIntoArguments() 105 Function::arg_iterator AI = F.arg_begin(); in PropagateConstantsIntoArguments()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 185 Args.assign(CS.arg_begin(), CS.arg_begin() + NumArgs); in DeleteDeadVarargs() 236 for (Function::arg_iterator I = Fn.arg_begin(), E = Fn.arg_end(), in DeleteDeadVarargs() 237 I2 = NF->arg_begin(); I != E; ++I, ++I2) { in DeleteDeadVarargs() 624 for (Function::const_arg_iterator AI = F.arg_begin(), in SurveyFunction() 749 for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(); in RemoveDeadStuffFromFunction() 889 CallSite::arg_iterator I = CS.arg_begin(); in RemoveDeadStuffFromFunction() 1012 for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(), in RemoveDeadStuffFromFunction() 1013 I2 = NF->arg_begin(); I != E; ++I, ++i) in RemoveDeadStuffFromFunction()
|
/external/llvm/lib/Analysis/ |
D | AliasAnalysis.cpp | 153 for (auto AI = CS.arg_begin(), AE = CS.arg_end(); AI != AE; ++AI) { in getModRefInfo() 157 unsigned ArgIdx = std::distance(CS.arg_begin(), AI); in getModRefInfo() 222 for (auto I = CS2.arg_begin(), E = CS2.arg_end(); I != E; ++I) { in getModRefInfo() 226 unsigned CS2ArgIdx = std::distance(CS2.arg_begin(), I); in getModRefInfo() 252 for (auto I = CS1.arg_begin(), E = CS1.arg_end(); I != E; ++I) { in getModRefInfo() 256 unsigned CS1ArgIdx = std::distance(CS1.arg_begin(), I); in getModRefInfo()
|