Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmtVisitor.h75 case BO_MulAssign: DISPATCH(BinMulAssign, CompoundAssignOperator); in Visit()
76 case BO_DivAssign: DISPATCH(BinDivAssign, CompoundAssignOperator); in Visit()
77 case BO_RemAssign: DISPATCH(BinRemAssign, CompoundAssignOperator); in Visit()
78 case BO_AddAssign: DISPATCH(BinAddAssign, CompoundAssignOperator); in Visit()
79 case BO_SubAssign: DISPATCH(BinSubAssign, CompoundAssignOperator); in Visit()
80 case BO_ShlAssign: DISPATCH(BinShlAssign, CompoundAssignOperator); in Visit()
81 case BO_ShrAssign: DISPATCH(BinShrAssign, CompoundAssignOperator); in Visit()
82 case BO_AndAssign: DISPATCH(BinAndAssign, CompoundAssignOperator); in Visit()
83 case BO_OrAssign: DISPATCH(BinOrAssign, CompoundAssignOperator); in Visit()
84 case BO_XorAssign: DISPATCH(BinXorAssign, CompoundAssignOperator); in Visit()
[all …]
H A DTextNodeDumper.h289 void VisitCompoundAssignOperator(const CompoundAssignOperator *Node);
H A DJSONNodeDumper.h293 void VisitCompoundAssignOperator(const CompoundAssignOperator *CAO);
H A DExpr.h4228 class CompoundAssignOperator : public BinaryOperator {
4233 explicit CompoundAssignOperator(const ASTContext &C, EmptyShell Empty, in CompoundAssignOperator() function
4238 CompoundAssignOperator(const ASTContext &C, Expr *lhs, Expr *rhs, Opcode opc, in CompoundAssignOperator() function
4250 static CompoundAssignOperator *CreateEmpty(const ASTContext &C,
4253 static CompoundAssignOperator *
4275 return isa<CompoundAssignOperator>(this) ? sizeof(CompoundAssignOperator) in offsetOfTrailingStorage()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprComplex.cpp270 LValue EmitCompoundAssignLValue(const CompoundAssignOperator *E,
274 ComplexPairTy EmitCompoundAssign(const CompoundAssignOperator *E,
366 ComplexPairTy VisitBinAddAssign(const CompoundAssignOperator *E) { in VisitBinAddAssign()
370 ComplexPairTy VisitBinSubAssign(const CompoundAssignOperator *E) { in VisitBinSubAssign()
374 ComplexPairTy VisitBinMulAssign(const CompoundAssignOperator *E) { in VisitBinMulAssign()
378 ComplexPairTy VisitBinDivAssign(const CompoundAssignOperator *E) { in VisitBinDivAssign()
1217 EmitCompoundAssignLValue(const CompoundAssignOperator *E, in EmitCompoundAssignLValue()
1330 EmitCompoundAssign(const CompoundAssignOperator *E, in EmitCompoundAssign()
1543 EmitComplexCompoundAssignmentLValue(const CompoundAssignOperator *E) { in EmitComplexCompoundAssignmentLValue()
1551 EmitScalarCompoundAssignWithComplex(const CompoundAssignOperator *E, in EmitScalarCompoundAssignWithComplex()
H A DCGExprScalar.cpp865 LValue EmitCompoundAssignLValue(const CompoundAssignOperator *E,
869 Value *EmitCompoundAssign(const CompoundAssignOperator *E,
900 Value *VisitBin##OP##Assign(const CompoundAssignOperator *E) { \
3787 const CompoundAssignOperator *E, in EmitCompoundAssignLValue()
3943 Value *ScalarExprEmitter::EmitCompoundAssign(const CompoundAssignOperator *E, in EmitCompoundAssign()
4511 if (const auto *CAO = dyn_cast<CompoundAssignOperator>(BinOp)) { in EmitFixedPointBinOp()
5897 const CompoundAssignOperator *E) { in EmitCompoundAssignmentLValue()
H A DCodeGenFunction.h4377 LValue EmitComplexCompoundAssignmentLValue(const CompoundAssignOperator *E);
4378 LValue EmitScalarCompoundAssignWithComplex(const CompoundAssignOperator *E,
4383 LValue EmitCompoundAssignmentLValue(const CompoundAssignOperator *E);
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DCompiler.h173 bool VisitCompoundAssignOperator(const CompoundAssignOperator *E);
174 bool VisitFloatCompoundAssignOperator(const CompoundAssignOperator *E);
175 bool VisitPointerCompoundAssignOperator(const CompoundAssignOperator *E);
H A DCompiler.cpp2567 const CompoundAssignOperator *E) { in VisitFloatCompoundAssignOperator()
2640 const CompoundAssignOperator *E) { in VisitPointerCompoundAssignOperator()
2677 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/CIR/CodeGen/
H A DCIRGenExprScalar.cpp792 const CompoundAssignOperator *e,
796 emitCompoundAssign(const CompoundAssignOperator *e,
827 mlir::Value VisitBin##OP##Assign(const CompoundAssignOperator *e) { \
1057 const CompoundAssignOperator *e, in emitCompoundAssignLValue()
1164 const CompoundAssignOperator *e, in emitCompoundAssign()
1190 CIRGenFunction::emitCompoundAssignmentLValue(const CompoundAssignOperator *e) { in emitCompoundAssignmentLValue()
H A DCIRGenFunction.cpp711 return emitCompoundAssignmentLValue(cast<CompoundAssignOperator>(e)); in emitLValue()
H A DCIRGenFunction.h830 LValue emitCompoundAssignmentLValue(const clang::CompoundAssignOperator *e);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaPseudoObject.cpp469 syntactic = CompoundAssignOperator::Create( in buildAssignmentOperation()
1567 } else if (CompoundAssignOperator *cop in recreateSyntacticForm()
1568 = dyn_cast<CompoundAssignOperator>(syntax)) { in recreateSyntacticForm()
1571 return CompoundAssignOperator::Create( in recreateSyntacticForm()
H A DSemaChecking.cpp11800 assert(isa<CompoundAssignOperator>(E) && in AnalyzeCompoundAssignment()
11811 const auto *RBT = cast<CompoundAssignOperator>(E) in AnalyzeCompoundAssignment()
13669 if (O && isa<CompoundAssignOperator>(BO)) in VisitBinAssign()
13677 if (O && isa<CompoundAssignOperator>(BO)) in VisitBinAssign()
13699 void VisitCompoundAssignOperator(const CompoundAssignOperator *CAO) { in VisitCompoundAssignOperator()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp4908 CompoundAssignOperator *
4909 CompoundAssignOperator::CreateEmpty(const ASTContext &C, bool HasFPFeatures) { in CreateEmpty()
4911 void *Mem = C.Allocate(sizeof(CompoundAssignOperator) + Extra, in CreateEmpty()
4912 alignof(CompoundAssignOperator)); in CreateEmpty()
4913 return new (Mem) CompoundAssignOperator(C, EmptyShell(), HasFPFeatures); in CreateEmpty()
4916 CompoundAssignOperator *
4917 CompoundAssignOperator::Create(const ASTContext &C, Expr *lhs, Expr *rhs, in Create()
4924 void *Mem = C.Allocate(sizeof(CompoundAssignOperator) + Extra, in Create()
4925 alignof(CompoundAssignOperator)); in Create()
4927 CompoundAssignOperator(C, lhs, rhs, opc, ResTy, VK, OK, opLoc, FPFeatures, in Create()
H A DJSONNodeDumper.cpp1383 const CompoundAssignOperator *CAO) { in VisitCompoundAssignOperator()
H A DStmtProfile.cpp1543 StmtProfiler::VisitCompoundAssignOperator(const CompoundAssignOperator *S) { in VisitCompoundAssignOperator()
H A DStmtPrinter.cpp1834 void StmtPrinter::VisitCompoundAssignOperator(CompoundAssignOperator *Node) { in VisitCompoundAssignOperator()
H A DTextNodeDumper.cpp1664 const CompoundAssignOperator *Node) { in VisitCompoundAssignOperator()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp84 } else if (auto CA = dyn_cast<CompoundAssignOperator>(Parent)) { in getRolesForRef()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp146 cast<CompoundAssignOperator>(B)->getComputationResultType(); in VisitBinaryOperator()
150 cast<CompoundAssignOperator>(B)->getComputationLHSType(); in VisitBinaryOperator()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td81 def CompoundAssignOperator : StmtNode<BinaryOperator>;
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp630 bool VisitCompoundAssignOperator(const CompoundAssignOperator *CAO) { in VisitCompoundAssignOperator()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1153 void ASTStmtReader::VisitCompoundAssignOperator(CompoundAssignOperator *E) { in VisitCompoundAssignOperator()
3302 S = CompoundAssignOperator::CreateEmpty(Context, HasFPFeatures); in ReadStmtFromStream()

12