/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | utils.h | 327 template <uint32_t TVal> 328 static typename TermT::FuncType GetFunc(IntArg<TVal, TVal> iArg) 330 SWR_ASSERT(iArg.val == TVal); 331 return TermT::template GetFunc<ArgsB..., std::integral_constant<uint32_t, TVal>>(); 348 template <uint32_t TVal, typename... TArgsT> 349 static typename TermT::FuncType GetFunc(IntArg<TVal, TVal> iArg, TArgsT... remainingArgs) 351 SWR_ASSERT(iArg.val == TVal); 352 …return TemplateArgUnroller<TermT, ArgsB..., std::integral_constant<uint32_t, TVal>>::GetFunc(remai…
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 452 Value *TVal, Value *FVal, in foldSelectICmpAndAnd() argument 461 if (!match(TVal, m_OneUse(m_And(m_Value(B), m_One())))) in foldSelectICmpAndAnd() 847 Value *TVal = Sel.getTrueValue(); in canonicalizeAbsNabs() local 849 assert(isKnownNegation(TVal, FVal) && in canonicalizeAbsNabs() 854 bool CmpUsesNegatedOp = match(Cmp.getOperand(0), m_Neg(m_Specific(TVal))) || in canonicalizeAbsNabs() 883 if (TVal == LHS) { in canonicalizeAbsNabs() 888 TVal = RHS; in canonicalizeAbsNabs() 894 if (TVal == LHS) in canonicalizeAbsNabs() 900 assert(TVal == LHS && "Unexpected results from matchSelectPattern"); in canonicalizeAbsNabs() 905 Sel.setFalseValue(TVal); in canonicalizeAbsNabs() [all …]
|
D | InstCombineCasts.cpp | 2067 Value *Cond, *TVal, *FVal; in foldBitCastSelect() local 2069 m_OneUse(m_Select(m_Value(Cond), m_Value(TVal), m_Value(FVal))))) in foldBitCastSelect() 2086 if (DestTy->isVectorTy() != TVal->getType()->isVectorTy()) in foldBitCastSelect() 2091 if (match(TVal, m_OneUse(m_BitCast(m_Value(X)))) && X->getType() == DestTy && in foldBitCastSelect() 2101 Value *CastedVal = Builder.CreateBitCast(TVal, DestTy); in foldBitCastSelect()
|
/external/llvm/lib/IR/ |
D | DebugInfo.cpp | 151 } else if (auto *TVal = dyn_cast<DITemplateValueParameter>(Element)) { in processSubprogram() local 152 processType(TVal->getType().resolve()); in processSubprogram()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 905 LatticeVal TVal = getValueState(I.getTrueValue()); in visitSelectInst() local 909 if (TVal.isConstant() && FVal.isConstant() && in visitSelectInst() 910 TVal.getConstant() == FVal.getConstant()) in visitSelectInst() 913 if (TVal.isUnknown()) // select ?, undef, X -> X. in visitSelectInst() 916 return (void)mergeInValue(&I, TVal); in visitSelectInst()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 860 LatticeVal TVal = getValueState(I.getTrueValue()); in visitSelectInst() local 864 if (TVal.isConstant() && FVal.isConstant() && in visitSelectInst() 865 TVal.getConstant() == FVal.getConstant()) in visitSelectInst() 868 if (TVal.isUnknown()) // select ?, undef, X -> X. in visitSelectInst() 871 return mergeInValue(&I, TVal); in visitSelectInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 2056 SDValue TVal = DAG.getConstant(1, dl, MVT::i32); in LowerXOR() local 2062 return DAG.getNode(AArch64ISD::CSEL, dl, Op.getValueType(), TVal, FVal, in LowerXOR() 2081 SDValue TVal = Sel.getOperand(2); in LowerXOR() local 2089 ConstantSDNode *CTVal = dyn_cast<ConstantSDNode>(TVal); in LowerXOR() 2098 std::swap(TVal, FVal); in LowerXOR() 2109 TVal = DAG.getNode(ISD::XOR, dl, Other.getValueType(), Other, in LowerXOR() 2112 return DAG.getNode(AArch64ISD::CSEL, dl, Sel.getValueType(), FVal, TVal, in LowerXOR() 2167 SDValue TVal = DAG.getConstant(1, dl, MVT::i32); in LowerXALUO() local 2174 Overflow = DAG.getNode(AArch64ISD::CSEL, dl, MVT::i32, FVal, TVal, in LowerXALUO() 4507 SDValue TVal = DAG.getConstant(1, dl, VT); in LowerSETCC() local [all …]
|
D | AArch64ISelLowering.h | 602 SDValue TVal, SDValue FVal, const SDLoc &dl,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARC/ |
D | ARCISelLowering.cpp | 168 SDValue TVal = Op.getOperand(2); in LowerSELECT_CC() local 174 return DAG.getNode(ARCISD::CMOV, dl, TVal.getValueType(), TVal, FVal, in LowerSELECT_CC()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 1756 SDValue TVal = Sel.getOperand(2); in LowerXOR() local 1765 ConstantSDNode *CTVal = dyn_cast<ConstantSDNode>(TVal); in LowerXOR() 1774 std::swap(TVal, FVal); in LowerXOR() 1785 TVal = DAG.getNode(ISD::XOR, dl, Other.getValueType(), Other, in LowerXOR() 1788 return DAG.getNode(AArch64ISD::CSEL, dl, Sel.getValueType(), FVal, TVal, in LowerXOR() 1843 SDValue TVal = DAG.getConstant(1, dl, MVT::i32); in LowerXALUO() local 1850 Overflow = DAG.getNode(AArch64ISD::CSEL, dl, MVT::i32, FVal, TVal, in LowerXALUO() 3864 SDValue TVal = DAG.getConstant(1, dl, VT); in LowerSETCC() local 3888 return DAG.getNode(AArch64ISD::CSEL, dl, VT, FVal, TVal, CCVal, Cmp); in LowerSETCC() 3907 return DAG.getNode(AArch64ISD::CSEL, dl, VT, FVal, TVal, CC1Val, Cmp); in LowerSETCC() [all …]
|
D | AArch64ISelLowering.h | 486 SDValue TVal, SDValue FVal, const SDLoc &dl,
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | SCCP.cpp | 892 LatticeVal TVal = getValueState(I.getTrueValue()); in visitSelectInst() local 896 if (TVal.isConstant() && FVal.isConstant() && in visitSelectInst() 897 TVal.getConstant() == FVal.getConstant()) in visitSelectInst() 900 if (TVal.isUndefined()) // select ?, undef, X -> X. in visitSelectInst() 903 return mergeInValue(&I, TVal); in visitSelectInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | DebugInfo.cpp | 192 } else if (auto *TVal = dyn_cast<DITemplateValueParameter>(Element)) { in processSubprogram() local 193 processType(TVal->getType().resolve()); in processSubprogram()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 4352 Value *TVal, Value *FVal, in matchMinMaxOfMinMax() argument 4358 SelectPatternResult L = matchSelectPattern(TVal, A, B, nullptr, Depth + 1); in matchMinMaxOfMinMax()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 3567 SDValue TVal = DAG.getConstant(1, dl, MVT::i32); in LowerXALUO() local 3571 SDValue Overflow = DAG.getNode(ARMISD::CMOV, dl, VT, TVal, FVal, in LowerXALUO() 5024 SDValue TVal = DAG.getConstant(1, DL, MVT::i32); in LowerSETCCE() local 5030 return DAG.getNode(ARMISD::CMOV, DL, Op.getValueType(), FVal, TVal, ARMcc, in LowerSETCCE()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 4034 SDValue TVal = DAG.getConstant(1, dl, MVT::i32); in LowerSignedALUO() local 4038 SDValue Overflow = DAG.getNode(ARMISD::CMOV, dl, VT, TVal, FVal, in LowerSignedALUO() 5805 SDValue TVal = DAG.getConstant(1, DL, MVT::i32); in LowerSETCCCARRY() local 5811 return DAG.getNode(ARMISD::CMOV, DL, Op.getValueType(), FVal, TVal, ARMcc, in LowerSETCCCARRY()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 27090 ConstantSDNode *TVal = dyn_cast<ConstantSDNode>(SetCC.getOperand(1)); in checkBoolTestSetCCCombine() local 27092 if (!TVal) in checkBoolTestSetCCCombine() 27117 if (FValIsFalse && TVal->getZExtValue() != 1) in checkBoolTestSetCCCombine() 27119 if (!FValIsFalse && TVal->getZExtValue() != 0) in checkBoolTestSetCCCombine()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 33144 ConstantSDNode *TVal = dyn_cast<ConstantSDNode>(SetCC.getOperand(1)); in checkBoolTestSetCCCombine() local 33146 if (!TVal) in checkBoolTestSetCCCombine() 33171 if (FValIsFalse && TVal->getZExtValue() != 1) in checkBoolTestSetCCCombine() 33173 if (!FValIsFalse && TVal->getZExtValue() != 0) in checkBoolTestSetCCCombine()
|