Home
last modified time | relevance | path

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

12

/freebsd-13.1/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.h269 void VisitCompoundAssignOperator(const CompoundAssignOperator *Node);
H A DJSONNodeDumper.h273 void VisitCompoundAssignOperator(const CompoundAssignOperator *CAO);
H A DExpr.h4043 class CompoundAssignOperator : public BinaryOperator {
4048 explicit CompoundAssignOperator(const ASTContext &C, EmptyShell Empty, in CompoundAssignOperator() function
4053 CompoundAssignOperator(const ASTContext &C, Expr *lhs, Expr *rhs, Opcode opc, in CompoundAssignOperator() function
4065 static CompoundAssignOperator *CreateEmpty(const ASTContext &C,
4068 static CompoundAssignOperator *
4090 return isa<CompoundAssignOperator>(this) ? sizeof(CompoundAssignOperator) in offsetOfTrailingStorage()
H A DRecursiveASTVisitor.h2729 DEF_TRAVERSE_STMT(CompoundAssignOperator, {})
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprComplex.cpp257 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 DCGExprScalar.cpp793 LValue EmitCompoundAssignLValue(const CompoundAssignOperator *E,
797 Value *EmitCompoundAssign(const CompoundAssignOperator *E,
805 Value *VisitBin ## OP ## Assign(const CompoundAssignOperator *E) { \
3003 const CompoundAssignOperator *E, in EmitCompoundAssignLValue()
3133 Value *ScalarExprEmitter::EmitCompoundAssign(const CompoundAssignOperator *E, in EmitCompoundAssign()
3639 if (const auto *CAO = dyn_cast<CompoundAssignOperator>(BinOp)) { in EmitFixedPointBinOp()
4862 const CompoundAssignOperator *E) { in EmitCompoundAssignmentLValue()
H A DCodeGenFunction.h3830 LValue EmitComplexCompoundAssignmentLValue(const CompoundAssignOperator *E);
3831 LValue EmitScalarCompoundAssignWithComplex(const CompoundAssignOperator *E,
3836 LValue EmitCompoundAssignmentLValue(const CompoundAssignOperator *E);
H A DCGExpr.cpp1304 return EmitCompoundAssignmentLValue(cast<CompoundAssignOperator>(E)); in EmitLValue()
1305 return EmitComplexCompoundAssignmentLValue(cast<CompoundAssignOperator>(E)); in EmitLValue()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DReachableCode.cpp565 const CompoundAssignOperator *CAO = cast<CompoundAssignOperator>(S); in GetUnreachableLoc()
/freebsd-13.1/contrib/llvm-project/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.cpp12210 assert(isa<CompoundAssignOperator>(E) && in AnalyzeCompoundAssignment()
12221 const auto *RBT = cast<CompoundAssignOperator>(E) in AnalyzeCompoundAssignment()
13926 if (O && isa<CompoundAssignOperator>(BO)) in VisitBinAssign()
13934 if (O && isa<CompoundAssignOperator>(BO)) in VisitBinAssign()
13956 void VisitCompoundAssignOperator(const CompoundAssignOperator *CAO) { in VisitCompoundAssignOperator()
H A DSemaExpr.cpp14015 return CompoundAssignOperator::Create(Context, LHS.get(), RHS.get(), Opc, in convertHalfVecBinOp()
14343 return CompoundAssignOperator::Create( in CreateBuiltinBinOp()
14719 return CompoundAssignOperator::Create( in BuildBinOp()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp4531 CompoundAssignOperator *
4532 CompoundAssignOperator::CreateEmpty(const ASTContext &C, bool HasFPFeatures) { in CreateEmpty()
4534 void *Mem = C.Allocate(sizeof(CompoundAssignOperator) + Extra, in CreateEmpty()
4535 alignof(CompoundAssignOperator)); in CreateEmpty()
4536 return new (Mem) CompoundAssignOperator(C, EmptyShell(), HasFPFeatures); in CreateEmpty()
4539 CompoundAssignOperator *
4540 CompoundAssignOperator::Create(const ASTContext &C, Expr *lhs, Expr *rhs, in Create()
4547 void *Mem = C.Allocate(sizeof(CompoundAssignOperator) + Extra, in Create()
4548 alignof(CompoundAssignOperator)); in Create()
4550 CompoundAssignOperator(C, lhs, rhs, opc, ResTy, VK, OK, opLoc, FPFeatures, in Create()
H A DJSONNodeDumper.cpp1228 const CompoundAssignOperator *CAO) { in VisitCompoundAssignOperator()
H A DStmtProfile.cpp1362 StmtProfiler::VisitCompoundAssignOperator(const CompoundAssignOperator *S) { in VisitCompoundAssignOperator()
H A DTextNodeDumper.cpp1150 const CompoundAssignOperator *Node) { in VisitCompoundAssignOperator()
H A DStmtPrinter.cpp1476 void StmtPrinter::VisitCompoundAssignOperator(CompoundAssignOperator *Node) { in VisitCompoundAssignOperator()
H A DExprConstant.cpp2598 assert(isa<CastExpr>(E) || isa<CompoundAssignOperator>(E)); in HandleFloatToFloatCast()
4285 const CompoundAssignOperator *E;
4408 const CompoundAssignOperator *E, in handleCompoundAssignment()
8085 bool VisitCompoundAssignOperator(const CompoundAssignOperator *CAO);
8416 const CompoundAssignOperator *CAO) { in VisitCompoundAssignOperator()
H A DASTImporter.cpp629 ExpectedStmt VisitCompoundAssignOperator(CompoundAssignOperator *E);
7193 ASTNodeImporter::VisitCompoundAssignOperator(CompoundAssignOperator *E) { in VisitCompoundAssignOperator()
7205 return CompoundAssignOperator::Create( in VisitCompoundAssignOperator()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td80 def CompoundAssignOperator : StmtNode<BinaryOperator>;
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp87 } else if (auto CA = dyn_cast<CompoundAssignOperator>(Parent)) { in getRolesForRef()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp145 cast<CompoundAssignOperator>(B)->getComputationResultType(); in VisitBinaryOperator()
149 cast<CompoundAssignOperator>(B)->getComputationLHSType(); in VisitBinaryOperator()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1125 void ASTStmtReader::VisitCompoundAssignOperator(CompoundAssignOperator *E) { in VisitCompoundAssignOperator()
2938 S = CompoundAssignOperator::CreateEmpty( in ReadStmtFromStream()
H A DASTWriterStmt.cpp988 void ASTStmtWriter::VisitCompoundAssignOperator(CompoundAssignOperator *E) { in VisitCompoundAssignOperator()

12