Searched refs:CondVal (Results 1 – 10 of 10) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 658 Value *CondVal = SI.getCondition(); in visitSelectInst() local 662 if (Value *V = SimplifySelectInst(CondVal, TrueVal, FalseVal, TD)) in visitSelectInst() 669 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst() 672 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName()); in visitSelectInst() 677 return BinaryOperator::CreateAnd(CondVal, TrueVal); in visitSelectInst() 680 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName()); in visitSelectInst() 686 if (CondVal == TrueVal) in visitSelectInst() 687 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst() 688 else if (CondVal == FalseVal) in visitSelectInst() 689 return BinaryOperator::CreateAnd(CondVal, TrueVal); in visitSelectInst() [all …]
|
D | InstructionCombining.cpp | 1922 bool CondVal = cast<ConstantInt>(BI->getCondition())->getZExtValue(); in AddReachableCodeToWorklist() local 1923 BasicBlock *ReachableBB = BI->getSuccessor(!CondVal); in AddReachableCodeToWorklist()
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 649 GenericValue CondVal = getOperandValue(Cond, SF); in visitSwitchInst() local 659 if (executeICMP_EQ(Val, CondVal, ElTy).IntVal != 0) { in visitSwitchInst() 669 if (executeICMP_EQ(Val, CondVal, ElTy).IntVal != 0) { in visitSwitchInst() 682 if (executeICMP_ULE(Low, CondVal, ElTy).IntVal != 0 && in visitSwitchInst() 683 executeICMP_ULE(CondVal, High, ElTy).IntVal != 0) { in visitSwitchInst()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 628 Constant *CondVal = 0; in UnswitchIfProfitable() local 631 if (IsTrivialUnswitchCondition(LoopCond, &CondVal, &ExitBlock)) { in UnswitchIfProfitable() 634 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, ExitBlock); in UnswitchIfProfitable()
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 462 const Stmt *Else, bool CondVal, in CreateIfFixit() argument 464 if (CondVal) { in CreateIfFixit()
|
D | SemaStmt.cpp | 388 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar, in ActOnIfStmt() argument 391 ExprResult CondResult(CondVal.release()); in ActOnIfStmt()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 2508 static Value *SimplifySelectInst(Value *CondVal, Value *TrueVal, in SimplifySelectInst() argument 2513 if (ConstantInt *CB = dyn_cast<ConstantInt>(CondVal)) in SimplifySelectInst() 2520 if (isa<UndefValue>(CondVal)) { // select undef, X, Y -> X or Y in SimplifySelectInst()
|
D | ScalarEvolution.cpp | 4930 ConstantInt *CondVal = in ComputeExitCountExhaustively() local 4935 if (!CondVal) return getCouldNotCompute(); in ComputeExitCountExhaustively() 4937 if (CondVal->getValue() == uint64_t(ExitWhen)) { in ComputeExitCountExhaustively()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 1500 const Value *CondVal = I.getCondition(); in visitBr() local 1519 if (const BinaryOperator *BOp = dyn_cast<BinaryOperator>(CondVal)) { in visitBr() 1554 CaseBlock CB(ISD::SETEQ, CondVal, ConstantInt::getTrue(*DAG.getContext()), in visitBr()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 2514 FullExprArg CondVal, Decl *CondVar,
|