Lines Matching refs:Expr

51   BinaryOperator *makeAssignment(const Expr *LHS, const Expr *RHS, QualType Ty);
54 BinaryOperator *makeComparison(const Expr *LHS, const Expr *RHS,
64 UnaryOperator *makeDereference(const Expr *Arg, QualType Ty);
67 Expr *makeIntegralCast(const Expr *Arg, QualType Ty);
70 ImplicitCastExpr *makeIntegralCastToBoolean(const Expr *Arg);
73 ImplicitCastExpr *makeLvalueToRvalue(const Expr *Arg, QualType Ty);
79 ObjCIvarRefExpr *makeObjCIvarRef(const Expr *Base, const ObjCIvarDecl *IVar);
82 ReturnStmt *makeReturn(const Expr *RetVal);
89 BinaryOperator *ASTMaker::makeAssignment(const Expr *LHS, const Expr *RHS, in makeAssignment()
91 return new (C) BinaryOperator(const_cast<Expr*>(LHS), const_cast<Expr*>(RHS), in makeAssignment()
96 BinaryOperator *ASTMaker::makeComparison(const Expr *LHS, const Expr *RHS, in makeComparison()
100 return new (C) BinaryOperator(const_cast<Expr*>(LHS), in makeComparison()
101 const_cast<Expr*>(RHS), in makeComparison()
125 UnaryOperator *ASTMaker::makeDereference(const Expr *Arg, QualType Ty) { in makeDereference()
126 return new (C) UnaryOperator(const_cast<Expr*>(Arg), UO_Deref, Ty, in makeDereference()
130 ImplicitCastExpr *ASTMaker::makeLvalueToRvalue(const Expr *Arg, QualType Ty) { in makeLvalueToRvalue()
132 const_cast<Expr*>(Arg), nullptr, VK_RValue); in makeLvalueToRvalue()
135 Expr *ASTMaker::makeIntegralCast(const Expr *Arg, QualType Ty) { in makeIntegralCast()
137 return const_cast<Expr*>(Arg); in makeIntegralCast()
140 const_cast<Expr*>(Arg), nullptr, VK_RValue); in makeIntegralCast()
143 ImplicitCastExpr *ASTMaker::makeIntegralCastToBoolean(const Expr *Arg) { in makeIntegralCastToBoolean()
145 const_cast<Expr*>(Arg), nullptr, VK_RValue); in makeIntegralCastToBoolean()
153 ObjCIvarRefExpr *ASTMaker::makeObjCIvarRef(const Expr *Base, in makeObjCIvarRef()
157 SourceLocation(), const_cast<Expr*>(Base), in makeObjCIvarRef()
162 ReturnStmt *ASTMaker::makeReturn(const Expr *RetVal) { in makeReturn()
163 return new (C) ReturnStmt(SourceLocation(), const_cast<Expr*>(RetVal), in makeReturn()
315 Expr *Comparison = in create_OSAtomicCompareAndSwap()
335 Expr *BoolVal = M.makeObjCBool(true); in create_OSAtomicCompareAndSwap()
336 Expr *RetVal = isBoolean ? M.makeIntegralCastToBoolean(BoolVal) in create_OSAtomicCompareAndSwap()
435 Expr *loadedIVar = in createObjCPropertyGetter()