diff options
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index e978cad..cac2c65 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -312,9 +312,6 @@ public: /// nest would extend. SmallVector<llvm::CanonicalLoopInfo *, 4> OMPLoopNestStack; - /// Stack to track the Logical Operator recursion nest for MC/DC. - SmallVector<const BinaryOperator *, 16> MCDCLogOpStack; - /// Stack to track the controlled convergence tokens. SmallVector<llvm::ConvergenceControlInst *, 4> ConvergenceTokenStack; @@ -1679,6 +1676,11 @@ public: return (BOp && BOp->isLogicalOp()); } + bool isMCDCDecisionExpr(const Expr *E) const { + return PGO.isMCDCDecisionExpr(E); + } + bool isMCDCBranchExpr(const Expr *E) const { return PGO.isMCDCBranchExpr(E); } + /// Zero-init the MCDC temp value. void maybeResetMCDCCondBitmap(const Expr *E) { if (isMCDCCoverageEnabled() && isBinaryLogicalOp(E)) { |