Searched refs:CondVal (Results 1 – 10 of 10) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 824 Value *CondVal = SI.getCondition(); in visitSelectInst() local 828 if (Value *V = SimplifySelectInst(CondVal, TrueVal, FalseVal, DL)) in visitSelectInst() 835 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst() 838 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName()); in visitSelectInst() 844 return BinaryOperator::CreateAnd(CondVal, TrueVal); in visitSelectInst() 847 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName()); in visitSelectInst() 853 if (CondVal == TrueVal) in visitSelectInst() 854 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst() 855 if (CondVal == FalseVal) in visitSelectInst() 856 return BinaryOperator::CreateAnd(CondVal, TrueVal); in visitSelectInst() [all …]
|
D | InstructionCombining.cpp | 2604 bool CondVal = cast<ConstantInt>(BI->getCondition())->getZExtValue(); in AddReachableCodeToWorklist() local 2605 BasicBlock *ReachableBB = BI->getSuccessor(!CondVal); in AddReachableCodeToWorklist()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 633 Constant *CondVal = nullptr; in UnswitchIfProfitable() local 636 if (IsTrivialUnswitchCondition(LoopCond, &CondVal, &ExitBlock)) { in UnswitchIfProfitable() 639 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, ExitBlock); in UnswitchIfProfitable()
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 643 const Stmt *Else, bool CondVal, in CreateIfFixit() argument 645 if (CondVal) { in CreateIfFixit()
|
D | SemaStmt.cpp | 442 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar, in ActOnIfStmt() argument 447 if (!CondVal.get() && !CondVar) { in ActOnIfStmt() 452 ExprResult CondResult(CondVal.release()); in ActOnIfStmt()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 2717 static Value *SimplifySelectInst(Value *CondVal, Value *TrueVal, in SimplifySelectInst() argument 2722 if (Constant *CB = dyn_cast<Constant>(CondVal)) { in SimplifySelectInst() 2733 if (isa<UndefValue>(CondVal)) { // select undef, X, Y -> X or Y in SimplifySelectInst()
|
D | ScalarEvolution.cpp | 5193 ConstantInt *CondVal = in ComputeExitCountExhaustively() local 5198 if (!CondVal) return getCouldNotCompute(); in ComputeExitCountExhaustively() 5200 if (CondVal->getValue() == uint64_t(ExitWhen)) { in ComputeExitCountExhaustively()
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 897 GenericValue CondVal = getOperandValue(Cond, SF); in visitSwitchInst() local 903 if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) { in visitSwitchInst()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 1584 const Value *CondVal = I.getCondition(); in visitBr() local 1603 if (const BinaryOperator *BOp = dyn_cast<BinaryOperator>(CondVal)) { in visitBr() 1639 CaseBlock CB(ISD::SETEQ, CondVal, ConstantInt::getTrue(*DAG.getContext()), in visitBr()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3021 FullExprArg CondVal, Decl *CondVar,
|