| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | StmtVisitor.h | 73 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 D | TextNodeDumper.h | 270 void VisitCompoundAssignOperator(const CompoundAssignOperator *Node);
|
| H A D | JSONNodeDumper.h | 273 void VisitCompoundAssignOperator(const CompoundAssignOperator *CAO);
|
| H A D | Expr.h | 4054 class CompoundAssignOperator : public BinaryOperator { 4059 explicit CompoundAssignOperator(const ASTContext &C, EmptyShell Empty, in CompoundAssignOperator() function 4064 CompoundAssignOperator(const ASTContext &C, Expr *lhs, Expr *rhs, Opcode opc, in CompoundAssignOperator() function 4076 static CompoundAssignOperator *CreateEmpty(const ASTContext &C, 4079 static CompoundAssignOperator * 4101 return isa<CompoundAssignOperator>(this) ? sizeof(CompoundAssignOperator) in offsetOfTrailingStorage()
|
| H A D | RecursiveASTVisitor.h | 2849 DEF_TRAVERSE_STMT(CompoundAssignOperator, {})
|
| /llvm-project-15.0.7/clang/unittests/Tooling/RecursiveASTVisitorTests/ |
| H A D | CallbacksCompoundAssignOperator.cpp | 17 bool TraverseCompoundAssignOperator(CompoundAssignOperator *CAO) { in TEST() 72 bool TraverseCompoundAssignOperator(CompoundAssignOperator *CAO) { in TEST() 91 bool WalkUpFromCompoundAssignOperator(CompoundAssignOperator *CAO) { in TEST() 162 bool WalkUpFromCompoundAssignOperator(CompoundAssignOperator *CAO) { in TEST()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExprComplex.cpp | 257 LValue EmitCompoundAssignLValue(const CompoundAssignOperator *E, 261 ComplexPairTy EmitCompoundAssign(const CompoundAssignOperator *E, 291 ComplexPairTy VisitBinAddAssign(const CompoundAssignOperator *E) { in VisitBinAddAssign() 294 ComplexPairTy VisitBinSubAssign(const CompoundAssignOperator *E) { in VisitBinSubAssign() 297 ComplexPairTy VisitBinMulAssign(const CompoundAssignOperator *E) { in VisitBinMulAssign() 300 ComplexPairTy VisitBinDivAssign(const CompoundAssignOperator *E) { in VisitBinDivAssign() 899 EmitCompoundAssignLValue(const CompoundAssignOperator *E, in EmitCompoundAssignLValue() 970 EmitCompoundAssign(const CompoundAssignOperator *E, in EmitCompoundAssign() 1175 EmitComplexCompoundAssignmentLValue(const CompoundAssignOperator *E) { in EmitComplexCompoundAssignmentLValue() 1182 EmitScalarCompoundAssignWithComplex(const CompoundAssignOperator *E, in EmitScalarCompoundAssignWithComplex()
|
| H A D | CGExprScalar.cpp | 795 LValue EmitCompoundAssignLValue(const CompoundAssignOperator *E, 799 Value *EmitCompoundAssign(const CompoundAssignOperator *E, 807 Value *VisitBin ## OP ## Assign(const CompoundAssignOperator *E) { \ 3066 const CompoundAssignOperator *E, in EmitCompoundAssignLValue() 3196 Value *ScalarExprEmitter::EmitCompoundAssign(const CompoundAssignOperator *E, in EmitCompoundAssign() 3702 if (const auto *CAO = dyn_cast<CompoundAssignOperator>(BinOp)) { in EmitFixedPointBinOp() 4927 const CompoundAssignOperator *E) { in EmitCompoundAssignmentLValue()
|
| H A D | CodeGenFunction.h | 3895 LValue EmitComplexCompoundAssignmentLValue(const CompoundAssignOperator *E); 3896 LValue EmitScalarCompoundAssignWithComplex(const CompoundAssignOperator *E, 3901 LValue EmitCompoundAssignmentLValue(const CompoundAssignOperator *E);
|
| H A D | CGExpr.cpp | 1334 return EmitCompoundAssignmentLValue(cast<CompoundAssignOperator>(E)); in EmitLValue() 1335 return EmitComplexCompoundAssignmentLValue(cast<CompoundAssignOperator>(E)); in EmitLValue()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ReachableCode.cpp | 563 const CompoundAssignOperator *CAO = cast<CompoundAssignOperator>(S); in GetUnreachableLoc()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaPseudoObject.cpp | 464 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 D | SemaChecking.cpp | 13249 assert(isa<CompoundAssignOperator>(E) && in AnalyzeCompoundAssignment() 13260 const auto *RBT = cast<CompoundAssignOperator>(E) in AnalyzeCompoundAssignment() 15010 if (O && isa<CompoundAssignOperator>(BO)) in VisitBinAssign() 15018 if (O && isa<CompoundAssignOperator>(BO)) in VisitBinAssign() 15040 void VisitCompoundAssignOperator(const CompoundAssignOperator *CAO) { in VisitCompoundAssignOperator()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Expr.cpp | 4557 CompoundAssignOperator * 4558 CompoundAssignOperator::CreateEmpty(const ASTContext &C, bool HasFPFeatures) { in CreateEmpty() 4560 void *Mem = C.Allocate(sizeof(CompoundAssignOperator) + Extra, in CreateEmpty() 4561 alignof(CompoundAssignOperator)); in CreateEmpty() 4562 return new (Mem) CompoundAssignOperator(C, EmptyShell(), HasFPFeatures); in CreateEmpty() 4565 CompoundAssignOperator * 4566 CompoundAssignOperator::Create(const ASTContext &C, Expr *lhs, Expr *rhs, in Create() 4573 void *Mem = C.Allocate(sizeof(CompoundAssignOperator) + Extra, in Create() 4574 alignof(CompoundAssignOperator)); in Create() 4576 CompoundAssignOperator(C, lhs, rhs, opc, ResTy, VK, OK, opLoc, FPFeatures, in Create()
|
| H A D | JSONNodeDumper.cpp | 1235 const CompoundAssignOperator *CAO) { in VisitCompoundAssignOperator()
|
| H A D | TextNodeDumper.cpp | 1165 const CompoundAssignOperator *Node) { in VisitCompoundAssignOperator()
|
| H A D | StmtProfile.cpp | 1437 StmtProfiler::VisitCompoundAssignOperator(const CompoundAssignOperator *S) { in VisitCompoundAssignOperator()
|
| H A D | StmtPrinter.cpp | 1626 void StmtPrinter::VisitCompoundAssignOperator(CompoundAssignOperator *Node) { in VisitCompoundAssignOperator()
|
| H A D | ExprConstant.cpp | 2612 assert(isa<CastExpr>(E) || isa<CompoundAssignOperator>(E)); in HandleFloatToFloatCast() 4333 const CompoundAssignOperator *E; 4456 const CompoundAssignOperator *E, in handleCompoundAssignment() 8174 bool VisitCompoundAssignOperator(const CompoundAssignOperator *CAO); 8521 const CompoundAssignOperator *CAO) { in VisitCompoundAssignOperator()
|
| H A D | ASTImporter.cpp | 650 ExpectedStmt VisitCompoundAssignOperator(CompoundAssignOperator *E); 7323 ASTNodeImporter::VisitCompoundAssignOperator(CompoundAssignOperator *E) { in VisitCompoundAssignOperator() 7335 return CompoundAssignOperator::Create( in VisitCompoundAssignOperator()
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexBody.cpp | 91 } else if (auto CA = dyn_cast<CompoundAssignOperator>(Parent)) { in getRolesForRef()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineC.cpp | 144 cast<CompoundAssignOperator>(B)->getComputationResultType(); in VisitBinaryOperator() 148 cast<CompoundAssignOperator>(B)->getComputationLHSType(); in VisitBinaryOperator()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | StmtNodes.td | 80 def CompoundAssignOperator : StmtNode<BinaryOperator>;
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 1110 void ASTStmtReader::VisitCompoundAssignOperator(CompoundAssignOperator *E) { in VisitCompoundAssignOperator() 2992 S = CompoundAssignOperator::CreateEmpty( in ReadStmtFromStream()
|
| H A D | ASTWriterStmt.cpp | 986 void ASTStmtWriter::VisitCompoundAssignOperator(CompoundAssignOperator *E) { in VisitCompoundAssignOperator()
|