Searched refs:CondVal (Results 1 - 10 of 10) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp824 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 DInstructionCombining.cpp2604 bool CondVal = cast<ConstantInt>(BI->getCondition())->getZExtValue(); local
2605 BasicBlock *ReachableBB = BI->getSuccessor(!CondVal);
/external/llvm/lib/Transforms/Scalar/
H A DLoopUnswitch.cpp633 Constant *CondVal = nullptr; local
636 if (IsTrivialUnswitchCondition(LoopCond, &CondVal, &ExitBlock)) {
639 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, ExitBlock);
/external/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp641 /// 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 DSemaStmt.cpp442 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 DInstructionSimplify.cpp2717 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
H A DScalarEvolution.cpp5193 ConstantInt *CondVal =
5198 if (!CondVal) return getCouldNotCompute();
5200 if (CondVal->getValue() == uint64_t(ExitWhen)) {
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp897 GenericValue CondVal = getOperandValue(Cond, SF);
903 if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) {
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp1584 const Value *CondVal = I.getCondition();
1603 if (const BinaryOperator *BOp = dyn_cast<BinaryOperator>(CondVal)) {
1639 CaseBlock CB(ISD::SETEQ, CondVal, ConstantInt::getTrue(*DAG.getContext()),
/external/clang/include/clang/Sema/
H A DSema.h3021 FullExprArg CondVal, Decl *CondVar,

Completed in 986 milliseconds