Home
last modified time | relevance | path

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

1234567

/llvm-project-15.0.7/llvm/lib/TableGen/
H A DSetTheory.cpp41 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 DUseTest.cpp42 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 DUserTest.cpp133 EXPECT_TRUE(F->arg_begin() != F->arg_end()); in TEST()
138 Argument &X = *F->arg_begin(); in TEST()
H A DValueTest.cpp43 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 DDivergenceAnalysisTest.cpp98 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 DBasicAliasAnalysisTest.cpp81 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 DLoadsTest.cpp89 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 DSparsePropagation.cpp380 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 DCaptureTrackingTest.cpp57 Value *Arg = &*F->arg_begin(); in TEST()
104 Value *Arg = &*F->arg_begin(); in TEST()
H A DScalarEvolutionTest.cpp363 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 DMemorySSATest.cpp89 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 DValueTrackingTest.cpp2078 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 DIntegerDivisionTest.cpp36 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 DValueMapperTest.cpp273 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 DSSAUpdaterBulkTest.cpp46 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 DHowToUseLLJIT.cpp64 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 DHowToUseJIT.cpp90 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 DDeadArgumentElimination.cpp182 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 DReduceArguments.cpp37 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 DParallelJIT.cpp67 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 DFunction.h741 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 DAnalysisWrappers.cpp46 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 DCGFunctionInfo.h643 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 DLoopGeneratorsGOMP.cpp68 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 DOpenMPIRBuilderTest.cpp614 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 …]

1234567