Searched refs:CondVal (Results 1 – 10 of 10) sorted by relevance
| /NextBSD/contrib/llvm/lib/Transforms/InstCombine/ |
| HD | InstCombineSelect.cpp | 824 Value *CondVal = SI.getCondition(); in visitSelectInst() local 829 SimplifySelectInst(CondVal, TrueVal, FalseVal, DL, TLI, DT, AC)) in visitSelectInst() 836 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst() 839 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName()); in visitSelectInst() 845 return BinaryOperator::CreateAnd(CondVal, TrueVal); in visitSelectInst() 848 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName()); in visitSelectInst() 854 if (CondVal == TrueVal) in visitSelectInst() 855 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst() 856 if (CondVal == FalseVal) in visitSelectInst() 857 return BinaryOperator::CreateAnd(CondVal, TrueVal); in visitSelectInst() [all …]
|
| HD | InstructionCombining.cpp | 2881 bool CondVal = cast<ConstantInt>(BI->getCondition())->getZExtValue(); in AddReachableCodeToWorklist() local 2882 BasicBlock *ReachableBB = BI->getSuccessor(!CondVal); in AddReachableCodeToWorklist()
|
| /NextBSD/contrib/llvm/lib/Transforms/Scalar/ |
| HD | LoopUnswitch.cpp | 670 Constant *CondVal = nullptr; in UnswitchIfProfitable() local 673 if (IsTrivialUnswitchCondition(LoopCond, &CondVal, &ExitBlock)) { in UnswitchIfProfitable() 676 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, ExitBlock, TI); in UnswitchIfProfitable()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | AnalysisBasedWarnings.cpp | 638 const Stmt *Else, bool CondVal, in CreateIfFixit() argument 640 if (CondVal) { in CreateIfFixit()
|
| HD | SemaStmt.cpp | 483 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar, in ActOnIfStmt() argument 488 if (!CondVal.get() && !CondVar) { in ActOnIfStmt() 493 ExprResult CondResult(CondVal.release()); in ActOnIfStmt()
|
| /NextBSD/contrib/llvm/lib/Analysis/ |
| HD | InstructionSimplify.cpp | 3258 static Value *SimplifySelectInst(Value *CondVal, Value *TrueVal, in SimplifySelectInst() argument 3263 if (Constant *CB = dyn_cast<Constant>(CondVal)) { in SimplifySelectInst() 3274 if (isa<UndefValue>(CondVal)) { // select undef, X, Y -> X or Y in SimplifySelectInst() 3284 if (const auto *ICI = dyn_cast<ICmpInst>(CondVal)) { in SimplifySelectInst()
|
| HD | ScalarEvolution.cpp | 5590 ConstantInt *CondVal = dyn_cast_or_null<ConstantInt>( in ComputeExitCountExhaustively() local 5594 if (!CondVal) return getCouldNotCompute(); in ComputeExitCountExhaustively() 5596 if (CondVal->getValue() == uint64_t(ExitWhen)) { in ComputeExitCountExhaustively()
|
| /NextBSD/contrib/llvm/lib/ExecutionEngine/Interpreter/ |
| HD | Execution.cpp | 898 GenericValue CondVal = getOperandValue(Cond, SF); in visitSwitchInst() local 904 if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) { in visitSwitchInst()
|
| /NextBSD/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| HD | SelectionDAGBuilder.cpp | 1568 const Value *CondVal = I.getCondition(); in visitBr() local 1587 if (const BinaryOperator *BOp = dyn_cast<BinaryOperator>(CondVal)) { in visitBr() 1622 CaseBlock CB(ISD::SETEQ, CondVal, ConstantInt::getTrue(*DAG.getContext()), in visitBr()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Sema/ |
| HD | Sema.h | 3269 FullExprArg CondVal, Decl *CondVar,
|