Home
last modified time | relevance | path

Searched refs:CompoundAssignOperator (Results 1 – 25 of 30) sorted by relevance

12

/openbsd/gnu/llvm/clang/include/clang/AST/
H A DStmtVisitor.h73 case BO_MulAssign: DISPATCH(BinMulAssign, CompoundAssignOperator); in Visit()
74 case BO_DivAssign: DISPATCH(BinDivAssign, CompoundAssignOperator); in Visit()
75 case BO_RemAssign: DISPATCH(BinRemAssign, CompoundAssignOperator); in Visit()
76 case BO_AddAssign: DISPATCH(BinAddAssign, CompoundAssignOperator); in Visit()
77 case BO_SubAssign: DISPATCH(BinSubAssign, CompoundAssignOperator); in Visit()
78 case BO_ShlAssign: DISPATCH(BinShlAssign, CompoundAssignOperator); in Visit()
79 case BO_ShrAssign: DISPATCH(BinShrAssign, CompoundAssignOperator); in Visit()
80 case BO_AndAssign: DISPATCH(BinAndAssign, CompoundAssignOperator); in Visit()
81 case BO_OrAssign: DISPATCH(BinOrAssign, CompoundAssignOperator); in Visit()
82 case BO_XorAssign: DISPATCH(BinXorAssign, CompoundAssignOperator); in Visit()
[all …]
H A DTextNodeDumper.h270 void VisitCompoundAssignOperator(const CompoundAssignOperator *Node);
H A DJSONNodeDumper.h278 void VisitCompoundAssignOperator(const CompoundAssignOperator *CAO);
H A DExpr.h4061 class CompoundAssignOperator : public BinaryOperator {
4066 explicit CompoundAssignOperator(const ASTContext &C, EmptyShell Empty, in CompoundAssignOperator() function
4071 CompoundAssignOperator(const ASTContext &C, Expr *lhs, Expr *rhs, Opcode opc, in CompoundAssignOperator() function
4083 static CompoundAssignOperator *CreateEmpty(const ASTContext &C,
4086 static CompoundAssignOperator *
4108 return isa<CompoundAssignOperator>(this) ? sizeof(CompoundAssignOperator) in offsetOfTrailingStorage()
H A DRecursiveASTVisitor.h2846 DEF_TRAVERSE_STMT(CompoundAssignOperator, {})
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGExprComplex.cpp262 LValue EmitCompoundAssignLValue(const CompoundAssignOperator *E,
266 ComplexPairTy EmitCompoundAssign(const CompoundAssignOperator *E,
310 ComplexPairTy VisitBinAddAssign(const CompoundAssignOperator *E) { in VisitBinAddAssign()
313 ComplexPairTy VisitBinSubAssign(const CompoundAssignOperator *E) { in VisitBinSubAssign()
316 ComplexPairTy VisitBinMulAssign(const CompoundAssignOperator *E) { in VisitBinMulAssign()
319 ComplexPairTy VisitBinDivAssign(const CompoundAssignOperator *E) { in VisitBinDivAssign()
1039 EmitCompoundAssignLValue(const CompoundAssignOperator *E, in EmitCompoundAssignLValue()
1143 EmitCompoundAssign(const CompoundAssignOperator *E, in EmitCompoundAssign()
1348 EmitComplexCompoundAssignmentLValue(const CompoundAssignOperator *E) { in EmitComplexCompoundAssignmentLValue()
1355 EmitScalarCompoundAssignWithComplex(const CompoundAssignOperator *E, in EmitScalarCompoundAssignWithComplex()
H A DCGExprScalar.cpp809 LValue EmitCompoundAssignLValue(const CompoundAssignOperator *E,
813 Value *EmitCompoundAssign(const CompoundAssignOperator *E,
836 Value *VisitBin##OP##Assign(const CompoundAssignOperator *E) { \
3223 const CompoundAssignOperator *E, in EmitCompoundAssignLValue()
3367 Value *ScalarExprEmitter::EmitCompoundAssign(const CompoundAssignOperator *E, in EmitCompoundAssign()
3873 if (const auto *CAO = dyn_cast<CompoundAssignOperator>(BinOp)) { in EmitFixedPointBinOp()
5107 const CompoundAssignOperator *E) { in EmitCompoundAssignmentLValue()
H A DCodeGenFunction.h3898 LValue EmitComplexCompoundAssignmentLValue(const CompoundAssignOperator *E);
3899 LValue EmitScalarCompoundAssignWithComplex(const CompoundAssignOperator *E,
3904 LValue EmitCompoundAssignmentLValue(const CompoundAssignOperator *E);
H A DCGExpr.cpp1292 return EmitCompoundAssignmentLValue(cast<CompoundAssignOperator>(E)); in EmitLValue()
1293 return EmitComplexCompoundAssignmentLValue(cast<CompoundAssignOperator>(E)); in EmitLValue()
/openbsd/gnu/llvm/clang/lib/Analysis/
H A DReachableCode.cpp570 const CompoundAssignOperator *CAO = cast<CompoundAssignOperator>(S); in GetUnreachableLoc()
/openbsd/gnu/llvm/clang/lib/AST/Interp/
H A DByteCodeExprGen.h85 bool VisitCompoundAssignOperator(const CompoundAssignOperator *E);
H A DByteCodeExprGen.cpp498 const CompoundAssignOperator *E) { in VisitCompoundAssignOperator()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaPseudoObject.cpp464 syntactic = CompoundAssignOperator::Create( in buildAssignmentOperation()
1646 } else if (CompoundAssignOperator *cop in recreateSyntacticForm()
1647 = dyn_cast<CompoundAssignOperator>(syntax)) { in recreateSyntacticForm()
1650 return CompoundAssignOperator::Create( in recreateSyntacticForm()
H A DSemaChecking.cpp13580 assert(isa<CompoundAssignOperator>(E) && in AnalyzeCompoundAssignment()
13591 const auto *RBT = cast<CompoundAssignOperator>(E) in AnalyzeCompoundAssignment()
15353 if (O && isa<CompoundAssignOperator>(BO)) in VisitBinAssign()
15361 if (O && isa<CompoundAssignOperator>(BO)) in VisitBinAssign()
15383 void VisitCompoundAssignOperator(const CompoundAssignOperator *CAO) { in VisitCompoundAssignOperator()
/openbsd/gnu/llvm/clang/lib/AST/
H A DExpr.cpp4646 CompoundAssignOperator *
4647 CompoundAssignOperator::CreateEmpty(const ASTContext &C, bool HasFPFeatures) { in CreateEmpty()
4649 void *Mem = C.Allocate(sizeof(CompoundAssignOperator) + Extra, in CreateEmpty()
4650 alignof(CompoundAssignOperator)); in CreateEmpty()
4651 return new (Mem) CompoundAssignOperator(C, EmptyShell(), HasFPFeatures); in CreateEmpty()
4654 CompoundAssignOperator *
4655 CompoundAssignOperator::Create(const ASTContext &C, Expr *lhs, Expr *rhs, in Create()
4662 void *Mem = C.Allocate(sizeof(CompoundAssignOperator) + Extra, in Create()
4663 alignof(CompoundAssignOperator)); in Create()
4665 CompoundAssignOperator(C, lhs, rhs, opc, ResTy, VK, OK, opLoc, FPFeatures, in Create()
H A DJSONNodeDumper.cpp1267 const CompoundAssignOperator *CAO) { in VisitCompoundAssignOperator()
H A DStmtProfile.cpp1455 StmtProfiler::VisitCompoundAssignOperator(const CompoundAssignOperator *S) { in VisitCompoundAssignOperator()
H A DTextNodeDumper.cpp1165 const CompoundAssignOperator *Node) { in VisitCompoundAssignOperator()
H A DStmtPrinter.cpp1636 void StmtPrinter::VisitCompoundAssignOperator(CompoundAssignOperator *Node) { in VisitCompoundAssignOperator()
H A DExprConstant.cpp2618 assert(isa<CastExpr>(E) || isa<CompoundAssignOperator>(E)); in HandleFloatToFloatCast()
4335 const CompoundAssignOperator *E;
4458 const CompoundAssignOperator *E, in handleCompoundAssignment()
8187 bool VisitCompoundAssignOperator(const CompoundAssignOperator *CAO);
8540 const CompoundAssignOperator *CAO) { in VisitCompoundAssignOperator()
/openbsd/gnu/llvm/clang/lib/Index/
H A DIndexBody.cpp91 } else if (auto CA = dyn_cast<CompoundAssignOperator>(Parent)) { in getRolesForRef()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp145 cast<CompoundAssignOperator>(B)->getComputationResultType(); in VisitBinaryOperator()
149 cast<CompoundAssignOperator>(B)->getComputationLHSType(); in VisitBinaryOperator()
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DStmtNodes.td80 def CompoundAssignOperator : StmtNode<BinaryOperator>;
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTReaderStmt.cpp1116 void ASTStmtReader::VisitCompoundAssignOperator(CompoundAssignOperator *E) { in VisitCompoundAssignOperator()
3039 S = CompoundAssignOperator::CreateEmpty( in ReadStmtFromStream()
H A DASTWriterStmt.cpp984 void ASTStmtWriter::VisitCompoundAssignOperator(CompoundAssignOperator *E) { in VisitCompoundAssignOperator()

12