Searched defs:CondVal (Results 1 - 6 of 6) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSelect.cpp | 824 Value *CondVal = SI.getCondition(); local 828 if (Value *V = SimplifySelectInst(CondVal, TrueVal, FalseVal, DL)) 835 return BinaryOperator::CreateOr(CondVal, FalseVal); 838 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName()); 844 return BinaryOperator::CreateAnd(CondVal, TrueVal); 847 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName()); 853 if (CondVal == TrueVal) 854 return BinaryOperator::CreateOr(CondVal, FalseVa [all...] |
H A D | InstructionCombining.cpp | 2604 bool CondVal = cast<ConstantInt>(BI->getCondition())->getZExtValue(); local 2605 BasicBlock *ReachableBB = BI->getSuccessor(!CondVal);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | LoopUnswitch.cpp | 633 Constant *CondVal = nullptr; local 636 if (IsTrivialUnswitchCondition(LoopCond, &CondVal, &ExitBlock)) { 639 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, ExitBlock);
|
/external/clang/lib/Sema/ |
H A D | AnalysisBasedWarnings.cpp | 641 /// condition is CondVal. 643 const Stmt *Else, bool CondVal, 645 if (CondVal) { 642 CreateIfFixit(Sema &S, const Stmt *If, const Stmt *Then, const Stmt *Else, bool CondVal, FixItHint &Fixit1, FixItHint &Fixit2) argument
|
H A D | SemaStmt.cpp | 442 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar, argument 447 if (!CondVal.get() && !CondVar) { 452 ExprResult CondResult(CondVal.release());
|
/external/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 2717 static Value *SimplifySelectInst(Value *CondVal, Value *TrueVal, argument 2722 if (Constant *CB = dyn_cast<Constant>(CondVal)) { 2733 if (isa<UndefValue>(CondVal)) { // select undef, X, Y -> X or Y
|
Completed in 209 milliseconds