| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | InfiniteLoopCheck.cpp | 48 const Stmt *Cond, ASTContext *Context) { in isVarThatIsPossiblyChanged() 86 const Stmt *Cond, ASTContext *Context) { in isAtLeastOneCondVarChanged() 101 static std::string getCondVarNames(const Stmt *Cond) { in getCondVarNames() 120 static bool isKnownToHaveValue(const Expr &Cond, const ASTContext &Ctx, in isKnownToHaveValue() 163 const auto *Cond = Result.Nodes.getNodeAs<Expr>("condition"); in check() local
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | SimpleConstraintManager.cpp | 26 DefinedSVal Cond, in assumeInternal() 45 NonLoc Cond, bool Assumption) { in assume() 53 NonLoc Cond, in assumeAux()
|
| H A D | ConstraintManager.cpp | 93 ConstraintManager::assumeDual(ProgramStateRef State, DefinedSVal Cond) { in assumeDual() 111 DefinedSVal Cond, bool Assumption) { in assume()
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | instantiate-expr-2.cpp | 92 struct Cond { struct 93 typedef Lookup<B ? sizeof(T) : sizeof(E)> True; 94 typedef Lookup<!B ? sizeof(T) : sizeof(E)> False; 112 struct Cond { struct 113 T foo() { return B ? T() : E(); } in foo() 114 typedef Lookup<sizeof(B ? T() : E())> Type;
|
| /llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/ |
| H A D | TypeErasedDataflowAnalysis.cpp | 82 auto *Cond = S->getCond(); in VisitIfStmt() local 88 auto *Cond = S->getCond(); in VisitWhileStmt() local 94 auto *Cond = S->getCond(); in VisitDoStmt() local 100 auto *Cond = S->getCond(); in VisitForStmt() local 113 auto *Cond = S->getCond(); in VisitConditionalOperator() local 119 void extendFlowCondition(const Expr &Cond) { in extendFlowCondition()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86FlagsCopyLowering.cpp | 740 X86::CondCode Cond = X86::getCondFromSETCC(MI); in collectCondsInRegs() local 758 const DebugLoc &TestLoc, X86::CondCode Cond) { in promoteCondToReg() 770 const DebugLoc &TestLoc, X86::CondCode Cond, CondRegArray &CondRegs) { in getCondOrInverseInReg() 798 X86::CondCode Cond = X86::COND_INVALID; in rewriteArithmetic() local 853 X86::CondCode Cond = X86::getCondFromCMov(CMovI); in rewriteCMov() local 879 X86::CondCode Cond = getCondFromFCMOV(CMovI.getOpcode()); in rewriteFCMov() local 921 X86::CondCode Cond = X86::getCondFromBranch(JmpI); in rewriteCondJmp() local 954 X86::CondCode Cond = X86::getCondFromSETCC(SetCCI); in rewriteSetCC() local
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LibCallsShrinkWrap.cpp | 136 Value *Cond = nullptr; in performCallDomainErrorOnly() local 188 Value *Cond = nullptr; in performCallRangeErrorOnly() local 226 Value *Cond = nullptr; in performCallErrors() local 474 Value *Cond = BBBuilder.CreateFCmp(CmpInst::FCMP_OGT, Exp, V); in generateCondForPow() local 483 void LibCallsShrinkWrap::shrinkWrapCI(CallInst *CI, Value *Cond) { in shrinkWrapCI()
|
| H A D | MatrixUtils.cpp | 44 Value *Cond = B.CreateICmpNE(Inc, Bound, Name + ".cond"); in CreateLoop() local
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/ |
| H A D | simplify-bool-expr-cxx17.cpp | 3 bool foo(bool Cond) { in foo()
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXInstrInfo.cpp | 98 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() 183 ArrayRef<MachineOperand> Cond, in insertBranch()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopBoundSplit.cpp | 52 ConditionInfo &Cond, const Loop &L) { in analyzeICmp() 81 ConditionInfo &Cond, bool IsExitCond) { in calculateUpperBound() 126 ICmpInst *ICmp, ConditionInfo &Cond, in hasProcessableCondition() 180 ScalarEvolution &SE, ConditionInfo &Cond) { in canSplitLoopBound() 395 Value *Cond = in splitLoopBound() local
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUAsmUtils.h | 31 bool (*Cond)(T Context) = nullptr; member 40 bool (*Cond)(const MCSubtargetInfo &STI) = nullptr; member
|
| /llvm-project-15.0.7/libc/utils/UnitTest/ |
| H A D | LibcTest.h | 87 bool test(TestCondition Cond, ValType LHS, ValType RHS, const char *LHSStr, in test() 94 bool test(TestCondition Cond, ValType LHS, ValType RHS, const char *LHSStr, in test() 103 bool test(TestCondition Cond, ValType LHS, ValType RHS, const char *LHSStr, in test()
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVInstrInfo.cpp | 124 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() 174 ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded) const { in insertBranch()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyInstrInfo.cpp | 92 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() 161 ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded) const { in insertBranch()
|
| H A D | WebAssemblyLowerBrUnless.cpp | 70 Register Cond = MI.getOperand(1).getReg(); in runOnMachineFunction() local
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | ScopeInfo.cpp | 166 if (const ConditionalOperator *Cond = dyn_cast<ConditionalOperator>(E)) { in markSafeWeakUse() local 172 if (const BinaryConditionalOperator *Cond = in markSafeWeakUse() local
|
| /llvm-project-15.0.7/llvm/lib/Target/CSKY/ |
| H A D | CSKYInstrInfo.cpp | 36 SmallVectorImpl<MachineOperand> &Cond) { in parseCondBranch() 48 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() 156 ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded) const { in insertBranch()
|
| /llvm-project-15.0.7/llvm/lib/Target/Sparc/ |
| H A D | SparcInstrInfo.cpp | 154 SmallVectorImpl<MachineOperand> &Cond) { in parseCondBranch() 162 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() 245 ArrayRef<MachineOperand> Cond, in insertBranch()
|
| /llvm-project-15.0.7/llvm/lib/Target/MSP430/ |
| H A D | MSP430InstrInfo.cpp | 167 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() 256 ArrayRef<MachineOperand> Cond, in insertBranch()
|
| /llvm-project-15.0.7/llvm/lib/Target/BPF/ |
| H A D | BPFInstrInfo.cpp | 167 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() 221 ArrayRef<MachineOperand> Cond, in insertBranch()
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | Predicate.h | 121 llvm::Optional<T> WaitFor(C Cond, const Timeout<std::micro> &timeout) { in WaitFor()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | PoisonChecking.cpp | 236 static void CreateAssert(IRBuilder<> &B, Value *Cond) { in CreateAssert() 250 static void CreateAssertNot(IRBuilder<> &B, Value *Cond) { in CreateAssertNot()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | SIPreEmitPeephole.cpp | 297 MachineBasicBlock *&FalseMBB, SmallVectorImpl<MachineOperand> &Cond) { in getBlockDestinations() 345 SmallVector<MachineOperand, 1> Cond; in removeExeczBranch() local
|
| H A D | AMDGPUAtomicOptimizer.cpp | 280 Value *Cond = B.CreateICmp(Pred, LHS, RHS); in buildNonAtomicBinOp() local 480 Value *const Cond = B.CreateIntrinsic(Intrinsic::amdgcn_ps_live, {}, {}); in optimizeAtomic() local 600 Value *const Cond = B.CreateICmpEQ(Mbcnt, B.getIntN(TyBitWidth, 0)); in optimizeAtomic() local
|