Home
last modified time | relevance | path

Searched defs:Cond (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DInfiniteLoopCheck.cpp48 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 DSimpleConstraintManager.cpp26 DefinedSVal Cond, in assumeInternal()
45 NonLoc Cond, bool Assumption) { in assume()
53 NonLoc Cond, in assumeAux()
H A DConstraintManager.cpp93 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 Dinstantiate-expr-2.cpp92 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 DTypeErasedDataflowAnalysis.cpp82 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 DX86FlagsCopyLowering.cpp740 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 DLibCallsShrinkWrap.cpp136 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 DMatrixUtils.cpp44 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 Dsimplify-bool-expr-cxx17.cpp3 bool foo(bool Cond) { in foo()
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTXInstrInfo.cpp98 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch()
183 ArrayRef<MachineOperand> Cond, in insertBranch()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopBoundSplit.cpp52 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 DAMDGPUAsmUtils.h31 bool (*Cond)(T Context) = nullptr; member
40 bool (*Cond)(const MCSubtargetInfo &STI) = nullptr; member
/llvm-project-15.0.7/libc/utils/UnitTest/
H A DLibcTest.h87 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 DSPIRVInstrInfo.cpp124 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 DWebAssemblyInstrInfo.cpp92 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch()
161 ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded) const { in insertBranch()
H A DWebAssemblyLowerBrUnless.cpp70 Register Cond = MI.getOperand(1).getReg(); in runOnMachineFunction() local
/llvm-project-15.0.7/clang/lib/Sema/
H A DScopeInfo.cpp166 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 DCSKYInstrInfo.cpp36 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 DSparcInstrInfo.cpp154 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 DMSP430InstrInfo.cpp167 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch()
256 ArrayRef<MachineOperand> Cond, in insertBranch()
/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBPFInstrInfo.cpp167 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch()
221 ArrayRef<MachineOperand> Cond, in insertBranch()
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DPredicate.h121 llvm::Optional<T> WaitFor(C Cond, const Timeout<std::micro> &timeout) { in WaitFor()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DPoisonChecking.cpp236 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 DSIPreEmitPeephole.cpp297 MachineBasicBlock *&FalseMBB, SmallVectorImpl<MachineOperand> &Cond) { in getBlockDestinations()
345 SmallVector<MachineOperand, 1> Cond; in removeExeczBranch() local
H A DAMDGPUAtomicOptimizer.cpp280 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

12345678910>>...12