Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1681 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 …]
DInstructionCombining.cpp3506 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/
DLoopUnswitch.cpp1123 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()
DNewGVN.cpp2510 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/
DPNaClTranslator.cpp2262 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/
DExecution.cpp951 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/
DInstructionSimplify.cpp3854 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()
DScalarEvolution.cpp8049 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/
DSelectionDAGBuilder.cpp2275 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/
DX86ISelLowering.cpp24041 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()