Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmtVisitor.h74 case BO_MulAssign: DISPATCH(BinMulAssign, CompoundAssignOperator); in Visit()
75 case BO_DivAssign: DISPATCH(BinDivAssign, CompoundAssignOperator); in Visit()
76 case BO_RemAssign: DISPATCH(BinRemAssign, CompoundAssignOperator); in Visit()
77 case BO_AddAssign: DISPATCH(BinAddAssign, CompoundAssignOperator); in Visit()
78 case BO_SubAssign: DISPATCH(BinSubAssign, CompoundAssignOperator); in Visit()
79 case BO_ShlAssign: DISPATCH(BinShlAssign, CompoundAssignOperator); in Visit()
80 case BO_ShrAssign: DISPATCH(BinShrAssign, CompoundAssignOperator); in Visit()
81 case BO_AndAssign: DISPATCH(BinAndAssign, CompoundAssignOperator); in Visit()
82 case BO_OrAssign: DISPATCH(BinOrAssign, CompoundAssignOperator); in Visit()
83 case BO_XorAssign: DISPATCH(BinXorAssign, CompoundAssignOperator); in Visit()
[all …]
H A DTextNodeDumper.h288 void VisitCompoundAssignOperator(const CompoundAssignOperator *Node);
H A DJSONNodeDumper.h289 void VisitCompoundAssignOperator(const CompoundAssignOperator *CAO);
H A DExpr.h4112 class CompoundAssignOperator : public BinaryOperator {
4117 explicit CompoundAssignOperator(const ASTContext &C, EmptyShell Empty, in CompoundAssignOperator() function
4122 CompoundAssignOperator(const ASTContext &C, Expr *lhs, Expr *rhs, Opcode opc, in CompoundAssignOperator() function
4134 static CompoundAssignOperator *CreateEmpty(const ASTContext &C,
4137 static CompoundAssignOperator *
4159 return isa<CompoundAssignOperator>(this) ? sizeof(CompoundAssignOperator) in offsetOfTrailingStorage()
H A DRecursiveASTVisitor.h2916 DEF_TRAVERSE_STMT(CompoundAssignOperator, {})
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprComplex.cpp271 LValue EmitCompoundAssignLValue(const CompoundAssignOperator *E,
275 ComplexPairTy EmitCompoundAssign(const CompoundAssignOperator *E,
377 ComplexPairTy VisitBinAddAssign(const CompoundAssignOperator *E) { in VisitBinAddAssign()
380 ComplexPairTy VisitBinSubAssign(const CompoundAssignOperator *E) { in VisitBinSubAssign()
383 ComplexPairTy VisitBinMulAssign(const CompoundAssignOperator *E) { in VisitBinMulAssign()
386 ComplexPairTy VisitBinDivAssign(const CompoundAssignOperator *E) { in VisitBinDivAssign()
1217 EmitCompoundAssignLValue(const CompoundAssignOperator *E, in EmitCompoundAssignLValue()
1324 EmitCompoundAssign(const CompoundAssignOperator *E, in EmitCompoundAssign()
1536 EmitComplexCompoundAssignmentLValue(const CompoundAssignOperator *E) { in EmitComplexCompoundAssignmentLValue()
1543 EmitScalarCompoundAssignWithComplex(const CompoundAssignOperator *E, in EmitScalarCompoundAssignWithComplex()
H A DCGExprScalar.cpp828 LValue EmitCompoundAssignLValue(const CompoundAssignOperator *E,
832 Value *EmitCompoundAssign(const CompoundAssignOperator *E,
863 Value *VisitBin##OP##Assign(const CompoundAssignOperator *E) { \
3516 const CompoundAssignOperator *E, in EmitCompoundAssignLValue()
3672 Value *ScalarExprEmitter::EmitCompoundAssign(const CompoundAssignOperator *E, in EmitCompoundAssign()
4206 if (const auto *CAO = dyn_cast<CompoundAssignOperator>(BinOp)) { in EmitFixedPointBinOp()
5564 const CompoundAssignOperator *E) { in EmitCompoundAssignmentLValue()
H A DCodeGenFunction.h4258 LValue EmitComplexCompoundAssignmentLValue(const CompoundAssignOperator *E);
4259 LValue EmitScalarCompoundAssignWithComplex(const CompoundAssignOperator *E,
4264 LValue EmitCompoundAssignmentLValue(const CompoundAssignOperator *E);
H A DCGExpr.cpp1539 return EmitCompoundAssignmentLValue(cast<CompoundAssignOperator>(E)); in EmitLValueHelper()
1540 return EmitComplexCompoundAssignmentLValue(cast<CompoundAssignOperator>(E)); in EmitLValueHelper()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.h155 bool VisitCompoundAssignOperator(const CompoundAssignOperator *E);
156 bool VisitFloatCompoundAssignOperator(const CompoundAssignOperator *E);
157 bool VisitPointerCompoundAssignOperator(const CompoundAssignOperator *E);
H A DCompiler.cpp1987 const CompoundAssignOperator *E) { in VisitFloatCompoundAssignOperator()
2061 const CompoundAssignOperator *E) { in VisitPointerCompoundAssignOperator()
2098 const CompoundAssignOperator *E) { in VisitCompoundAssignOperator()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DReachableCode.cpp614 const CompoundAssignOperator *CAO = cast<CompoundAssignOperator>(S); in GetUnreachableLoc()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaPseudoObject.cpp471 syntactic = CompoundAssignOperator::Create( in buildAssignmentOperation()
1569 } else if (CompoundAssignOperator *cop in recreateSyntacticForm()
1570 = dyn_cast<CompoundAssignOperator>(syntax)) { in recreateSyntacticForm()
1573 return CompoundAssignOperator::Create( in recreateSyntacticForm()
H A DSemaChecking.cpp10526 assert(isa<CompoundAssignOperator>(E) && in AnalyzeCompoundAssignment()
10537 const auto *RBT = cast<CompoundAssignOperator>(E) in AnalyzeCompoundAssignment()
12236 if (O && isa<CompoundAssignOperator>(BO)) in VisitBinAssign()
12244 if (O && isa<CompoundAssignOperator>(BO)) in VisitBinAssign()
12266 void VisitCompoundAssignOperator(const CompoundAssignOperator *CAO) { in VisitCompoundAssignOperator()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp4817 CompoundAssignOperator *
4818 CompoundAssignOperator::CreateEmpty(const ASTContext &C, bool HasFPFeatures) { in CreateEmpty()
4820 void *Mem = C.Allocate(sizeof(CompoundAssignOperator) + Extra, in CreateEmpty()
4821 alignof(CompoundAssignOperator)); in CreateEmpty()
4822 return new (Mem) CompoundAssignOperator(C, EmptyShell(), HasFPFeatures); in CreateEmpty()
4825 CompoundAssignOperator *
4826 CompoundAssignOperator::Create(const ASTContext &C, Expr *lhs, Expr *rhs, in Create()
4833 void *Mem = C.Allocate(sizeof(CompoundAssignOperator) + Extra, in Create()
4834 alignof(CompoundAssignOperator)); in Create()
4836 CompoundAssignOperator(C, lhs, rhs, opc, ResTy, VK, OK, opLoc, FPFeatures, in Create()
H A DJSONNodeDumper.cpp1369 const CompoundAssignOperator *CAO) { in VisitCompoundAssignOperator()
H A DStmtProfile.cpp1502 StmtProfiler::VisitCompoundAssignOperator(const CompoundAssignOperator *S) { in VisitCompoundAssignOperator()
H A DStmtPrinter.cpp1696 void StmtPrinter::VisitCompoundAssignOperator(CompoundAssignOperator *Node) { in VisitCompoundAssignOperator()
H A DTextNodeDumper.cpp1511 const CompoundAssignOperator *Node) { in VisitCompoundAssignOperator()
H A DExprConstant.cpp2712 assert((isa<CastExpr>(E) || isa<CompoundAssignOperator>(E) || in HandleFloatToFloatCast()
4433 const CompoundAssignOperator *E;
4561 const CompoundAssignOperator *E, in handleCompoundAssignment()
8518 bool VisitCompoundAssignOperator(const CompoundAssignOperator *CAO);
8908 const CompoundAssignOperator *CAO) { in VisitCompoundAssignOperator()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp364 bool VisitCompoundAssignOperator(const CompoundAssignOperator *CAO) { in VisitCompoundAssignOperator()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp83 } else if (auto CA = dyn_cast<CompoundAssignOperator>(Parent)) { in getRolesForRef()
/freebsd/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/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td80 def CompoundAssignOperator : StmtNode<BinaryOperator>;
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1139 void ASTStmtReader::VisitCompoundAssignOperator(CompoundAssignOperator *E) { in VisitCompoundAssignOperator()
3175 S = CompoundAssignOperator::CreateEmpty(Context, HasFPFeatures); in ReadStmtFromStream()

12