Home
last modified time | relevance | path

Searched refs:PointerArg (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/llvm/unittests/Analysis/
DMemorySSATest.cpp87 Argument *PointerArg = &*F->arg_begin(); in TEST_F() local
88 B.CreateStore(B.getInt8(16), PointerArg); in TEST_F()
97 LoadInst *LoadInst = B.CreateLoad(B.getInt8Ty(), PointerArg); in TEST_F()
125 Argument *PointerArg = &*F->arg_begin(); in TEST_F() local
136 StoreInst *EntryStore = B.CreateStore(B.getInt8(16), PointerArg); in TEST_F()
143 LoadInst *FirstLoad = B.CreateLoad(B.getInt8Ty(), PointerArg); in TEST_F()
160 StoreInst *LeftStore = B.CreateStore(B.getInt8(16), PointerArg); in TEST_F()
171 LoadInst *SecondLoad = B.CreateLoad(B.getInt8Ty(), PointerArg); in TEST_F()
185 StoreInst *SecondEntryStore = B.CreateStore(B.getInt8(16), PointerArg); in TEST_F()
215 Argument *PointerArg = &*F->arg_begin(); in TEST_F() local
[all …]
/external/llvm/unittests/Transforms/Utils/
DMemorySSA.cpp82 Argument *PointerArg = &*F->arg_begin(); in TEST_F() local
83 StoreInst *StoreInst = B.CreateStore(B.getInt8(16), PointerArg); in TEST_F()
91 LoadInst *LoadInst = B.CreateLoad(PointerArg); in TEST_F()
123 Argument *PointerArg = &*F->arg_begin(); in TEST_F() local
124 StoreInst *StoreInst = B.CreateStore(B.getInt8(16), PointerArg); in TEST_F()
128 LoadInst *LoadInst = B.CreateLoad(PointerArg); in TEST_F()
166 Argument *PointerArg = &*F->arg_begin(); in TEST_F() local
167 StoreInst *StoreInst = B.CreateStore(B.getInt8(16), PointerArg); in TEST_F()
171 LoadInst *LoadInst = B.CreateLoad(PointerArg); in TEST_F()
/external/llvm-project/llvm/unittests/Transforms/Utils/
DFunctionComparatorTest.cpp33 Argument *PointerArg = &*F->arg_begin(); in TestFunction() local
34 LoadInst *LoadInst = B.CreateLoad(T, PointerArg); in TestFunction()
/external/clang/lib/Sema/
DSemaChecking.cpp1276 Expr *PointerArg = TheCall->getArg(IsLdrex ? 0 : 1); in CheckARMBuiltinExclusiveCall() local
1277 ExprResult PointerArgRes = DefaultFunctionArrayLvalueConversion(PointerArg); in CheckARMBuiltinExclusiveCall()
1280 PointerArg = PointerArgRes.get(); in CheckARMBuiltinExclusiveCall()
1282 const PointerType *pointerType = PointerArg->getType()->getAs<PointerType>(); in CheckARMBuiltinExclusiveCall()
1285 << PointerArg->getType() << PointerArg->getSourceRange(); in CheckARMBuiltinExclusiveCall()
1302 << PointerArg->getType() in CheckARMBuiltinExclusiveCall()
1304 << AA_Passing << PointerArg->getSourceRange(); in CheckARMBuiltinExclusiveCall()
1309 PointerArgRes = ImpCastExprToType(PointerArg, AddrType, CastNeeded); in CheckARMBuiltinExclusiveCall()
1312 PointerArg = PointerArgRes.get(); in CheckARMBuiltinExclusiveCall()
1314 TheCall->setArg(IsLdrex ? 0 : 1, PointerArg); in CheckARMBuiltinExclusiveCall()
[all …]
DSemaTemplateDeduction.cpp1246 if (const PointerType *PointerArg = Arg->getAs<PointerType>()) { in DeduceTemplateArgumentsByTypeMatch() local
1247 PointeeType = PointerArg->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
1248 } else if (const ObjCObjectPointerType *PointerArg in DeduceTemplateArgumentsByTypeMatch() local
1250 PointeeType = PointerArg->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
/external/llvm-project/clang/lib/Sema/
DSemaChecking.cpp2322 Expr *PointerArg = TheCall->getArg(IsLdrex ? 0 : 1); in CheckARMBuiltinExclusiveCall() local
2323 ExprResult PointerArgRes = DefaultFunctionArrayLvalueConversion(PointerArg); in CheckARMBuiltinExclusiveCall()
2326 PointerArg = PointerArgRes.get(); in CheckARMBuiltinExclusiveCall()
2328 const PointerType *pointerType = PointerArg->getType()->getAs<PointerType>(); in CheckARMBuiltinExclusiveCall()
2331 << PointerArg->getType() << PointerArg->getSourceRange(); in CheckARMBuiltinExclusiveCall()
2348 << PointerArg->getType() << Context.getPointerType(AddrType) in CheckARMBuiltinExclusiveCall()
2349 << AA_Passing << PointerArg->getSourceRange(); in CheckARMBuiltinExclusiveCall()
2354 PointerArgRes = ImpCastExprToType(PointerArg, AddrType, CastNeeded); in CheckARMBuiltinExclusiveCall()
2357 PointerArg = PointerArgRes.get(); in CheckARMBuiltinExclusiveCall()
2359 TheCall->setArg(IsLdrex ? 0 : 1, PointerArg); in CheckARMBuiltinExclusiveCall()
[all …]
DSemaTemplateDeduction.cpp1688 if (const PointerType *PointerArg = Arg->getAs<PointerType>()) { in DeduceTemplateArgumentsByTypeMatch() local
1689 PointeeType = PointerArg->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
1690 } else if (const ObjCObjectPointerType *PointerArg in DeduceTemplateArgumentsByTypeMatch() local
1692 PointeeType = PointerArg->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
/external/fmtlib/test/
Dcore-test.cc360 TEST(ArgTest, PointerArg) { in TEST() argument