Home
last modified time | relevance | path

Searched refs:VarRef (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/clang/tools/clang-fuzzer/proto-to-cxx/
Dloop_proto_to_cxx.cpp49 std::ostream &operator<<(std::ostream &os, const VarRef &x) { in operator <<()
52 case VarRef::ARR_A: in operator <<()
54 case VarRef::ARR_B: in operator <<()
56 case VarRef::ARR_C: in operator <<()
Dproto_to_cxx.cpp29 std::ostream &operator<<(std::ostream &os, const VarRef &x) { in operator <<()
/external/llvm-project/clang/tools/clang-fuzzer/
Dcxx_proto.proto17 message VarRef { message
22 required VarRef varref = 1;
53 VarRef varref = 1;
Dcxx_loop_proto.proto25 message VarRef { message
59 VarRef varref = 3;
64 required VarRef varref = 1;
/external/llvm-project/clang/tools/clang-fuzzer/proto-to-llvm/
Dloop_proto_to_llvm.cpp54 std::string VarRefToString(std::ostream &os, const VarRef &x) { in VarRefToString()
58 case VarRef::ARR_A: in VarRefToString()
61 case VarRef::ARR_B: in VarRefToString()
64 case VarRef::ARR_C: in VarRefToString()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DSimplifyBooleanExprCheck.cpp483 auto VarRef = declRefExpr(hasDeclaration(equalsBoundNode(IfAssignVarId))); in matchIfAssignsBool() local
493 binaryOperator(hasOperatorName("="), hasLHS(anyOf(VarRef, MemRef)), in matchIfAssignsBool()
/external/llvm-project/clang-tools-extra/clang-change-namespace/
DChangeNamespace.cpp580 } else if (const auto *VarRef = in run() local
589 llvm::cast<NamedDecl>(Var), VarRef); in run()
/external/clang/lib/Sema/
DSemaOpenMP.cpp1801 for (auto *VarRef : Clause->children()) { in ActOnOpenMPRegionEnd() local
1802 if (auto *E = cast_or_null<Expr>(VarRef)) { in ActOnOpenMPRegionEnd()
4763 BuildCounterInit(Sema &SemaRef, Scope *S, SourceLocation Loc, ExprResult VarRef, in BuildCounterInit() argument
4771 VarRef.get()->getType())) { in BuildCounterInit()
4773 NewStart.get(), VarRef.get()->getType(), Sema::AA_Converting, in BuildCounterInit()
4780 SemaRef.BuildBinOp(S, Loc, BO_Assign, VarRef.get(), NewStart.get()); in BuildCounterInit()
4787 ExprResult VarRef, ExprResult Start, ExprResult Iter, in BuildCounterUpdate() argument
4792 if (!VarRef.isUsable() || !Start.isUsable() || !Iter.isUsable() || in BuildCounterUpdate()
4817 if (VarRef.get()->getType()->isOverloadableType() || in BuildCounterUpdate()
4823 SemaRef.BuildBinOp(S, Loc, BO_Assign, VarRef.get(), NewStart.get()); in BuildCounterUpdate()
[all …]
/external/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp7163 const Expr *VarRef = nullptr; member
7173 const ValueDecl *Mapper = nullptr, const Expr *VarRef = nullptr, in MapInfo()
7178 Mapper(Mapper), VarRef(VarRef), ForDeviceAddr(ForDeviceAddr) {} in MapInfo()
8306 const Expr *VarRef = nullptr, bool ForDeviceAddr = false) { in generateAllInfo() argument
8312 ReturnDevicePointer, IsImplicit, Mapper, VarRef, in generateAllInfo()
8525 L.ForDeviceAddr, VD, L.VarRef); in generateAllInfo()
8643 L.ForDeviceAddr, VD, L.VarRef); in generateAllInfoForMapper()
8825 const Expr *VarRef; in generateInfoForCapture() local
8826 std::tie(Components, MapType, MapModifiers, IsImplicit, Mapper, VarRef) = in generateInfoForCapture()
8832 VarRef) = L1; in generateInfoForCapture()
[all …]
/external/llvm-project/clang/lib/Sema/
DSema.cpp1901 Expr *VarRef = in checkEscapingByref() local
1905 VarRef, /*AllowNRVO=*/true); in checkEscapingByref()
DSemaOpenMP.cpp4379 for (Stmt *VarRef : Clause->children()) { in ActOnOpenMPRegionEnd()
4380 if (auto *E = cast_or_null<Expr>(VarRef)) { in ActOnOpenMPRegionEnd()
7985 buildCounterInit(Sema &SemaRef, Scope *S, SourceLocation Loc, ExprResult VarRef, in buildCounterInit() argument
7995 VarRef.get()->getType())) { in buildCounterInit()
7997 NewStart.get(), VarRef.get()->getType(), Sema::AA_Converting, in buildCounterInit()
8004 SemaRef.BuildBinOp(S, Loc, BO_Assign, VarRef.get(), NewStart.get()); in buildCounterInit()
8010 Sema &SemaRef, Scope *S, SourceLocation Loc, ExprResult VarRef, in buildCounterUpdate() argument
8016 if (!VarRef.isUsable() || !Start.isUsable() || !Iter.isUsable() || in buildCounterUpdate()
8045 if (VarRef.get()->getType()->isOverloadableType() || in buildCounterUpdate()
8051 SemaRef.BuildBinOp(S, Loc, BO_Assign, VarRef.get(), NewStart.get()); in buildCounterUpdate()
[all …]
DSemaExpr.cpp13348 auto* VarRef = dyn_cast<DeclRefExpr>(op); in CheckAddressOfOperand() local
13349 if (VarRef && VarRef->refersToEnclosingVariableOrCapture()) { in CheckAddressOfOperand()