Searched refs:CondVal (Results 1 – 10 of 10) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 827 Value *CondVal = SI.getCondition(); in visitSelectInst() local 832 SimplifySelectInst(CondVal, TrueVal, FalseVal, DL, TLI, DT, AC)) in visitSelectInst() 839 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst() 842 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName()); in visitSelectInst() 848 return BinaryOperator::CreateAnd(CondVal, TrueVal); in visitSelectInst() 851 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName()); in visitSelectInst() 857 if (CondVal == TrueVal) in visitSelectInst() 858 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst() 859 if (CondVal == FalseVal) in visitSelectInst() 860 return BinaryOperator::CreateAnd(CondVal, TrueVal); in visitSelectInst() [all …]
|
D | InstructionCombining.cpp | 2956 bool CondVal = cast<ConstantInt>(BI->getCondition())->getZExtValue(); in AddReachableCodeToWorklist() local 2957 BasicBlock *ReachableBB = BI->getSuccessor(!CondVal); in AddReachableCodeToWorklist()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 865 Constant *CondVal = nullptr; in TryTrivialLoopUnswitch() local 887 CondVal = ConstantInt::getTrue(Context); in TryTrivialLoopUnswitch() 890 CondVal = ConstantInt::getFalse(Context); in TryTrivialLoopUnswitch() 898 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, LoopExitBB, in TryTrivialLoopUnswitch() 931 CondVal = CaseVal; in TryTrivialLoopUnswitch() 941 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, LoopExitBB, in TryTrivialLoopUnswitch()
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 651 const Stmt *Else, bool CondVal, in CreateIfFixit() argument 653 if (CondVal) { in CreateIfFixit()
|
D | SemaStmt.cpp | 492 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar, in ActOnIfStmt() argument 495 ExprResult CondResult(CondVal.release()); in ActOnIfStmt()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 3316 static Value *SimplifySelectInst(Value *CondVal, Value *TrueVal, in SimplifySelectInst() argument 3321 if (Constant *CB = dyn_cast<Constant>(CondVal)) { in SimplifySelectInst() 3332 if (isa<UndefValue>(CondVal)) { // select undef, X, Y -> X or Y in SimplifySelectInst() 3342 if (const auto *ICI = dyn_cast<ICmpInst>(CondVal)) { in SimplifySelectInst()
|
D | ScalarEvolution.cpp | 6065 auto *CondVal = dyn_cast_or_null<ConstantInt>( in computeExitCountExhaustively() local 6069 if (!CondVal) return getCouldNotCompute(); in computeExitCountExhaustively() 6071 if (CondVal->getValue() == uint64_t(ExitWhen)) { in computeExitCountExhaustively()
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 898 GenericValue CondVal = getOperandValue(Cond, SF); in visitSwitchInst() local 904 if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) { in visitSwitchInst()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 1701 const Value *CondVal = I.getCondition(); in visitBr() local 1720 if (const BinaryOperator *BOp = dyn_cast<BinaryOperator>(CondVal)) { in visitBr() 1757 CaseBlock CB(ISD::SETEQ, CondVal, ConstantInt::getTrue(*DAG.getContext()), in visitBr()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3317 FullExprArg CondVal, Decl *CondVar,
|