| /llvm-project-15.0.7/llvm/lib/TableGen/ |
| H A D | SetTheory.cpp | 41 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts, Loc); in apply() 53 ST.evaluate(*Expr->arg_begin(), Add, Loc); in apply() 54 ST.evaluate(Expr->arg_begin() + 1, Expr->arg_end(), Sub, Loc); in apply() 69 ST.evaluate(Expr->arg_begin()[0], S1, Loc); in apply() 70 ST.evaluate(Expr->arg_begin()[1], S2, Loc); in apply() 88 ST.evaluate(Expr->arg_begin()[0], Set, Loc); in apply() 89 IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[1]); in apply() 184 if (IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[3])) { in apply() 192 if (StringInit *SI = dyn_cast<StringInit>(Expr->arg_begin()[0])) in apply() 198 if (IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[1])) in apply() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | UseTest.cpp | 42 ASSERT_TRUE(F->arg_begin() != F->arg_end()); in TEST() 43 Argument &X = *F->arg_begin(); in TEST() 87 ASSERT_TRUE(F->arg_begin() != F->arg_end()); in TEST() 88 Argument &X = *F->arg_begin(); in TEST()
|
| H A D | UserTest.cpp | 133 EXPECT_TRUE(F->arg_begin() != F->arg_end()); in TEST() 138 Argument &X = *F->arg_begin(); in TEST()
|
| H A D | ValueTest.cpp | 43 EXPECT_TRUE(std::next(F->arg_begin())->isUsedInBasicBlock(&F->front())); in TEST() 44 EXPECT_TRUE(F->arg_begin()->isUsedInBasicBlock(&F->front())); in TEST()
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | DivergenceAnalysisTest.cpp | 98 Argument &arg = *F->arg_begin(); in TEST_F() 141 auto ItArg = F->arg_begin(); in TEST_F() 195 auto ItArg = F->arg_begin(); in TEST_F() 324 auto ItArg = F->arg_begin(); in TEST_F() 346 auto ItArg = F->arg_begin(); in TEST_F() 368 auto ItArg = F->arg_begin(); in TEST_F() 412 auto &CondArg = *F->arg_begin(); in TEST_F()
|
| H A D | BasicAliasAnalysisTest.cpp | 81 Value *IncomingI32Ptr = F->arg_begin(); in TEST_F() 115 Value *ArbitraryI32 = F->arg_begin(); in TEST_F() 141 Value *Ptr = F->arg_begin(); in TEST_F() 142 Value *I = F->arg_begin() + 1; in TEST_F() 182 Value *Ptr = F->arg_begin(); in TEST_F() 183 Value *I = F->arg_begin() + 1; in TEST_F()
|
| H A D | LoadsTest.cpp | 89 Value *P = &*F->arg_begin(); in TEST() 91 Value *ConstDerefPtr = *cast<CallInst>(&*InstIter)->arg_begin(); in TEST() 97 Value *ConstUnDerefPtr = *cast<CallInst>(&*InstIter)->arg_begin(); in TEST()
|
| H A D | SparsePropagation.cpp | 380 F->arg_begin()->setName("cond"); in TEST_F() 382 LoadInst *Cond = Builder.CreateLoad(Type::getInt1Ty(Context), F->arg_begin()); in TEST_F() 420 F->arg_begin()->setName("cond"); in TEST_F() 422 LoadInst *Cond = Builder.CreateLoad(Type::getInt1Ty(Context), F->arg_begin()); in TEST_F() 463 Argument *A = G->arg_begin(); in TEST_F() 464 Argument *B = std::next(G->arg_begin()); in TEST_F()
|
| H A D | CaptureTrackingTest.cpp | 57 Value *Arg = &*F->arg_begin(); in TEST() 104 Value *Arg = &*F->arg_begin(); in TEST()
|
| H A D | ScalarEvolutionTest.cpp | 363 Value *X = &*F->arg_begin(); in TEST_F() 364 Value *Y = &*std::next(F->arg_begin()); in TEST_F() 400 Argument *A1 = &*F->arg_begin(); in TEST_F() 401 Argument *A2 = &*(std::next(F->arg_begin())); in TEST_F() 423 Argument *A3 = &*(std::next(F->arg_begin(), 2)); in TEST_F() 424 Argument *A4 = &*(std::next(F->arg_begin(), 3)); in TEST_F() 848 Argument *Arg = &*F->arg_begin(); in TEST_F() 994 auto *Arg = &*(F->arg_begin()); in TEST_F() 1022 auto *Arg = &*(F->arg_begin()); in TEST_F() 1060 Argument *A = &*F->arg_begin(); in TEST_F() [all …]
|
| H A D | MemorySSATest.cpp | 89 Argument *PointerArg = &*F->arg_begin(); in TEST_F() 127 Argument *PointerArg = &*F->arg_begin(); in TEST_F() 217 Argument *PointerArg = &*F->arg_begin(); in TEST_F() 261 Argument *PointerArg = &*F->arg_begin(); in TEST_F() 309 Argument *PointerArg = &*F->arg_begin(); in TEST_F() 904 Argument *FirstArg = &*F->arg_begin(); in TEST_F() 1107 auto *ArgIt = F->arg_begin(); in TEST_F() 1150 auto *ArgIt = F->arg_begin(); in TEST_F() 1237 Value *Foo = &*F->arg_begin(); in TEST_F() 1615 Value *Pointer1 = &*F->arg_begin(); in TEST_F() [all …]
|
| H A D | ValueTrackingTest.cpp | 2078 Value *Stride = &*F->arg_begin(); in TEST_F() 2111 Value *Stride = &*F->arg_begin(); in TEST_F() 2149 Value *Stride = &*F->arg_begin(); in TEST_F() 2181 Value *Stride = &*F->arg_begin(); in TEST_F() 2208 Value *X1 = &*(F->arg_begin()); in TEST_F() 2209 Value *X2 = &*std::next(F->arg_begin()); in TEST_F() 2241 Value *X2 = &*std::next(F->arg_begin()); in TEST_F()
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/Utils/ |
| H A D | IntegerDivisionTest.cpp | 36 Function::arg_iterator AI = F->arg_begin(); in TEST() 66 Function::arg_iterator AI = F->arg_begin(); in TEST() 96 Function::arg_iterator AI = F->arg_begin(); in TEST() 126 Function::arg_iterator AI = F->arg_begin(); in TEST() 157 Function::arg_iterator AI = F->arg_begin(); in TEST() 187 Function::arg_iterator AI = F->arg_begin(); in TEST() 217 Function::arg_iterator AI = F->arg_begin(); in TEST() 247 Function::arg_iterator AI = F->arg_begin(); in TEST()
|
| H A D | ValueMapperTest.cpp | 273 Argument &A = *F->arg_begin(); in TEST() 292 Argument &A = *F->arg_begin(); in TEST() 334 Argument &A = *F->arg_begin(); in TEST() 386 Argument &A = *F->arg_begin(); in TEST()
|
| H A D | SSAUpdaterBulkTest.cpp | 46 Argument *FirstArg = &*(F->arg_begin()); in TEST() 133 Argument *FirstArg = &*F->arg_begin(); in TEST()
|
| /llvm-project-15.0.7/llvm/examples/HowToUseLLJIT/ |
| H A D | HowToUseLLJIT.cpp | 64 assert(Add1F->arg_begin() != Add1F->arg_end()); // Make sure there's an arg in createDemoModule() 65 Argument *ArgX = &*Add1F->arg_begin(); // Get the arg in createDemoModule()
|
| /llvm-project-15.0.7/llvm/examples/HowToUseJIT/ |
| H A 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()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | DeadArgumentElimination.cpp | 182 Args.assign(CB->arg_begin(), CB->arg_begin() + NumArgs); in deleteDeadVarargs() 230 for (Function::arg_iterator I = F.arg_begin(), E = F.arg_end(), in deleteDeadVarargs() 231 I2 = NF->arg_begin(); in deleteDeadVarargs() 614 for (Function::const_arg_iterator AI = F.arg_begin(), E = F.arg_end(); in surveyFunction() 745 for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(); I != E; in removeDeadStuffFromFunction() 884 auto *I = CB.arg_begin(); in removeDeadStuffFromFunction() 1004 for (Function::arg_iterator I = F->arg_begin(), E = F->arg_end(), in removeDeadStuffFromFunction() 1005 I2 = NF->arg_begin(); in removeDeadStuffFromFunction()
|
| /llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ |
| H A D | ReduceArguments.cpp | 37 for (auto ArgI = CI->arg_begin(), E = CI->arg_end(); ArgI != E; ++ArgI) in replaceFunctionCalls() 38 if (ArgIndexesToKeep.count(ArgI - CI->arg_begin())) in replaceFunctionCalls()
|
| /llvm-project-15.0.7/llvm/examples/ParallelJIT/ |
| H A D | ParallelJIT.cpp | 67 assert(Add1F->arg_begin() != Add1F->arg_end()); // Make sure there's an arg in createAdd1() 68 Argument *ArgX = &*Add1F->arg_begin(); // Get the arg in createAdd1() 98 Argument *ArgX = &*FibF->arg_begin(); // Get the arg. in CreateFibFunction()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Function.h | 741 arg_iterator arg_begin() { in arg_begin() function 745 const_arg_iterator arg_begin() const { in arg_begin() function 766 return make_range(arg_begin(), arg_end()); in args() 769 return make_range(arg_begin(), arg_end()); in args()
|
| /llvm-project-15.0.7/llvm/tools/opt/ |
| H A D | AnalysisWrappers.cpp | 46 for (auto AI = CB->arg_begin(), E = CB->arg_end(); AI != E; ++AI) { in runOnModule()
|
| /llvm-project-15.0.7/clang/include/clang/CodeGen/ |
| H A D | CGFunctionInfo.h | 643 return MutableArrayRef<ArgInfo>(arg_begin(), NumArgs); in arguments() 646 return ArrayRef<ArgInfo>(arg_begin(), NumArgs); in arguments() 649 const_arg_iterator arg_begin() const { return getArgsBuffer() + 1; } in arg_begin() function 651 arg_iterator arg_begin() { return getArgsBuffer() + 1; } in arg_begin() function
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | LoopGeneratorsGOMP.cpp | 68 SubFn->arg_begin()->setName("polly.par.userContext"); in prepareSubFnDefinition() 132 &*SubFn->arg_begin(), StructData->getType(), "polly.par.userContext"); in createSubFn()
|
| /llvm-project-15.0.7/llvm/unittests/Frontend/ |
| H A D | OpenMPIRBuilderTest.cpp | 614 Builder.CreateStore(F->arg_begin(), PrivAI); in TEST_F() 631 EXPECT_EQ(&Orig, F->arg_begin()); in TEST_F() 693 EXPECT_EQ(StoredValue, F->arg_begin()); in TEST_F() 922 Builder.CreateStore(F->arg_begin(), PrivAI); in TEST_F() 939 EXPECT_EQ(&Orig, F->arg_begin()); in TEST_F() 1010 EXPECT_EQ(StoredForkArg, F->arg_begin()); in TEST_F() 1018 EXPECT_EQ(StoredDirectArg, F->arg_begin()); in TEST_F() 2339 Builder.CreateStore(F->arg_begin(), PrivAI); in TEST_F() 2416 Builder.CreateStore(F->arg_begin(), PrivAI); in TEST_F() 2494 Builder.CreateStore(F->arg_begin(), PrivAI); in TEST_F() [all …]
|