Searched refs:CondVal (Results 1 – 10 of 10) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 911 Value *CondVal = SI.getCondition(); in visitSelectInst() local 916 SimplifySelectInst(CondVal, TrueVal, FalseVal, DL, TLI, DT, AC)) in visitSelectInst() 923 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst() 926 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName()); in visitSelectInst() 932 return BinaryOperator::CreateAnd(CondVal, TrueVal); in visitSelectInst() 935 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName()); in visitSelectInst() 941 if (CondVal == TrueVal) in visitSelectInst() 942 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst() 943 if (CondVal == FalseVal) in visitSelectInst() 944 return BinaryOperator::CreateAnd(CondVal, TrueVal); in visitSelectInst() [all …]
|
D | InstructionCombining.cpp | 2852 bool CondVal = cast<ConstantInt>(BI->getCondition())->getZExtValue(); in AddReachableCodeToWorklist() local 2853 BasicBlock *ReachableBB = BI->getSuccessor(!CondVal); in AddReachableCodeToWorklist()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 648 Constant *CondVal = nullptr; in UnswitchIfProfitable() local 651 if (IsTrivialUnswitchCondition(LoopCond, &CondVal, &ExitBlock)) { in UnswitchIfProfitable() 654 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, ExitBlock); in UnswitchIfProfitable()
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 638 const Stmt *Else, bool CondVal, in CreateIfFixit() argument 640 if (CondVal) { in CreateIfFixit()
|
D | SemaStmt.cpp | 482 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar, in ActOnIfStmt() argument 487 if (!CondVal.get() && !CondVar) { in ActOnIfStmt() 492 ExprResult CondResult(CondVal.release()); in ActOnIfStmt()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 3151 static Value *SimplifySelectInst(Value *CondVal, Value *TrueVal, in SimplifySelectInst() argument 3156 if (Constant *CB = dyn_cast<Constant>(CondVal)) { in SimplifySelectInst() 3167 if (isa<UndefValue>(CondVal)) { // select undef, X, Y -> X or Y in SimplifySelectInst() 3177 const auto *ICI = dyn_cast<ICmpInst>(CondVal); in SimplifySelectInst()
|
D | ScalarEvolution.cpp | 5561 ConstantInt *CondVal = dyn_cast_or_null<ConstantInt>( in ComputeExitCountExhaustively() local 5565 if (!CondVal) return getCouldNotCompute(); in ComputeExitCountExhaustively() 5567 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 | 1607 const Value *CondVal = I.getCondition(); in visitBr() local 1626 if (const BinaryOperator *BOp = dyn_cast<BinaryOperator>(CondVal)) { in visitBr() 1661 CaseBlock CB(ISD::SETEQ, CondVal, ConstantInt::getTrue(*DAG.getContext()), in visitBr()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3088 FullExprArg CondVal, Decl *CondVar,
|