| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | RedundantBranchConditionCheck.cpp | 160 const auto *CondOp = in check() local 163 dyn_cast<DeclRefExpr>(CondOp->getLHS()->IgnoreParenImpCasts()); in check() 166 CondOp->getRHS()->getBeginLoc().getLocWithOffset(-1); in check() 168 CondOp->getLHS()->getBeginLoc(), BeforeRHS)); in check() 171 Lexer::findNextToken(CondOp->getLHS()->getEndLoc(), in check() 175 AfterLHS, CondOp->getRHS()->getEndLoc())); in check()
|
| H A D | StringIntegerAssignmentCheck.cpp | 69 if (const auto *CondOp = dyn_cast<AbstractConditionalOperator>(E)) in isLikelyCharExpression() local 71 CondOp->getFalseExpr()->IgnoreParenImpCasts()) || in isLikelyCharExpression() 73 CondOp->getTrueExpr()->IgnoreParenImpCasts()); in isLikelyCharExpression()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | PreferMemberInitializerCheck.cpp | 171 if (const auto *CondOp = dyn_cast<ConditionalOperator>(S)) { in check() local 172 if (isNoReturnCallStatement(CondOp->getLHS()) || in check() 173 isNoReturnCallStatement(CondOp->getRHS())) in check()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | LoopUnrolling.cpp | 265 auto CondOp = Matches[0].getNodeAs<BinaryOperator>("conditionOperator"); in shouldCompletelyUnroll() local 271 if (CondOp->getOpcode() == BO_GE || CondOp->getOpcode() == BO_LE) in shouldCompletelyUnroll()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | RedundantExpressionCheck.cpp | 1242 if (const auto *CondOp = in check() local 1244 const Expr *TrueExpr = CondOp->getTrueExpr(); in check() 1245 const Expr *FalseExpr = CondOp->getFalseExpr(); in check() 1250 diag(CondOp->getColonLoc(), in check()
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/Vectorize/ |
| H A D | VPlanTest.cpp | 1023 VPValue CondOp; in TEST() local 1024 VPReductionRecipe Recipe(nullptr, nullptr, &ChainOp, &CondOp, &VecOp, in TEST() 1150 VPValue CondOp; in TEST() local 1151 VPReductionRecipe Recipe(nullptr, nullptr, &ChainOp, &CondOp, &VecOp, in TEST()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 1804 if (const ConditionalOperator *CondOp = dyn_cast<ConditionalOperator>(Cond)) { in EmitBranchOnBoolExpr() local 1812 EmitBranchOnBoolExpr(CondOp->getCond(), LHSBlock, RHSBlock, in EmitBranchOnBoolExpr() 1813 getProfileCount(CondOp), Stmt::LH_None); in EmitBranchOnBoolExpr() 1823 getProfileCount(CondOp) / (double)getCurrentProfileCount(); in EmitBranchOnBoolExpr() 1829 incrementProfileCounter(CondOp); in EmitBranchOnBoolExpr() 1832 EmitBranchOnBoolExpr(CondOp->getLHS(), TrueBlock, FalseBlock, in EmitBranchOnBoolExpr() 1839 EmitBranchOnBoolExpr(CondOp->getRHS(), TrueBlock, FalseBlock, in EmitBranchOnBoolExpr()
|
| H A D | CGExpr.cpp | 198 if (const auto *CondOp = dyn_cast<AbstractConditionalOperator>( in EmitIgnoredExpr() local 200 if (CondOp->getObjectKind() == OK_BitField) in EmitIgnoredExpr() 201 return EmitIgnoredConditionalOperator(CondOp); in EmitIgnoredExpr()
|
| /llvm-project-15.0.7/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchInstrInfo.td | 732 class BccPat<PatFrag CondOp, LAInst Inst> 733 : Pat<(brcond (GRLenVT (CondOp GPR:$rj, GPR:$rd)), bb:$imm16), 743 class BccSwapPat<PatFrag CondOp, LAInst InstBcc> 744 : Pat<(brcond (GRLenVT (CondOp GPR:$rd, GPR:$rj)), bb:$imm16),
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlan.h | 1513 VPValue *ChainOp, VPValue *VecOp, VPValue *CondOp, in VPReductionRecipe() argument 1517 if (CondOp) 1518 addOperand(CondOp);
|
| H A D | LoopVectorize.cpp | 9136 auto *CondOp = CM.blockNeedsPredicationForAnyReason(R->getParent()) in adjustRecipesForReductions() local 9152 new VPReductionRecipe(&RdxDesc, R, ChainOp, VecOp, CondOp, TTI); in adjustRecipesForReductions()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseExpr.cpp | 638 ExprResult CondOp = Actions.ActOnConditionalOp( in ParseRHSOfBinaryExpression() local 641 if (CondOp.isInvalid()) { in ParseRHSOfBinaryExpression() 648 CondOp = Actions.CreateRecoveryExpr(LHS.get()->getBeginLoc(), in ParseRHSOfBinaryExpression() 652 LHS = CondOp; in ParseRHSOfBinaryExpression()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/AsmParser/ |
| H A D | ARMAsmParser.cpp | 5773 int CondOp = -1, ImmOp = -1; in cvtThumbBranches() local 5776 case ARM::tBcc: CondOp = 1; ImmOp = 2; break; in cvtThumbBranches() 5779 case ARM::t2Bcc: CondOp = 1; ImmOp = 3; break; in cvtThumbBranches() 5795 unsigned Cond = static_cast<ARMOperand &>(*Operands[CondOp]).getCondCode(); in cvtThumbBranches() 5826 ((ARMOperand &)*Operands[CondOp]).addCondCodeOperands(Inst, 2); in cvtThumbBranches()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstructionSelector.cpp | 2479 MachineOperand &CondOp = I.getOperand(0); in selectG_BRCOND() local 2480 Register CondReg = CondOp.getReg(); in selectG_BRCOND()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 9707 ExprResult CondOp = SemaRef.ActOnConditionalOp( in checkOpenMPLoop() local 9711 CondOp.get()); in checkOpenMPLoop() 9952 ExprResult CondOp = SemaRef.ActOnConditionalOp( in checkOpenMPLoop() local 9955 CondOp.get()); in checkOpenMPLoop()
|