/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 1681 Value *CondVal = SI.getCondition(); in foldAddSubSelect() local 1731 Value *NewSel = Builder.CreateSelect(CondVal, NewTrueOp, NewFalseOp, in foldAddSubSelect() 1756 Value *CondVal = SI.getCondition(); in foldOverflowingAddSubSelect() local 1761 if (!match(CondVal, m_ExtractValue<1>(m_WithOverflowInst(II))) || in foldOverflowingAddSubSelect() 1935 Value *CondVal = SI.getCondition(); in canonicalizeSelectToShuffle() local 1937 if (!CondVal->getType()->isVectorTy() || !match(CondVal, m_Constant(CondC))) in canonicalizeSelectToShuffle() 1940 unsigned NumElts = CondVal->getType()->getVectorNumElements(); in canonicalizeSelectToShuffle() 1943 Type *Int32Ty = Type::getInt32Ty(CondVal->getContext()); in canonicalizeSelectToShuffle() 2327 Value *CondVal = SI.getCondition(); in visitSelectInst() local 2348 if (Value *V = SimplifySelectInst(CondVal, TrueVal, FalseVal, in visitSelectInst() [all …]
|
D | InstructionCombining.cpp | 3506 bool CondVal = cast<ConstantInt>(BI->getCondition())->getZExtValue(); in AddReachableCodeToWorklist() local 3507 BasicBlock *ReachableBB = BI->getSuccessor(!CondVal); in AddReachableCodeToWorklist()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 1123 Constant *CondVal = nullptr; in TryTrivialLoopUnswitch() local 1146 CondVal = ConstantInt::getTrue(Context); in TryTrivialLoopUnswitch() 1149 CondVal = ConstantInt::getFalse(Context); in TryTrivialLoopUnswitch() 1160 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, LoopExitBB, in TryTrivialLoopUnswitch() 1193 CondVal = CaseVal; in TryTrivialLoopUnswitch() 1203 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, LoopExitBB, in TryTrivialLoopUnswitch() 1207 BranchesInfo.setUnswitched(SI, CondVal); in TryTrivialLoopUnswitch()
|
D | NewGVN.cpp | 2510 auto *CondVal = cast<ConstantInt>(CondEvaluated); in processOutgoingEdges() local 2512 auto Case = *SI->findCaseValue(CondVal); in processOutgoingEdges()
|
/third_party/skia/third_party/externals/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()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 951 GenericValue CondVal = getOperandValue(Cond, SF); in visitSwitchInst() local 957 if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) { in visitSwitchInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 3854 static Value *simplifySelectWithICmpCond(Value *CondVal, Value *TrueVal, in simplifySelectWithICmpCond() argument 3859 if (!match(CondVal, m_ICmp(Pred, m_Value(CmpLHS), m_Value(CmpRHS)))) in simplifySelectWithICmpCond()
|
D | ScalarEvolution.cpp | 8049 auto *CondVal = dyn_cast_or_null<ConstantInt>( in computeExitCountExhaustively() local 8053 if (!CondVal) return getCouldNotCompute(); in computeExitCountExhaustively() 8055 if (CondVal->getValue() == uint64_t(ExitWhen)) { in computeExitCountExhaustively()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 2275 const Value *CondVal = I.getCondition(); in visitBr() local 2293 if (const BinaryOperator *BOp = dyn_cast<BinaryOperator>(CondVal)) { in visitBr() 2331 CaseBlock CB(ISD::SETEQ, CondVal, ConstantInt::getTrue(*DAG.getContext()), in visitBr()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 24041 unsigned CondVal = Op.getConstantOperandVal(3); in LowerINTRINSIC_WO_CHAIN() local 24047 DAG.getTargetConstant(CondVal, dl, MVT::i8)); in LowerINTRINSIC_WO_CHAIN() 24050 DAG.getTargetConstant(CondVal, dl, MVT::i8), Sae); in LowerINTRINSIC_WO_CHAIN()
|