Searched defs:CondVal (Results 1 - 7 of 7) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp658 Value *CondVal = SI.getCondition(); local
662 if (Value *V = SimplifySelectInst(CondVal, TrueVal, FalseVal, TD))
669 return BinaryOperator::CreateOr(CondVal, FalseVal);
672 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName());
677 return BinaryOperator::CreateAnd(CondVal, TrueVal);
680 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName());
686 if (CondVal == TrueVal)
687 return BinaryOperator::CreateOr(CondVal, FalseVa
[all...]
H A DInstructionCombining.cpp1922 bool CondVal = cast<ConstantInt>(BI->getCondition())->getZExtValue(); local
1923 BasicBlock *ReachableBB = BI->getSuccessor(!CondVal);
/external/llvm/lib/Transforms/Scalar/
H A DLoopUnswitch.cpp628 Constant *CondVal = 0; local
631 if (IsTrivialUnswitchCondition(LoopCond, &CondVal, &ExitBlock)) {
634 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, ExitBlock);
/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp2508 static Value *SimplifySelectInst(Value *CondVal, Value *TrueVal, argument
2513 if (ConstantInt *CB = dyn_cast<ConstantInt>(CondVal))
2520 if (isa<UndefValue>(CondVal)) { // select undef, X, Y -> X or Y
/external/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp460 /// condition is CondVal.
462 const Stmt *Else, bool CondVal,
464 if (CondVal) {
461 CreateIfFixit(Sema &S, const Stmt *If, const Stmt *Then, const Stmt *Else, bool CondVal, FixItHint &Fixit1, FixItHint &Fixit2) argument
H A DSemaStmt.cpp388 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar, argument
391 ExprResult CondResult(CondVal.release());
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp1500 const Value *CondVal = I.getCondition(); local
1519 if (const BinaryOperator *BOp = dyn_cast<BinaryOperator>(CondVal)) {
1554 CaseBlock CB(ISD::SETEQ, CondVal, ConstantInt::getTrue(*DAG.getContext()),

Completed in 218 milliseconds