Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/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.h279 void VisitCompoundAssignOperator(const CompoundAssignOperator *Node);
H A DJSONNodeDumper.h286 void VisitCompoundAssignOperator(const CompoundAssignOperator *CAO);
H A DExpr.h4059 class CompoundAssignOperator : public BinaryOperator {
4064 explicit CompoundAssignOperator(const ASTContext &C, EmptyShell Empty, in CompoundAssignOperator() function
4069 CompoundAssignOperator(const ASTContext &C, Expr *lhs, Expr *rhs, Opcode opc, in CompoundAssignOperator() function
4081 static CompoundAssignOperator *CreateEmpty(const ASTContext &C,
4084 static CompoundAssignOperator *
4106 return isa<CompoundAssignOperator>(this) ? sizeof(CompoundAssignOperator) in offsetOfTrailingStorage()
H A DRecursiveASTVisitor.h2853 DEF_TRAVERSE_STMT(CompoundAssignOperator, {})
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprComplex.cpp266 LValue EmitCompoundAssignLValue(const CompoundAssignOperator *E,
270 ComplexPairTy EmitCompoundAssign(const CompoundAssignOperator *E,
318 ComplexPairTy VisitBinAddAssign(const CompoundAssignOperator *E) { in VisitBinAddAssign()
321 ComplexPairTy VisitBinSubAssign(const CompoundAssignOperator *E) { in VisitBinSubAssign()
324 ComplexPairTy VisitBinMulAssign(const CompoundAssignOperator *E) { in VisitBinMulAssign()
327 ComplexPairTy VisitBinDivAssign(const CompoundAssignOperator *E) { in VisitBinDivAssign()
1150 EmitCompoundAssignLValue(const CompoundAssignOperator *E, in EmitCompoundAssignLValue()
1254 EmitCompoundAssign(const CompoundAssignOperator *E, in EmitCompoundAssign()
1459 EmitComplexCompoundAssignmentLValue(const CompoundAssignOperator *E) { in EmitComplexCompoundAssignmentLValue()
1466 EmitScalarCompoundAssignWithComplex(const CompoundAssignOperator *E, in EmitScalarCompoundAssignWithComplex()
H A DCGExprScalar.cpp809 LValue EmitCompoundAssignLValue(const CompoundAssignOperator *E,
813 Value *EmitCompoundAssign(const CompoundAssignOperator *E,
844 Value *VisitBin##OP##Assign(const CompoundAssignOperator *E) { \
3242 const CompoundAssignOperator *E, in EmitCompoundAssignLValue()
3386 Value *ScalarExprEmitter::EmitCompoundAssign(const CompoundAssignOperator *E, in EmitCompoundAssign()
3918 if (const auto *CAO = dyn_cast<CompoundAssignOperator>(BinOp)) { in EmitFixedPointBinOp()
5224 const CompoundAssignOperator *E) { in EmitCompoundAssignmentLValue()
H A DCodeGenFunction.h4007 LValue EmitComplexCompoundAssignmentLValue(const CompoundAssignOperator *E);
4008 LValue EmitScalarCompoundAssignWithComplex(const CompoundAssignOperator *E,
4013 LValue EmitCompoundAssignmentLValue(const CompoundAssignOperator *E);
H A DCGExpr.cpp1547 return EmitCompoundAssignmentLValue(cast<CompoundAssignOperator>(E)); in EmitLValueHelper()
1548 return EmitComplexCompoundAssignmentLValue(cast<CompoundAssignOperator>(E)); in EmitLValueHelper()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeExprGen.h93 bool VisitCompoundAssignOperator(const CompoundAssignOperator *E);
94 bool VisitFloatCompoundAssignOperator(const CompoundAssignOperator *E);
95 bool VisitPointerCompoundAssignOperator(const CompoundAssignOperator *E);
H A DByteCodeExprGen.cpp1221 const CompoundAssignOperator *E) { in VisitFloatCompoundAssignOperator()
1295 const CompoundAssignOperator *E) { in VisitPointerCompoundAssignOperator()
1330 const CompoundAssignOperator *E) { in VisitCompoundAssignOperator()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DReachableCode.cpp571 const CompoundAssignOperator *CAO = cast<CompoundAssignOperator>(S); in GetUnreachableLoc()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaPseudoObject.cpp469 syntactic = CompoundAssignOperator::Create( in buildAssignmentOperation()
1652 } else if (CompoundAssignOperator *cop in recreateSyntacticForm()
1653 = dyn_cast<CompoundAssignOperator>(syntax)) { in recreateSyntacticForm()
1656 return CompoundAssignOperator::Create( in recreateSyntacticForm()
H A DSemaChecking.cpp15321 assert(isa<CompoundAssignOperator>(E) && in AnalyzeCompoundAssignment()
15332 const auto *RBT = cast<CompoundAssignOperator>(E) in AnalyzeCompoundAssignment()
17131 if (O && isa<CompoundAssignOperator>(BO)) in VisitBinAssign()
17139 if (O && isa<CompoundAssignOperator>(BO)) in VisitBinAssign()
17161 void VisitCompoundAssignOperator(const CompoundAssignOperator *CAO) { in VisitCompoundAssignOperator()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp4726 CompoundAssignOperator *
4727 CompoundAssignOperator::CreateEmpty(const ASTContext &C, bool HasFPFeatures) { in CreateEmpty()
4729 void *Mem = C.Allocate(sizeof(CompoundAssignOperator) + Extra, in CreateEmpty()
4730 alignof(CompoundAssignOperator)); in CreateEmpty()
4731 return new (Mem) CompoundAssignOperator(C, EmptyShell(), HasFPFeatures); in CreateEmpty()
4734 CompoundAssignOperator *
4735 CompoundAssignOperator::Create(const ASTContext &C, Expr *lhs, Expr *rhs, in Create()
4742 void *Mem = C.Allocate(sizeof(CompoundAssignOperator) + Extra, in Create()
4743 alignof(CompoundAssignOperator)); in Create()
4745 CompoundAssignOperator(C, lhs, rhs, opc, ResTy, VK, OK, opLoc, FPFeatures, in Create()
H A DJSONNodeDumper.cpp1334 const CompoundAssignOperator *CAO) { in VisitCompoundAssignOperator()
H A DStmtProfile.cpp1491 StmtProfiler::VisitCompoundAssignOperator(const CompoundAssignOperator *S) { in VisitCompoundAssignOperator()
H A DTextNodeDumper.cpp1288 const CompoundAssignOperator *Node) { in VisitCompoundAssignOperator()
H A DStmtPrinter.cpp1650 void StmtPrinter::VisitCompoundAssignOperator(CompoundAssignOperator *Node) { in VisitCompoundAssignOperator()
H A DExprConstant.cpp2705 assert(isa<CastExpr>(E) || isa<CompoundAssignOperator>(E)); in HandleFloatToFloatCast()
4398 const CompoundAssignOperator *E;
4526 const CompoundAssignOperator *E, in handleCompoundAssignment()
8450 bool VisitCompoundAssignOperator(const CompoundAssignOperator *CAO);
8822 const CompoundAssignOperator *CAO) { in VisitCompoundAssignOperator()
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp83 } else if (auto CA = dyn_cast<CompoundAssignOperator>(Parent)) { in getRolesForRef()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp143 cast<CompoundAssignOperator>(B)->getComputationResultType(); in VisitBinaryOperator()
147 cast<CompoundAssignOperator>(B)->getComputationLHSType(); in VisitBinaryOperator()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td80 def CompoundAssignOperator : StmtNode<BinaryOperator>;
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1142 void ASTStmtReader::VisitCompoundAssignOperator(CompoundAssignOperator *E) { in VisitCompoundAssignOperator()
3118 S = CompoundAssignOperator::CreateEmpty(Context, HasFPFeatures); in ReadStmtFromStream()
H A DASTWriterStmt.cpp1079 void ASTStmtWriter::VisitCompoundAssignOperator(CompoundAssignOperator *E) { in VisitCompoundAssignOperator()

12