Home
last modified time | relevance | path

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

12345678910>>...13

/llvm-project/clang-tools-extra/clang-tidy/bugprone/
H A DInfiniteLoopCheck.cpp70 const Stmt *Cond, ASTContext *Context) { in isVarThatIsPossiblyChanged() argument
108 const Stmt *Cond, ASTContext *Context) { in isAtLeastOneCondVarChanged() argument
123 getCondVarNames(const Stmt * Cond) getCondVarNames() argument
142 isKnownToHaveValue(const Expr & Cond,const ASTContext & Ctx,bool ExpectedValue) isKnownToHaveValue() argument
217 hasStaticLocalVariable(const Stmt * Cond) hasStaticLocalVariable() argument
239 hasRecursionOverStaticLoopCondVariables(const Expr * Cond,const Stmt * LoopStmt,const Decl * Func,const ASTContext * Ctx) hasRecursionOverStaticLoopCondVariables() argument
289 const auto *Cond = Result.Nodes.getNodeAs<Expr>("condition"); check() local
[all...]
/llvm-project/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/clang/lib/StaticAnalyzer/Core/
H A DSimpleConstraintManager.cpp27 DefinedSVal Cond, in assumeInternal() argument
46 NonLoc Cond, bool Assumption) { in assume() argument
54 NonLoc Cond, in assumeAux() argument
[all...]
H A DConstraintManager.cpp93 ConstraintManager::assumeDual(ProgramStateRef State, DefinedSVal Cond) { in assumeDual()
111 DefinedSVal Cond, bool Assumption) { in assume()
/llvm-project/clang/unittests/Analysis/FlowSensitive/
H A DDeterminismTest.cpp116 std::string Cond = analyzeAndPrintExitCondition(Code); in TEST() local
134 std::string Cond = analyzeAndPrintExitCondition(Code); in TEST() local
/llvm-project/libc/test/UnitTest/
H A DLibcTest.h168 bool test(TestCond Cond, ValTyp argument
143 test(TestCond Cond,ValType LHS,ValType RHS,const char * LHSStr,const char * RHSStr,internal::Location Loc) test() argument
150 test(TestCond Cond,ValType LHS,ValType RHS,const char * LHSStr,const char * RHSStr,internal::Location Loc) test() argument
158 test(TestCond Cond,ValType LHS,ValType RHS,const char * LHSStr,const char * RHSStr,internal::Location Loc) test() argument
176 test(TestCond Cond,ValType LHS,ValType RHS,const char * LHSStr,const char * RHSStr,internal::Location Loc) test() argument
[all...]
/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXInstrInfo.cpp95 analyzeBranch(MachineBasicBlock & MBB,MachineBasicBlock * & TBB,MachineBasicBlock * & FBB,SmallVectorImpl<MachineOperand> & Cond,bool AllowModify) const analyzeBranch() argument
180 insertBranch(MachineBasicBlock & MBB,MachineBasicBlock * TBB,MachineBasicBlock * FBB,ArrayRef<MachineOperand> Cond,const DebugLoc & DL,int * BytesAdded) const insertBranch() argument
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Dsimplify-boolean-expr-cxx17.cpp3 bool foo(bool Cond) { in foo()
/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVRedundantCopyElimination.cpp75 const SmallVectorImpl<MachineOperand> &Cond, in guaranteesZeroRegInBlock()
101 SmallVector<MachineOperand, 3> Cond; in optimizeBlock() local
/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopBoundSplit.cpp52 ConditionInfo &Cond, const Loop &L) { in analyzeICmp() argument
81 calculateUpperBound(const Loop & L,ScalarEvolution & SE,ConditionInfo & Cond,bool IsExitCond) calculateUpperBound() argument
126 hasProcessableCondition(const Loop & L,ScalarEvolution & SE,ICmpInst * ICmp,ConditionInfo & Cond,bool IsExitCond) hasProcessableCondition() argument
180 canSplitLoopBound(const Loop & L,const DominatorTree & DT,ScalarEvolution & SE,ConditionInfo & Cond) canSplitLoopBound() argument
395 Value *Cond = splitLoopBound() local
[all...]
/llvm-project/llvm/lib/Analysis/
H A DDomConditionCache.cpp13 static void findAffectedValues(Value *Cond, in findAffectedValues()
/llvm-project/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp132 Value *Cond = nullptr; in performCallDomainErrorOnly() local
184 Value *Cond = nullptr; in performCallRangeErrorOnly() local
222 Value *Cond = nullptr; in performCallErrors() local
467 void LibCallsShrinkWrap::shrinkWrapCI(CallInst *CI, Value *Cond) { in shrinkWrapCI()
H A DCallPromotionUtils.cpp285 versionCallSiteWithCond(CallBase & CB,Value * Cond,MDNode * BranchWeights) versionCallSiteWithCond() argument
390 auto *Cond = Builder.CreateICmpEQ(CB.getCalledOperand(), Callee); versionCallSite() local
586 Value *Cond = Builder.CreateOr(ICmps); promoteCallWithVTableCmp() local
[all...]
/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIAnnotateControlFlow.cpp211 Value *Cond = IRB.CreateExtractValue(IfCall, {0}); openIf() local
226 Value *Cond = IRB.CreateExtractValue(ElseCall, {0}); insertElse() local
235 handleLoopCondition(Value * Cond,PHINode * Broken,llvm::Loop * L,BranchInst * Term) handleLoopCondition() argument
283 Value *Cond = Term->getCondition(); handleLoop() local
[all...]
/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUAsmUtils.h31 bool (*Cond)(const MCSubtargetInfo &STI) = nullptr; member
40 bool (*Cond)(const MCSubtargetInfo &STI) = nullptr; member
/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstrInfo.cpp185 analyzeBranch(MachineBasicBlock & MBB,MachineBasicBlock * & TBB,MachineBasicBlock * & FBB,SmallVectorImpl<MachineOperand> & Cond,bool AllowModify) const analyzeBranch() argument
235 insertBranch(MachineBasicBlock & MBB,MachineBasicBlock * TBB,MachineBasicBlock * FBB,ArrayRef<MachineOperand> Cond,const DebugLoc & DL,int * BytesAdded) const insertBranch() argument
/llvm-project/clang/lib/Sema/
H A DScopeInfo.cpp169 markSafeWeakUse(Cond->getTrueExpr()); in markSafeWeakUse() local
175 if (const BinaryConditionalOperator *Cond = markSafeWeakUse() local
/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrInfo.cpp92 analyzeBranch(MachineBasicBlock & MBB,MachineBasicBlock * & TBB,MachineBasicBlock * & FBB,SmallVectorImpl<MachineOperand> & Cond,bool) const analyzeBranch() argument
161 insertBranch(MachineBasicBlock & MBB,MachineBasicBlock * TBB,MachineBasicBlock * FBB,ArrayRef<MachineOperand> Cond,const DebugLoc & DL,int * BytesAdded) const insertBranch() argument
[all...]
H A DWebAssemblyLowerBrUnless.cpp70 Register Cond = MI.getOperand(1).getReg(); in runOnMachineFunction() local
/llvm-project/llvm/lib/Target/X86/
H A DX86FlagsCopyLowering.cpp740 .addImm(Cond); in promoteCondToReg() argument
722 X86::CondCode Cond = X86::getCondFromSETCC(MI); collectCondsInRegs() local
752 getCondOrInverseInReg(MachineBasicBlock & TestMBB,MachineBasicBlock::iterator TestPos,const DebugLoc & TestLoc,X86::CondCode Cond,CondRegArray & CondRegs) getCondOrInverseInReg() argument
779 X86::CondCode Cond = X86::getCondFromSETCC(MI); rewriteSetCC() local
817 X86::CondCode Cond = X86::COND_B; // CF == 1 rewriteArithmetic() local
[all...]
/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYInstrInfo.cpp36 SmallVectorImpl<MachineOperand> &Cond) { in parseCondBranch() argument
48 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() argument
156 ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded) const { in insertBranch() argument
[all...]
/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430InstrInfo.cpp167 analyzeBranch(MachineBasicBlock & MBB,MachineBasicBlock * & TBB,MachineBasicBlock * & FBB,SmallVectorImpl<MachineOperand> & Cond,bool AllowModify) const analyzeBranch() argument
256 insertBranch(MachineBasicBlock & MBB,MachineBasicBlock * TBB,MachineBasicBlock * FBB,ArrayRef<MachineOperand> Cond,const DebugLoc & DL,int * BytesAdded) const insertBranch() argument
[all...]
/llvm-project/llvm/lib/Target/BPF/
H A DBPFInstrInfo.cpp169 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() argument
223 ArrayRef<MachineOperand> Cond, in insertBranch() argument
/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchInstrInfo.cpp255 parseCondBranch(MachineInstr & LastInst,MachineBasicBlock * & Target,SmallVectorImpl<MachineOperand> & Cond) parseCondBranch() argument
270 analyzeBranch(MachineBasicBlock & MBB,MachineBasicBlock * & TBB,MachineBasicBlock * & FBB,SmallVectorImpl<MachineOperand> & Cond,bool AllowModify) const analyzeBranch() argument
385 insertBranch(MachineBasicBlock & MBB,MachineBasicBlock * TBB,MachineBasicBlock * FBB,ArrayRef<MachineOperand> Cond,const DebugLoc & DL,int * BytesAdded) const insertBranch() argument
[all...]
/llvm-project/lldb/include/lldb/Utility/
H A DPredicate.h123 std::optional<T> WaitFor(C Cond, const Timeout<std::micro> &timeout) { in WaitFor()

12345678910>>...13