/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 844 Value *CondVal = SI.getCondition(); in foldAddSubSelect() local 894 Value *NewSel = Builder.CreateSelect(CondVal, NewTrueOp, NewFalseOp, in foldAddSubSelect() 913 Value *CondVal = SI.getCondition(); in visitSelectInst() local 919 SimplifySelectInst(CondVal, TrueVal, FalseVal, DL, TLI, DT, AC)) in visitSelectInst() 923 TrueVal->getType() == CondVal->getType()) { in visitSelectInst() 926 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst() 930 Value *NotCond = Builder->CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst() 935 return BinaryOperator::CreateAnd(CondVal, TrueVal); in visitSelectInst() 939 Value *NotCond = Builder->CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst() 945 if (CondVal == TrueVal) in visitSelectInst() [all …]
|
D | InstructionCombining.cpp | 2992 bool CondVal = cast<ConstantInt>(BI->getCondition())->getZExtValue(); in AddReachableCodeToWorklist() local 2993 BasicBlock *ReachableBB = BI->getSuccessor(!CondVal); in AddReachableCodeToWorklist()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 650 Value *CondVal = SI.getCondition(); in visitSelectInst() local 654 if (Value *V = SimplifySelectInst(CondVal, TrueVal, FalseVal, TD)) in visitSelectInst() 661 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst() 664 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName()); in visitSelectInst() 669 return BinaryOperator::CreateAnd(CondVal, TrueVal); in visitSelectInst() 672 Value *NotCond = Builder->CreateNot(CondVal, "not."+CondVal->getName()); in visitSelectInst() 678 if (CondVal == TrueVal) in visitSelectInst() 679 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst() 680 else if (CondVal == FalseVal) in visitSelectInst() 681 return BinaryOperator::CreateAnd(CondVal, TrueVal); in visitSelectInst() [all …]
|
D | InstructionCombining.cpp | 1862 bool CondVal = cast<ConstantInt>(BI->getCondition())->getZExtValue(); in AddReachableCodeToWorklist() local 1863 BasicBlock *ReachableBB = BI->getSuccessor(!CondVal); in AddReachableCodeToWorklist()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 1163 Value *CondVal = SI.getCondition(); in foldAddSubSelect() local 1213 Value *NewSel = Builder.CreateSelect(CondVal, NewTrueOp, NewFalseOp, in foldAddSubSelect() 1295 Value *CondVal = SI.getCondition(); in canonicalizeSelectToShuffle() local 1297 if (!CondVal->getType()->isVectorTy() || !match(CondVal, m_Constant(CondC))) in canonicalizeSelectToShuffle() 1300 unsigned NumElts = CondVal->getType()->getVectorNumElements(); in canonicalizeSelectToShuffle() 1303 Type *Int32Ty = Type::getInt32Ty(CondVal->getContext()); in canonicalizeSelectToShuffle() 1507 Value *CondVal = SI.getCondition(); in visitSelectInst() local 1528 if (Value *V = SimplifySelectInst(CondVal, TrueVal, FalseVal, in visitSelectInst() 1540 if (match(CondVal, m_OneUse(m_ICmp(Pred, m_Value(), m_Value()))) && in visitSelectInst() 1543 CmpInst *Cond = cast<CmpInst>(CondVal); in visitSelectInst() [all …]
|
D | InstructionCombining.cpp | 3189 bool CondVal = cast<ConstantInt>(BI->getCondition())->getZExtValue(); in AddReachableCodeToWorklist() local 3190 BasicBlock *ReachableBB = BI->getSuccessor(!CondVal); in AddReachableCodeToWorklist()
|
/external/syzkaller/vendor/golang.org/x/oauth2/ |
D | oauth2.go | 132 "redirect_uri": internal.CondVal(c.RedirectURL), 133 "scope": internal.CondVal(strings.Join(c.Scopes, " ")), 134 "state": internal.CondVal(state), 164 "scope": internal.CondVal(strings.Join(c.Scopes, " ")), 182 "redirect_uri": internal.CondVal(c.RedirectURL),
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 1092 Constant *CondVal = nullptr; in TryTrivialLoopUnswitch() local 1114 CondVal = ConstantInt::getTrue(Context); in TryTrivialLoopUnswitch() 1117 CondVal = ConstantInt::getFalse(Context); in TryTrivialLoopUnswitch() 1128 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, LoopExitBB, in TryTrivialLoopUnswitch() 1160 CondVal = CaseVal; in TryTrivialLoopUnswitch() 1170 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, LoopExitBB, in TryTrivialLoopUnswitch() 1174 BranchesInfo.setUnswitched(SI, CondVal); in TryTrivialLoopUnswitch()
|
D | NewGVN.cpp | 2531 auto *CondVal = cast<ConstantInt>(CondEvaluated); in processOutgoingEdges() local 2533 auto Case = *SI->findCaseValue(CondVal); in processOutgoingEdges()
|
/external/syzkaller/vendor/golang.org/x/oauth2/internal/ |
D | oauth2.go | 71 func CondVal(v string) []string { func
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 922 Constant *CondVal = nullptr; in TryTrivialLoopUnswitch() local 944 CondVal = ConstantInt::getTrue(Context); in TryTrivialLoopUnswitch() 947 CondVal = ConstantInt::getFalse(Context); in TryTrivialLoopUnswitch() 955 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, LoopExitBB, in TryTrivialLoopUnswitch() 988 CondVal = CaseVal; in TryTrivialLoopUnswitch() 998 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, LoopExitBB, in TryTrivialLoopUnswitch()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 422 Constant *CondVal = 0; in UnswitchIfProfitable() local 424 if (IsTrivialUnswitchCondition(LoopCond, &CondVal, &ExitBlock)) { in UnswitchIfProfitable() 427 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, ExitBlock); in UnswitchIfProfitable()
|
/external/swiftshader/third_party/subzero/src/ |
D | PNaClTranslator.cpp | 2262 Ice::Operand *CondVal = getRelativeOperand(Values[2], BaseIndex); in ProcessRecord() local 2274 Ice::Type CondType = CondVal->getType(); in ProcessRecord() 2287 } else if (CondVal->getType() != Ice::IceType_i1) { in ProcessRecord() 2290 StrBuf << "Select condition " << CondVal in ProcessRecord() 2291 << " not type i1. Found: " << CondVal->getType(); in ProcessRecord() 2297 Func.get(), getNextInstVar(ThenType), CondVal, ThenVal, ElseVal)); in ProcessRecord()
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 1240 auto CondVal = Cond.get(); in ActOnWhileStmt() local 1241 CheckBreakContinueBinding(CondVal.second); in ActOnWhileStmt() 1243 if (CondVal.second && in ActOnWhileStmt() 1244 !Diags.isIgnored(diag::warn_comma_operator, CondVal.second->getExprLoc())) in ActOnWhileStmt() 1245 CommaVisitor(*this).Visit(CondVal.second); in ActOnWhileStmt() 1253 WhileStmt(Context, CondVal.first, CondVal.second, Body, WhileLoc); in ActOnWhileStmt()
|
D | AnalysisBasedWarnings.cpp | 651 const Stmt *Else, bool CondVal, in CreateIfFixit() argument 653 if (CondVal) { in CreateIfFixit()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | InstructionSimplify.cpp | 2210 Value *llvm::SimplifySelectInst(Value *CondVal, Value *TrueVal, Value *FalseVal, in SimplifySelectInst() argument 2214 if (ConstantInt *CB = dyn_cast<ConstantInt>(CondVal)) in SimplifySelectInst() 2221 if (isa<UndefValue>(CondVal)) { // select undef, X, Y -> X or Y in SimplifySelectInst()
|
D | ScalarEvolution.cpp | 4878 ConstantInt *CondVal = in ComputeExitCountExhaustively() local 4882 if (!CondVal) return getCouldNotCompute(); in ComputeExitCountExhaustively() 4884 if (CondVal->getValue() == uint64_t(ExitWhen)) { in ComputeExitCountExhaustively()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 667 GenericValue CondVal = getOperandValue(Cond, SF); in visitSwitchInst() local 675 if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) { in visitSwitchInst()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 3376 static Value *SimplifySelectInst(Value *CondVal, Value *TrueVal, in SimplifySelectInst() argument 3381 if (Constant *CB = dyn_cast<Constant>(CondVal)) { in SimplifySelectInst() 3392 if (isa<UndefValue>(CondVal)) { // select undef, X, Y -> X or Y in SimplifySelectInst() 3402 if (const auto *ICI = dyn_cast<ICmpInst>(CondVal)) { in SimplifySelectInst()
|
D | ScalarEvolution.cpp | 6570 auto *CondVal = dyn_cast_or_null<ConstantInt>( in computeExitCountExhaustively() local 6574 if (!CondVal) return getCouldNotCompute(); in computeExitCountExhaustively() 6576 if (CondVal->getValue() == uint64_t(ExitWhen)) { in computeExitCountExhaustively()
|
/external/swiftshader/third_party/llvm-7.0/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/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/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 1472 const Value *CondVal = I.getCondition(); in visitBr() local 1491 if (const BinaryOperator *BOp = dyn_cast<BinaryOperator>(CondVal)) { in visitBr() 1526 CaseBlock CB(ISD::SETEQ, CondVal, ConstantInt::getTrue(*DAG.getContext()), in visitBr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 3760 static Value *simplifySelectWithICmpCond(Value *CondVal, Value *TrueVal, in simplifySelectWithICmpCond() argument 3765 if (!match(CondVal, m_ICmp(Pred, m_Value(CmpLHS), m_Value(CmpRHS)))) in simplifySelectWithICmpCond()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 1806 const Value *CondVal = I.getCondition(); in visitBr() local 1825 if (const BinaryOperator *BOp = dyn_cast<BinaryOperator>(CondVal)) { in visitBr() 1862 CaseBlock CB(ISD::SETEQ, CondVal, ConstantInt::getTrue(*DAG.getContext()), in visitBr()
|